C4 Engine
C4 Engine API Documentation

TruncatedPyramidVolume::SetPyramidRatio

Defined in:  C4Volumes.h
Sets the truncated pyramid ratio.
Prototype

void SetPyramidRatio(float ratio);

Parameters
ratio The new truncated pyramid ratio.
Description
The SetPyramidRatio function sets the ratio between the dimensions of the top face to the dimensions of the bottom face (the base) of the truncated pyramid to that specified by the ratio parameter.
See Also

TruncatedPyramidVolume::GetPyramidRatio