Class TBGLLighting3D

Unit

Declaration

type TBGLLighting3D = class(TObject)

Description

Lighting for 3D scene

Hierarchy

Overview

Fields

Protected FAmbiantLight: TColorF;
Protected FCanvas: TBGLCustomCanvas;
Protected FLights: TList;
Protected FShaderLightingCode: string;
Protected FUseBuiltIn: boolean;

Methods

Public constructor Create(ACanvas: TBGLCustomCanvas; AAmbiantLight: TColorF; ALights: TList);
Public destructor Destroy; override;
Public procedure SetSpecularIndex(AIndex: Integer);
Protected procedure Init;

Properties

Public property ShaderLightingCode: string read FShaderLightingCode;
Public property UseOpenGLBuiltInLighting: boolean read FUseBuiltIn write SetUseBuiltIn;

Description

Fields

Protected FAmbiantLight: TColorF;

This item has no description.

Protected FCanvas: TBGLCustomCanvas;

This item has no description.

Protected FLights: TList;

This item has no description.

Protected FShaderLightingCode: string;

This item has no description.

Protected FUseBuiltIn: boolean;

This item has no description.

Methods

Public constructor Create(ACanvas: TBGLCustomCanvas; AAmbiantLight: TColorF; ALights: TList);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure SetSpecularIndex(AIndex: Integer);

This item has no description.

Protected procedure Init;

This item has no description.

Properties

Public property ShaderLightingCode: string read FShaderLightingCode;

This item has no description.

Public property UseOpenGLBuiltInLighting: boolean read FUseBuiltIn write SetUseBuiltIn;

This item has no description.