Class TSpotLightNode_1
Unit
Declaration
type TSpotLightNode_1 = class(TAbstractPositionalLightNode)
Description
No description available, ancestor TAbstractPositionalLightNode description follows
Base class for all positional lights.
Hierarchy
- TObject
- TPersistent
- TNonRefCountedInterfacedPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TAbstractLightNode
- TAbstractPunctualLightNode
- TAbstractPositionalLightNode
- TSpotLightNode_1
Overview
Methods
![]() |
function GetProjectionLocationLocal: TVector3; override; |
![]() |
procedure SetProjectionLocationLocal(const Value: TVector3); override; |
![]() |
function GetProjectionDirectionLocal: TVector3; override; |
![]() |
procedure SetProjectionDirectionLocal(const Value: TVector3); override; |
![]() |
procedure CreateNode; override; |
![]() |
class function ClassX3DType: string; override; |
![]() |
function SpotExponent: Single; |
![]() |
function SpotCutoffDeg: Single; |
![]() |
function SpotCosCutoff: Single; |
![]() |
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
![]() |
procedure UpdateLightInstance(var LightInstance: TLightInstance); override; |
![]() |
function ProjectionMatrix: TMatrix4; override; |
![]() |
function ModelviewMatrix: TMatrix4; override; |
![]() |
function ModelviewRotationMatrix: TMatrix4; override; |
![]() |
procedure Box3DDistances(const Box: TBox3D; out MinDistance, MaxDistance: Single); override; |
![]() |
function HasRadius: boolean; override; |
![]() |
function Scope: TLightScope; override; |
Properties
![]() |
property FdDirection: TSFVec3f read FFdDirection; |
![]() |
property FdDropOffRate: TSFFloat read FFdDropOffRate; |
![]() |
property FdCutOffAngle: TSFFloat read FFdCutOffAngle; |
Description
Methods
![]() |
function GetProjectionLocationLocal: TVector3; override; |
![]() |
procedure SetProjectionLocationLocal(const Value: TVector3); override; |
![]() |
function GetProjectionDirectionLocal: TVector3; override; |
![]() |
procedure SetProjectionDirectionLocal(const Value: TVector3); override; |
![]() |
procedure CreateNode; override; |
![]() |
class function ClassX3DType: string; override; |
![]() |
function SpotCutoffDeg: Single; |
|
Spot cutoff angle (based on cutOffAngle). Expressed in degrees, clamped to correct range (see TSpotLightNode.SpotCutoffDeg for reasons). (since user can input any value in VRML, and also conversion radians -> degrees could accidentally raise value slightly > 90, so cutOffAngle = 1.5708 is in degrees 90.0002104591, which would cause OpenGL fixed-function error). | |
![]() |
function SpotCosCutoff: Single; |
![]() |
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
![]() |
procedure UpdateLightInstance(var LightInstance: TLightInstance); override; |
![]() |
function ProjectionMatrix: TMatrix4; override; |
![]() |
function ModelviewMatrix: TMatrix4; override; |
![]() |
function ModelviewRotationMatrix: TMatrix4; override; |
![]() |
procedure Box3DDistances(const Box: TBox3D; out MinDistance, MaxDistance: Single); override; |
![]() |
function HasRadius: boolean; override; |
![]() |
function Scope: TLightScope; override; |
Properties
![]() |
property FdDirection: TSFVec3f read FFdDirection; |
![]() |
property FdDropOffRate: TSFFloat read FFdDropOffRate; |
![]() |
property FdCutOffAngle: TSFFloat read FFdCutOffAngle; |
Generated by PasDoc 0.16.0.

