pub struct hkMotionState {
pub __ptr: Option<Pointer>,
pub m_transform: Transform,
pub m_sweptTransform: hkSweptTransform,
pub m_deltaAngle: Vector4,
pub m_objectRadius: f32,
pub m_linearDamping: f16,
pub m_angularDamping: f16,
pub m_timeFactor: f16,
pub m_maxLinearVelocity: u8,
pub m_maxAngularVelocity: u8,
pub m_deactivationClass: u8,
}
Expand description
§C++ Info
- name:
hkMotionState
- version:
1
- signature:
0x5797386e
- size:
176
(x86)/176
(x86_64) - vtable:
false
Fields§
§__ptr: Option<Pointer>
§Unique index for this class
- Represents a pointer on XML (
<hkobject name="#0001"></hkobject>
) Option::None
=> This class isclass in field
.(<hkobject></hkobject>
)
§Note
Not present in the binary & Not exist actual C++ field.
m_transform: Transform
§C++ Info
- name:
transform
(ctype:hkTransform
) - offset:
0
(x86)/0
(x86_64) - type_size:
64
(x86)/64
(x86_64)
m_sweptTransform: hkSweptTransform
§C++ Info
- name:
sweptTransform
(ctype:struct hkSweptTransform
) - offset:
64
(x86)/64
(x86_64) - type_size:
80
(x86)/80
(x86_64)
m_deltaAngle: Vector4
§C++ Info
- name:
deltaAngle
(ctype:hkVector4
) - offset:
144
(x86)/144
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_objectRadius: f32
§C++ Info
- name:
objectRadius
(ctype:hkReal
) - offset:
160
(x86)/160
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_linearDamping: f16
§C++ Info
- name:
linearDamping
(ctype:hkHalf
) - offset:
164
(x86)/164
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_angularDamping: f16
§C++ Info
- name:
angularDamping
(ctype:hkHalf
) - offset:
166
(x86)/166
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_timeFactor: f16
§C++ Info
- name:
timeFactor
(ctype:hkHalf
) - offset:
168
(x86)/168
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_maxLinearVelocity: u8
§C++ Info
- name:
maxLinearVelocity
(ctype:hkUint8
) - offset:
170
(x86)/170
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_maxAngularVelocity: u8
§C++ Info
- name:
maxAngularVelocity
(ctype:hkUint8
) - offset:
171
(x86)/171
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_deactivationClass: u8
§C++ Info
- name:
deactivationClass
(ctype:hkUint8
) - offset:
172
(x86)/172
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl Clone for hkMotionState
impl Clone for hkMotionState
Source§impl Debug for hkMotionState
impl Debug for hkMotionState
Source§impl Default for hkMotionState
impl Default for hkMotionState
Source§impl<'de> Deserialize<'de> for hkMotionState
impl<'de> Deserialize<'de> for hkMotionState
Source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl HavokClass for hkMotionState
impl HavokClass for hkMotionState
Source§impl PartialEq for hkMotionState
impl PartialEq for hkMotionState
Auto Trait Implementations§
impl Freeze for hkMotionState
impl RefUnwindSafe for hkMotionState
impl Send for hkMotionState
impl Sync for hkMotionState
impl Unpin for hkMotionState
impl UnwindSafe for hkMotionState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more