pub struct FbxTransform {
pub matrix: [[f32; 4]; 4],
}Available on crate features
fbx-reader or fbx-writer only.Expand description
Local transform extracted from or written to an FBX model node.
This matrix is synthesized from local translation, rotation, and scaling. It does not represent FBX pivot or inheritance rules.
Fields§
§matrix: [[f32; 4]; 4]Packed transform matrix compatible with the FBX 16-value layout.
The outer arrays are emitted in order and can be passed directly to a
column-major WebGL matrix. Translation therefore occupies
matrix[3][0..3].
Trait Implementations§
Source§impl Clone for FbxTransform
impl Clone for FbxTransform
Source§fn clone(&self) -> FbxTransform
fn clone(&self) -> FbxTransform
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 moreimpl Copy for FbxTransform
Source§impl Debug for FbxTransform
impl Debug for FbxTransform
Source§impl PartialEq for FbxTransform
impl PartialEq for FbxTransform
impl StructuralPartialEq for FbxTransform
Auto Trait Implementations§
impl Freeze for FbxTransform
impl RefUnwindSafe for FbxTransform
impl Send for FbxTransform
impl Sync for FbxTransform
impl Unpin for FbxTransform
impl UnsafeUnpin for FbxTransform
impl UnwindSafe for FbxTransform
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