pub struct hkpExtendedMeshShapeSubpart {
pub __ptr: Option<Pointer>,
pub m_type: SubpartType,
pub m_materialIndexStridingType: MaterialIndexStridingType,
pub m_materialStriding: i16,
pub m_materialIndexBase: Pointer,
pub m_materialIndexStriding: u16,
pub m_numMaterials: u16,
pub m_materialBase: Pointer,
pub m_userData: Ulong,
}
Expand description
§C++ Info
- name:
hkpExtendedMeshShapeSubpart
- version:
2
- signature:
0xf4608207
- size:
20
(x86)/40
(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_type: SubpartType
§C++ Info
- name:
type
(ctype:enum SubpartType
) - offset:
0
(x86)/0
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_materialIndexStridingType: MaterialIndexStridingType
§C++ Info
- name:
materialIndexStridingType
(ctype:enum MaterialIndexStridingType
) - offset:
1
(x86)/1
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_materialStriding: i16
§C++ Info
- name:
materialStriding
(ctype:hkInt16
) - offset:
2
(x86)/2
(x86_64) - type_size:
2
(x86)/2
(x86_64) - flags:
SERIALIZE_IGNORED
m_materialIndexBase: Pointer
§C++ Info
- name:
materialIndexBase
(ctype:void*
) - offset:
4
(x86)/8
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_materialIndexStriding: u16
§C++ Info
- name:
materialIndexStriding
(ctype:hkUint16
) - offset:
8
(x86)/16
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_numMaterials: u16
§C++ Info
- name:
numMaterials
(ctype:hkUint16
) - offset:
10
(x86)/18
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_materialBase: Pointer
§C++ Info
- name:
materialBase
(ctype:void*
) - offset:
12
(x86)/24
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_userData: Ulong
§C++ Info
- name:
userData
(ctype:hkUlong
) - offset:
16
(x86)/32
(x86_64) - type_size:
4
(x86)/8
(x86_64)
Trait Implementations§
Source§impl Clone for hkpExtendedMeshShapeSubpart
impl Clone for hkpExtendedMeshShapeSubpart
Source§impl Debug for hkpExtendedMeshShapeSubpart
impl Debug for hkpExtendedMeshShapeSubpart
Source§impl<'de> Deserialize<'de> for hkpExtendedMeshShapeSubpart
impl<'de> Deserialize<'de> for hkpExtendedMeshShapeSubpart
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
Auto Trait Implementations§
impl Freeze for hkpExtendedMeshShapeSubpart
impl RefUnwindSafe for hkpExtendedMeshShapeSubpart
impl Send for hkpExtendedMeshShapeSubpart
impl Sync for hkpExtendedMeshShapeSubpart
impl Unpin for hkpExtendedMeshShapeSubpart
impl UnwindSafe for hkpExtendedMeshShapeSubpart
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