pub struct hkpCharacterRigidBodyCinfo {Show 18 fields
pub __ptr: Option<Pointer>,
pub parent: hkpCharacterControllerCinfo,
pub m_collisionFilterInfo: u32,
pub m_shape: Pointer,
pub m_position: Vector4,
pub m_rotation: Quaternion,
pub m_mass: f32,
pub m_friction: f32,
pub m_maxLinearVelocity: f32,
pub m_allowedPenetrationDepth: f32,
pub m_up: Vector4,
pub m_maxSlope: f32,
pub m_maxForce: f32,
pub m_unweldingHeightOffsetFactor: f32,
pub m_maxSpeedForSimplexSolver: f32,
pub m_supportDistance: f32,
pub m_hardSupportDistance: f32,
pub m_vdbColor: i32,
}
Expand description
§C++ Info
- name:
hkpCharacterRigidBodyCinfo
- version:
0
- signature:
0x892f441
- size:
112
(x86)/128
(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: hkpCharacterControllerCinfo
Alternative to C++ class inheritance.
m_collisionFilterInfo: u32
§C++ Info
- name:
collisionFilterInfo
(ctype:hkUint32
) - offset:
8
(x86)/16
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_shape: Pointer
§C++ Info
- name:
shape
(ctype:struct hkpShape*
) - offset:
12
(x86)/24
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_position: Vector4
§C++ Info
- name:
position
(ctype:hkVector4
) - offset:
16
(x86)/32
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_rotation: Quaternion
§C++ Info
- name:
rotation
(ctype:hkQuaternion
) - offset:
32
(x86)/48
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_mass: f32
§C++ Info
- name:
mass
(ctype:hkReal
) - offset:
48
(x86)/64
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_friction: f32
§C++ Info
- name:
friction
(ctype:hkReal
) - offset:
52
(x86)/68
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_maxLinearVelocity: f32
§C++ Info
- name:
maxLinearVelocity
(ctype:hkReal
) - offset:
56
(x86)/72
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_allowedPenetrationDepth: f32
§C++ Info
- name:
allowedPenetrationDepth
(ctype:hkReal
) - offset:
60
(x86)/76
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_up: Vector4
§C++ Info
- name:
up
(ctype:hkVector4
) - offset:
64
(x86)/80
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_maxSlope: f32
§C++ Info
- name:
maxSlope
(ctype:hkReal
) - offset:
80
(x86)/96
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_maxForce: f32
§C++ Info
- name:
maxForce
(ctype:hkReal
) - offset:
84
(x86)/100
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_unweldingHeightOffsetFactor: f32
§C++ Info
- name:
unweldingHeightOffsetFactor
(ctype:hkReal
) - offset:
88
(x86)/104
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_maxSpeedForSimplexSolver: f32
§C++ Info
- name:
maxSpeedForSimplexSolver
(ctype:hkReal
) - offset:
92
(x86)/108
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_supportDistance: f32
§C++ Info
- name:
supportDistance
(ctype:hkReal
) - offset:
96
(x86)/112
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_hardSupportDistance: f32
§C++ Info
- name:
hardSupportDistance
(ctype:hkReal
) - offset:
100
(x86)/116
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_vdbColor: i32
§C++ Info
- name:
vdbColor
(ctype:hkInt32
) - offset:
104
(x86)/120
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkpCharacterRigidBodyCinfo
impl Clone for hkpCharacterRigidBodyCinfo
Source§impl Debug for hkpCharacterRigidBodyCinfo
impl Debug for hkpCharacterRigidBodyCinfo
Source§impl Default for hkpCharacterRigidBodyCinfo
impl Default for hkpCharacterRigidBodyCinfo
Source§impl<'de> Deserialize<'de> for hkpCharacterRigidBodyCinfo
impl<'de> Deserialize<'de> for hkpCharacterRigidBodyCinfo
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 hkpCharacterRigidBodyCinfo
impl RefUnwindSafe for hkpCharacterRigidBodyCinfo
impl Send for hkpCharacterRigidBodyCinfo
impl Sync for hkpCharacterRigidBodyCinfo
impl Unpin for hkpCharacterRigidBodyCinfo
impl UnwindSafe for hkpCharacterRigidBodyCinfo
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