Class TLocalFogNode

Unit

Declaration

type TLocalFogNode = class(TAbstractChildNode, IAbstractFogObject)

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;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public class function URNMatching(const URN: string): boolean; 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;

Description

Methods

Protected procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override;
 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public class function URNMatching(const URN: string): boolean; 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;
 

Generated by PasDoc 0.15.0.