Click or drag to resize
Ab4d.SharpEngine logo

CircleModelNodeCreateRectangle Method

Overload List
 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.
Top
See Also