pub struct SeasonValues {
pub snow: f32,
pub autumn: f32,
pub leaf_loss: f32,
pub rain: f32,
}Expand description
The values the renderer receives from the environment each update (the shaders’
pc_userPosition).
Original: FUN_1400988f0.
Fields§
§snow: f32Snow cover, clamp(32 − temperature, 0, 1).
autumn: f32Autumn tint.
leaf_loss: f32Leaf loss.
rain: f32Rain, the strongest active weather effect’s intensity (geometry).
Trait Implementations§
Source§impl Clone for SeasonValues
impl Clone for SeasonValues
Source§fn clone(&self) -> SeasonValues
fn clone(&self) -> SeasonValues
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SeasonValues
Source§impl Debug for SeasonValues
impl Debug for SeasonValues
Source§impl Default for SeasonValues
impl Default for SeasonValues
Source§fn default() -> SeasonValues
fn default() -> SeasonValues
Returns the “default value” for a type. Read more
Source§impl PartialEq for SeasonValues
impl PartialEq for SeasonValues
impl StructuralPartialEq for SeasonValues
Auto Trait Implementations§
impl Freeze for SeasonValues
impl RefUnwindSafe for SeasonValues
impl Send for SeasonValues
impl Sync for SeasonValues
impl Unpin for SeasonValues
impl UnsafeUnpin for SeasonValues
impl UnwindSafe for SeasonValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more