pub struct hkpSpringAction<'a> {
pub __ptr: Option<Pointer>,
pub parent: hkpBinaryAction<'a>,
pub m_lastForce: Vector4,
pub m_positionAinA: Vector4,
pub m_positionBinB: Vector4,
pub m_restLength: f32,
pub m_strength: f32,
pub m_damping: f32,
pub m_onCompression: bool,
pub m_onExtension: bool,
}Expand description
§C++ Info
- name:
hkpSpringAction - version:
0 - signature:
0x88fc09fa - size:
96(x86)/128(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: hkpBinaryAction<'a>Alternative to C++ class inheritance.
m_lastForce: Vector4§C++ Info
- name:
lastForce(ctype:hkVector4) - offset:
32(x86)/64(x86_64) - type_size:
16(x86)/16(x86_64)
m_positionAinA: Vector4§C++ Info
- name:
positionAinA(ctype:hkVector4) - offset:
48(x86)/80(x86_64) - type_size:
16(x86)/16(x86_64)
m_positionBinB: Vector4§C++ Info
- name:
positionBinB(ctype:hkVector4) - offset:
64(x86)/96(x86_64) - type_size:
16(x86)/16(x86_64)
m_restLength: f32§C++ Info
- name:
restLength(ctype:hkReal) - offset:
80(x86)/112(x86_64) - type_size:
4(x86)/4(x86_64)
m_strength: f32§C++ Info
- name:
strength(ctype:hkReal) - offset:
84(x86)/116(x86_64) - type_size:
4(x86)/4(x86_64)
m_damping: f32§C++ Info
- name:
damping(ctype:hkReal) - offset:
88(x86)/120(x86_64) - type_size:
4(x86)/4(x86_64)
m_onCompression: bool§C++ Info
- name:
onCompression(ctype:hkBool) - offset:
92(x86)/124(x86_64) - type_size:
1(x86)/1(x86_64)
m_onExtension: bool§C++ Info
- name:
onExtension(ctype:hkBool) - offset:
93(x86)/125(x86_64) - type_size:
1(x86)/1(x86_64)
Trait Implementations§
Source§impl<'a> Clone for hkpSpringAction<'a>
impl<'a> Clone for hkpSpringAction<'a>
Source§impl<'a> Debug for hkpSpringAction<'a>
impl<'a> Debug for hkpSpringAction<'a>
Source§impl<'a> Default for hkpSpringAction<'a>
impl<'a> Default for hkpSpringAction<'a>
Source§impl<'de> Deserialize<'de> for hkpSpringAction<'de>
impl<'de> Deserialize<'de> for hkpSpringAction<'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 hkpSpringAction<'a>
impl<'a> HavokClass for hkpSpringAction<'a>
Source§impl<'a> PartialEq for hkpSpringAction<'a>
impl<'a> PartialEq for hkpSpringAction<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkpSpringAction<'a>
impl<'a> RefUnwindSafe for hkpSpringAction<'a>
impl<'a> Send for hkpSpringAction<'a>
impl<'a> Sync for hkpSpringAction<'a>
impl<'a> Unpin for hkpSpringAction<'a>
impl<'a> UnwindSafe for hkpSpringAction<'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