Click or drag to resize
Ab4d.SharpEngine logo

CircleLineNode Class

CircleLineNode class is used to create a 3D circle that is rendered a single poly-line.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class CircleLineNode : PolyLineBaseNode

The CircleLineNode type exposes the following members.

Constructors
 NameDescription
Public methodCircleLineNode(String)Initializes a new instance of the CircleLineNode class
Public methodCircleLineNode(IPolyLineMaterial, String)Initializes a new instance of the CircleLineNode class
Public methodCircleLineNode(Color4, Single, String)Initializes a new instance of the CircleLineNode class
Top
Properties
 NameDescription
Public propertyCenterPosition Position of the circle center. Default value is (0, 0, 0)
Public propertyNormal Direction of the normal vector. Default value is (0, 1, 0)
Public propertyRadius Radius of the circle. Default value is 1.0.
Public propertySegments Number of segments that define the circle. Default value is 30.
Public propertyZeroAngleDirection Direction of the vector pointing from the circle's center to its "top" position in the 2D plane (i.e., the top-most point on the circle, corresponding to angle 0). By default, the vector is set to null and is selected automatically; the value can be set to influence the orientation of the circle at lower segment counts (e.g., for creating a pentagon or hexagon shape).
Top
See Also