pub struct hkbLookAtModifier<'a> {Show 22 fields
pub __ptr: Option<Pointer>,
pub parent: hkbModifier<'a>,
pub m_targetWS: Vector4,
pub m_headForwardLS: Vector4,
pub m_neckForwardLS: Vector4,
pub m_neckRightLS: Vector4,
pub m_eyePositionHS: Vector4,
pub m_newTargetGain: f32,
pub m_onGain: f32,
pub m_offGain: f32,
pub m_limitAngleDegrees: f32,
pub m_limitAngleLeft: f32,
pub m_limitAngleRight: f32,
pub m_limitAngleUp: f32,
pub m_limitAngleDown: f32,
pub m_headIndex: i16,
pub m_neckIndex: i16,
pub m_isOn: bool,
pub m_individualLimitsOn: bool,
pub m_isTargetInsideLimitCone: bool,
pub m_lookAtLastTargetWS: Vector4,
pub m_lookAtWeight: f32,
}
Expand description
§C++ Info
- name:
hkbLookAtModifier
- version:
3
- signature:
0x3d28e066
- size:
208
(x86)/240
(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_targetWS: Vector4
§C++ Info
- name:
targetWS
(ctype:hkVector4
) - offset:
48
(x86)/80
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_headForwardLS: Vector4
§C++ Info
- name:
headForwardLS
(ctype:hkVector4
) - offset:
64
(x86)/96
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_neckForwardLS: Vector4
§C++ Info
- name:
neckForwardLS
(ctype:hkVector4
) - offset:
80
(x86)/112
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_neckRightLS: Vector4
§C++ Info
- name:
neckRightLS
(ctype:hkVector4
) - offset:
96
(x86)/128
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_eyePositionHS: Vector4
§C++ Info
- name:
eyePositionHS
(ctype:hkVector4
) - offset:
112
(x86)/144
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_newTargetGain: f32
§C++ Info
- name:
newTargetGain
(ctype:hkReal
) - offset:
128
(x86)/160
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_onGain: f32
§C++ Info
- name:
onGain
(ctype:hkReal
) - offset:
132
(x86)/164
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_offGain: f32
§C++ Info
- name:
offGain
(ctype:hkReal
) - offset:
136
(x86)/168
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_limitAngleDegrees: f32
§C++ Info
- name:
limitAngleDegrees
(ctype:hkReal
) - offset:
140
(x86)/172
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_limitAngleLeft: f32
§C++ Info
- name:
limitAngleLeft
(ctype:hkReal
) - offset:
144
(x86)/176
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_limitAngleRight: f32
§C++ Info
- name:
limitAngleRight
(ctype:hkReal
) - offset:
148
(x86)/180
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_limitAngleUp: f32
§C++ Info
- name:
limitAngleUp
(ctype:hkReal
) - offset:
152
(x86)/184
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_limitAngleDown: f32
§C++ Info
- name:
limitAngleDown
(ctype:hkReal
) - offset:
156
(x86)/188
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_headIndex: i16
§C++ Info
- name:
headIndex
(ctype:hkInt16
) - offset:
160
(x86)/192
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_neckIndex: i16
§C++ Info
- name:
neckIndex
(ctype:hkInt16
) - offset:
162
(x86)/194
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_isOn: bool
§C++ Info
- name:
isOn
(ctype:hkBool
) - offset:
164
(x86)/196
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_individualLimitsOn: bool
§C++ Info
- name:
individualLimitsOn
(ctype:hkBool
) - offset:
165
(x86)/197
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_isTargetInsideLimitCone: bool
§C++ Info
- name:
isTargetInsideLimitCone
(ctype:hkBool
) - offset:
166
(x86)/198
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_lookAtLastTargetWS: Vector4
§C++ Info
- name:
lookAtLastTargetWS
(ctype:hkVector4
) - offset:
176
(x86)/208
(x86_64) - type_size:
16
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
m_lookAtWeight: f32
§C++ Info
- name:
lookAtWeight
(ctype:hkReal
) - offset:
192
(x86)/224
(x86_64) - type_size:
4
(x86)/4
(x86_64) - flags:
SERIALIZE_IGNORED
Trait Implementations§
Source§impl<'a> Clone for hkbLookAtModifier<'a>
impl<'a> Clone for hkbLookAtModifier<'a>
Source§impl<'a> Debug for hkbLookAtModifier<'a>
impl<'a> Debug for hkbLookAtModifier<'a>
Source§impl<'a> Default for hkbLookAtModifier<'a>
impl<'a> Default for hkbLookAtModifier<'a>
Source§impl<'de> Deserialize<'de> for hkbLookAtModifier<'de>
impl<'de> Deserialize<'de> for hkbLookAtModifier<'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 hkbLookAtModifier<'a>
impl<'a> HavokClass for hkbLookAtModifier<'a>
Source§impl<'a> PartialEq for hkbLookAtModifier<'a>
impl<'a> PartialEq for hkbLookAtModifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkbLookAtModifier<'a>
impl<'a> RefUnwindSafe for hkbLookAtModifier<'a>
impl<'a> Send for hkbLookAtModifier<'a>
impl<'a> Sync for hkbLookAtModifier<'a>
impl<'a> Unpin for hkbLookAtModifier<'a>
impl<'a> UnwindSafe for hkbLookAtModifier<'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