pub struct hkpListShape {
pub __ptr: Option<Pointer>,
pub parent: hkpShapeCollection,
pub m_childInfo: Vec<hkpListShapeChildInfo>,
pub m_flags: u16,
pub m_numDisabledChildren: u16,
pub m_aabbHalfExtents: Vector4,
pub m_aabbCenter: Vector4,
pub m_enabledChildren: [u32; 8],
}
Expand description
§C++ Info
- name:
hkpListShape
- version:
0
- signature:
0xa1937cbd
- size:
112
(x86)/144
(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: hkpShapeCollection
Alternative to C++ class inheritance.
m_childInfo: Vec<hkpListShapeChildInfo>
§C++ Info
- name:
childInfo
(ctype:hkArray<struct hkpListShapeChildInfo>
) - offset:
24
(x86)/48
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_flags: u16
§C++ Info
- name:
flags
(ctype:hkUint16
) - offset:
36
(x86)/64
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_numDisabledChildren: u16
§C++ Info
- name:
numDisabledChildren
(ctype:hkUint16
) - offset:
38
(x86)/66
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_aabbHalfExtents: Vector4
§C++ Info
- name:
aabbHalfExtents
(ctype:hkVector4
) - offset:
48
(x86)/80
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_aabbCenter: Vector4
§C++ Info
- name:
aabbCenter
(ctype:hkVector4
) - offset:
64
(x86)/96
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_enabledChildren: [u32; 8]
§C++ Info
- name:
enabledChildren
(ctype:hkUint32[8]
) - offset:
80
(x86)/112
(x86_64) - type_size:
32
(x86)/32
(x86_64)
Trait Implementations§
Source§impl Clone for hkpListShape
impl Clone for hkpListShape
Source§impl Debug for hkpListShape
impl Debug for hkpListShape
Source§impl Default for hkpListShape
impl Default for hkpListShape
Source§impl<'de> Deserialize<'de> for hkpListShape
impl<'de> Deserialize<'de> for hkpListShape
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 hkpListShape
impl HavokClass for hkpListShape
Source§impl PartialEq for hkpListShape
impl PartialEq for hkpListShape
Auto Trait Implementations§
impl Freeze for hkpListShape
impl RefUnwindSafe for hkpListShape
impl Send for hkpListShape
impl Sync for hkpListShape
impl Unpin for hkpListShape
impl UnwindSafe for hkpListShape
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