Class TViewpointNode
Unit
Declaration
type TViewpointNode = class(TAbstractViewpointNode)
Description
Viewpoint that provides a perspective view of the scene.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TAbstractBindableNode
- TAbstractViewpointNode
- TViewpointNode
Overview
Methods
class function ProjectionType: TProjectionType; override; |
|
class function InternalFieldOfView(FieldOfView: Single; const FieldOfViewAxis: TFieldOfViewAxis; const ViewportWidth, ViewportHeight: Single): TVector2; |
|
function ProjectionMatrix: TMatrix4; override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: string; override; |
Properties
property FdFieldOfView: TSFFloat read FFdFieldOfView; |
|
property FieldOfView: Single read GetFieldOfView write SetFieldOfView; |
|
property FdPosition: TSFVec3f read FFdPosition; |
|
property FdFieldOfViewForceVertical: TSFBool read FFdFieldOfViewForceVertical; |
|
property FieldOfViewForceVertical: Boolean read GetFieldOfViewForceVertical write SetFieldOfViewForceVertical; |
Description
Methods
class function ProjectionType: TProjectionType; override; |
|
class function InternalFieldOfView(FieldOfView: Single; const FieldOfViewAxis: TFieldOfViewAxis; const ViewportWidth, ViewportHeight: Single): TVector2; |
|
Calculate both perspective angles (in radians), knowing TCastleCamera.Perspective.FieldOfView and TCastleCamera.Perspective.FieldOfViewAxis. In particular when FieldOfViewAxis = faSmallest then we perform the calculation requested by X3D specification about ViewpointNode fieldOfView behavior. |
function ProjectionMatrix: TMatrix4; override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: string; override; |
|
Properties
property FdFieldOfView: TSFFloat read FFdFieldOfView; |
|
Internal wrapper for property FieldOfView. This wrapper API may change, we advise to access simpler FieldOfView instead. |
property FieldOfView: Single read GetFieldOfView write SetFieldOfView; |
|
property FdPosition: TSFVec3f read FFdPosition; |
|
Internal wrapper for property Position. This wrapper API may change, we advise to access simpler Position instead. |
property FdFieldOfViewForceVertical: TSFBool read FFdFieldOfViewForceVertical; |
|
Internal wrapper for property FieldOfViewForceVertical. This wrapper API may change, we advise to access simpler FieldOfViewForceVertical instead. |
property FieldOfViewForceVertical: Boolean read GetFieldOfViewForceVertical write SetFieldOfViewForceVertical; |
|
Generated by PasDoc 0.16.0.