CAST II Game Engine

   DESCRIPTION       FEATURES       SCREENSHOTS       FORUMS       DOCUMENTATION       DOWNLOADS       CONTACTS   
Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TLight

Unit

C2Visual

Declaration

type TLight = class(TProcessing)

Description

Light source

Hierarchy

TProcessing > TBaseProcessing > TItem > TBaseItem

Fields

 NameDescription
PublicAmbientAmbient color of the light source
PublicAttenuation0Constant attenuation
PublicAttenuation1Linear attenuation
PublicAttenuation2Quadratic attenuation
PublicDiffuseDiffuse color of the light source
PublicFalloff 
PublicGroupMaskDetermines which passes can be affected by the light source
PublicKindKind of the light source
PublicPhiOuter angle of spotlight cone
PublicRangeEffective range of the light source
PublicSpecularSpecular color of the light source
PublicThetaInner angle of spotlight cone

Methods

Overview

Publicconstructor Create(AManager: TItemsManager); override;
Publicprocedure AddProperties(const Result: Props.TProperties); override;
Publicprocedure HandleMessage(const Msg: TMessage); override;
Publicprocedure SetProperties(Properties: Props.TProperties); override;
Protectedprocedure SetState(const Value: TSet32); override;

Description

Publicconstructor Create(AManager: TItemsManager); override;

 

Publicprocedure AddProperties(const Result: Props.TProperties); override;

 

Publicprocedure HandleMessage(const Msg: TMessage); override;

 

Publicprocedure SetProperties(Properties: Props.TProperties); override;

 

Protectedprocedure SetState(const Value: TSet32); override;

 

Properties

Overview

Publicproperty Enabled: Boolean;

Description

Publicproperty Enabled: Boolean;

Setting Enabled to True/False turns on/off the light source

Last modified: 4 Jul, 2008
Copyright (C) 2006-2008, casteng.com