Click or drag to resize
Ab4d.SharpEngine logo

CircleModelNode Class

A flat 2D circle object in the 3D space.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class CircleModelNode : ModelNode

The CircleModelNode type exposes the following members.

Constructors
 NameDescription
Public methodCircleModelNodeCreate a flat 2D circle.
Public methodCircleModelNode(String)Create a flat 2D circle.
Public methodCircleModelNode(Material, String)Create a flat 2D circle.
Public methodCircleModelNode(Vector3, Vector3, Vector3, Single, Int32, String) Create a flat 2D circle.
Public methodCircleModelNode(Vector3, Vector3, Vector3, Single, Int32, Material, String) Create a flat 2D circle with specified material.
Top
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 propertyNormal 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.
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 propertyUpDirection 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.
Top
Methods
 NameDescription
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