# 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

real TStandardLight::fConeAngleDegreesMax

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:

- I3dExLight.h