pub struct hkpStiffSpringChainData {
pub __ptr: Option<Pointer>,
pub parent: hkpConstraintChainData,
pub m_atoms: hkpBridgeAtoms,
pub m_infos: Vec<hkpStiffSpringChainDataConstraintInfo>,
pub m_tau: f32,
pub m_damping: f32,
pub m_cfm: f32,
}
Expand description
§C++ Info
- name:
hkpStiffSpringChainData
- version:
0
- signature:
0xf170356b
- size:
48
(x86)/80
(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: hkpConstraintChainData
Alternative to C++ class inheritance.
m_atoms: hkpBridgeAtoms
§C++ Info
- name:
atoms
(ctype:struct hkpBridgeAtoms
) - offset:
12
(x86)/24
(x86_64) - type_size:
12
(x86)/24
(x86_64)
m_infos: Vec<hkpStiffSpringChainDataConstraintInfo>
§C++ Info
- name:
infos
(ctype:hkArray<struct hkpStiffSpringChainDataConstraintInfo>
) - offset:
24
(x86)/48
(x86_64) - type_size:
12
(x86)/16
(x86_64)
m_tau: f32
§C++ Info
- name:
tau
(ctype:hkReal
) - offset:
36
(x86)/64
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_damping: f32
§C++ Info
- name:
damping
(ctype:hkReal
) - offset:
40
(x86)/68
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_cfm: f32
§C++ Info
- name:
cfm
(ctype:hkReal
) - offset:
44
(x86)/72
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl Clone for hkpStiffSpringChainData
impl Clone for hkpStiffSpringChainData
Source§impl Debug for hkpStiffSpringChainData
impl Debug for hkpStiffSpringChainData
Source§impl Default for hkpStiffSpringChainData
impl Default for hkpStiffSpringChainData
Source§impl<'de> Deserialize<'de> for hkpStiffSpringChainData
impl<'de> Deserialize<'de> for hkpStiffSpringChainData
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 HavokClass for hkpStiffSpringChainData
impl HavokClass for hkpStiffSpringChainData
Source§impl PartialEq for hkpStiffSpringChainData
impl PartialEq for hkpStiffSpringChainData
Auto Trait Implementations§
impl Freeze for hkpStiffSpringChainData
impl RefUnwindSafe for hkpStiffSpringChainData
impl Send for hkpStiffSpringChainData
impl Sync for hkpStiffSpringChainData
impl Unpin for hkpStiffSpringChainData
impl UnwindSafe for hkpStiffSpringChainData
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