pub struct hkpPoweredChainDataConstraintInfo {
pub __ptr: Option<Pointer>,
pub m_pivotInA: Vector4,
pub m_pivotInB: Vector4,
pub m_aTc: Quaternion,
pub m_bTc: Quaternion,
pub m_motors: [Pointer; 3],
pub m_switchBodies: bool,
}
Expand description
§C++ Info
- name:
hkpPoweredChainDataConstraintInfo
- version:
0
- signature:
0xf88aee25
- 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.
m_pivotInA: Vector4
§C++ Info
- name:
pivotInA
(ctype:hkVector4
) - offset:
0
(x86)/0
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_pivotInB: Vector4
§C++ Info
- name:
pivotInB
(ctype:hkVector4
) - offset:
16
(x86)/16
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_aTc: Quaternion
§C++ Info
- name:
aTc
(ctype:hkQuaternion
) - offset:
32
(x86)/32
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_bTc: Quaternion
§C++ Info
- name:
bTc
(ctype:hkQuaternion
) - offset:
48
(x86)/48
(x86_64) - type_size:
16
(x86)/16
(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)
m_switchBodies: bool
§C++ Info
- name:
switchBodies
(ctype:hkBool
) - offset:
76
(x86)/88
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkpPoweredChainDataConstraintInfo
impl<'de> Deserialize<'de> for hkpPoweredChainDataConstraintInfo
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 hkpPoweredChainDataConstraintInfo
impl RefUnwindSafe for hkpPoweredChainDataConstraintInfo
impl Send for hkpPoweredChainDataConstraintInfo
impl Sync for hkpPoweredChainDataConstraintInfo
impl Unpin for hkpPoweredChainDataConstraintInfo
impl UnwindSafe for hkpPoweredChainDataConstraintInfo
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