TStandardLight Struct Reference

List of all members.

Public Types

enum  EType { kAmbientLight, kDistantLight, kPointLight, kSpotLight }

Public Attributes

EType fLightType
TMCColorRGB fDiffuse
TMCColorRGB fSpecular
TVector3 fPosition
TVector3 fDirection
real fConeAngleDegreesMin
 this is the cone attenuation (spot only)
real fConeAngleDegreesMax
real fFalloffDistanceMin
 Start of the distance falloff (point/spot only).
real fFalloffDistanceMax
 End of the distance falloff (point/spot only).

Detailed Description

A simple description of a light for fast lighting during interactive rendering. Diffuse/specular terms are a combination of color and intensity (may be negative) Point lights use only position, distant lights use only direction, spots both


Member Enumeration Documentation

Enumerator:
kAmbientLight 
kDistantLight 
kPointLight 
kSpotLight 

Member Data Documentation

this is the cone attenuation (spot only)

End of the distance falloff (point/spot only).

Start of the distance falloff (point/spot only).


The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 22:48:09 2010 for Carrara SDK Doc by  doxygen 1.6.3