pub struct hkpCompressedMeshShape<'a> {Show 24 fields
pub __ptr: Option<Pointer>,
pub parent: hkpShapeCollection,
pub m_bitsPerIndex: i32,
pub m_bitsPerWIndex: i32,
pub m_wIndexMask: i32,
pub m_indexMask: i32,
pub m_radius: f32,
pub m_weldingType: WeldingType,
pub m_materialType: MaterialType,
pub m_materials: Vec<u32>,
pub m_materials16: Vec<u16>,
pub m_materials8: Vec<u8>,
pub m_transforms: Vec<QsTransform>,
pub m_bigVertices: Vec<Vector4>,
pub m_bigTriangles: Vec<hkpCompressedMeshShapeBigTriangle>,
pub m_chunks: Vec<hkpCompressedMeshShapeChunk>,
pub m_convexPieces: Vec<hkpCompressedMeshShapeConvexPiece>,
pub m_error: f32,
pub m_bounds: hkAabb,
pub m_defaultCollisionFilterInfo: u32,
pub m_meshMaterials: Pointer,
pub m_materialStriding: u16,
pub m_numMaterials: u16,
pub m_namedMaterials: Vec<hkpNamedMeshMaterial<'a>>,
}Expand description
§C++ Info
- name:
hkpCompressedMeshShape - version:
9 - signature:
0xa62d5e6e - size:
224(x86)/304(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: hkpShapeCollectionAlternative to C++ class inheritance.
m_bitsPerIndex: i32§C++ Info
- name:
bitsPerIndex(ctype:hkInt32) - offset:
24(x86)/48(x86_64) - type_size:
4(x86)/4(x86_64)
m_bitsPerWIndex: i32§C++ Info
- name:
bitsPerWIndex(ctype:hkInt32) - offset:
28(x86)/52(x86_64) - type_size:
4(x86)/4(x86_64)
m_wIndexMask: i32§C++ Info
- name:
wIndexMask(ctype:hkInt32) - offset:
32(x86)/56(x86_64) - type_size:
4(x86)/4(x86_64)
m_indexMask: i32§C++ Info
- name:
indexMask(ctype:hkInt32) - offset:
36(x86)/60(x86_64) - type_size:
4(x86)/4(x86_64)
m_radius: f32§C++ Info
- name:
radius(ctype:hkReal) - offset:
40(x86)/64(x86_64) - type_size:
4(x86)/4(x86_64)
m_weldingType: WeldingType§C++ Info
- name:
weldingType(ctype:enum WeldingType) - offset:
44(x86)/68(x86_64) - type_size:
1(x86)/1(x86_64)
m_materialType: MaterialType§C++ Info
- name:
materialType(ctype:enum MaterialType) - offset:
45(x86)/69(x86_64) - type_size:
1(x86)/1(x86_64)
m_materials: Vec<u32>§C++ Info
- name:
materials(ctype:hkArray<hkUint32>) - offset:
48(x86)/72(x86_64) - type_size:
12(x86)/16(x86_64)
m_materials16: Vec<u16>§C++ Info
- name:
materials16(ctype:hkArray<hkUint16>) - offset:
60(x86)/88(x86_64) - type_size:
12(x86)/16(x86_64)
m_materials8: Vec<u8>§C++ Info
- name:
materials8(ctype:hkArray<hkUint8>) - offset:
72(x86)/104(x86_64) - type_size:
12(x86)/16(x86_64)
m_transforms: Vec<QsTransform>§C++ Info
- name:
transforms(ctype:hkArray<hkQsTransform>) - offset:
84(x86)/120(x86_64) - type_size:
12(x86)/16(x86_64)
m_bigVertices: Vec<Vector4>§C++ Info
- name:
bigVertices(ctype:hkArray<hkVector4>) - offset:
96(x86)/136(x86_64) - type_size:
12(x86)/16(x86_64)
m_bigTriangles: Vec<hkpCompressedMeshShapeBigTriangle>§C++ Info
- name:
bigTriangles(ctype:hkArray<struct hkpCompressedMeshShapeBigTriangle>) - offset:
108(x86)/152(x86_64) - type_size:
12(x86)/16(x86_64)
m_chunks: Vec<hkpCompressedMeshShapeChunk>§C++ Info
- name:
chunks(ctype:hkArray<struct hkpCompressedMeshShapeChunk>) - offset:
120(x86)/168(x86_64) - type_size:
12(x86)/16(x86_64)
m_convexPieces: Vec<hkpCompressedMeshShapeConvexPiece>§C++ Info
- name:
convexPieces(ctype:hkArray<struct hkpCompressedMeshShapeConvexPiece>) - offset:
132(x86)/184(x86_64) - type_size:
12(x86)/16(x86_64)
m_error: f32§C++ Info
- name:
error(ctype:hkReal) - offset:
144(x86)/200(x86_64) - type_size:
4(x86)/4(x86_64)
m_bounds: hkAabb§C++ Info
- name:
bounds(ctype:struct hkAabb) - offset:
160(x86)/208(x86_64) - type_size:
32(x86)/32(x86_64)
m_defaultCollisionFilterInfo: u32§C++ Info
- name:
defaultCollisionFilterInfo(ctype:hkUint32) - offset:
192(x86)/240(x86_64) - type_size:
4(x86)/4(x86_64)
m_meshMaterials: Pointer§C++ Info
- name:
meshMaterials(ctype:void*) - offset:
196(x86)/248(x86_64) - type_size:
4(x86)/8(x86_64) - flags:
SERIALIZE_IGNORED
m_materialStriding: u16§C++ Info
- name:
materialStriding(ctype:hkUint16) - offset:
200(x86)/256(x86_64) - type_size:
2(x86)/2(x86_64)
m_numMaterials: u16§C++ Info
- name:
numMaterials(ctype:hkUint16) - offset:
202(x86)/258(x86_64) - type_size:
2(x86)/2(x86_64)
m_namedMaterials: Vec<hkpNamedMeshMaterial<'a>>§C++ Info
- name:
namedMaterials(ctype:hkArray<struct hkpNamedMeshMaterial>) - offset:
204(x86)/264(x86_64) - type_size:
12(x86)/16(x86_64)
Trait Implementations§
Source§impl<'a> Clone for hkpCompressedMeshShape<'a>where
Option<Pointer>: Clone,
hkpShapeCollection: Clone,
i32: Clone,
f32: Clone,
WeldingType: Clone,
MaterialType: Clone,
Vec<u32>: Clone,
Vec<u16>: Clone,
Vec<u8>: Clone,
Vec<QsTransform>: Clone,
Vec<Vector4>: Clone,
Vec<hkpCompressedMeshShapeBigTriangle>: Clone,
Vec<hkpCompressedMeshShapeChunk>: Clone,
Vec<hkpCompressedMeshShapeConvexPiece>: Clone,
hkAabb: Clone,
u32: Clone,
Pointer: Clone,
u16: Clone,
Vec<hkpNamedMeshMaterial<'a>>: Clone,
impl<'a> Clone for hkpCompressedMeshShape<'a>where
Option<Pointer>: Clone,
hkpShapeCollection: Clone,
i32: Clone,
f32: Clone,
WeldingType: Clone,
MaterialType: Clone,
Vec<u32>: Clone,
Vec<u16>: Clone,
Vec<u8>: Clone,
Vec<QsTransform>: Clone,
Vec<Vector4>: Clone,
Vec<hkpCompressedMeshShapeBigTriangle>: Clone,
Vec<hkpCompressedMeshShapeChunk>: Clone,
Vec<hkpCompressedMeshShapeConvexPiece>: Clone,
hkAabb: Clone,
u32: Clone,
Pointer: Clone,
u16: Clone,
Vec<hkpNamedMeshMaterial<'a>>: Clone,
Source§impl<'a> Debug for hkpCompressedMeshShape<'a>where
Option<Pointer>: Debug,
hkpShapeCollection: Debug,
i32: Debug,
f32: Debug,
WeldingType: Debug,
MaterialType: Debug,
Vec<u32>: Debug,
Vec<u16>: Debug,
Vec<u8>: Debug,
Vec<QsTransform>: Debug,
Vec<Vector4>: Debug,
Vec<hkpCompressedMeshShapeBigTriangle>: Debug,
Vec<hkpCompressedMeshShapeChunk>: Debug,
Vec<hkpCompressedMeshShapeConvexPiece>: Debug,
hkAabb: Debug,
u32: Debug,
Pointer: Debug,
u16: Debug,
Vec<hkpNamedMeshMaterial<'a>>: Debug,
impl<'a> Debug for hkpCompressedMeshShape<'a>where
Option<Pointer>: Debug,
hkpShapeCollection: Debug,
i32: Debug,
f32: Debug,
WeldingType: Debug,
MaterialType: Debug,
Vec<u32>: Debug,
Vec<u16>: Debug,
Vec<u8>: Debug,
Vec<QsTransform>: Debug,
Vec<Vector4>: Debug,
Vec<hkpCompressedMeshShapeBigTriangle>: Debug,
Vec<hkpCompressedMeshShapeChunk>: Debug,
Vec<hkpCompressedMeshShapeConvexPiece>: Debug,
hkAabb: Debug,
u32: Debug,
Pointer: Debug,
u16: Debug,
Vec<hkpNamedMeshMaterial<'a>>: Debug,
Source§impl<'a> Default for hkpCompressedMeshShape<'a>where
Option<Pointer>: Default,
hkpShapeCollection: Default,
i32: Default,
f32: Default,
WeldingType: Default,
MaterialType: Default,
Vec<u32>: Default,
Vec<u16>: Default,
Vec<u8>: Default,
Vec<QsTransform>: Default,
Vec<Vector4>: Default,
Vec<hkpCompressedMeshShapeBigTriangle>: Default,
Vec<hkpCompressedMeshShapeChunk>: Default,
Vec<hkpCompressedMeshShapeConvexPiece>: Default,
hkAabb: Default,
u32: Default,
Pointer: Default,
u16: Default,
Vec<hkpNamedMeshMaterial<'a>>: Default,
impl<'a> Default for hkpCompressedMeshShape<'a>where
Option<Pointer>: Default,
hkpShapeCollection: Default,
i32: Default,
f32: Default,
WeldingType: Default,
MaterialType: Default,
Vec<u32>: Default,
Vec<u16>: Default,
Vec<u8>: Default,
Vec<QsTransform>: Default,
Vec<Vector4>: Default,
Vec<hkpCompressedMeshShapeBigTriangle>: Default,
Vec<hkpCompressedMeshShapeChunk>: Default,
Vec<hkpCompressedMeshShapeConvexPiece>: Default,
hkAabb: Default,
u32: Default,
Pointer: Default,
u16: Default,
Vec<hkpNamedMeshMaterial<'a>>: Default,
Source§impl<'de> Deserialize<'de> for hkpCompressedMeshShape<'de>
impl<'de> Deserialize<'de> for hkpCompressedMeshShape<'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 hkpCompressedMeshShape<'a>
impl<'a> HavokClass for hkpCompressedMeshShape<'a>
Source§impl<'a> PartialEq for hkpCompressedMeshShape<'a>where
Option<Pointer>: PartialEq,
hkpShapeCollection: PartialEq,
i32: PartialEq,
f32: PartialEq,
WeldingType: PartialEq,
MaterialType: PartialEq,
Vec<u32>: PartialEq,
Vec<u16>: PartialEq,
Vec<u8>: PartialEq,
Vec<QsTransform>: PartialEq,
Vec<Vector4>: PartialEq,
Vec<hkpCompressedMeshShapeBigTriangle>: PartialEq,
Vec<hkpCompressedMeshShapeChunk>: PartialEq,
Vec<hkpCompressedMeshShapeConvexPiece>: PartialEq,
hkAabb: PartialEq,
u32: PartialEq,
Pointer: PartialEq,
u16: PartialEq,
Vec<hkpNamedMeshMaterial<'a>>: PartialEq,
impl<'a> PartialEq for hkpCompressedMeshShape<'a>where
Option<Pointer>: PartialEq,
hkpShapeCollection: PartialEq,
i32: PartialEq,
f32: PartialEq,
WeldingType: PartialEq,
MaterialType: PartialEq,
Vec<u32>: PartialEq,
Vec<u16>: PartialEq,
Vec<u8>: PartialEq,
Vec<QsTransform>: PartialEq,
Vec<Vector4>: PartialEq,
Vec<hkpCompressedMeshShapeBigTriangle>: PartialEq,
Vec<hkpCompressedMeshShapeChunk>: PartialEq,
Vec<hkpCompressedMeshShapeConvexPiece>: PartialEq,
hkAabb: PartialEq,
u32: PartialEq,
Pointer: PartialEq,
u16: PartialEq,
Vec<hkpNamedMeshMaterial<'a>>: PartialEq,
Auto Trait Implementations§
impl<'a> Freeze for hkpCompressedMeshShape<'a>
impl<'a> RefUnwindSafe for hkpCompressedMeshShape<'a>
impl<'a> Send for hkpCompressedMeshShape<'a>
impl<'a> Sync for hkpCompressedMeshShape<'a>
impl<'a> Unpin for hkpCompressedMeshShape<'a>
impl<'a> UnwindSafe for hkpCompressedMeshShape<'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