pub struct hkMeshSection {
pub __ptr: Option<Pointer>,
pub m_primitiveType: PrimitiveType,
pub m_numPrimitives: i32,
pub m_numIndices: i32,
pub m_vertexStartIndex: i32,
pub m_transformIndex: i32,
pub m_indexType: MeshSectionIndexType,
pub m_indices: Pointer,
pub m_vertexBuffer: Pointer,
pub m_material: Pointer,
pub m_sectionIndex: i32,
}
Expand description
§C++ Info
- name:
hkMeshSection
- version:
1
- signature:
0x1893c365
- size:
40
(x86)/56
(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_primitiveType: PrimitiveType
§C++ Info
- name:
primitiveType
(ctype:enum PrimitiveType
) - offset:
0
(x86)/0
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_numPrimitives: i32
§C++ Info
- name:
numPrimitives
(ctype:hkInt32
) - offset:
4
(x86)/4
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_numIndices: i32
§C++ Info
- name:
numIndices
(ctype:hkInt32
) - offset:
8
(x86)/8
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_vertexStartIndex: i32
§C++ Info
- name:
vertexStartIndex
(ctype:hkInt32
) - offset:
12
(x86)/12
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_transformIndex: i32
§C++ Info
- name:
transformIndex
(ctype:hkInt32
) - offset:
16
(x86)/16
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_indexType: MeshSectionIndexType
§C++ Info
- name:
indexType
(ctype:enum MeshSectionIndexType
) - offset:
20
(x86)/20
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_indices: Pointer
§C++ Info
- name:
indices
(ctype:void*
) - offset:
24
(x86)/24
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_vertexBuffer: Pointer
§C++ Info
- name:
vertexBuffer
(ctype:struct hkMeshVertexBuffer*
) - offset:
28
(x86)/32
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_material: Pointer
§C++ Info
- name:
material
(ctype:struct hkMeshMaterial*
) - offset:
32
(x86)/40
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_sectionIndex: i32
§C++ Info
- name:
sectionIndex
(ctype:hkInt32
) - offset:
36
(x86)/48
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkMeshSection
impl Clone for hkMeshSection
Source§impl Debug for hkMeshSection
impl Debug for hkMeshSection
Source§impl Default for hkMeshSection
impl Default for hkMeshSection
Source§impl<'de> Deserialize<'de> for hkMeshSection
impl<'de> Deserialize<'de> for hkMeshSection
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 hkMeshSection
impl HavokClass for hkMeshSection
Source§impl PartialEq for hkMeshSection
impl PartialEq for hkMeshSection
Auto Trait Implementations§
impl Freeze for hkMeshSection
impl RefUnwindSafe for hkMeshSection
impl Send for hkMeshSection
impl Sync for hkMeshSection
impl Unpin for hkMeshSection
impl UnwindSafe for hkMeshSection
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