Class TAbstractLightNode
Unit
X3DNodes
Declaration
type TAbstractLightNode = class(TAbstractChildNode)
Description
Base class for all the light nodes.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure GroupBeforeTraverse(const State: TX3DGraphTraverseState; var WasPointingDeviceSensor: Boolean); override; |
|
 |
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
 |
procedure UpdateLightInstanceState( var LightInstance: TLightInstance; State: TX3DGraphTraverseState); |
Update TLightInstance record when lighting State changes. Assumes that LightInstance.Node = Self.
This will set LightInstance.Transform properties, and recalculate all LightInstance properties based on Transform.
|
 |
procedure UpdateLightInstance( var LightInstance: TLightInstance); virtual; |
Update TLightInstance record when lighting location/direction (and other properties precalculated on TLightInstance) change. Assumes that LightInstance.Node = Self.
|
 |
function Scope: TLightScope; virtual; |
Light scope. Default implementation returns lsGlobal or lsLocal, depending on "global" field value (this follows VRML/X3D >= 2.0 rules).
|
 |
procedure CreateNode; override; |
Create node fields and events.
|
 |
class function ClassX3DType: String; override; |
|
 |
procedure SetEffects(const Value: array of TEffectNode); |
|
Properties
 |
property FdAmbientIntensity: TSFFloat read FFdAmbientIntensity; |
Internal wrapper for property AmbientIntensity . This wrapper API may change, we advise to access simpler AmbientIntensity instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property AmbientIntensity: Single read GetAmbientIntensity write SetAmbientIntensity; |
|
 |
property FdColor: TSFColor read FFdColor; |
Internal wrapper for property Color . This wrapper API may change, we advise to access simpler Color instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdGlobal: TSFBool read FFdGlobal; |
Internal wrapper for property Global . This wrapper API may change, we advise to access simpler Global instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property Global: Boolean read GetGlobal write SetGlobal; |
|
 |
property FdIntensity: TSFFloat read FFdIntensity; |
Internal wrapper for property Intensity . This wrapper API may change, we advise to access simpler Intensity instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property Intensity: Single read GetIntensity write SetIntensity; |
|
 |
property FdOn: TSFBool read FFdOn; |
Internal wrapper for property IsOn . This wrapper API may change, we advise to access simpler IsOn instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property IsOn: Boolean read GetIsOn write SetIsOn; |
|
 |
property FdEffects: TMFNode read FFdEffects; |
Internal wrapper for property Effects . This wrapper API may change, we advise to access simpler Effects instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdShadowVolumes: TSFBool read FFdShadowVolumes; |
Internal wrapper for property ShadowVolumes . This wrapper API may change, we advise to access simpler ShadowVolumes instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property ShadowVolumes: Boolean read GetShadowVolumes write SetShadowVolumes; |
|
Generated by PasDoc 0.16.0.