pub struct hkpMeshShape {
pub __ptr: Option<Pointer>,
pub parent: hkpShapeCollection,
pub m_scaling: Vector4,
pub m_numBitsForSubpartIndex: i32,
pub m_subparts: Vec<hkpMeshShapeSubpart>,
pub m_weldingInfo: Vec<u16>,
pub m_weldingType: WeldingType,
pub m_radius: f32,
pub m_pad: [i32; 3],
}Expand description
§C++ Info
- name:
hkpMeshShape - version:
0 - signature:
0x3bf12c0f - size:
96(x86)/128(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: hkpShapeCollectionAlternative to C++ class inheritance.
m_scaling: Vector4§C++ Info
- name:
scaling(ctype:hkVector4) - offset:
32(x86)/48(x86_64) - type_size:
16(x86)/16(x86_64)
m_numBitsForSubpartIndex: i32§C++ Info
- name:
numBitsForSubpartIndex(ctype:hkInt32) - offset:
48(x86)/64(x86_64) - type_size:
4(x86)/4(x86_64)
m_subparts: Vec<hkpMeshShapeSubpart>§C++ Info
- name:
subparts(ctype:hkArray<struct hkpMeshShapeSubpart>) - offset:
52(x86)/72(x86_64) - type_size:
12(x86)/16(x86_64)
m_weldingInfo: Vec<u16>§C++ Info
- name:
weldingInfo(ctype:hkArray<hkUint16>) - offset:
64(x86)/88(x86_64) - type_size:
12(x86)/16(x86_64)
m_weldingType: WeldingType§C++ Info
- name:
weldingType(ctype:enum WeldingType) - offset:
76(x86)/104(x86_64) - type_size:
1(x86)/1(x86_64)
m_radius: f32§C++ Info
- name:
radius(ctype:hkReal) - offset:
80(x86)/108(x86_64) - type_size:
4(x86)/4(x86_64)
m_pad: [i32; 3]§C++ Info
- name:
pad(ctype:hkInt32[3]) - offset:
84(x86)/112(x86_64) - type_size:
12(x86)/12(x86_64)
Trait Implementations§
Source§impl Clone for hkpMeshShape
impl Clone for hkpMeshShape
Source§impl Debug for hkpMeshShape
impl Debug for hkpMeshShape
Source§impl Default for hkpMeshShape
impl Default for hkpMeshShape
Source§impl<'de> Deserialize<'de> for hkpMeshShape
impl<'de> Deserialize<'de> for hkpMeshShape
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 hkpMeshShape
impl HavokClass for hkpMeshShape
Source§impl PartialEq for hkpMeshShape
impl PartialEq for hkpMeshShape
Auto Trait Implementations§
impl Freeze for hkpMeshShape
impl RefUnwindSafe for hkpMeshShape
impl Send for hkpMeshShape
impl Sync for hkpMeshShape
impl Unpin for hkpMeshShape
impl UnwindSafe for hkpMeshShape
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