#[repr(C, align(16))]pub struct Transform {
pub rotation: Rotation,
pub transition: Vector4,
}
Expand description
§Transform
§C++ Info
- name:
hkTransform
- type_size:
64
(x86)/64
(x86_64) - align:
16
(x86)/16
(x86_64)
§XML representation
Vector4::w
(4th) isn’t used.
<!-- Matrix3 rotation --><!-- Vector4 transition -->
<hkparam>(0.000000 0.000000 0.000000)(0.000000 0.000000 0.000000)(0.000000 0.000000 0.000000)(-0.000000 0.000000 -0.000000)</hkparam>
Fields§
§rotation: Rotation
§C++ Info
- name:
rotation
(ctype:hkRotation
) - offset:
0
(x86)/0
(x86_64) - type_size:
48
(x86)/48
(x86_64)
transition: Vector4
§C++ Info
- name:
transition
(ctype:hkVector4
) - offset:
48
(x86)/48
(x86_64) - type_size:
16
(x86)/16
(x86_64)
§NOTE
Vector4::w
(4th) isn’t used(always 0.0).
Implementations§
Trait Implementations§
Source§impl PartialOrd for Transform
impl PartialOrd for Transform
impl StructuralPartialEq for Transform
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
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