Class TBGRALight3D
Unit
Declaration
type TBGRALight3D = class(TInterfacedObject, IBGRALight3D)
Description
Light for a 3D scene
Hierarchy
- TInterfacedObject
- TBGRALight3D
Overview
Fields
FColorInt: TColorInt65536; |
|
FLightness: integer; |
|
FMinIntensity: single; |
|
FViewVector: TPoint3D_128; |
Methods
constructor Create; |
|
destructor Destroy; override; |
|
function GetAsObject: TObject; |
|
function GetColor: TBGRAPixel; |
|
function GetColoredLight: boolean; |
|
function GetColorF: TColorF; |
|
function GetColorInt: TColorInt65536; |
|
function GetDirection: TPoint3D; virtual; |
|
function GetIntensity: single; virtual; |
|
function GetLightnessF: single; |
|
function GetMinIntensity: single; |
|
function GetPosition: TPoint3D; virtual; |
|
function IsDirectional: boolean; virtual; abstract; |
|
procedure ComputeDiffuseAndSpecularColor(Context: PSceneLightingContext); virtual; abstract; |
|
procedure ComputeDiffuseColor(Context: PSceneLightingContext); virtual; abstract; |
|
procedure ComputeDiffuseLightness(Context: PSceneLightingContext); virtual; abstract; |
|
procedure ReleaseInterface; |
|
procedure SetColor(const AValue: TBGRAPixel); |
|
procedure SetColorF(const AValue: TColorF); |
|
procedure SetColorInt(const AValue: TColorInt65536); |
|
procedure SetMinIntensity(const AValue: single); |
Description
Fields
FColorInt: TColorInt65536; |
|
This item has no description. |
FLightness: integer; |
|
This item has no description. |
FMinIntensity: single; |
|
This item has no description. |
FViewVector: TPoint3D_128; |
|
This item has no description. |
Methods
constructor Create; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function GetAsObject: TObject; |
|
This item has no description. |
function GetColor: TBGRAPixel; |
|
This item has no description. |
function GetColoredLight: boolean; |
|
This item has no description. |
function GetColorF: TColorF; |
|
This item has no description. |
function GetColorInt: TColorInt65536; |
|
This item has no description. |
function GetDirection: TPoint3D; virtual; |
|
This item has no description. |
function GetIntensity: single; virtual; |
|
This item has no description. |
function GetLightnessF: single; |
|
This item has no description. |
function GetMinIntensity: single; |
|
This item has no description. |
function GetPosition: TPoint3D; virtual; |
|
This item has no description. |
function IsDirectional: boolean; virtual; abstract; |
|
This item has no description. |
procedure ComputeDiffuseAndSpecularColor(Context: PSceneLightingContext); virtual; abstract; |
|
This item has no description. |
procedure ComputeDiffuseColor(Context: PSceneLightingContext); virtual; abstract; |
|
This item has no description. |
procedure ComputeDiffuseLightness(Context: PSceneLightingContext); virtual; abstract; |
|
This item has no description. |
procedure ReleaseInterface; |
|
This item has no description. |
procedure SetColor(const AValue: TBGRAPixel); |
|
This item has no description. |
procedure SetColorF(const AValue: TColorF); |
|
This item has no description. |
procedure SetColorInt(const AValue: TColorInt65536); |
|
This item has no description. |
procedure SetMinIntensity(const AValue: single); |
|
This item has no description. |