pub struct hkbCharacterControllerModifier<'a> {Show 13 fields
pub __ptr: Option<Pointer>,
pub parent: hkbModifier<'a>,
pub m_controlData: hkbCharacterControllerControlData,
pub m_initialVelocity: Vector4,
pub m_initialVelocityCoordinates: InitialVelocityCoordinates,
pub m_motionMode: MotionMode,
pub m_forceDownwardMomentum: bool,
pub m_applyGravity: bool,
pub m_setInitialVelocity: bool,
pub m_isTouchingGround: bool,
pub m_gravity: Vector4,
pub m_timestep: f32,
pub m_isInitialVelocityAdded: bool,
}
Expand description
§C++ Info
- name:
hkbCharacterControllerModifier
- version:
0
- signature:
0xf675d6fb
- size:
144
(x86)/176
(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_controlData: hkbCharacterControllerControlData
§C++ Info
- name:
controlData
(ctype:struct hkbCharacterControllerControlData
) - offset:
48
(x86)/80
(x86_64) - type_size:
32
(x86)/32
(x86_64)
m_initialVelocity: Vector4
§C++ Info
- name:
initialVelocity
(ctype:hkVector4
) - offset:
80
(x86)/112
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_initialVelocityCoordinates: InitialVelocityCoordinates
§C++ Info
- name:
initialVelocityCoordinates
(ctype:enum InitialVelocityCoordinates
) - offset:
96
(x86)/128
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_motionMode: MotionMode
§C++ Info
- name:
motionMode
(ctype:enum MotionMode
) - offset:
97
(x86)/129
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_forceDownwardMomentum: bool
§C++ Info
- name:
forceDownwardMomentum
(ctype:hkBool
) - offset:
98
(x86)/130
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_applyGravity: bool
§C++ Info
- name:
applyGravity
(ctype:hkBool
) - offset:
99
(x86)/131
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_setInitialVelocity: bool
§C++ Info
- name:
setInitialVelocity
(ctype:hkBool
) - offset:
100
(x86)/132
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_isTouchingGround: bool
§C++ Info
- name:
isTouchingGround
(ctype:hkBool
) - offset:
101
(x86)/133
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_gravity: Vector4
§C++ Info
- name:
gravity
(ctype:hkVector4
) - offset:
112
(x86)/144
(x86_64) - type_size:
16
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
m_timestep: f32
§C++ Info
- name:
timestep
(ctype:hkReal
) - offset:
128
(x86)/160
(x86_64) - type_size:
4
(x86)/4
(x86_64) - flags:
SERIALIZE_IGNORED
m_isInitialVelocityAdded: bool
§C++ Info
- name:
isInitialVelocityAdded
(ctype:hkBool
) - offset:
132
(x86)/164
(x86_64) - type_size:
1
(x86)/1
(x86_64) - flags:
SERIALIZE_IGNORED
Trait Implementations§
Source§impl<'a> Clone for hkbCharacterControllerModifier<'a>where
Option<Pointer>: Clone,
hkbModifier<'a>: Clone,
hkbCharacterControllerControlData: Clone,
Vector4: Clone,
InitialVelocityCoordinates: Clone,
MotionMode: Clone,
bool: Clone,
f32: Clone,
impl<'a> Clone for hkbCharacterControllerModifier<'a>where
Option<Pointer>: Clone,
hkbModifier<'a>: Clone,
hkbCharacterControllerControlData: Clone,
Vector4: Clone,
InitialVelocityCoordinates: Clone,
MotionMode: Clone,
bool: Clone,
f32: Clone,
Source§impl<'a> Debug for hkbCharacterControllerModifier<'a>where
Option<Pointer>: Debug,
hkbModifier<'a>: Debug,
hkbCharacterControllerControlData: Debug,
Vector4: Debug,
InitialVelocityCoordinates: Debug,
MotionMode: Debug,
bool: Debug,
f32: Debug,
impl<'a> Debug for hkbCharacterControllerModifier<'a>where
Option<Pointer>: Debug,
hkbModifier<'a>: Debug,
hkbCharacterControllerControlData: Debug,
Vector4: Debug,
InitialVelocityCoordinates: Debug,
MotionMode: Debug,
bool: Debug,
f32: Debug,
Source§impl<'a> Default for hkbCharacterControllerModifier<'a>where
Option<Pointer>: Default,
hkbModifier<'a>: Default,
hkbCharacterControllerControlData: Default,
Vector4: Default,
InitialVelocityCoordinates: Default,
MotionMode: Default,
bool: Default,
f32: Default,
impl<'a> Default for hkbCharacterControllerModifier<'a>where
Option<Pointer>: Default,
hkbModifier<'a>: Default,
hkbCharacterControllerControlData: Default,
Vector4: Default,
InitialVelocityCoordinates: Default,
MotionMode: Default,
bool: Default,
f32: Default,
Source§impl<'de> Deserialize<'de> for hkbCharacterControllerModifier<'de>
impl<'de> Deserialize<'de> for hkbCharacterControllerModifier<'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 hkbCharacterControllerModifier<'a>
impl<'a> HavokClass for hkbCharacterControllerModifier<'a>
Source§impl<'a> PartialEq for hkbCharacterControllerModifier<'a>
impl<'a> PartialEq for hkbCharacterControllerModifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkbCharacterControllerModifier<'a>
impl<'a> RefUnwindSafe for hkbCharacterControllerModifier<'a>
impl<'a> Send for hkbCharacterControllerModifier<'a>
impl<'a> Sync for hkbCharacterControllerModifier<'a>
impl<'a> Unpin for hkbCharacterControllerModifier<'a>
impl<'a> UnwindSafe for hkbCharacterControllerModifier<'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