Class TLocalFogNode
Unit
Declaration
type TLocalFogNode = class(TAbstractChildNode)
Description
Simulate atmospheric fog effects (for a part of the scene) by blending with the fog colour, based on the distance from the viewer. This is the "local" version of the TFogNode, this affects only the sibling nodes of the LocalFog
node, not the whole scene.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TLocalFogNode
Overview
Methods
procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
procedure GroupBeforeTraverse(const State: TX3DGraphTraverseState; var WasPointingDeviceSensor: Boolean); override; |
|
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
Properties
property FdColor: TSFColor read FFdColor; |
|
property Color: TCastleColorRGB read GetColor write SetColor; |
|
property FdEnabled: TSFBool read FFdEnabled; |
|
property Enabled: Boolean read GetEnabled write SetEnabled; |
|
property FdFogType: TSFStringEnum read FFdFogType; |
|
property FogType: TFogType read GetFogType write SetFogType; |
|
property FdVisibilityRange: TSFFloat read FFdVisibilityRange; |
|
property VisibilityRange: Single read GetVisibilityRange write SetVisibilityRange; |
|
property FdVolumetric: TSFBool read FFdVolumetric; |
|
property Volumetric: Boolean read GetVolumetric write SetVolumetric; |
|
property FdVolumetricDirection: TSFVec3f read FFdVolumetricDirection; |
|
property VolumetricDirection: TVector3 read GetVolumetricDirection write SetVolumetricDirection; |
|
property FdVolumetricVisibilityStart: TSFFloat read FFdVolumetricVisibilityStart; |
|
property VolumetricVisibilityStart: Single read GetVolumetricVisibilityStart write SetVolumetricVisibilityStart; |
Description
Methods
procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
This item has no description. Showing description inherited from TX3DNode.BeforeTraverse. Override these methods to determine what happens when given node is traversed during Traverse call. The main use of this is to operate on TX3DGraphTraverseStateStack. Remember to always call inherited when overriding. In Besides changing StateStack.Top fields, you can do push/pop on the stack. Remember that if you do StateStack.Push in |
procedure GroupBeforeTraverse(const State: TX3DGraphTraverseState; var WasPointingDeviceSensor: Boolean); override; |
|
This item has no description. Showing description inherited from TX3DNode.GroupBeforeTraverse. React when this node is processed as an immediate child of a grouping node, within grouping node's BeforeTraverse. |
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. |
Properties
property FdColor: TSFColor read FFdColor; |
|
Internal wrapper for property |
property Color: TCastleColorRGB read GetColor write SetColor; |
|
This item has no description. |
property FdEnabled: TSFBool read FFdEnabled; |
|
Internal wrapper for property |
property Enabled: Boolean read GetEnabled write SetEnabled; |
|
This item has no description. |
property FdFogType: TSFStringEnum read FFdFogType; |
|
Internal wrapper for property |
property FogType: TFogType read GetFogType write SetFogType; |
|
This item has no description. |
property FdVisibilityRange: TSFFloat read FFdVisibilityRange; |
|
Internal wrapper for property |
property VisibilityRange: Single read GetVisibilityRange write SetVisibilityRange; |
|
This item has no description. |
property FdVolumetric: TSFBool read FFdVolumetric; |
|
Internal wrapper for property |
property Volumetric: Boolean read GetVolumetric write SetVolumetric; |
|
Activate |
property FdVolumetricDirection: TSFVec3f read FFdVolumetricDirection; |
|
Internal wrapper for property |
property VolumetricDirection: TVector3 read GetVolumetricDirection write SetVolumetricDirection; |
|
This item has no description. |
property FdVolumetricVisibilityStart: TSFFloat read FFdVolumetricVisibilityStart; |
|
Internal wrapper for property |
property VolumetricVisibilityStart: Single read GetVolumetricVisibilityStart write SetVolumetricVisibilityStart; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.