pub struct hkpEntity<'a> {Show 24 fields
pub __ptr: Option<Pointer>,
pub parent: hkpWorldObject<'a>,
pub m_material: hkpMaterial,
pub m_limitContactImpulseUtilAndFlag: Pointer,
pub m_damageMultiplier: f32,
pub m_breakableBody: Pointer,
pub m_solverData: u32,
pub m_storageIndex: u16,
pub m_contactPointCallbackDelay: u16,
pub m_constraintsMaster: hkpEntitySmallArraySerializeOverrideType,
pub m_constraintsSlave: Vec<Pointer>,
pub m_constraintRuntime: Vec<u8>,
pub m_simulationIsland: Pointer,
pub m_autoRemoveLevel: i8,
pub m_numShapeKeysInContactPointProperties: u8,
pub m_responseModifierFlags: u8,
pub m_uid: u32,
pub m_spuCollisionCallback: hkpEntitySpuCollisionCallback,
pub m_motion: hkpMaxSizeMotion,
pub m_contactListeners: hkpEntitySmallArraySerializeOverrideType,
pub m_actions: hkpEntitySmallArraySerializeOverrideType,
pub m_localFrame: Pointer,
pub m_extendedListeners: Pointer,
pub m_npData: u32,
}
Expand description
§C++ Info
- name:
hkpEntity
- version:
3
- signature:
0xa03c774b
- size:
544
(x86)/720
(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: hkpWorldObject<'a>
Alternative to C++ class inheritance.
m_material: hkpMaterial
§C++ Info
- name:
material
(ctype:struct hkpMaterial
) - offset:
140
(x86)/208
(x86_64) - type_size:
12
(x86)/12
(x86_64)
m_limitContactImpulseUtilAndFlag: Pointer
§C++ Info
- name:
limitContactImpulseUtilAndFlag
(ctype:void*
) - offset:
152
(x86)/224
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_damageMultiplier: f32
§C++ Info
- name:
damageMultiplier
(ctype:hkReal
) - offset:
156
(x86)/232
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_breakableBody: Pointer
§C++ Info
- name:
breakableBody
(ctype:void*
) - offset:
160
(x86)/240
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_solverData: u32
§C++ Info
- name:
solverData
(ctype:hkUint32
) - offset:
164
(x86)/248
(x86_64) - type_size:
4
(x86)/4
(x86_64) - flags:
SERIALIZE_IGNORED
m_storageIndex: u16
§C++ Info
- name:
storageIndex
(ctype:hkUint16
) - offset:
168
(x86)/252
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_contactPointCallbackDelay: u16
§C++ Info
- name:
contactPointCallbackDelay
(ctype:hkUint16
) - offset:
170
(x86)/254
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_constraintsMaster: hkpEntitySmallArraySerializeOverrideType
§C++ Info
- name:
constraintsMaster
(ctype:struct hkpEntitySmallArraySerializeOverrideType
) - offset:
172
(x86)/256
(x86_64) - type_size:
8
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
m_constraintsSlave: Vec<Pointer>
§C++ Info
- name:
constraintsSlave
(ctype:hkArray<hkpConstraintInstance*>
) - offset:
180
(x86)/272
(x86_64) - type_size:
12
(x86)/16
(x86_64) - flags:
NOT_OWNED|SERIALIZE_IGNORED
m_constraintRuntime: Vec<u8>
§C++ Info
- name:
constraintRuntime
(ctype:hkArray<hkUint8>
) - offset:
192
(x86)/288
(x86_64) - type_size:
12
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
m_simulationIsland: Pointer
§C++ Info
- name:
simulationIsland
(ctype:void*
) - offset:
204
(x86)/304
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_autoRemoveLevel: i8
§C++ Info
- name:
autoRemoveLevel
(ctype:hkInt8
) - offset:
208
(x86)/312
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_numShapeKeysInContactPointProperties: u8
§C++ Info
- name:
numShapeKeysInContactPointProperties
(ctype:hkUint8
) - offset:
209
(x86)/313
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_responseModifierFlags: u8
§C++ Info
- name:
responseModifierFlags
(ctype:hkUint8
) - offset:
210
(x86)/314
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_uid: u32
§C++ Info
- name:
uid
(ctype:hkUint32
) - offset:
212
(x86)/316
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_spuCollisionCallback: hkpEntitySpuCollisionCallback
§C++ Info
- name:
spuCollisionCallback
(ctype:struct hkpEntitySpuCollisionCallback
) - offset:
216
(x86)/320
(x86_64) - type_size:
8
(x86)/16
(x86_64)
m_motion: hkpMaxSizeMotion
§C++ Info
- name:
motion
(ctype:struct hkpMaxSizeMotion
) - offset:
224
(x86)/336
(x86_64) - type_size:
288
(x86)/320
(x86_64)
m_contactListeners: hkpEntitySmallArraySerializeOverrideType
§C++ Info
- name:
contactListeners
(ctype:struct hkpEntitySmallArraySerializeOverrideType
) - offset:
512
(x86)/656
(x86_64) - type_size:
8
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
m_actions: hkpEntitySmallArraySerializeOverrideType
§C++ Info
- name:
actions
(ctype:struct hkpEntitySmallArraySerializeOverrideType
) - offset:
520
(x86)/672
(x86_64) - type_size:
8
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
m_localFrame: Pointer
§C++ Info
- name:
localFrame
(ctype:struct hkLocalFrame*
) - offset:
528
(x86)/688
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_extendedListeners: Pointer
§C++ Info
- name:
extendedListeners
(ctype:struct hkpEntityExtendedListeners*
) - offset:
532
(x86)/696
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_npData: u32
§C++ Info
- name:
npData
(ctype:hkUint32
) - offset:
536
(x86)/704
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl<'a> Default for hkpEntity<'a>where
Option<Pointer>: Default,
hkpWorldObject<'a>: Default,
hkpMaterial: Default,
Pointer: Default,
f32: Default,
u32: Default,
u16: Default,
hkpEntitySmallArraySerializeOverrideType: Default,
Vec<Pointer>: Default,
Vec<u8>: Default,
i8: Default,
u8: Default,
hkpEntitySpuCollisionCallback: Default,
hkpMaxSizeMotion: Default,
impl<'a> Default for hkpEntity<'a>where
Option<Pointer>: Default,
hkpWorldObject<'a>: Default,
hkpMaterial: Default,
Pointer: Default,
f32: Default,
u32: Default,
u16: Default,
hkpEntitySmallArraySerializeOverrideType: Default,
Vec<Pointer>: Default,
Vec<u8>: Default,
i8: Default,
u8: Default,
hkpEntitySpuCollisionCallback: Default,
hkpMaxSizeMotion: Default,
Source§impl<'de> Deserialize<'de> for hkpEntity<'de>
impl<'de> Deserialize<'de> for hkpEntity<'de>
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<'a> HavokClass for hkpEntity<'a>
impl<'a> HavokClass for hkpEntity<'a>
Source§impl<'a> PartialEq for hkpEntity<'a>where
Option<Pointer>: PartialEq,
hkpWorldObject<'a>: PartialEq,
hkpMaterial: PartialEq,
Pointer: PartialEq,
f32: PartialEq,
u32: PartialEq,
u16: PartialEq,
hkpEntitySmallArraySerializeOverrideType: PartialEq,
Vec<Pointer>: PartialEq,
Vec<u8>: PartialEq,
i8: PartialEq,
u8: PartialEq,
hkpEntitySpuCollisionCallback: PartialEq,
hkpMaxSizeMotion: PartialEq,
impl<'a> PartialEq for hkpEntity<'a>where
Option<Pointer>: PartialEq,
hkpWorldObject<'a>: PartialEq,
hkpMaterial: PartialEq,
Pointer: PartialEq,
f32: PartialEq,
u32: PartialEq,
u16: PartialEq,
hkpEntitySmallArraySerializeOverrideType: PartialEq,
Vec<Pointer>: PartialEq,
Vec<u8>: PartialEq,
i8: PartialEq,
u8: PartialEq,
hkpEntitySpuCollisionCallback: PartialEq,
hkpMaxSizeMotion: PartialEq,
Auto Trait Implementations§
impl<'a> Freeze for hkpEntity<'a>
impl<'a> RefUnwindSafe for hkpEntity<'a>
impl<'a> Send for hkpEntity<'a>
impl<'a> Sync for hkpEntity<'a>
impl<'a> Unpin for hkpEntity<'a>
impl<'a> UnwindSafe for hkpEntity<'a>
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