pub struct AmbientTerrain {
pub cell_mask: u32,
pub entity: Option<String>,
pub warm: Option<String>,
pub cold: Option<String>,
pub weight: i32,
}Expand description
One terrain class of an AmbientEnvironmentDescription (0x28 bytes).
Fields§
§cell_mask: u32Cell types (bit = map cell type) this class counts.
entity: Option<String>When set, only cells whose entity uses this template count.
warm: Option<String>The warm effect, played at t of the temperature cross-fade.
cold: Option<String>The cold effect, played at 1 - t of the temperature cross-fade.
weight: i32The weight it adds for each cell counted.
Trait Implementations§
Source§impl Clone for AmbientTerrain
impl Clone for AmbientTerrain
Source§fn clone(&self) -> AmbientTerrain
fn clone(&self) -> AmbientTerrain
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 moreSource§impl Debug for AmbientTerrain
impl Debug for AmbientTerrain
Source§impl PartialEq for AmbientTerrain
impl PartialEq for AmbientTerrain
impl StructuralPartialEq for AmbientTerrain
Auto Trait Implementations§
impl Freeze for AmbientTerrain
impl RefUnwindSafe for AmbientTerrain
impl Send for AmbientTerrain
impl Sync for AmbientTerrain
impl Unpin for AmbientTerrain
impl UnsafeUnpin for AmbientTerrain
impl UnwindSafe for AmbientTerrain
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