pub struct hkaRagdollInstance {
pub __ptr: Option<Pointer>,
pub parent: hkReferencedObject,
pub m_rigidBodies: Vec<Pointer>,
pub m_constraints: Vec<Pointer>,
pub m_boneToRigidBodyMap: Vec<i32>,
pub m_skeleton: Pointer,
}
Expand description
§C++ Info
- name:
hkaRagdollInstance
- version:
0
- signature:
0x154948e8
- size:
48
(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: hkReferencedObject
Alternative to C++ class inheritance.
m_rigidBodies: Vec<Pointer>
§C++ Info
- name:
rigidBodies
(ctype:hkArray<hkpRigidBody*>
) - offset:
8
(x86)/16
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_constraints: Vec<Pointer>
§C++ Info
- name:
constraints
(ctype:hkArray<hkpConstraintInstance*>
) - offset:
20
(x86)/32
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_boneToRigidBodyMap: Vec<i32>
§C++ Info
- name:
boneToRigidBodyMap
(ctype:hkArray<hkInt32>
) - offset:
32
(x86)/48
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_skeleton: Pointer
§C++ Info
- name:
skeleton
(ctype:struct hkaSkeleton*
) - offset:
44
(x86)/64
(x86_64) - type_size:
4
(x86)/8
(x86_64)
Trait Implementations§
Source§impl Clone for hkaRagdollInstance
impl Clone for hkaRagdollInstance
Source§impl Debug for hkaRagdollInstance
impl Debug for hkaRagdollInstance
Source§impl Default for hkaRagdollInstance
impl Default for hkaRagdollInstance
Source§impl<'de> Deserialize<'de> for hkaRagdollInstance
impl<'de> Deserialize<'de> for hkaRagdollInstance
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 hkaRagdollInstance
impl HavokClass for hkaRagdollInstance
Source§impl PartialEq for hkaRagdollInstance
impl PartialEq for hkaRagdollInstance
Auto Trait Implementations§
impl Freeze for hkaRagdollInstance
impl RefUnwindSafe for hkaRagdollInstance
impl Send for hkaRagdollInstance
impl Sync for hkaRagdollInstance
impl Unpin for hkaRagdollInstance
impl UnwindSafe for hkaRagdollInstance
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