pub struct BSLookAtModifier<'a> {Show 21 fields
pub __ptr: Option<Pointer>,
pub parent: hkbModifier<'a>,
pub m_lookAtTarget: bool,
pub m_bones: Vec<BSLookAtModifierBoneData>,
pub m_eyeBones: Vec<BSLookAtModifierBoneData>,
pub m_limitAngleDegrees: f32,
pub m_limitAngleThresholdDegrees: f32,
pub m_continueLookOutsideOfLimit: bool,
pub m_onGain: f32,
pub m_offGain: f32,
pub m_useBoneGains: bool,
pub m_targetLocation: Vector4,
pub m_targetOutsideLimits: bool,
pub m_targetOutOfLimitEvent: hkbEventProperty,
pub m_lookAtCamera: bool,
pub m_lookAtCameraX: f32,
pub m_lookAtCameraY: f32,
pub m_lookAtCameraZ: f32,
pub m_timeStep: f32,
pub m_ballBonesValid: bool,
pub m_pSkeletonMemory: Pointer,
}Expand description
§C++ Info
- name:
BSLookAtModifier - version:
4 - signature:
0xd756fc25 - size:
160(x86)/224(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_lookAtTarget: bool§C++ Info
- name:
lookAtTarget(ctype:hkBool) - offset:
44(x86)/80(x86_64) - type_size:
1(x86)/1(x86_64)
m_bones: Vec<BSLookAtModifierBoneData>§C++ Info
- name:
bones(ctype:hkArray<struct BSLookAtModifierBoneData>) - offset:
48(x86)/88(x86_64) - type_size:
12(x86)/16(x86_64)
m_eyeBones: Vec<BSLookAtModifierBoneData>§C++ Info
- name:
eyeBones(ctype:hkArray<struct BSLookAtModifierBoneData>) - offset:
60(x86)/104(x86_64) - type_size:
12(x86)/16(x86_64)
m_limitAngleDegrees: f32§C++ Info
- name:
limitAngleDegrees(ctype:hkReal) - offset:
72(x86)/120(x86_64) - type_size:
4(x86)/4(x86_64)
m_limitAngleThresholdDegrees: f32§C++ Info
- name:
limitAngleThresholdDegrees(ctype:hkReal) - offset:
76(x86)/124(x86_64) - type_size:
4(x86)/4(x86_64)
m_continueLookOutsideOfLimit: bool§C++ Info
- name:
continueLookOutsideOfLimit(ctype:hkBool) - offset:
80(x86)/128(x86_64) - type_size:
1(x86)/1(x86_64)
m_onGain: f32§C++ Info
- name:
onGain(ctype:hkReal) - offset:
84(x86)/132(x86_64) - type_size:
4(x86)/4(x86_64)
m_offGain: f32§C++ Info
- name:
offGain(ctype:hkReal) - offset:
88(x86)/136(x86_64) - type_size:
4(x86)/4(x86_64)
m_useBoneGains: bool§C++ Info
- name:
useBoneGains(ctype:hkBool) - offset:
92(x86)/140(x86_64) - type_size:
1(x86)/1(x86_64)
m_targetLocation: Vector4§C++ Info
- name:
targetLocation(ctype:hkVector4) - offset:
96(x86)/144(x86_64) - type_size:
16(x86)/16(x86_64)
m_targetOutsideLimits: bool§C++ Info
- name:
targetOutsideLimits(ctype:hkBool) - offset:
112(x86)/160(x86_64) - type_size:
1(x86)/1(x86_64)
m_targetOutOfLimitEvent: hkbEventProperty§C++ Info
- name:
targetOutOfLimitEvent(ctype:struct hkbEventProperty) - offset:
116(x86)/168(x86_64) - type_size:
8(x86)/16(x86_64)
m_lookAtCamera: bool§C++ Info
- name:
lookAtCamera(ctype:hkBool) - offset:
124(x86)/184(x86_64) - type_size:
1(x86)/1(x86_64)
m_lookAtCameraX: f32§C++ Info
- name:
lookAtCameraX(ctype:hkReal) - offset:
128(x86)/188(x86_64) - type_size:
4(x86)/4(x86_64)
m_lookAtCameraY: f32§C++ Info
- name:
lookAtCameraY(ctype:hkReal) - offset:
132(x86)/192(x86_64) - type_size:
4(x86)/4(x86_64)
m_lookAtCameraZ: f32§C++ Info
- name:
lookAtCameraZ(ctype:hkReal) - offset:
136(x86)/196(x86_64) - type_size:
4(x86)/4(x86_64)
m_timeStep: f32§C++ Info
- name:
timeStep(ctype:hkReal) - offset:
140(x86)/200(x86_64) - type_size:
4(x86)/4(x86_64) - flags:
SERIALIZE_IGNORED
m_ballBonesValid: bool§C++ Info
- name:
ballBonesValid(ctype:hkBool) - offset:
144(x86)/204(x86_64) - type_size:
1(x86)/1(x86_64) - flags:
SERIALIZE_IGNORED
m_pSkeletonMemory: Pointer§C++ Info
- name:
pSkeletonMemory(ctype:void*) - offset:
148(x86)/208(x86_64) - type_size:
4(x86)/8(x86_64) - flags:
SERIALIZE_IGNORED
Trait Implementations§
Source§impl<'a> Clone for BSLookAtModifier<'a>
impl<'a> Clone for BSLookAtModifier<'a>
Source§impl<'a> Debug for BSLookAtModifier<'a>
impl<'a> Debug for BSLookAtModifier<'a>
Source§impl<'a> Default for BSLookAtModifier<'a>
impl<'a> Default for BSLookAtModifier<'a>
Source§impl<'de> Deserialize<'de> for BSLookAtModifier<'de>
impl<'de> Deserialize<'de> for BSLookAtModifier<'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 BSLookAtModifier<'a>
impl<'a> HavokClass for BSLookAtModifier<'a>
Source§impl<'a> PartialEq for BSLookAtModifier<'a>
impl<'a> PartialEq for BSLookAtModifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for BSLookAtModifier<'a>
impl<'a> RefUnwindSafe for BSLookAtModifier<'a>
impl<'a> Send for BSLookAtModifier<'a>
impl<'a> Sync for BSLookAtModifier<'a>
impl<'a> Unpin for BSLookAtModifier<'a>
impl<'a> UnwindSafe for BSLookAtModifier<'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