C4 Engine
C4 Engine API Documentation

TruncatedConeGeometryObject::SetConeRatio

Defined in:  C4Primitives.h
Sets the ratio of the upper size to the base size of a truncated cone.
Prototype

void SetConeRatio(float ratio);

Parameters
ratio The ratio of the upper size to the base size.
Description
The SetConeRatio function sets the ratio between the dimensions of the top face and the dimensions of the bottom face (the base) of a truncated cone.
See Also

TruncatedConeGeometryObject::GetConeRatio

TruncatedConeGeometryObject::GetConeSize

TruncatedConeGeometryObject::SetConeSize

TruncatedConeGeometryObject::GetConeHeight

TruncatedConeGeometryObject::SetConeHeight