Class TBGRALight3D

Unit

Declaration

type TBGRALight3D = class(TInterfacedObject, IBGRALight3D)

Description

Light for a 3D scene

Hierarchy

Overview

Fields

Protected FColorInt: TColorInt65536;
Protected FLightness: integer;
Protected FMinIntensity: single;
Protected FViewVector: TPoint3D_128;

Methods

Public constructor Create;
Public destructor Destroy; override;
Public function GetAsObject: TObject;
Public function GetColor: TBGRAPixel;
Public function GetColoredLight: boolean;
Public function GetColorF: TColorF;
Public function GetColorInt: TColorInt65536;
Public function GetDirection: TPoint3D; virtual;
Public function GetIntensity: single; virtual;
Public function GetLightnessF: single;
Public function GetMinIntensity: single;
Public function GetPosition: TPoint3D; virtual;
Public function IsDirectional: boolean; virtual; abstract;
Public procedure ComputeDiffuseAndSpecularColor(Context: PSceneLightingContext); virtual; abstract;
Public procedure ComputeDiffuseColor(Context: PSceneLightingContext); virtual; abstract;
Public procedure ComputeDiffuseLightness(Context: PSceneLightingContext); virtual; abstract;
Public procedure ReleaseInterface;
Public procedure SetColor(const AValue: TBGRAPixel);
Public procedure SetColorF(const AValue: TColorF);
Public procedure SetColorInt(const AValue: TColorInt65536);
Public procedure SetMinIntensity(const AValue: single);

Description

Fields

Protected FColorInt: TColorInt65536;

This item has no description.

Protected FLightness: integer;

This item has no description.

Protected FMinIntensity: single;

This item has no description.

Protected FViewVector: TPoint3D_128;

This item has no description.

Methods

Public constructor Create;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function GetAsObject: TObject;

This item has no description.

Public function GetColor: TBGRAPixel;

This item has no description.

Public function GetColoredLight: boolean;

This item has no description.

Public function GetColorF: TColorF;

This item has no description.

Public function GetColorInt: TColorInt65536;

This item has no description.

Public function GetDirection: TPoint3D; virtual;

This item has no description.

Public function GetIntensity: single; virtual;

This item has no description.

Public function GetLightnessF: single;

This item has no description.

Public function GetMinIntensity: single;

This item has no description.

Public function GetPosition: TPoint3D; virtual;

This item has no description.

Public function IsDirectional: boolean; virtual; abstract;

This item has no description.

Public procedure ComputeDiffuseAndSpecularColor(Context: PSceneLightingContext); virtual; abstract;

This item has no description.

Public procedure ComputeDiffuseColor(Context: PSceneLightingContext); virtual; abstract;

This item has no description.

Public procedure ComputeDiffuseLightness(Context: PSceneLightingContext); virtual; abstract;

This item has no description.

Public procedure ReleaseInterface;

This item has no description.

Public procedure SetColor(const AValue: TBGRAPixel);

This item has no description.

Public procedure SetColorF(const AValue: TColorF);

This item has no description.

Public procedure SetColorInt(const AValue: TColorInt65536);

This item has no description.

Public procedure SetMinIntensity(const AValue: single);

This item has no description.