pub struct hkpBreakableConstraintData {
pub __ptr: Option<Pointer>,
pub parent: hkpConstraintData,
pub m_atoms: hkpBridgeAtoms,
pub m_constraintData: Pointer,
pub m_childRuntimeSize: u16,
pub m_childNumSolverResults: u16,
pub m_solverResultLimit: f32,
pub m_removeWhenBroken: bool,
pub m_revertBackVelocityOnBreak: bool,
}
Expand description
§C++ Info
- name:
hkpBreakableConstraintData
- version:
0
- signature:
0x7d6310c8
- size:
40
(x86)/72
(x86_64) - vtable:
true
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: hkpConstraintData
Alternative to C++ class inheritance.
m_atoms: hkpBridgeAtoms
§C++ Info
- name:
atoms
(ctype:struct hkpBridgeAtoms
) - offset:
12
(x86)/24
(x86_64) - type_size:
12
(x86)/24
(x86_64)
m_constraintData: Pointer
§C++ Info
- name:
constraintData
(ctype:struct hkpConstraintData*
) - offset:
24
(x86)/48
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_childRuntimeSize: u16
§C++ Info
- name:
childRuntimeSize
(ctype:hkUint16
) - offset:
28
(x86)/56
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_childNumSolverResults: u16
§C++ Info
- name:
childNumSolverResults
(ctype:hkUint16
) - offset:
30
(x86)/58
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_solverResultLimit: f32
§C++ Info
- name:
solverResultLimit
(ctype:hkReal
) - offset:
32
(x86)/60
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_removeWhenBroken: bool
§C++ Info
- name:
removeWhenBroken
(ctype:hkBool
) - offset:
36
(x86)/64
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_revertBackVelocityOnBreak: bool
§C++ Info
- name:
revertBackVelocityOnBreak
(ctype:hkBool
) - offset:
37
(x86)/65
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl Clone for hkpBreakableConstraintData
impl Clone for hkpBreakableConstraintData
Source§impl Debug for hkpBreakableConstraintData
impl Debug for hkpBreakableConstraintData
Source§impl Default for hkpBreakableConstraintData
impl Default for hkpBreakableConstraintData
Source§impl<'de> Deserialize<'de> for hkpBreakableConstraintData
impl<'de> Deserialize<'de> for hkpBreakableConstraintData
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 hkpBreakableConstraintData
impl RefUnwindSafe for hkpBreakableConstraintData
impl Send for hkpBreakableConstraintData
impl Sync for hkpBreakableConstraintData
impl Unpin for hkpBreakableConstraintData
impl UnwindSafe for hkpBreakableConstraintData
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