Function ambient_api_core::core::rendering::components::sun
source · pub fn sun() -> Component<f32>
Expand description
Sun: Marks this entity as a sun (i.e. its rotation will be used to control the global light direction).
The entity with the highest sun
value takes precedence.
Attributes: Debuggable, Networked, Store