Class TBGRAMaterial3D

Unit

Declaration

type TBGRAMaterial3D = class(TInterfacedObject, IBGRAMaterial3D)

Description

Material for the surface of a 3D object

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public function GetAmbiantAlpha: byte;
Public function GetAmbiantColor: TBGRAPixel;
Public function GetAmbiantColorF: TColorF;
Public function GetAmbiantColorInt: TColorInt65536;
Public function GetAsObject: TObject;
Public function GetAutoAmbiantColor: boolean;
Public function GetAutoDiffuseColor: boolean;
Public function GetAutoSimpleColor: boolean;
Public function GetAutoSpecularColor: boolean;
Public function GetDiffuseAlpha: byte;
Public function GetDiffuseColor: TBGRAPixel;
Public function GetDiffuseColorF: TColorF;
Public function GetDiffuseColorInt: TColorInt65536;
Public function GetLightThroughFactor: single;
Public function GetName: string;
Public function GetSaturationHigh: single;
Public function GetSaturationLow: single;
Public function GetSimpleAlpha: byte;
Public function GetSimpleColor: TBGRAPixel;
Public function GetSimpleColorF: TColorF;
Public function GetSimpleColorInt: TColorInt65536;
Public function GetSpecularColor: TBGRAPixel;
Public function GetSpecularColorF: TColorF;
Public function GetSpecularColorInt: TColorInt65536;
Public function GetSpecularIndex: integer;
Public function GetSpecularOn: boolean;
Public function GetTexture: IBGRAScanner;
Public function GetTextureZoom: TPointF;
Public procedure ComputeDiffuseAndSpecularColor(Context: PSceneLightingContext; DiffuseIntensity, SpecularIntensity, SpecularCosine: single; const ALightColor: TColorInt65536);
Public procedure ComputeDiffuseColor(Context: PSceneLightingContext; const DiffuseIntensity: single; const ALightColor: TColorInt65536);
Public procedure ComputeDiffuseLightness(Context: PSceneLightingContext; DiffuseLightnessTerm32768: integer; ALightLightness: integer);
Public procedure SetAmbiantAlpha(AValue: byte);
Public procedure SetAmbiantColor(const AValue: TBGRAPixel);
Public procedure SetAmbiantColorF(const AValue: TColorF);
Public procedure SetAmbiantColorInt(const AValue: TColorInt65536);
Public procedure SetAutoAmbiantColor(const AValue: boolean);
Public procedure SetAutoDiffuseColor(const AValue: boolean);
Public procedure SetAutoSpecularColor(const AValue: boolean);
Public procedure SetDiffuseAlpha(AValue: byte);
Public procedure SetDiffuseColor(const AValue: TBGRAPixel);
Public procedure SetDiffuseColorF(const AValue: TColorF);
Public procedure SetDiffuseColorInt(const AValue: TColorInt65536);
Public procedure SetLightThroughFactor(const AValue: single);
Public procedure SetName(const AValue: string);
Public procedure SetSaturationHigh(const AValue: single);
Public procedure SetSaturationLow(const AValue: single);
Public procedure SetSimpleAlpha(AValue: byte);
Public procedure SetSimpleColor(AValue: TBGRAPixel);
Public procedure SetSimpleColorF(AValue: TColorF);
Public procedure SetSimpleColorInt(AValue: TColorInt65536);
Public procedure SetSpecularColor(const AValue: TBGRAPixel);
Public procedure SetSpecularColorF(const AValue: TColorF);
Public procedure SetSpecularColorInt(const AValue: TColorInt65536);
Public procedure SetSpecularIndex(const AValue: integer); virtual;
Public procedure SetTexture(AValue: IBGRAScanner);
Public procedure SetTextureZoom(AValue: TPointF);

Properties

Public property OnTextureChanged: TBGRAMaterialTextureChangedEvent read FOnTextureChanged write FOnTextureChanged;

Description

Methods

Public constructor Create;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function GetAmbiantAlpha: byte;

This item has no description.

Public function GetAmbiantColor: TBGRAPixel;

This item has no description.

Public function GetAmbiantColorF: TColorF;

This item has no description.

Public function GetAmbiantColorInt: TColorInt65536;

This item has no description.

Public function GetAsObject: TObject;

This item has no description.

Public function GetAutoAmbiantColor: boolean;

