Class TCastlePerspective
Unit
CastleTransform
Declaration
type TCastlePerspective = class(TCastleComponent)
Description
Subcomponent used in TCastleCamera.Perspective to set perspective projection parameters.
Do not create instances of this class yourself, these are automatically created by TCastleCamera.
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
|
nested const DefaultFieldOfView = Pi / 4; |
This item has no description. |
|
nested const DefaultFieldOfViewAxis = faSmallest; |
This item has no description. |
Methods
|
constructor Create(AOwner: TComponent); override; |
This item has no description. |
Properties
|
property EffectiveFieldOfView: TVector2 read FEffectiveFieldOfView; |
Effective field of view, horizontal and vertical, in radians. Calculated looking at FieldOfView and FieldOfViewAxis, taking into account sizes of the viewport using this camera.
|
|
property FieldOfView: Single read FFieldOfView write SetFieldOfView
stored IsStoredFieldOfView default DefaultFieldOfView; |
Perspective field of view angle, in radians. The FieldOfViewAxis determines whether this is horizontal or vertical angle.
|
Generated by PasDoc 0.16.0-snapshot.