pub struct hkpVehicleDefaultTransmission {
pub __ptr: Option<Pointer>,
pub parent: hkpVehicleTransmission,
pub m_downshiftRPM: f32,
pub m_upshiftRPM: f32,
pub m_primaryTransmissionRatio: f32,
pub m_clutchDelayTime: f32,
pub m_reverseGearRatio: f32,
pub m_gearsRatio: Vec<f32>,
pub m_wheelsTorqueRatio: Vec<f32>,
}Expand description
§C++ Info
- name:
hkpVehicleDefaultTransmission - version:
0 - signature:
0x235d5d6b - size:
52(x86)/72(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: hkpVehicleTransmissionAlternative to C++ class inheritance.
m_downshiftRPM: f32§C++ Info
- name:
downshiftRPM(ctype:hkReal) - offset:
8(x86)/16(x86_64) - type_size:
4(x86)/4(x86_64)
m_upshiftRPM: f32§C++ Info
- name:
upshiftRPM(ctype:hkReal) - offset:
12(x86)/20(x86_64) - type_size:
4(x86)/4(x86_64)
m_primaryTransmissionRatio: f32§C++ Info
- name:
primaryTransmissionRatio(ctype:hkReal) - offset:
16(x86)/24(x86_64) - type_size:
4(x86)/4(x86_64)
m_clutchDelayTime: f32§C++ Info
- name:
clutchDelayTime(ctype:hkReal) - offset:
20(x86)/28(x86_64) - type_size:
4(x86)/4(x86_64)
m_reverseGearRatio: f32§C++ Info
- name:
reverseGearRatio(ctype:hkReal) - offset:
24(x86)/32(x86_64) - type_size:
4(x86)/4(x86_64)
m_gearsRatio: Vec<f32>§C++ Info
- name:
gearsRatio(ctype:hkArray<hkReal>) - offset:
28(x86)/40(x86_64) - type_size:
12(x86)/16(x86_64)
m_wheelsTorqueRatio: Vec<f32>§C++ Info
- name:
wheelsTorqueRatio(ctype:hkArray<hkReal>) - offset:
40(x86)/56(x86_64) - type_size:
12(x86)/16(x86_64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for hkpVehicleDefaultTransmission
impl<'de> Deserialize<'de> for hkpVehicleDefaultTransmission
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 hkpVehicleDefaultTransmission
impl RefUnwindSafe for hkpVehicleDefaultTransmission
impl Send for hkpVehicleDefaultTransmission
impl Sync for hkpVehicleDefaultTransmission
impl Unpin for hkpVehicleDefaultTransmission
impl UnwindSafe for hkpVehicleDefaultTransmission
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