pub struct hkpMotorAction<'a> {
pub __ptr: Option<Pointer>,
pub parent: hkpUnaryAction<'a>,
pub m_axis: Vector4,
pub m_spinRate: f32,
pub m_gain: f32,
pub m_active: bool,
}Expand description
§C++ Info
- name:
hkpMotorAction - version:
0 - signature:
0x8ff131d9 - size:
64(x86)/96(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: hkpUnaryAction<'a>Alternative to C++ class inheritance.
m_axis: Vector4§C++ Info
- name:
axis(ctype:hkVector4) - offset:
32(x86)/64(x86_64) - type_size:
16(x86)/16(x86_64)
m_spinRate: f32§C++ Info
- name:
spinRate(ctype:hkReal) - offset:
48(x86)/80(x86_64) - type_size:
4(x86)/4(x86_64)
m_gain: f32§C++ Info
- name:
gain(ctype:hkReal) - offset:
52(x86)/84(x86_64) - type_size:
4(x86)/4(x86_64)
m_active: bool§C++ Info
- name:
active(ctype:hkBool) - offset:
56(x86)/88(x86_64) - type_size:
1(x86)/1(x86_64)
Trait Implementations§
Source§impl<'a> Clone for hkpMotorAction<'a>
impl<'a> Clone for hkpMotorAction<'a>
Source§impl<'a> Debug for hkpMotorAction<'a>
impl<'a> Debug for hkpMotorAction<'a>
Source§impl<'a> Default for hkpMotorAction<'a>
impl<'a> Default for hkpMotorAction<'a>
Source§impl<'de> Deserialize<'de> for hkpMotorAction<'de>
impl<'de> Deserialize<'de> for hkpMotorAction<'de>
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<'a> HavokClass for hkpMotorAction<'a>
impl<'a> HavokClass for hkpMotorAction<'a>
Source§impl<'a> PartialEq for hkpMotorAction<'a>
impl<'a> PartialEq for hkpMotorAction<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkpMotorAction<'a>
impl<'a> RefUnwindSafe for hkpMotorAction<'a>
impl<'a> Send for hkpMotorAction<'a>
impl<'a> Sync for hkpMotorAction<'a>
impl<'a> Unpin for hkpMotorAction<'a>
impl<'a> UnwindSafe for hkpMotorAction<'a>
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