pub struct hkpMassProperties {
pub __ptr: Option<Pointer>,
pub m_volume: f32,
pub m_mass: f32,
pub m_centerOfMass: Vector4,
pub m_inertiaTensor: Matrix3,
}
Expand description
§C++ Info
- name:
hkpMassProperties
- version:
0
- signature:
0x68a56834
- size:
80
(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_volume: f32
§C++ Info
- name:
volume
(ctype:hkReal
) - offset:
0
(x86)/0
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_mass: f32
§C++ Info
- name:
mass
(ctype:hkReal
) - offset:
4
(x86)/4
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_centerOfMass: Vector4
§C++ Info
- name:
centerOfMass
(ctype:hkVector4
) - offset:
16
(x86)/16
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_inertiaTensor: Matrix3
§C++ Info
- name:
inertiaTensor
(ctype:hkMatrix3
) - offset:
32
(x86)/32
(x86_64) - type_size:
48
(x86)/48
(x86_64)
Trait Implementations§
Source§impl Clone for hkpMassProperties
impl Clone for hkpMassProperties
Source§impl Debug for hkpMassProperties
impl Debug for hkpMassProperties
Source§impl Default for hkpMassProperties
impl Default for hkpMassProperties
Source§impl<'de> Deserialize<'de> for hkpMassProperties
impl<'de> Deserialize<'de> for hkpMassProperties
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 hkpMassProperties
impl HavokClass for hkpMassProperties
Source§impl PartialEq for hkpMassProperties
impl PartialEq for hkpMassProperties
Auto Trait Implementations§
impl Freeze for hkpMassProperties
impl RefUnwindSafe for hkpMassProperties
impl Send for hkpMassProperties
impl Sync for hkpMassProperties
impl Unpin for hkpMassProperties
impl UnwindSafe for hkpMassProperties
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