LightSourceType Enumeration |
Enumerates all supported light sources.
Namespace: Internal.AssimpAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic enum LightSourceType
Members| Member name | Value | Description |
|---|
| Undefined | 0 |
Unknown light.
|
| Directional | 1 |
Directional light source that has a well-defined
direction but is infinitely far away, e.g. the sun.
|
| Point | 2 |
Point light source that has a well-defined position in
space but is omni-directional, e.g. a light bulb.
|
| Spot | 3 |
Spot light source emits light from a position in space,
in a certain direction that is limited by an angle, like
a cone.
|
| Ambient | 4 |
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 | 5 |
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.
|
See Also