Class TViewpointNode
Unit
Declaration
type TViewpointNode = class(TAbstractViewpointNode)
Description
Viewpoint that provides a perspective view of the scene.
Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 229).
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; |
|
This item has no description. Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 233). | |
![]() |
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. Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 243). | |
![]() |
function ProjectionMatrix: TMatrix4; override; |
|
This item has no description. Showing description inherited from TAbstractViewpointNode.ProjectionMatrix.
Matrices for projecting texture from this viewpoint, for ProjectedTextureCoordinate. Override Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 247). | |
![]() |
procedure CreateNode; override; |
|
Create node fields and events. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_viewpoint.inc (line 33). | |
![]() |
class function ClassX3DType: String; override; |
|
This item has no description. Showing description inherited from TX3DNode.ClassX3DType. Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value. Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there. You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_viewpoint.inc (line 34). | |
Properties
![]() |
property FdFieldOfView: TSFFloat read FFdFieldOfView; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_viewpoint.inc (line 38). | |
![]() |
property FieldOfView: Single read GetFieldOfView write SetFieldOfView; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_viewpoint.inc (line 40). | |
![]() |
property FdPosition: TSFVec3f read FFdPosition; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_viewpoint.inc (line 44). | |
![]() |
property FdFieldOfViewForceVertical: TSFBool read FFdFieldOfViewForceVertical; |
|
Internal wrapper for property Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_viewpoint.inc (line 48). | |
![]() |
property FieldOfViewForceVertical: Boolean read GetFieldOfViewForceVertical write SetFieldOfViewForceVertical; |
|
This item has no description. Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_viewpoint.inc (line 50). | |
Generated by PasDoc 0.17.0.snapshot.
