PyramidGeometryclass represents a pyramid primitive node in a world.
class PyramidGeometry final : public PrimitiveGeometry
PyramidGeometry(const Vector2D& size, float height);
||The size of the pyramid base.|
||The height of the pyramid.|
PyramidGeometryclass represents a pyramid primitive node in a world. In its local coordinate space, a pyramid primitive has one of the corners of its base at the origin, and the components of the
sizeparameter define the extents of the base in the positive x and y directions. The
heightparameter defines the height of the pyramid's apex above the base in the positive z direction.
When a new pyramid geometry is created, the corresponding
PyramidGeometryObjectis automatically created and referenced by the geometry node.
||A pyramid is a specific type of primitive geometry.|