pub struct hkpCollidable {
pub __ptr: Option<Pointer>,
pub parent: hkpCdBody,
pub m_ownerOffset: i8,
pub m_forceCollideOntoPpu: u8,
pub m_shapeSizeOnSpu: u16,
pub m_broadPhaseHandle: hkpTypedBroadPhaseHandle,
pub m_boundingVolumeData: hkpCollidableBoundingVolumeData,
pub m_allowedPenetrationDepth: f32,
}
Expand description
§C++ Info
- name:
hkpCollidable
- version:
0
- signature:
0x9a0e42a5
- size:
80
(x86)/112
(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.
parent: hkpCdBody
Alternative to C++ class inheritance.
m_ownerOffset: i8
§C++ Info
- name:
ownerOffset
(ctype:hkInt8
) - offset:
16
(x86)/32
(x86_64) - type_size:
1
(x86)/1
(x86_64) - flags:
SERIALIZE_IGNORED
m_forceCollideOntoPpu: u8
§C++ Info
- name:
forceCollideOntoPpu
(ctype:hkUint8
) - offset:
17
(x86)/33
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_shapeSizeOnSpu: u16
§C++ Info
- name:
shapeSizeOnSpu
(ctype:hkUint16
) - offset:
18
(x86)/34
(x86_64) - type_size:
2
(x86)/2
(x86_64) - flags:
SERIALIZE_IGNORED
m_broadPhaseHandle: hkpTypedBroadPhaseHandle
§C++ Info
- name:
broadPhaseHandle
(ctype:struct hkpTypedBroadPhaseHandle
) - offset:
20
(x86)/36
(x86_64) - type_size:
12
(x86)/12
(x86_64)
m_boundingVolumeData: hkpCollidableBoundingVolumeData
§C++ Info
- name:
boundingVolumeData
(ctype:struct hkpCollidableBoundingVolumeData
) - offset:
32
(x86)/48
(x86_64) - type_size:
44
(x86)/56
(x86_64) - flags:
SERIALIZE_IGNORED
m_allowedPenetrationDepth: f32
§C++ Info
- name:
allowedPenetrationDepth
(ctype:hkReal
) - offset:
76
(x86)/104
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkpCollidable
impl Clone for hkpCollidable
Source§impl Debug for hkpCollidable
impl Debug for hkpCollidable
Source§impl Default for hkpCollidable
impl Default for hkpCollidable
Source§impl<'de> Deserialize<'de> for hkpCollidable
impl<'de> Deserialize<'de> for hkpCollidable
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 hkpCollidable
impl HavokClass for hkpCollidable
Source§impl PartialEq for hkpCollidable
impl PartialEq for hkpCollidable
Auto Trait Implementations§
impl Freeze for hkpCollidable
impl RefUnwindSafe for hkpCollidable
impl Send for hkpCollidable
impl Sync for hkpCollidable
impl Unpin for hkpCollidable
impl UnwindSafe for hkpCollidable
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