3D

SpotLight3D

Spot light node.

SpotLight3D embeds Node3D and adds cone-angle/range light parameters.

Base node: Node3D

Source: perro_core/src/nodes/node_3d/spot_light_3d.rs

pub struct SpotLight3D {    pub base: Node3D,    pub color: [f32; 3],    pub intensity: f32,    pub range: f32,    pub inner_angle_radians: f32,    pub outer_angle_radians: f32,    pub active: bool,}