record TAd2dLightData

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAd2dLightData = record

Description

A record that contains light source settings.

Overview

Fields

LightType: TAd2dLightType;
Diffuse: TAndorraColor;
Specular: TAndorraColor;
Ambient: TAndorraColor;
Position: TAdVector3;
ConstantAttenuation: single;
LinearAttenuation: single;
QuadraticAttenuation: single;

Description

Fields

LightType: TAd2dLightType;

The type of the light. Can be a directional or a point light.

Diffuse: TAndorraColor;

The diffuse color of the light source.

Specular: TAndorraColor;

The speculat color of the light source.

Ambient: TAndorraColor;

The ambient color of the light source.

Position: TAdVector3;

The position of the light. If the light source is a directional light, position is equivalent to the direction of the light.

ConstantAttenuation: single;

The constant attenuation. Only used with pointlights.

LinearAttenuation: single;

The linear attenuation. Only used with pointlights.

QuadraticAttenuation: single;

The quadratic attenuation. Only used with pointlights.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58