pub struct hkpRagdollMotorConstraintAtom {
pub __ptr: Option<Pointer>,
pub parent: hkpConstraintAtom,
pub m_isEnabled: bool,
pub m_initializedOffset: i16,
pub m_previousTargetAnglesOffset: i16,
pub m_target_bRca: Matrix3,
pub m_motors: [Pointer; 3],
}
Expand description
§C++ Info
- name:
hkpRagdollMotorConstraintAtom
- version:
0
- signature:
0x71013826
- size:
80
(x86)/96
(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.
parent: hkpConstraintAtom
Alternative to C++ class inheritance.
m_isEnabled: bool
§C++ Info
- name:
isEnabled
(ctype:hkBool
) - offset:
2
(x86)/2
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_initializedOffset: i16
§C++ Info
- name:
initializedOffset
(ctype:hkInt16
) - offset:
4
(x86)/4
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_previousTargetAnglesOffset: i16
§C++ Info
- name:
previousTargetAnglesOffset
(ctype:hkInt16
) - offset:
6
(x86)/6
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_target_bRca: Matrix3
§C++ Info
- name:
target_bRca
(ctype:hkMatrix3
) - offset:
16
(x86)/16
(x86_64) - type_size:
48
(x86)/48
(x86_64)
m_motors: [Pointer; 3]
§C++ Info
- name:
motors
(ctype:struct hkpConstraintMotor*
) - offset:
64
(x86)/64
(x86_64) - type_size:
12
(x86)/24
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkpRagdollMotorConstraintAtom
impl<'de> Deserialize<'de> for hkpRagdollMotorConstraintAtom
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
Auto Trait Implementations§
impl Freeze for hkpRagdollMotorConstraintAtom
impl RefUnwindSafe for hkpRagdollMotorConstraintAtom
impl Send for hkpRagdollMotorConstraintAtom
impl Sync for hkpRagdollMotorConstraintAtom
impl Unpin for hkpRagdollMotorConstraintAtom
impl UnwindSafe for hkpRagdollMotorConstraintAtom
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