FrustumCameraObject::SetProjectionDistance
Defined in:
Sets the projection distance.
C4CameraObjects.hPrototype
void SetProjectionDistance(float projection);
Parameters
projection |
The new projection distance. |
Description
The SetProjectionDistance function sets the distance to the projection plane for the camera to the value specified by the projection parameter. The projection distance g is related to the vertical field of view (FOVy) through the equationg = 1 / tan(FOVy / 2).
See Also
