Click or drag to resize
Ab4d.SharpEngine logo

SphereModelNode Properties

The SphereModelNode type exposes the following members.

Properties
 NameDescription
Public propertyCenterPosition Gets or sets a center position of the sphere.
Public propertyRadius Gets or sets a radius of the sphere. By default set to 1.
Public propertySegments Gets or sets the number of segments that define the sphere
Public propertyUseSharedSphereMesh Gets or sets a Boolean that specifies that when Segments is set to 30, then a shared mesh with center at (0, 0, 0), radius of 1 and 30 segments is used for this sphere (this uses the same vertex and index buffer for all boxes with shared mesh). In this case the final position and size is set by using a mesh transformation. When false, then a new mesh instance is created that has the center and size that are specified in this sphere model. Default value is true.
Top
See Also