pub struct hkpExtendedMeshShape {Show 15 fields
pub __ptr: Option<Pointer>,
pub parent: hkpShapeCollection,
pub m_embeddedTrianglesSubpart: hkpExtendedMeshShapeTrianglesSubpart,
pub m_aabbHalfExtents: Vector4,
pub m_aabbCenter: Vector4,
pub m_materialClass: Pointer,
pub m_numBitsForSubpartIndex: i32,
pub m_trianglesSubparts: Vec<hkpExtendedMeshShapeTrianglesSubpart>,
pub m_shapesSubparts: Vec<hkpExtendedMeshShapeShapesSubpart>,
pub m_weldingInfo: Vec<u16>,
pub m_weldingType: WeldingType,
pub m_defaultCollisionFilterInfo: u32,
pub m_cachedNumChildShapes: i32,
pub m_triangleRadius: f32,
pub m_padding: i32,
}
Expand description
§C++ Info
- name:
hkpExtendedMeshShape
- version:
3
- signature:
0x177114a2
- size:
240
(x86)/336
(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_embeddedTrianglesSubpart: hkpExtendedMeshShapeTrianglesSubpart
§C++ Info
- name:
embeddedTrianglesSubpart
(ctype:struct hkpExtendedMeshShapeTrianglesSubpart
) - offset:
32
(x86)/48
(x86_64) - type_size:
112
(x86)/160
(x86_64)
m_aabbHalfExtents: Vector4
§C++ Info
- name:
aabbHalfExtents
(ctype:hkVector4
) - offset:
144
(x86)/208
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_aabbCenter: Vector4
§C++ Info
- name:
aabbCenter
(ctype:hkVector4
) - offset:
160
(x86)/224
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_materialClass: Pointer
§C++ Info
- name:
materialClass
(ctype:void*
) - offset:
176
(x86)/240
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_numBitsForSubpartIndex: i32
§C++ Info
- name:
numBitsForSubpartIndex
(ctype:hkInt32
) - offset:
180
(x86)/248
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_trianglesSubparts: Vec<hkpExtendedMeshShapeTrianglesSubpart>
§C++ Info
- name:
trianglesSubparts
(ctype:hkArray<struct hkpExtendedMeshShapeTrianglesSubpart>
) - offset:
184
(x86)/256
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_shapesSubparts: Vec<hkpExtendedMeshShapeShapesSubpart>
§C++ Info
- name:
shapesSubparts
(ctype:hkArray<struct hkpExtendedMeshShapeShapesSubpart>
) - offset:
196
(x86)/272
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_weldingInfo: Vec<u16>
§C++ Info
- name:
weldingInfo
(ctype:hkArray<hkUint16>
) - offset:
208
(x86)/288
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_weldingType: WeldingType
§C++ Info
- name:
weldingType
(ctype:enum WeldingType
) - offset:
220
(x86)/304
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_defaultCollisionFilterInfo: u32
§C++ Info
- name:
defaultCollisionFilterInfo
(ctype:hkUint32
) - offset:
224
(x86)/308
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_cachedNumChildShapes: i32
§C++ Info
- name:
cachedNumChildShapes
(ctype:hkInt32
) - offset:
228
(x86)/312
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_triangleRadius: f32
§C++ Info
- name:
triangleRadius
(ctype:hkReal
) - offset:
232
(x86)/316
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_padding: i32
§C++ Info
- name:
padding
(ctype:hkInt32
) - offset:
236
(x86)/320
(x86_64) - type_size:
4
(x86)/4
(x86_64) - flags:
SERIALIZE_IGNORED
Trait Implementations§
Source§impl Clone for hkpExtendedMeshShapewhere
Option<Pointer>: Clone,
hkpShapeCollection: Clone,
hkpExtendedMeshShapeTrianglesSubpart: Clone,
Vector4: Clone,
Pointer: Clone,
i32: Clone,
Vec<hkpExtendedMeshShapeTrianglesSubpart>: Clone,
Vec<hkpExtendedMeshShapeShapesSubpart>: Clone,
Vec<u16>: Clone,
WeldingType: Clone,
u32: Clone,
f32: Clone,
impl Clone for hkpExtendedMeshShapewhere
Option<Pointer>: Clone,
hkpShapeCollection: Clone,
hkpExtendedMeshShapeTrianglesSubpart: Clone,
Vector4: Clone,
Pointer: Clone,
i32: Clone,
Vec<hkpExtendedMeshShapeTrianglesSubpart>: Clone,
Vec<hkpExtendedMeshShapeShapesSubpart>: Clone,
Vec<u16>: Clone,
WeldingType: Clone,
u32: Clone,
f32: Clone,
Source§impl Debug for hkpExtendedMeshShapewhere
Option<Pointer>: Debug,
hkpShapeCollection: Debug,
hkpExtendedMeshShapeTrianglesSubpart: Debug,
Vector4: Debug,
Pointer: Debug,
i32: Debug,
Vec<hkpExtendedMeshShapeTrianglesSubpart>: Debug,
Vec<hkpExtendedMeshShapeShapesSubpart>: Debug,
Vec<u16>: Debug,
WeldingType: Debug,
u32: Debug,
f32: Debug,
impl Debug for hkpExtendedMeshShapewhere
Option<Pointer>: Debug,
hkpShapeCollection: Debug,
hkpExtendedMeshShapeTrianglesSubpart: Debug,
Vector4: Debug,
Pointer: Debug,
i32: Debug,
Vec<hkpExtendedMeshShapeTrianglesSubpart>: Debug,
Vec<hkpExtendedMeshShapeShapesSubpart>: Debug,
Vec<u16>: Debug,
WeldingType: Debug,
u32: Debug,
f32: Debug,
Source§impl Default for hkpExtendedMeshShapewhere
Option<Pointer>: Default,
hkpShapeCollection: Default,
hkpExtendedMeshShapeTrianglesSubpart: Default,
Vector4: Default,
Pointer: Default,
i32: Default,
Vec<hkpExtendedMeshShapeTrianglesSubpart>: Default,
Vec<hkpExtendedMeshShapeShapesSubpart>: Default,
Vec<u16>: Default,
WeldingType: Default,
u32: Default,
f32: Default,
impl Default for hkpExtendedMeshShapewhere
Option<Pointer>: Default,
hkpShapeCollection: Default,
hkpExtendedMeshShapeTrianglesSubpart: Default,
Vector4: Default,
Pointer: Default,
i32: Default,
Vec<hkpExtendedMeshShapeTrianglesSubpart>: Default,
Vec<hkpExtendedMeshShapeShapesSubpart>: Default,
Vec<u16>: Default,
WeldingType: Default,
u32: Default,
f32: Default,
Source§impl<'de> Deserialize<'de> for hkpExtendedMeshShape
impl<'de> Deserialize<'de> for hkpExtendedMeshShape
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 hkpExtendedMeshShape
impl HavokClass for hkpExtendedMeshShape
Source§impl PartialEq for hkpExtendedMeshShapewhere
Option<Pointer>: PartialEq,
hkpShapeCollection: PartialEq,
hkpExtendedMeshShapeTrianglesSubpart: PartialEq,
Vector4: PartialEq,
Pointer: PartialEq,
i32: PartialEq,
Vec<hkpExtendedMeshShapeTrianglesSubpart>: PartialEq,
Vec<hkpExtendedMeshShapeShapesSubpart>: PartialEq,
Vec<u16>: PartialEq,
WeldingType: PartialEq,
u32: PartialEq,
f32: PartialEq,
impl PartialEq for hkpExtendedMeshShapewhere
Option<Pointer>: PartialEq,
hkpShapeCollection: PartialEq,
hkpExtendedMeshShapeTrianglesSubpart: PartialEq,
Vector4: PartialEq,
Pointer: PartialEq,
i32: PartialEq,
Vec<hkpExtendedMeshShapeTrianglesSubpart>: PartialEq,
Vec<hkpExtendedMeshShapeShapesSubpart>: PartialEq,
Vec<u16>: PartialEq,
WeldingType: PartialEq,
u32: PartialEq,
f32: PartialEq,
Auto Trait Implementations§
impl Freeze for hkpExtendedMeshShape
impl RefUnwindSafe for hkpExtendedMeshShape
impl Send for hkpExtendedMeshShape
impl Sync for hkpExtendedMeshShape
impl Unpin for hkpExtendedMeshShape
impl UnwindSafe for hkpExtendedMeshShape
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