![]() | |
Circle |
The CircleModelNode type exposes the following members.
Name | Description | |
---|---|---|
![]() | CreateRectangle(Vector3, Vector2, Single) | CreateRectangle sets the properties of this CircleModelNode so that it renders a rectangle (Segments is set to 4 and StartAngle to 45) with the specified width and height (size) and direction. When innerSizeFactor is between 0 and 1, then center is hollow because InnerRadius is set. This method also calls the Update method that updates the mesh. |
![]() | CreateRectangle(Vector3, PositionTypes, Vector2, Single, Vector3, Vector3) | CreateRectangle sets the properties of this CircleModelNode so that it renders a rectangle (Segments is set to 4 and StartAngle to 45) with the specified width and height (size) and direction. When innerSizeFactor is between 0 and 1, then center is hollow because InnerRadius is set. This method also calls the Update method that updates the mesh. |
![]() | 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) |