Assimp  v3.0 (July 2012)
Classes | Enumerations
light.h File Reference

Defines the aiLight data structure. More...

Classes

struct  aiLight
 Helper structure to describe a light source. More...

Enumerations

enum  aiLightSourceType {
  aiLightSource_UNDEFINED = 0x0, aiLightSource_DIRECTIONAL = 0x1, aiLightSource_POINT = 0x2, aiLightSource_SPOT = 0x3,
  _aiLightSource_Force32Bit = 0x9fffffff
}
 Enumerates all supported types of light sources. More...

Detailed Description

Defines the aiLight data structure.


Enumeration Type Documentation

Enumerates all supported types of light sources.

Enumerator:
aiLightSource_UNDEFINED 
aiLightSource_DIRECTIONAL 

A directional light source has a well-defined direction but is infinitely far away.

That's quite a good approximation for sun light.

aiLightSource_POINT 

A point light source has a well-defined position in space but no direction - it emits light in all directions.

A normal bulb is a point light.

aiLightSource_SPOT 

A spot light source emits light in a specific angle.

It has a position and a direction it is pointing to. A good example for a spot light is a light spot in sport arenas.

_aiLightSource_Force32Bit 

This value is not used.

It is just there to force the compiler to map this enum to a 32 Bit integer.