pub struct hkpSimpleMeshShape {
pub __ptr: Option<Pointer>,
pub parent: hkpShapeCollection,
pub m_vertices: Vec<Vector4>,
pub m_triangles: Vec<hkpSimpleMeshShapeTriangle>,
pub m_materialIndices: Vec<u8>,
pub m_radius: f32,
pub m_weldingType: WeldingType,
}
Expand description
§C++ Info
- name:
hkpSimpleMeshShape
- version:
0
- signature:
0x16b3c811
- size:
68
(x86)/104
(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: hkpShapeCollection
Alternative to C++ class inheritance.
m_vertices: Vec<Vector4>
§C++ Info
- name:
vertices
(ctype:hkArray<hkVector4>
) - offset:
24
(x86)/48
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_triangles: Vec<hkpSimpleMeshShapeTriangle>
§C++ Info
- name:
triangles
(ctype:hkArray<struct hkpSimpleMeshShapeTriangle>
) - offset:
36
(x86)/64
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_materialIndices: Vec<u8>
§C++ Info
- name:
materialIndices
(ctype:hkArray<hkUint8>
) - offset:
48
(x86)/80
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_radius: f32
§C++ Info
- name:
radius
(ctype:hkReal
) - offset:
60
(x86)/96
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_weldingType: WeldingType
§C++ Info
- name:
weldingType
(ctype:enum WeldingType
) - offset:
64
(x86)/100
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl Clone for hkpSimpleMeshShape
impl Clone for hkpSimpleMeshShape
Source§impl Debug for hkpSimpleMeshShape
impl Debug for hkpSimpleMeshShape
Source§impl Default for hkpSimpleMeshShape
impl Default for hkpSimpleMeshShape
Source§impl<'de> Deserialize<'de> for hkpSimpleMeshShape
impl<'de> Deserialize<'de> for hkpSimpleMeshShape
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 hkpSimpleMeshShape
impl HavokClass for hkpSimpleMeshShape
Source§impl PartialEq for hkpSimpleMeshShape
impl PartialEq for hkpSimpleMeshShape
Auto Trait Implementations§
impl Freeze for hkpSimpleMeshShape
impl RefUnwindSafe for hkpSimpleMeshShape
impl Send for hkpSimpleMeshShape
impl Sync for hkpSimpleMeshShape
impl Unpin for hkpSimpleMeshShape
impl UnwindSafe for hkpSimpleMeshShape
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