Click or drag to resize
AB4D logo

ArrowVisual3D Class

ArrowVisual3D class is used to create Visual3D that represents a 3D arrow.
Inheritance Hierarchy

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class ArrowVisual3D : BaseModelVisual3D

The ArrowVisual3D type exposes the following members.

Constructors
 NameDescription
Public methodArrowVisual3D Constructor
Public methodArrowVisual3D(String) Constructor
Top
Properties
 NameDescription
Public propertyArrowAngle Gets or sets the angle of the arrow in degrees. Default value is 60.
Public propertyArrowRadius Gets or sets the radius of the arrow - half of the arrow width. If not set than arrow radius is calculated as two time the value of Radius property.
Public propertyEndPosition Gets or sets the line's end position
Public propertyGenerateTextureCoordinates Gets or sets a Boolean that specified if texture coordinates are generated (created mesh is more complicated in this case). Default value is true.
Public propertyRadius Gets or sets the radius of the cone that defines the 3D line (without arrow).
Public propertySegments Gets or sets the number of segments that define the circles used to create arrow sections. Default value is 30.
Public propertyStartPosition Gets or sets line's start position
Top
Methods
 NameDescription
Protected methodRefreshGeometry Recreates the Visual3D geometry
(Overrides BaseModelVisual3DRefreshGeometry)
Top
Fields
 NameDescription
Public fieldStatic memberArrowAngleProperty ArrowAngleProperty
Public fieldStatic memberArrowRadiusProperty ArrowRadiusProperty
Public fieldStatic memberEndPositionProperty EndPositionProperty
Public fieldStatic memberGenerateTextureCoordinatesProperty GenerateTextureCoordinatesProperty
Public fieldStatic memberRadiusProperty RadiusProperty
Public fieldStatic memberSegmentsProperty SegmentsProperty
Public fieldStatic memberStartPositionProperty StartPositionProperty
Top
Extension Methods
 NameDescription
Public Extension MethodDumpHierarchy Display details about the hierarchy of Visual3D children to Debug console (for example to Visual Studio's Immediate window).
(Defined by Extensions)
Public Extension MethodForEachGeometryModel3D Performs the specified action on each GeometryModel3D inside the rootModelVisual3D.
(Defined by Extensions)
Public Extension MethodForEachVisual3D Performs the specified action on each ModelVisual3D inside the rootModelVisual3D.
(Defined by Extensions)
Public Extension MethodGetName Gets name of the Visual3D that was previously set by SetName extension method.
(Defined by Extensions)
Public Extension MethodSetName Sets Name property to Visual3D. Note that if name is not correct for WPF, it can be corrected (name must start with a letter or the underscore character (_), and must contain only letters, digits, or underscores). In this case the SetName method will set the corrected name to the object and return false (in this case you can call GetName to get the corrected name). True is returned when the original name is set to the object.
(Defined by Extensions)
Top
See Also