This item has no description.

Public function GetAutoDiffuseColor: boolean;

This item has no description.

Public function GetAutoSimpleColor: boolean;

This item has no description.

Public function GetAutoSpecularColor: boolean;

This item has no description.

Public function GetDiffuseAlpha: byte;

This item has no description.

Public function GetDiffuseColor: TBGRAPixel;

This item has no description.

Public function GetDiffuseColorF: TColorF;

This item has no description.

Public function GetDiffuseColorInt: TColorInt65536;

This item has no description.

Public function GetLightThroughFactor: single;

This item has no description.

Public function GetName: string;

This item has no description.

Public function GetSaturationHigh: single;

This item has no description.

Public function GetSaturationLow: single;

This item has no description.

Public function GetSimpleAlpha: byte;

This item has no description.

Public function GetSimpleColor: TBGRAPixel;

This item has no description.

Public function GetSimpleColorF: TColorF;

This item has no description.

Public function GetSimpleColorInt: TColorInt65536;

This item has no description.

Public function GetSpecularColor: TBGRAPixel;

This item has no description.

Public function GetSpecularColorF: TColorF;

This item has no description.

Public function GetSpecularColorInt: TColorInt65536;

This item has no description.

Public function GetSpecularIndex: integer;

This item has no description.

Public function GetSpecularOn: boolean;

This item has no description.

Public function GetTexture: IBGRAScanner;

This item has no description.

Public function GetTextureZoom: TPointF;

This item has no description.

Public procedure ComputeDiffuseAndSpecularColor(Context: PSceneLightingContext; DiffuseIntensity, SpecularIntensity, SpecularCosine: single; const ALightColor: TColorInt65536);

This item has no description.

Public procedure ComputeDiffuseColor(Context: PSceneLightingContext; const DiffuseIntensity: single; const ALightColor: TColorInt65536);

This item has no description.

Public procedure ComputeDiffuseLightness(Context: PSceneLightingContext; DiffuseLightnessTerm32768: integer; ALightLightness: integer);

This item has no description.

Public procedure SetAmbiantAlpha(AValue: byte);

This item has no description.

Public procedure SetAmbiantColor(const AValue: TBGRAPixel);

This item has no description.

Public procedure SetAmbiantColorF(const AValue: TColorF);

This item has no description.

Public procedure SetAmbiantColorInt(const AValue: TColorInt65536);

This item has no description.

Public procedure SetAutoAmbiantColor(const AValue: boolean);

This item has no description.

Public procedure SetAutoDiffuseColor(const AValue: boolean);

This item has no description.

Public procedure SetAutoSpecularColor(const AValue: boolean);

This item has no description.

Public procedure SetDiffuseAlpha(AValue: byte);

This item has no description.

Public procedure SetDiffuseColor(const AValue: TBGRAPixel);

This item has no description.

Public procedure SetDiffuseColorF(const AValue: TColorF);

This item has no description.

Public procedure SetDiffuseColorInt(const AValue: TColorInt65536);

This item has no description.

Public procedure SetLightThroughFactor(const AValue: single);

This item has no description.

Public procedure SetName(const AValue: string);

This item has no description.

Public procedure SetSaturationHigh(const AValue: single);

This item has no description.

Public procedure SetSaturationLow(const AValue: single);

This item has no description.

Public procedure SetSimpleAlpha(AValue: byte);

This item has no description.

Public procedure SetSimpleColor(AValue: TBGRAPixel);

This item has no description.

Public procedure SetSimpleColorF(AValue: TColorF);

This item has no description.

Public procedure SetSimpleColorInt(AValue: TColorInt65536);

This item has no description.

Public procedure SetSpecularColor(const AValue: TBGRAPixel);

This item has no description.

Public procedure SetSpecularColorF(const AValue: TColorF);

This item has no description.

Public procedure SetSpecularColorInt(const AValue: TColorInt65536);

This item has no description.

Public procedure SetSpecularIndex(const AValue: integer); virtual;

This item has no description.

Public procedure SetTexture(AValue: IBGRAScanner);

This item has no description.

Public procedure SetTextureZoom(AValue: TPointF);

This item has no description.

Properties

Public property OnTextureChanged: TBGRAMaterialTextureChangedEvent read FOnTextureChanged write FOnTextureChanged;

This item has no description.