#include <NBF.h>
Inheritance diagram for NBFSpotLight:
Public Member Functions | |
PADDING (4) | |
Padding bits to ensure the size of NBFSpotLight is a multiple of 8, regardless of packing. | |
Public Attributes | |
float3_t | attenuation |
float | cutoffAngle |
float | falloffExponent |
Controls the intensity distribution inside the cone, the light is mitted to. |
|
Padding bits to ensure the size of NBFSpotLight is a multiple of 8, regardless of packing.
Reimplemented from NBFObject. |
|
Specifies the attenuation factors of the spot light. The x-component of the vector specifies the constant term of the attenuation, the y-component of the vector specifies the linear term of the attenuation, and the z-component of the vector specifies the quadratic term of the attenuation. |
|
Specifies the angle between the axis of the cone, the light is emitted to, and a ray along the edge of the cone. |
|
Controls the intensity distribution inside the cone, the light is mitted to.
|