pub struct Transform3D {
pub position: Vec3,
pub rotation: Quat,
pub scale: Vec3,
}Expand description
A 3D local transform. Positive Y points up, using right-handed coordinates.
Fields§
§position: Vec3Local position.
rotation: QuatLocal rotation.
scale: Vec3Local scale.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transform3D
impl RefUnwindSafe for Transform3D
impl Send for Transform3D
impl Sync for Transform3D
impl Unpin for Transform3D
impl UnsafeUnpin for Transform3D
impl UnwindSafe for Transform3D
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