CylinderGeometryclass represents a cylinder primitive node in a world.
class CylinderGeometry final : public PrimitiveGeometry
CylinderGeometry(const Vector2D& size, float height);
||The size of the cylinder base.|
||The height of the cylinder.|
CylinderGeometryclass represents a cylinder primitive node in a world. In its local coordinate space, a cylinder primitive has the center of its base at the origin, and the components of the
sizeparameter define the semiaxis lengths of the base in the positive x and y directions. The
heightparameter defines the height of the cylinder above the base in the positive z direction.
When a new cylinder geometry is created, the corresponding
CylinderGeometryObjectis automatically created and referenced by the geometry node.
||A cylinder is a specific type of primitive geometry.|