pub struct hkpVehicleDataWheelComponentParams {
pub __ptr: Option<Pointer>,
pub m_radius: f32,
pub m_mass: f32,
pub m_width: f32,
pub m_friction: f32,
pub m_viscosityFriction: f32,
pub m_maxFriction: f32,
pub m_slipAngle: f32,
pub m_forceFeedbackMultiplier: f32,
pub m_maxContactBodyAcceleration: f32,
pub m_axle: i8,
}
Expand description
§C++ Info
- name:
hkpVehicleDataWheelComponentParams
- version:
0
- signature:
0x82fe40e0
- size:
40
(x86)/40
(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_radius: f32
§C++ Info
- name:
radius
(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_width: f32
§C++ Info
- name:
width
(ctype:hkReal
) - offset:
8
(x86)/8
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_friction: f32
§C++ Info
- name:
friction
(ctype:hkReal
) - offset:
12
(x86)/12
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_viscosityFriction: f32
§C++ Info
- name:
viscosityFriction
(ctype:hkReal
) - offset:
16
(x86)/16
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_maxFriction: f32
§C++ Info
- name:
maxFriction
(ctype:hkReal
) - offset:
20
(x86)/20
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_slipAngle: f32
§C++ Info
- name:
slipAngle
(ctype:hkReal
) - offset:
24
(x86)/24
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_forceFeedbackMultiplier: f32
§C++ Info
- name:
forceFeedbackMultiplier
(ctype:hkReal
) - offset:
28
(x86)/28
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_maxContactBodyAcceleration: f32
§C++ Info
- name:
maxContactBodyAcceleration
(ctype:hkReal
) - offset:
32
(x86)/32
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_axle: i8
§C++ Info
- name:
axle
(ctype:hkInt8
) - offset:
36
(x86)/36
(x86_64) - type_size:
1
(x86)/1
(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkpVehicleDataWheelComponentParams
impl<'de> Deserialize<'de> for hkpVehicleDataWheelComponentParams
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 hkpVehicleDataWheelComponentParams
impl RefUnwindSafe for hkpVehicleDataWheelComponentParams
impl Send for hkpVehicleDataWheelComponentParams
impl Sync for hkpVehicleDataWheelComponentParams
impl Unpin for hkpVehicleDataWheelComponentParams
impl UnwindSafe for hkpVehicleDataWheelComponentParams
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