Class TNavigationInfoNode
Unit
Declaration
type TNavigationInfoNode = class(TAbstractBindableNode)
Description
Describe the physical characteristics of the viewer's avatar and navigation.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TAbstractBindableNode
- TNavigationInfoNode
Overview
Methods
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
|
procedure SetAvatarSize(const Value: array of Single); overload; |
|
procedure SetAvatarSize(const Value: TSingleList); overload; |
|
procedure SetTransitionType(const Value: array of string); overload; |
|
procedure SetTransitionType(const Value: TCastleStringList); overload; |
|
procedure SetType(const Value: array of string); overload; |
|
procedure SetType(const Value: TCastleStringList); overload; |
Properties
property FdAvatarSize: TMFFloat read FFdAvatarSize; |
|
property FdHeadlight: TSFBool read FFdHeadlight; |
|
property Headlight: Boolean read GetHeadlight write SetHeadlight; |
|
property FdSpeed: TSFFloat read FFdSpeed; |
|
property Speed: Single read GetSpeed write SetSpeed; |
|
property FdTransitionTime: TSFTime read FFdTransitionTime; |
|
property TransitionTime: TFloatTime read GetTransitionTime write SetTransitionTime; |
|
property FdTransitionType: TMFString read FFdTransitionType; |
|
property FdType: TMFString read FFdType; |
|
property FdVisibilityLimit: TSFFloat read FFdVisibilityLimit; |
|
property VisibilityLimit: Single read GetVisibilityLimit write SetVisibilityLimit; |
|
property EventTransitionComplete: TSFBoolEvent read FEventTransitionComplete; |
|
property FdBlendingSort: TSFStringEnum read FFdBlendingSort; |
|
property BlendingSort: TShapeSort read GetBlendingSort write SetBlendingSort; |
|
property FdTimeOriginAtLoad: TSFBool read FFdTimeOriginAtLoad; |
|
property TimeOriginAtLoad: Boolean read GetTimeOriginAtLoad write SetTimeOriginAtLoad; |
|
property FdHeadBobbing: TSFFloat read FFdHeadBobbing; |
|
property HeadBobbing: Single read GetHeadBobbing write SetHeadBobbing; |
|
property FdHeadBobbingTime: TSFFloat read FFdHeadBobbingTime; |
|
property HeadBobbingTime: Single read GetHeadBobbingTime write SetHeadBobbingTime; |
|
property FdHeadlightNode: TSFNode read FFdHeadlightNode; |
|
property HeadlightNode: TAbstractLightNode read GetHeadlightNode write SetHeadlightNode; |
Description
Methods
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
This item has no description. Showing description inherited from TX3DNode.Create. Constructor. Initializes various properties:
|
procedure CreateNode; override; |
|
Create node fields and events. |
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. |
procedure SetAvatarSize(const Value: array of Single); overload; |
|
This item has no description. |
procedure SetAvatarSize(const Value: TSingleList); overload; |
|
This item has no description. |
procedure SetTransitionType(const Value: array of string); overload; |
|
This item has no description. |
procedure SetTransitionType(const Value: TCastleStringList); overload; |
|
This item has no description. |
procedure SetType(const Value: array of string); overload; |
|
This item has no description. |
procedure SetType(const Value: TCastleStringList); overload; |
|
This item has no description. |
Properties
property FdAvatarSize: TMFFloat read FFdAvatarSize; |
|
Internal wrapper for property |
property FdHeadlight: TSFBool read FFdHeadlight; |
|
Internal wrapper for property |
property Headlight: Boolean read GetHeadlight write SetHeadlight; |
|
Warning: this symbol is deprecated. Control the headlight. Instead of this, control the headlight by placing light component (like TCastleDirectionalLight or TCastleSpotLight) as child of TCastleCamera. |
property FdSpeed: TSFFloat read FFdSpeed; |
|
Internal wrapper for property |
property Speed: Single read GetSpeed write SetSpeed; |
|
Warning: this symbol is deprecated. Movement speed. Instead of this, control the move speed using TCastleWalkNavigation.MoveSpeed. |
property FdTransitionTime: TSFTime read FFdTransitionTime; |
|
Internal wrapper for property |
property TransitionTime: TFloatTime read GetTransitionTime write SetTransitionTime; |
|
This item has no description. |
property FdTransitionType: TMFString read FFdTransitionType; |
|
Internal wrapper for property |
property FdType: TMFString read FFdType; |
|
Internal wrapper for property |
property FdVisibilityLimit: TSFFloat read FFdVisibilityLimit; |
|
Internal wrapper for property |
property VisibilityLimit: Single read GetVisibilityLimit write SetVisibilityLimit; |
|
This item has no description. |
property EventTransitionComplete: TSFBoolEvent read FEventTransitionComplete; |
|
This item has no description. |
property FdBlendingSort: TSFStringEnum read FFdBlendingSort; |
|
Internal wrapper for property |
property BlendingSort: TShapeSort read GetBlendingSort write SetBlendingSort; |
|
Best blending sort for this scene. It may be honored by some model viewers, e.g. castle-model-viewer honors this to display currently loaded scene. Note: In CGE applications, the blending sort is determined by TCastleViewport.BlendingSort. It is up to each particular application if, and how, to honor this value on If an application wants to honor this property of if (Scene.NavigationInfoStack.Top <> nil) and (Scene.NavigationInfoStack.Top.BlendingSort <> sortAuto) then MainViewport.BlendingSort := Scene.NavigationInfoStack.Top.BlendingSort;
The value sortAuto (specified as string "AUTO" in X3D file) says to not change TCastleViewport.BlendingSort. The TCastleViewport.BlendingSort may be, in turn, also sortAuto, which means that we will detect whether to use sort2D or sort3D depending on camera. |
property FdTimeOriginAtLoad: TSFBool read FFdTimeOriginAtLoad; |
|
Internal wrapper for property |
property TimeOriginAtLoad: Boolean read GetTimeOriginAtLoad write SetTimeOriginAtLoad; |
|
Warning: this symbol is deprecated.
When this is |
property FdHeadBobbing: TSFFloat read FFdHeadBobbing; |
|
Internal wrapper for property |
property HeadBobbing: Single read GetHeadBobbing write SetHeadBobbing; |
|
Intensity of head bobbing. 0 means to not do head bobbing. Must be >= 0 and < 1, but sensible values are close to 0 (while any values < 1 are technically allowed, but they make the head bobbing effect crazily exaggerated). See https://castle-engine.io/x3d_implementation_navigation_extensions.php |
property FdHeadBobbingTime: TSFFloat read FFdHeadBobbingTime; |
|
Internal wrapper for property |
property HeadBobbingTime: Single read GetHeadBobbingTime write SetHeadBobbingTime; |
|
How much time passes to make full head bobbing sequence (camera swing up and then down back to original height). See https://castle-engine.io/x3d_implementation_navigation_extensions.php |
property FdHeadlightNode: TSFNode read FFdHeadlightNode; |
|
Internal wrapper for property |
property HeadlightNode: TAbstractLightNode read GetHeadlightNode write SetHeadlightNode; |
|
Headlight to shine, if Headlight is |
Generated by PasDoc 0.16.0-snapshot.