Struct physis::pbd::PreBoneDeformer
source · pub struct PreBoneDeformer { /* private fields */ }
Implementations§
source§impl PreBoneDeformer
impl PreBoneDeformer
sourcepub fn from_existing(buffer: ByteSpan<'_>) -> Option<PreBoneDeformer>
pub fn from_existing(buffer: ByteSpan<'_>) -> Option<PreBoneDeformer>
Reads an existing PBD file
sourcepub fn get_deform_matrices(
&self,
from_body_id: u16,
to_body_id: u16,
) -> Option<PreBoneDeformMatrices>
pub fn get_deform_matrices( &self, from_body_id: u16, to_body_id: u16, ) -> Option<PreBoneDeformMatrices>
Calculates the deform matrices between two races
Auto Trait Implementations§
impl Freeze for PreBoneDeformer
impl RefUnwindSafe for PreBoneDeformer
impl Send for PreBoneDeformer
impl Sync for PreBoneDeformer
impl Unpin for PreBoneDeformer
impl UnwindSafe for PreBoneDeformer
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