SpotLight
SpotLight
- color : bevy_color::color::Color
- intensity : f32
- range : f32
- radius : f32
- shadows_enabled : bool
- shadow_depth_bias : f32
- shadow_normal_bias : f32
- shadow_map_near_z : f32
- outer_angle : f32
- inner_angle : f32
Description
A light that emits light in a given direction from a central point.
Behaves like a point light in a perfectly absorbent housing that shines light only in a given direction. The direction is taken from the transform, and can be specified with
Transform::looking_at
.