Click or drag to resize
Ab4d.SharpEngine logo

CircleModelNode Properties

The CircleModelNode type exposes the following members.

Properties
 NameDescription
Public propertyCenterPosition Position of the circle's center. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertyHeightScaleFactor HeightScaleFactor can be used to produce an ellipse by scaling the height dimension of the circle. Default value is 1 that produces a circle. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertyInnerRadius Inner radius of the circle. When this value is bigger than zero, then the center of the circle is hollow until the InnerRadius. If InnerRadius is bigger then Radius, then it is used as Radius and Radius is used as InnerRadius. Default value is 0. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertyNormal Direction of the normal vector (perpendicular to circle's surface). Default value is (0, 0, 1). Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertyRadius Radius of the circle. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertySegments Number of segments/points comprising the circle's edge. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertyStartAngle Gets or sets the start angle in degrees that specified the start angle of the first position. This is useful for meshes with low segments count. For example, when segments count is 4, the angle may be set to 45 to get a rectangle that is aligned with axes. Default value is 0 (starts at x=0 and y=radius). Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertyTextureMappingType Defines how the texture coordinates are defined for this circle. Default value is Rectangular. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertyUpDirection Direction of vector along the circle's surface (the up vector of the 2D shape). Default value is (0, 1, 0). Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Top
See Also