|
CircleModelNode Class |
A flat 2D circle object in the 3D space.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public class CircleModelNode : ModelNode
The CircleModelNode type exposes the following members.
Constructors | Name | Description |
---|
| CircleModelNode | Create a flat 2D circle. |
| CircleModelNode(String) | Create a flat 2D circle. |
| CircleModelNode(Material, String) | Create a flat 2D circle. |
| CircleModelNode(Vector3, Vector3, Vector3, Single, Int32, String) |
Create a flat 2D circle.
|
| CircleModelNode(Vector3, Vector3, Vector3, Single, Int32, Material, String) |
Create a flat 2D circle with specified material.
|
TopProperties | Name | Description |
---|
| CenterPosition |
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.
|
| Normal |
Direction of the normal vector (perpendicular to circle's surface).
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| Radius |
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.
|
| Segments |
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.
|
| UpDirection |
Direction of vector along the circle's surface (the up vector of the 2D shape).
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
TopMethods | Name | Description |
---|
| UpdateMesh |
UpdateMesh method recreates the mesh based on the current object properties.
The method should be overriden in the derived class that provides its own mesh generation.
(Overrides ModelNodeUpdateMesh) |
TopSee Also