Class TLightSource (unit GLScene)

Inherits from

TSceneObject

Constructors


CONSTRUCTOR Create(AOwner: TComponent);

------------------ TLightSource ----------------------------------------------


Functions

PROCEDURE DestroyList;

------------------------------------------------------------------------------

PROCEDURE Release;

------------------------------------------------------------------------------

PROCEDURE SwitchOff;

------------------------------------------------------------------------------

PROCEDURE SwitchOn;

------------------------------------------------------------------------------

FUNCTION GetLightID: TObjectHandle;

------------------------------------------------------------------------------

PROCEDURE SetConstAttenuation(AValue: GLFloat);

------------------------------------------------------------------------------

PROCEDURE SetLinearAttenuation(AValue: GLFloat);

------------------------------------------------------------------------------

PROCEDURE SetQuadraticAttenuation(AValue: GLFloat);

------------------------------------------------------------------------------

PROCEDURE SetShining(AValue: Boolean);

------------------------------------------------------------------------------

PROCEDURE SetSpotCutOff(AValue: GLFloat);

------------------------------------------------------------------------------

PROCEDURE SetSpotDirection(AVector: TAffineFloatVector);

------------------------------------------------------------------------------

PROCEDURE SetSpotExponent(AValue: GLFloat);

------------------------------------------------------------------------------

Properties

property Ambient :


property ConstAttenuation : GLFloat


property Diffuse :


property LinearAttenuation : GLFloat


property QuadraticAttenuation : GLFloat


property Shining : Boolean


property Specular :


property SpotCutOff : GLFloat


property SpotExponent : GLFloat


property W :


property X :


property Y :


property Z :


property LightID : TObjectHandle


property SpotDirection : TAffineFloatVector


Events

Variables

FConstAttenuation : GLFloat;


FLinearAttenuation : GLFloat;


FQuadraticAttenuation : GLFloat;


FShining : Boolean;


FSpotCutOff : GLFloat;


FSpotDirection : TAffineFloatVector;


FSpotExponent : GLFloat;



Constructors


CONSTRUCTOR Create(AOwner: TComponent);

------------------ TLightSource ----------------------------------------------


Functions


PROCEDURE DestroyList;

------------------------------------------------------------------------------


PROCEDURE Release;

------------------------------------------------------------------------------


PROCEDURE SwitchOff;

------------------------------------------------------------------------------


PROCEDURE SwitchOn;

------------------------------------------------------------------------------


FUNCTION GetLightID: TObjectHandle;

------------------------------------------------------------------------------


PROCEDURE SetConstAttenuation(AValue: GLFloat);

------------------------------------------------------------------------------


PROCEDURE SetLinearAttenuation(AValue: GLFloat);

------------------------------------------------------------------------------


PROCEDURE SetQuadraticAttenuation(AValue: GLFloat);

------------------------------------------------------------------------------


PROCEDURE SetShining(AValue: Boolean);

------------------------------------------------------------------------------


PROCEDURE SetSpotCutOff(AValue: GLFloat);

------------------------------------------------------------------------------


PROCEDURE SetSpotDirection(AVector: TAffineFloatVector);

------------------------------------------------------------------------------


PROCEDURE SetSpotExponent(AValue: GLFloat);

------------------------------------------------------------------------------


Properties


property Ambient :


property ConstAttenuation : GLFloat


property Diffuse :


property LinearAttenuation : GLFloat


property QuadraticAttenuation : GLFloat


property Shining : Boolean


property Specular :


property SpotCutOff : GLFloat


property SpotExponent : GLFloat


property W :


property X :


property Y :


property Z :


property LightID : TObjectHandle


property SpotDirection : TAffineFloatVector


Events


Variables


FConstAttenuation : GLFloat;


FLinearAttenuation : GLFloat;


FQuadraticAttenuation : GLFloat;


FShining : Boolean;


FSpotCutOff : GLFloat;


FSpotDirection : TAffineFloatVector;


FSpotExponent : GLFloat;