Enum LightSourceType
Enumerates all supported light sources.
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
public enum LightSourceType
Fields
| Name | Description |
|---|---|
| Ambient | Generic light level of the world, including the bounces of all other light sources. Typically, there's at most one ambient light in a scene and is usually just a constant color. This light does not have a valid position, direction, or other properties - just the color. |
| Area | An area light is a rectangle with a predefined size that uniformly emits light from one of its sides. The position is center of the rectangle and the direction is its normal vector. |
| Directional | Directional light source that has a well-defined direction but is infinitely far away, e.g. the sun. |
| Point | Point light source that has a well-defined position in space but is omni-directional, e.g. a light bulb. |
| Spot | Spot light source emits light from a position in space, in a certain direction that is limited by an angle, like a cone. |
| Undefined | Unknown light. |