Class TAbstractPointLightNode
Unit
Declaration
type TAbstractPointLightNode = class(TAbstractPositionalLightNode)
Description
Point light source, that shines from a given point in all directions around, for all VRML and X3D versions.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TAbstractLightNode
- TAbstractPunctualLightNode
- TAbstractPositionalLightNode
- TAbstractPointLightNode
Overview
Methods
function GetProjectionLocationLocal: TVector3; override; |
|
procedure SetProjectionLocationLocal(const Value: TVector3); override; |
|
procedure Box3DDistances(const Box: TBox3D; out MinDistance, MaxDistance: Single); override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
Description
Methods
function GetProjectionLocationLocal: TVector3; override; |
|
This item has no description. |
procedure SetProjectionLocationLocal(const Value: TVector3); override; |
|
This item has no description. |
procedure Box3DDistances(const Box: TBox3D; out MinDistance, MaxDistance: Single); override; |
|
This item has no description. Showing description inherited from TAbstractPunctualLightNode.Box3DDistances. Calculate distances between the given Box and this light source. This is intended to capture the depth distances where the box resides, useful for calculating e.g. depth ranges to capture in the shadow maps. Depending on light source type, various distance measures may be used, appropriate to light sources projection. Always MinDistance <= MaxDistance. They may be negative when we measure along the light's direction. |
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. |
Generated by PasDoc 0.16.0-snapshot.