class PyramidGeometryObject
Defined in:
The C4Primitives.h
PyramidGeometryObject
class encapsulates data pertaining to a pyramid primitive.
Definition
class PyramidGeometryObject final : public PrimitiveGeometryObject
Member Functions
PyramidGeometryObject::GetPyramidSize |
Returns the pyramid base size. |
PyramidGeometryObject::SetPyramidSize |
Sets the pyramid base size. |
PyramidGeometryObject::GetPyramidHeight |
Returns the pyramid height. |
PyramidGeometryObject::SetPyramidHeight |
Sets the pyramid height. |
Constructor
PyramidGeometryObject(const Vector2D& size, float height);
Parameters
size |
The size of the pyramid base. |
height |
The height of the pyramid. |
Description
The PyramidGeometryObject
class encapsulates data pertaining to a pyramid primitive. In its local coordinate space, a pyramid primitive has one of the corners of its base at the origin, and the components of the size
parameter define the extents of the base in the positive x and y directions. The height
parameter defines the height of the pyramid's apex above the base in the positive z direction.
Base Classes
PrimitiveGeometryObject |
A PyramidGeometryObject is an object that can be shared by multiple pyramid geometry nodes.
|
See Also