Name: | LightType |
Type: | FrooxEngine.LightType
|
LightType is an Enum that is used by Light. It describes the type of light emitter shape a light can be.
Name | Value | Description |
---|---|---|
Point
|
0 | The light originates from a single point in 3D space. This is typically what you use to model most lights such as light bulbs, torches, etc. |
Directional
|
1 | The light originates from a light source "infinitely" far away. It covers the entire world evenly with no falloff. This is most commonly used to model the sun in a typical outdoors environment. |
Spot
|
2 | The light is represented as a spotlight pointing in a direction. This can be used to model car headlights, for example. |