pub struct DisplacementMaterial { /* private fields */ }Expand description
DIS_ — Displacement material (v0–v4, 68 bytes)
Applies vertex displacement via a normal map and animated strength.
Implementations§
Source§impl DisplacementMaterial
impl DisplacementMaterial
pub fn set_name(&mut self, value: &str)
pub fn set_unknown(&mut self, value: u32)
Sourcepub fn strength(&self) -> Ref<'_, AnimRefF32>
pub fn strength(&self) -> Ref<'_, AnimRefF32>
Animated displacement strength Borrows the field in place — no copy, no allocation.
pub fn strength_mut(&mut self) -> RefMut<'_, AnimRefF32>
pub fn set_priority(&mut self, value: u32)
Trait Implementations§
Source§impl Debug for DisplacementMaterial
impl Debug for DisplacementMaterial
Source§impl Default for DisplacementMaterial
impl Default for DisplacementMaterial
Source§impl Drop for DisplacementMaterial
impl Drop for DisplacementMaterial
impl Send for DisplacementMaterial
Auto Trait Implementations§
impl !Sync for DisplacementMaterial
impl Freeze for DisplacementMaterial
impl RefUnwindSafe for DisplacementMaterial
impl Unpin for DisplacementMaterial
impl UnsafeUnpin for DisplacementMaterial
impl UnwindSafe for DisplacementMaterial
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