pub struct hkpMeshShapeSubpart {Show 16 fields
pub __ptr: Option<Pointer>,
pub m_vertexBase: Pointer,
pub m_vertexStriding: i32,
pub m_numVertices: i32,
pub m_indexBase: Pointer,
pub m_stridingType: MeshShapeIndexStridingType,
pub m_materialIndexStridingType: MeshShapeMaterialIndexStridingType,
pub m_indexStriding: i32,
pub m_flipAlternateTriangles: i32,
pub m_numTriangles: i32,
pub m_materialIndexBase: Pointer,
pub m_materialIndexStriding: i32,
pub m_materialBase: Pointer,
pub m_materialStriding: i32,
pub m_numMaterials: i32,
pub m_triangleOffset: i32,
}
Expand description
§C++ Info
- name:
hkpMeshShapeSubpart
- version:
0
- signature:
0x27336e5d
- size:
56
(x86)/80
(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.
m_vertexBase: Pointer
§C++ Info
- name:
vertexBase
(ctype:void*
) - offset:
0
(x86)/0
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_vertexStriding: i32
§C++ Info
- name:
vertexStriding
(ctype:hkInt32
) - offset:
4
(x86)/8
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_numVertices: i32
§C++ Info
- name:
numVertices
(ctype:hkInt32
) - offset:
8
(x86)/12
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_indexBase: Pointer
§C++ Info
- name:
indexBase
(ctype:void*
) - offset:
12
(x86)/16
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_stridingType: MeshShapeIndexStridingType
§C++ Info
- name:
stridingType
(ctype:enum MeshShapeIndexStridingType
) - offset:
16
(x86)/24
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_materialIndexStridingType: MeshShapeMaterialIndexStridingType
§C++ Info
- name:
materialIndexStridingType
(ctype:enum MeshShapeMaterialIndexStridingType
) - offset:
17
(x86)/25
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_indexStriding: i32
§C++ Info
- name:
indexStriding
(ctype:hkInt32
) - offset:
20
(x86)/28
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_flipAlternateTriangles: i32
§C++ Info
- name:
flipAlternateTriangles
(ctype:hkInt32
) - offset:
24
(x86)/32
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_numTriangles: i32
§C++ Info
- name:
numTriangles
(ctype:hkInt32
) - offset:
28
(x86)/36
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_materialIndexBase: Pointer
§C++ Info
- name:
materialIndexBase
(ctype:void*
) - offset:
32
(x86)/40
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_materialIndexStriding: i32
§C++ Info
- name:
materialIndexStriding
(ctype:hkInt32
) - offset:
36
(x86)/48
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_materialBase: Pointer
§C++ Info
- name:
materialBase
(ctype:void*
) - offset:
40
(x86)/56
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_materialStriding: i32
§C++ Info
- name:
materialStriding
(ctype:hkInt32
) - offset:
44
(x86)/64
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_numMaterials: i32
§C++ Info
- name:
numMaterials
(ctype:hkInt32
) - offset:
48
(x86)/68
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_triangleOffset: i32
§C++ Info
- name:
triangleOffset
(ctype:hkInt32
) - offset:
52
(x86)/72
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkpMeshShapeSubpart
impl Clone for hkpMeshShapeSubpart
Source§impl Debug for hkpMeshShapeSubpart
impl Debug for hkpMeshShapeSubpart
Source§impl Default for hkpMeshShapeSubpart
impl Default for hkpMeshShapeSubpart
Source§impl<'de> Deserialize<'de> for hkpMeshShapeSubpart
impl<'de> Deserialize<'de> for hkpMeshShapeSubpart
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 hkpMeshShapeSubpart
impl HavokClass for hkpMeshShapeSubpart
Source§impl PartialEq for hkpMeshShapeSubpart
impl PartialEq for hkpMeshShapeSubpart
Auto Trait Implementations§
impl Freeze for hkpMeshShapeSubpart
impl RefUnwindSafe for hkpMeshShapeSubpart
impl Send for hkpMeshShapeSubpart
impl Sync for hkpMeshShapeSubpart
impl Unpin for hkpMeshShapeSubpart
impl UnwindSafe for hkpMeshShapeSubpart
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