GFXLightInfo

Engine/source/gfx/gfxStructs.h

More...

Public Types

enum
Type {
  Point = 0
  Spot = 1
  Vector = 2
  Ambient = 3
}

Detailed Description

Public Types

Type

Enumerator

Point = 0
Spot = 1
Vector = 2
Ambient = 3

Public Attributes

ColorF ambient 
F32 constantAttenuation 
ColorF diffuse 
F32 linearAttenuation 
ColorF mAmbient 
ColorF mColor 
VectorF mDirection 
F32 mInnerConeAngle 
F32 mOuterConeAngle 
Point3F mPos 
F32 mRadius 
Type mType 
Point3F position 

Todo:

Revisit below (currently unused by fixed function lights)

F32 quadraticAttenuation 
ColorF specular 
F32 spotCutoff 
VectorF spotDirection 
F32 spotExponent