pub struct AnimationPoseScratch3D { /* private fields */ }Expand description
Pre-allocated Structure-of-Arrays scratch workspace used by AnimationMixer3D for zero-allocation NLA evaluation.
Implementations§
Source§impl AnimationPoseScratch3D
impl AnimationPoseScratch3D
pub fn get_node_translations(&self) -> &Vec<Vec3>
pub fn get_mut_node_translations(&mut self) -> &mut Vec<Vec3>
pub fn set_node_translations(&mut self, val: Vec<Vec3>) -> &mut Self
pub fn get_node_rotations(&self) -> &Vec<Quat>
pub fn get_mut_node_rotations(&mut self) -> &mut Vec<Quat>
pub fn set_node_rotations(&mut self, val: Vec<Quat>) -> &mut Self
pub fn get_node_scales(&self) -> &Vec<Vec3>
pub fn get_mut_node_scales(&mut self) -> &mut Vec<Vec3>
pub fn set_node_scales(&mut self, val: Vec<Vec3>) -> &mut Self
pub fn get_node_touched_translation(&self) -> &Vec<bool>
pub fn get_mut_node_touched_translation(&mut self) -> &mut Vec<bool>
pub fn set_node_touched_translation(&mut self, val: Vec<bool>) -> &mut Self
pub fn get_node_touched_rotation(&self) -> &Vec<bool>
pub fn get_mut_node_touched_rotation(&mut self) -> &mut Vec<bool>
pub fn set_node_touched_rotation(&mut self, val: Vec<bool>) -> &mut Self
pub fn get_node_touched_scale(&self) -> &Vec<bool>
pub fn get_mut_node_touched_scale(&mut self) -> &mut Vec<bool>
pub fn set_node_touched_scale(&mut self, val: Vec<bool>) -> &mut Self
pub fn get_morph_weights(&self) -> &Vec<f32>
pub fn get_mut_morph_weights(&mut self) -> &mut Vec<f32>
pub fn set_morph_weights(&mut self, val: Vec<f32>) -> &mut Self
pub fn get_morph_touched(&self) -> &Vec<bool>
pub fn get_mut_morph_touched(&mut self) -> &mut Vec<bool>
pub fn set_morph_touched(&mut self, val: Vec<bool>) -> &mut Self
pub fn get_sampler_values(&self) -> &Vec<f32>
pub fn get_mut_sampler_values(&mut self) -> &mut Vec<f32>
pub fn set_sampler_values(&mut self, val: Vec<f32>) -> &mut Self
Trait Implementations§
Source§impl Clone for AnimationPoseScratch3D
impl Clone for AnimationPoseScratch3D
Source§impl Debug for AnimationPoseScratch3D
impl Debug for AnimationPoseScratch3D
Source§impl Default for AnimationPoseScratch3D
impl Default for AnimationPoseScratch3D
Source§impl PartialEq for AnimationPoseScratch3D
impl PartialEq for AnimationPoseScratch3D
impl StructuralPartialEq for AnimationPoseScratch3D
Auto Trait Implementations§
impl Forget for AnimationPoseScratch3D
impl Freeze for AnimationPoseScratch3Dwhere
*const u8 is !null: Freeze,
PhantomData<Vec3>: Freeze,
PhantomData<Quat>: Freeze,
PhantomData<bool>: Freeze,
PhantomData<f32>: Freeze,
impl Move for AnimationPoseScratch3D
impl RefUnwindSafe for AnimationPoseScratch3D
impl Send for AnimationPoseScratch3Dwhere
RawVecInner: Send,
impl Sync for AnimationPoseScratch3Dwhere
RawVecInner: Sync,
impl Unpin for AnimationPoseScratch3D
impl UnsafeUnpin for AnimationPoseScratch3Dwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Vec3>: UnsafeUnpin,
PhantomData<Quat>: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
PhantomData<f32>: UnsafeUnpin,
impl UnwindSafe for AnimationPoseScratch3Dwhere
RawVecInner: UnwindSafe,
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