C4 Engine
C4 Engine API Documentation

PyramidVolume::SetPyramidSize

Defined in:  C4Volumes.h
Sets the pyramid base size.
Prototype

void SetPyramidSize(const Vector2D& size);

Parameters
size The new pyramid base size.
Description
The SetPyramidSize function sets the physical dimensions of the base of the pyramid volume to those specified by the size parameter. One corner of the pyramid coincides with the origin, and the two components of the size parameter correspond to the dimensions of the pyramid's base along the positive x and y axes.
See Also

PyramidVolume::GetPyramidSize

PyramidVolume::GetPyramidHeight

PyramidVolume::SetPyramidHeight