Class TAbstractDirectionalLightNode

Unit

Declaration

type TAbstractDirectionalLightNode = class(TAbstractPunctualLightNode)

Description

Base class for all directional lights.

Hierarchy

Overview

Methods

Protected function GetProjectionLocationLocal: TVector3; override;
Protected procedure SetProjectionLocationLocal(const Value: TVector3); override;
Protected function GetProjectionDirectionLocal: TVector3; override;
Protected procedure SetProjectionDirectionLocal(const Value: TVector3); override;
Public constructor Create(const AX3DName: string = ''; const ABaseUrl: string = ''); override;
Public procedure UpdateLightInstance(var LightInstance: TLightInstance); override;
Public function ProjectionMatrix: TMatrix4; override;
Public function ModelviewMatrix: TMatrix4; override;
Public function ModelviewRotationMatrix: TMatrix4; override;
Public procedure Box3DDistances(const Box: TBox3D; out MinDistance, MaxDistance: Single); override;
Public function PositionAndDirection: TVector4; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;

Properties

Public property FdDirection: TSFVec3f read FFdDirection;
Public property Direction: TVector3 read GetDirection write SetDirection;
Public property FdProjectionRectangle: TSFVec4f read FFdProjectionRectangle;
Public property ProjectionRectangle: TVector4 read GetProjectionRectangle write SetProjectionRectangle;
Public property FdProjectionLocation: TSFVec3f read FFdProjectionLocation;
Public property ProjectionLocation: TVector3 read GetProjectionLocation write SetProjectionLocation;

Description

Methods

Protected function GetProjectionLocationLocal: TVector3; override;
 
Protected procedure SetProjectionLocationLocal(const Value: TVector3); override;
 
Protected function GetProjectionDirectionLocal: TVector3; override;
 
Protected procedure SetProjectionDirectionLocal(const Value: TVector3); override;
 
Public constructor Create(const AX3DName: string = ''; const ABaseUrl: string = ''); override;
 
Public procedure UpdateLightInstance(var LightInstance: TLightInstance); override;
 
Public function ProjectionMatrix: TMatrix4; override;
 
Public function ModelviewMatrix: TMatrix4; override;
 
Public function ModelviewRotationMatrix: TMatrix4; override;
 
Public procedure Box3DDistances(const Box: TBox3D; out MinDistance, MaxDistance: Single); override;
 
Public function PositionAndDirection: TVector4; override;
 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 

Properties

Public property FdDirection: TSFVec3f read FFdDirection;

Internal wrapper for property Direction. This wrapper API may change, we advise to access simpler Direction instead.

Public property Direction: TVector3 read GetDirection write SetDirection;
 
Public property FdProjectionRectangle: TSFVec4f read FFdProjectionRectangle;

Internal wrapper for property ProjectionRectangle. This wrapper API may change, we advise to access simpler ProjectionRectangle instead.

Public property ProjectionRectangle: TVector4 read GetProjectionRectangle write SetProjectionRectangle;
 
Public property FdProjectionLocation: TSFVec3f read FFdProjectionLocation;

Internal wrapper for property ProjectionLocation. This wrapper API may change, we advise to access simpler ProjectionLocation instead.

Public property ProjectionLocation: TVector3 read GetProjectionLocation write SetProjectionLocation;
 

Generated by PasDoc 0.16.0.