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

enum TStandardLight::EType

Enumerator:
kAmbientLight 
kDistantLight 
kPointLight 
kSpotLight 


Member Data Documentation

EType TStandardLight::fLightType

TMCColorRGB TStandardLight::fDiffuse

TMCColorRGB TStandardLight::fSpecular

TVector3 TStandardLight::fPosition

TVector3 TStandardLight::fDirection

real TStandardLight::fConeAngleDegreesMin

this is the cone attenuation (spot only)

real TStandardLight::fConeAngleDegreesMax

real TStandardLight::fFalloffDistanceMin

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

real TStandardLight::fFalloffDistanceMax

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


The documentation for this struct was generated from the following file:
Generated on Fri Aug 24 15:19:34 2007 for Carrara SDK Doc by  doxygen 1.5.3