TorusGeometryclass represents a torus primitive node in a world.
class TorusGeometry final : public PrimitiveGeometry
TorusGeometry(const Vector2D& primary, float secondary);
||The primary size of the torus.|
||The secondary radius of the torus.|
TorusGeometryclass represents a torus primitive node in a world. In its local coordinate space, a torus primitive has its center at the origin. The components of the
primaryparameter define the primary semiaxis lengths of the torus in the x-y plane, and the
secondaryparameter defines the secondary radius of the torus about the primary ring.
When a new torus geometry is created, the corresponding
TorusGeometryObjectis automatically created and referenced by the geometry node.
||A torus is a specific type of primitive geometry.|