pub struct hkpCompressedMeshShapeConvexPiece {
pub __ptr: Option<Pointer>,
pub m_offset: Vector4,
pub m_vertices: Vec<u16>,
pub m_faceVertices: Vec<u8>,
pub m_faceOffsets: Vec<u16>,
pub m_reference: u16,
pub m_transformIndex: u16,
}
Expand description
§C++ Info
- name:
hkpCompressedMeshShapeConvexPiece
- version:
3
- signature:
0x385bb842
- size:
64
(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_offset: Vector4
§C++ Info
- name:
offset
(ctype:hkVector4
) - offset:
0
(x86)/0
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_vertices: Vec<u16>
§C++ Info
- name:
vertices
(ctype:hkArray<hkUint16>
) - offset:
16
(x86)/16
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_faceVertices: Vec<u8>
§C++ Info
- name:
faceVertices
(ctype:hkArray<hkUint8>
) - offset:
28
(x86)/32
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_faceOffsets: Vec<u16>
§C++ Info
- name:
faceOffsets
(ctype:hkArray<hkUint16>
) - offset:
40
(x86)/48
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_reference: u16
§C++ Info
- name:
reference
(ctype:hkUint16
) - offset:
52
(x86)/64
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_transformIndex: u16
§C++ Info
- name:
transformIndex
(ctype:hkUint16
) - offset:
54
(x86)/66
(x86_64) - type_size:
2
(x86)/2
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkpCompressedMeshShapeConvexPiece
impl<'de> Deserialize<'de> for hkpCompressedMeshShapeConvexPiece
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 hkpCompressedMeshShapeConvexPiece
impl RefUnwindSafe for hkpCompressedMeshShapeConvexPiece
impl Send for hkpCompressedMeshShapeConvexPiece
impl Sync for hkpCompressedMeshShapeConvexPiece
impl Unpin for hkpCompressedMeshShapeConvexPiece
impl UnwindSafe for hkpCompressedMeshShapeConvexPiece
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