Object TProjection
Unit
CastleRays
Declaration
type TProjection = object(TObject)
Description
Projection parameters. This is calculated when calling TCastleAbstractViewport.Projection.
Hierarchy
Overview
Fields
Description
Fields
 |
ProjectionType: TProjectionType; |
Perspective / orthogonal projection properties.
When ProjectionType = ptPerspective, then PerspectiveAngles specify angles of view (horizontal and vertical), in degrees. When ProjectionType = ptOrthographic, then OrthoDimensions specify dimensions of ortho window (in the order: -X, -Y, +X, +Y, just like X3D OrthoViewpoint.fieldOfView).
|
 |
ProjectionNear: Single; |
Projection near/far values.
Note that ProjectionFar may be ZFarInfinity, which means that no far clipping plane is used. For example, shadow volumes require this.
If you really need to know "what would be projection far, if it could not be infinite" look at ProjectionFarFinite. ProjectionFarFinite is calculated just like ProjectionFar (looking at scene size, NavigationInfo.visibilityLimit and such), except it's never changed to be ZFarInfinity.
|
 |
ProjectionFar: Single; |
|
 |
ProjectionFarFinite: Single; |
|
Generated by PasDoc 0.14.0.
|