Struct gltf::khr_lights_punctual::Light
source · [−]pub struct Light<'a> { /* private fields */ }
This is supported on crate feature
KHR_lights_punctual
only.Expand description
A light in the scene.
Implementations
Intensity of the light source. point
and spot
lights use luminous intensity
in candela (lm/sr) while directional
lights use illuminance in lux (lm/m^2).
A distance cutoff at which the light’s intensity may be considered to have reached zero.