Click or drag to resize
Ab4d.SharpEngine logo

CircleModelNode Methods

The CircleModelNode type exposes the following members.

Methods
 NameDescription
Public methodCreateRectangle(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.
Public methodCreateRectangle(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.
Protected methodUpdateMesh 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)
Top
See Also