Description | Hierarchy | Fields | Methods | Properties |
type TCameraSceneNode = class(TSceneNode, IEventReceiver)
Base class for all scene nodes.
A scene node is a node in the hierarchical scene graph. Every scene node may have children, which are also scene nodes. Children move relative to their parent's position. If the parent of a node is not visible, its children won't be visible either. In this way, it is for example easily possible to attach a light to a moving car, or to place a walking character on a moving platform on a moving ship.
![]() |
function HandleEvent(Event: TIrrlichtEvent): Boolean; virtual; |
![]() |
procedure SetProjectionMatrix(const NMatrix: TMatrix4; NIsOrthogonal: Boolean); overload; inline; |
![]() |
property AspectRatio: Single read GetAspectRatio write SetAspectRatio; |
![]() |
property BindTargetAndRotation: Boolean read GetTargetAndRotationBinding
write SetBindTargetAndRotation; |
![]() |
property FarValue: Single read GetFarValue write SetFarValue; |
![]() |
property FOV: Single read GetFOV write SetFOV; |
![]() |
property IsOrthogonal: Boolean read GetIsOthorgonal; |
![]() |
property NearValue: Single read GetNearValue write SetNearValue; |
![]() |
property ProjectionMatrix: TMatrix4 read GetProjectionMatrix write SetProjectionMatrix; |
![]() |
property ReceiveInput: Boolean read IsInputReceiverEnabled write SetInputReceiverEnabled; |
![]() |
property Target: TVector3D read GetTarget write SetTarget; |
![]() |
property UpVector: TVector3D read GetUpVector write SetUpVector; |
![]() |
property ViewFrustum: PViewFrustum read GetViewFrustum; |
![]() |
property ViewMatrix: TMatrix4 read GetViewMatrix; |
![]() |
property ViewMatrixAffector: TMatrix4 read GetViewMatrixAffector
write SetViewMatrixAffector; |
![]() |
function HandleEvent(Event: TIrrlichtEvent): Boolean; virtual; |
Sends a mouse or key event to the camera. |
![]() |
procedure SetProjectionMatrix(const NMatrix: TMatrix4; NIsOrthogonal: Boolean); overload; inline; |
Sets the projection matrix of the camera.
Parameters
|
![]() |
property AspectRatio: Single read GetAspectRatio write SetAspectRatio; |
The camera's aspect ratio. |
![]() |
property BindTargetAndRotation: Boolean read GetTargetAndRotationBinding
write SetBindTargetAndRotation; |
Specifies whether to bind the camera scene node's rotation to its target position and vice versa. |
![]() |
property FarValue: Single read GetFarValue write SetFarValue; |
The distance of the camera's far clipping plane. |
![]() |
property FOV: Single read GetFOV write SetFOV; |
The field of view in radians. Default: Pi / 2.5 |
![]() |
property IsOrthogonal: Boolean read GetIsOthorgonal; |
Checks if a camera is orthogonal. |
![]() |
property NearValue: Single read GetNearValue write SetNearValue; |
The distance of the camera's near clipping plane. |
![]() |
property ProjectionMatrix: TMatrix4 read GetProjectionMatrix write SetProjectionMatrix; |
The camera's projection matrix. |
![]() |
property ReceiveInput: Boolean read IsInputReceiverEnabled write SetInputReceiverEnabled; |
Specifies whether the camera will respond to key inputs. |
![]() |
property Target: TVector3D read GetTarget write SetTarget; |
Sets the |
![]() |
property UpVector: TVector3D read GetUpVector write SetUpVector; |
The camera's up vector, in world space. |
![]() |
property ViewFrustum: PViewFrustum read GetViewFrustum; |
The view frustum. |
![]() |
property ViewMatrix: TMatrix4 read GetViewMatrix; |
The current view matrix. |
![]() |
property ViewMatrixAffector: TMatrix4 read GetViewMatrixAffector
write SetViewMatrixAffector; |
A custom view matrix affector. |