pub struct BSDirectAtModifier<'a> {Show 26 fields
pub __ptr: Option<Pointer>,
pub parent: hkbModifier<'a>,
pub m_directAtTarget: bool,
pub m_sourceBoneIndex: i16,
pub m_startBoneIndex: i16,
pub m_endBoneIndex: i16,
pub m_limitHeadingDegrees: f32,
pub m_limitPitchDegrees: f32,
pub m_offsetHeadingDegrees: f32,
pub m_offsetPitchDegrees: f32,
pub m_onGain: f32,
pub m_offGain: f32,
pub m_targetLocation: Vector4,
pub m_userInfo: u32,
pub m_directAtCamera: bool,
pub m_directAtCameraX: f32,
pub m_directAtCameraY: f32,
pub m_directAtCameraZ: f32,
pub m_active: bool,
pub m_currentHeadingOffset: f32,
pub m_currentPitchOffset: f32,
pub m_timeStep: f32,
pub m_pSkeletonMemory: Pointer,
pub m_hasTarget: bool,
pub m_directAtTargetLocation: Vector4,
pub m_boneChainIndices: Vec<()>,
}
Expand description
§C++ Info
- name:
BSDirectAtModifier
- version:
0
- signature:
0x19a005c0
- size:
176
(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_directAtTarget: bool
§C++ Info
- name:
directAtTarget
(ctype:hkBool
) - offset:
44
(x86)/80
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_sourceBoneIndex: i16
§C++ Info
- name:
sourceBoneIndex
(ctype:hkInt16
) - offset:
46
(x86)/82
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_startBoneIndex: i16
§C++ Info
- name:
startBoneIndex
(ctype:hkInt16
) - offset:
48
(x86)/84
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_endBoneIndex: i16
§C++ Info
- name:
endBoneIndex
(ctype:hkInt16
) - offset:
50
(x86)/86
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_limitHeadingDegrees: f32
§C++ Info
- name:
limitHeadingDegrees
(ctype:hkReal
) - offset:
52
(x86)/88
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_limitPitchDegrees: f32
§C++ Info
- name:
limitPitchDegrees
(ctype:hkReal
) - offset:
56
(x86)/92
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_offsetHeadingDegrees: f32
§C++ Info
- name:
offsetHeadingDegrees
(ctype:hkReal
) - offset:
60
(x86)/96
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_offsetPitchDegrees: f32
§C++ Info
- name:
offsetPitchDegrees
(ctype:hkReal
) - offset:
64
(x86)/100
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_onGain: f32
§C++ Info
- name:
onGain
(ctype:hkReal
) - offset:
68
(x86)/104
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_offGain: f32
§C++ Info
- name:
offGain
(ctype:hkReal
) - offset:
72
(x86)/108
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_targetLocation: Vector4
§C++ Info
- name:
targetLocation
(ctype:hkVector4
) - offset:
80
(x86)/112
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_userInfo: u32
§C++ Info
- name:
userInfo
(ctype:hkUint32
) - offset:
96
(x86)/128
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_directAtCamera: bool
§C++ Info
- name:
directAtCamera
(ctype:hkBool
) - offset:
100
(x86)/132
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_directAtCameraX: f32
§C++ Info
- name:
directAtCameraX
(ctype:hkReal
) - offset:
104
(x86)/136
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_directAtCameraY: f32
§C++ Info
- name:
directAtCameraY
(ctype:hkReal
) - offset:
108
(x86)/140
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_directAtCameraZ: f32
§C++ Info
- name:
directAtCameraZ
(ctype:hkReal
) - offset:
112
(x86)/144
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_active: bool
§C++ Info
- name:
active
(ctype:hkBool
) - offset:
116
(x86)/148
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_currentHeadingOffset: f32
§C++ Info
- name:
currentHeadingOffset
(ctype:hkReal
) - offset:
120
(x86)/152
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_currentPitchOffset: f32
§C++ Info
- name:
currentPitchOffset
(ctype:hkReal
) - offset:
124
(x86)/156
(x86_64) - type_size:
4
(x86)/4
(x86_64)
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_pSkeletonMemory: Pointer
§C++ Info
- name:
pSkeletonMemory
(ctype:void*
) - offset:
132
(x86)/168
(x86_64) - type_size:
4
(x86)/8
(x86_64) - flags:
SERIALIZE_IGNORED
m_hasTarget: bool
§C++ Info
- name:
hasTarget
(ctype:hkBool
) - offset:
136
(x86)/176
(x86_64) - type_size:
1
(x86)/1
(x86_64) - flags:
SERIALIZE_IGNORED
m_directAtTargetLocation: Vector4
§C++ Info
- name:
directAtTargetLocation
(ctype:hkVector4
) - offset:
144
(x86)/192
(x86_64) - type_size:
16
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
m_boneChainIndices: Vec<()>
§C++ Info
- name:
boneChainIndices
(ctype:hkArray<void>
) - offset:
160
(x86)/208
(x86_64) - type_size:
12
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
Trait Implementations§
Source§impl<'a> Clone for BSDirectAtModifier<'a>
impl<'a> Clone for BSDirectAtModifier<'a>
Source§impl<'a> Debug for BSDirectAtModifier<'a>
impl<'a> Debug for BSDirectAtModifier<'a>
Source§impl<'a> Default for BSDirectAtModifier<'a>
impl<'a> Default for BSDirectAtModifier<'a>
Source§impl<'de> Deserialize<'de> for BSDirectAtModifier<'de>
impl<'de> Deserialize<'de> for BSDirectAtModifier<'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 BSDirectAtModifier<'a>
impl<'a> HavokClass for BSDirectAtModifier<'a>
Source§impl<'a> PartialEq for BSDirectAtModifier<'a>
impl<'a> PartialEq for BSDirectAtModifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for BSDirectAtModifier<'a>
impl<'a> RefUnwindSafe for BSDirectAtModifier<'a>
impl<'a> Send for BSDirectAtModifier<'a>
impl<'a> Sync for BSDirectAtModifier<'a>
impl<'a> Unpin for BSDirectAtModifier<'a>
impl<'a> UnwindSafe for BSDirectAtModifier<'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