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

Overview

Methods

Protected procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override;
Protected procedure GroupBeforeTraverse(const State: TX3DGraphTraverseState; var WasPointingDeviceSensor: Boolean); override;
Public procedure CreateNode; override;
Public destructor Destroy; override;
Public class function ClassX3DType: string; override;
Public function Functionality(const FunctionalityClass: TNodeFunctionalityClass): TNodeFunctionality; override;
Public function FogType: TFogType;

Properties

Public property FdColor: TSFColor read FFdColor;
Public property FdEnabled: TSFBool read FFdEnabled;
Public property FdFogType: TSFString read FFdFogType;
Public property FdVisibilityRange: TSFFloat read FFdVisibilityRange;
Public property FdVolumetric: TSFBool read FFdVolumetric;
Public property FdVolumetricDirection: TSFVec3f read FFdVolumetricDirection;
Public property FdVolumetricVisibilityStart: TSFFloat read FFdVolumetricVisibilityStart;
Public property Color: TCastleColorRGB read GetColor write SetColor;
Public property Enabled: Boolean read GetEnabled write SetEnabled;
Public property VisibilityRange: Single read GetVisibilityRange write SetVisibilityRange;
Public property Volumetric: Boolean read GetVolumetric write SetVolumetric;
Public property VolumetricDirection: TVector3 read GetVolumetricDirection write SetVolumetricDirection;
Public property VolumetricVisibilityStart: Single read GetVolumetricVisibilityStart write SetVolumetricVisibilityStart;

Description

Methods

Protected procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override;
 
Protected procedure GroupBeforeTraverse(const State: TX3DGraphTraverseState; var WasPointingDeviceSensor: Boolean); override;
 
Public procedure CreateNode; override;
 
Public destructor Destroy; override;
 
Public class function ClassX3DType: string; override;
 
Public function Functionality(const FunctionalityClass: TNodeFunctionalityClass): TNodeFunctionality; override;
 
Public function FogType: TFogType;
 

Properties

Public property FdColor: TSFColor read FFdColor;
 
Public property FdEnabled: TSFBool read FFdEnabled;
 
Public property FdFogType: TSFString read FFdFogType;
 
Public property FdVisibilityRange: TSFFloat read FFdVisibilityRange;
 
Public property FdVolumetric: TSFBool read FFdVolumetric;
 
Public property FdVolumetricDirection: TSFVec3f read FFdVolumetricDirection;
 
Public property FdVolumetricVisibilityStart: TSFFloat read FFdVolumetricVisibilityStart;
 
Public property Color: TCastleColorRGB read GetColor write SetColor;
 
Public property Enabled: Boolean read GetEnabled write SetEnabled;
 
Public property VisibilityRange: Single read GetVisibilityRange write SetVisibilityRange;
 
Public property Volumetric: Boolean read GetVolumetric write SetVolumetric;
 
Public property VolumetricDirection: TVector3 read GetVolumetricDirection write SetVolumetricDirection;
 
Public property VolumetricVisibilityStart: Single read GetVolumetricVisibilityStart write SetVolumetricVisibilityStart;
 

Generated by PasDoc 0.15.0.