pub struct Warp { /* private fields */ }Expand description
WRP_ — Warp field (v0–v1, 132 bytes)
Warps particle/ribbon trajectories with animated radius, height, and angular/axial/radial strength components.
Implementations§
Source§impl Warp
impl Warp
pub fn set_warp_type(&mut self, value: u32)
Sourcepub fn bone_index(&self) -> u32
pub fn bone_index(&self) -> u32
Index into BONE array
pub fn set_bone_index(&mut self, value: u32)
pub fn set_unknown(&mut self, value: u32)
Sourcepub fn radius(&self) -> Ref<'_, AnimRefF32>
pub fn radius(&self) -> Ref<'_, AnimRefF32>
Animated warp radius Borrows the field in place — no copy, no allocation.
pub fn radius_mut(&mut self) -> RefMut<'_, AnimRefF32>
Sourcepub fn height(&self) -> Ref<'_, AnimRefF32>
pub fn height(&self) -> Ref<'_, AnimRefF32>
Animated warp height Borrows the field in place — no copy, no allocation.
pub fn height_mut(&mut self) -> RefMut<'_, AnimRefF32>
Sourcepub fn strength(&self) -> Ref<'_, AnimRefF32>
pub fn strength(&self) -> Ref<'_, AnimRefF32>
Animated warp strength Borrows the field in place — no copy, no allocation.
pub fn strength_mut(&mut self) -> RefMut<'_, AnimRefF32>
Sourcepub fn angular(&self) -> Ref<'_, AnimRefF32>
pub fn angular(&self) -> Ref<'_, AnimRefF32>
Animated angular component Borrows the field in place — no copy, no allocation.
pub fn angular_mut(&mut self) -> RefMut<'_, AnimRefF32>
Sourcepub fn axial(&self) -> Ref<'_, AnimRefF32>
pub fn axial(&self) -> Ref<'_, AnimRefF32>
Animated axial component Borrows the field in place — no copy, no allocation.
pub fn axial_mut(&mut self) -> RefMut<'_, AnimRefF32>
Sourcepub fn radial(&self) -> Ref<'_, AnimRefF32>
pub fn radial(&self) -> Ref<'_, AnimRefF32>
Animated radial component Borrows the field in place — no copy, no allocation.
pub fn radial_mut(&mut self) -> RefMut<'_, AnimRefF32>
Trait Implementations§
impl Send for Warp
Auto Trait Implementations§
impl !Sync for Warp
impl Freeze for Warp
impl RefUnwindSafe for Warp
impl Unpin for Warp
impl UnsafeUnpin for Warp
impl UnwindSafe for Warp
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