class SphereGeometry
Defined in:
The C4Primitives.h
SphereGeometry
class represents a sphere primitive node in a world.
Definition
class SphereGeometry final : public PrimitiveGeometry
Constructor
SphereGeometry(const Vector3D& size);
Parameters
size |
The size of the sphere. |
Description
The SphereGeometry
class represents a sphere primitive node in a world. In its local coordinate space, a sphere primitive has its center at the origin. The components of the size
parameter define the semiaxis lengths in the x, y, and z directions.When a new sphere geometry is created, the corresponding
SphereGeometryObject
is automatically created and referenced by the geometry node.
Base Classes
PrimitiveGeometry |
A sphere is a specific type of primitive geometry. |
See Also