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
 this is the cone attenuation (spot only)
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
 

Enumeration values:
kAmbientLight 
kDistantLight 
kPointLight 
kSpotLight 


Member Data Documentation

real TStandardLight::fConeAngleDegreesMax
 

this is the cone attenuation (spot only)

real TStandardLight::fConeAngleDegreesMin
 

this is the cone attenuation (spot only)

TMCColorRGB TStandardLight::fDiffuse
 

TVector3 TStandardLight::fDirection
 

real TStandardLight::fFalloffDistanceMax
 

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

real TStandardLight::fFalloffDistanceMin
 

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

EType TStandardLight::fLightType
 

TVector3 TStandardLight::fPosition
 

TMCColorRGB TStandardLight::fSpecular
 


The documentation for this struct was generated from the following file:
Generated on Mon Mar 14 12:29:10 2005 for Carrara SDK Doc by  doxygen 1.3.9.1