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