pub struct hkbDampingModifier<'a> {Show 15 fields
pub __ptr: Option<Pointer>,
pub parent: hkbModifier<'a>,
pub m_kP: f32,
pub m_kI: f32,
pub m_kD: f32,
pub m_enableScalarDamping: bool,
pub m_enableVectorDamping: bool,
pub m_rawValue: f32,
pub m_dampedValue: f32,
pub m_rawVector: Vector4,
pub m_dampedVector: Vector4,
pub m_vecErrorSum: Vector4,
pub m_vecPreviousError: Vector4,
pub m_errorSum: f32,
pub m_previousError: f32,
}
Expand description
§C++ Info
- name:
hkbDampingModifier
- version:
1
- signature:
0x9a040f03
- size:
160
(x86)/192
(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: hkbModifier<'a>
Alternative to C++ class inheritance.
m_kP: f32
§C++ Info
- name:
kP
(ctype:hkReal
) - offset:
44
(x86)/80
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_kI: f32
§C++ Info
- name:
kI
(ctype:hkReal
) - offset:
48
(x86)/84
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_kD: f32
§C++ Info
- name:
kD
(ctype:hkReal
) - offset:
52
(x86)/88
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_enableScalarDamping: bool
§C++ Info
- name:
enableScalarDamping
(ctype:hkBool
) - offset:
56
(x86)/92
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_enableVectorDamping: bool
§C++ Info
- name:
enableVectorDamping
(ctype:hkBool
) - offset:
57
(x86)/93
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_rawValue: f32
§C++ Info
- name:
rawValue
(ctype:hkReal
) - offset:
60
(x86)/96
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_dampedValue: f32
§C++ Info
- name:
dampedValue
(ctype:hkReal
) - offset:
64
(x86)/100
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_rawVector: Vector4
§C++ Info
- name:
rawVector
(ctype:hkVector4
) - offset:
80
(x86)/112
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_dampedVector: Vector4
§C++ Info
- name:
dampedVector
(ctype:hkVector4
) - offset:
96
(x86)/128
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_vecErrorSum: Vector4
§C++ Info
- name:
vecErrorSum
(ctype:hkVector4
) - offset:
112
(x86)/144
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_vecPreviousError: Vector4
§C++ Info
- name:
vecPreviousError
(ctype:hkVector4
) - offset:
128
(x86)/160
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_errorSum: f32
§C++ Info
- name:
errorSum
(ctype:hkReal
) - offset:
144
(x86)/176
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_previousError: f32
§C++ Info
- name:
previousError
(ctype:hkReal
) - offset:
148
(x86)/180
(x86_64) - type_size:
4
(x86)/4
(x86_64)
Trait Implementations§
Source§impl<'a> Clone for hkbDampingModifier<'a>
impl<'a> Clone for hkbDampingModifier<'a>
Source§impl<'a> Debug for hkbDampingModifier<'a>
impl<'a> Debug for hkbDampingModifier<'a>
Source§impl<'a> Default for hkbDampingModifier<'a>
impl<'a> Default for hkbDampingModifier<'a>
Source§impl<'de> Deserialize<'de> for hkbDampingModifier<'de>
impl<'de> Deserialize<'de> for hkbDampingModifier<'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 hkbDampingModifier<'a>
impl<'a> HavokClass for hkbDampingModifier<'a>
Source§impl<'a> PartialEq for hkbDampingModifier<'a>
impl<'a> PartialEq for hkbDampingModifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkbDampingModifier<'a>
impl<'a> RefUnwindSafe for hkbDampingModifier<'a>
impl<'a> Send for hkbDampingModifier<'a>
impl<'a> Sync for hkbDampingModifier<'a>
impl<'a> Unpin for hkbDampingModifier<'a>
impl<'a> UnwindSafe for hkbDampingModifier<'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