pub struct hkpVehicleInstanceWheelInfo {Show 18 fields
pub __ptr: Option<Pointer>,
pub m_contactPoint: hkContactPoint,
pub m_contactFriction: f32,
pub m_contactBody: Pointer,
pub m_contactShapeKey: [u32; 8],
pub m_hardPointWs: Vector4,
pub m_rayEndPointWs: Vector4,
pub m_currentSuspensionLength: f32,
pub m_suspensionDirectionWs: Vector4,
pub m_spinAxisChassisSpace: Vector4,
pub m_spinAxisWs: Vector4,
pub m_steeringOrientationChassisSpace: Quaternion,
pub m_spinVelocity: f32,
pub m_spinAngle: f32,
pub m_skidEnergyDensity: f32,
pub m_sideForce: f32,
pub m_forwardSlipVelocity: f32,
pub m_sideSlipVelocity: f32,
}
Expand description
§C++ Info
- name:
hkpVehicleInstanceWheelInfo
- version:
1
- signature:
0x99f693f0
- size:
224
(x86)/224
(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_contactPoint: hkContactPoint
§C++ Info
- name:
contactPoint
(ctype:struct hkContactPoint
) - offset:
0
(x86)/0
(x86_64) - type_size:
32
(x86)/32
(x86_64)
m_contactFriction: f32
§C++ Info
- name:
contactFriction
(ctype:hkReal
) - offset:
32
(x86)/32
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_contactBody: Pointer
§C++ Info
- name:
contactBody
(ctype:void*
) - offset:
36
(x86)/40
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_contactShapeKey: [u32; 8]
§C++ Info
- name:
contactShapeKey
(ctype:hkUint32[8]
) - offset:
40
(x86)/48
(x86_64) - type_size:
32
(x86)/32
(x86_64)
m_hardPointWs: Vector4
§C++ Info
- name:
hardPointWs
(ctype:hkVector4
) - offset:
80
(x86)/80
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_rayEndPointWs: Vector4
§C++ Info
- name:
rayEndPointWs
(ctype:hkVector4
) - offset:
96
(x86)/96
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_currentSuspensionLength: f32
§C++ Info
- name:
currentSuspensionLength
(ctype:hkReal
) - offset:
112
(x86)/112
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_suspensionDirectionWs: Vector4
§C++ Info
- name:
suspensionDirectionWs
(ctype:hkVector4
) - offset:
128
(x86)/128
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_spinAxisChassisSpace: Vector4
§C++ Info
- name:
spinAxisChassisSpace
(ctype:hkVector4
) - offset:
144
(x86)/144
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_spinAxisWs: Vector4
§C++ Info
- name:
spinAxisWs
(ctype:hkVector4
) - offset:
160
(x86)/160
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_steeringOrientationChassisSpace: Quaternion
§C++ Info
- name:
steeringOrientationChassisSpace
(ctype:hkQuaternion
) - offset:
176
(x86)/176
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_spinVelocity: f32
§C++ Info
- name:
spinVelocity
(ctype:hkReal
) - offset:
192
(x86)/192
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_spinAngle: f32
§C++ Info
- name:
spinAngle
(ctype:hkReal
) - offset:
196
(x86)/196
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_skidEnergyDensity: f32
§C++ Info
- name:
skidEnergyDensity
(ctype:hkReal
) - offset:
200
(x86)/200
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_sideForce: f32
§C++ Info
- name:
sideForce
(ctype:hkReal
) - offset:
204
(x86)/204
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_forwardSlipVelocity: f32
§C++ Info
- name:
forwardSlipVelocity
(ctype:hkReal
) - offset:
208
(x86)/208
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_sideSlipVelocity: f32
§C++ Info
- name:
sideSlipVelocity
(ctype:hkReal
) - offset:
212
(x86)/212
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkpVehicleInstanceWheelInfo
impl Clone for hkpVehicleInstanceWheelInfo
Source§impl Debug for hkpVehicleInstanceWheelInfo
impl Debug for hkpVehicleInstanceWheelInfo
Source§impl<'de> Deserialize<'de> for hkpVehicleInstanceWheelInfo
impl<'de> Deserialize<'de> for hkpVehicleInstanceWheelInfo
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 hkpVehicleInstanceWheelInfo
impl RefUnwindSafe for hkpVehicleInstanceWheelInfo
impl Send for hkpVehicleInstanceWheelInfo
impl Sync for hkpVehicleInstanceWheelInfo
impl Unpin for hkpVehicleInstanceWheelInfo
impl UnwindSafe for hkpVehicleInstanceWheelInfo
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