pub struct hkbComputeRotationToTargetModifier<'a> {
pub __ptr: Option<Pointer>,
pub parent: hkbModifier<'a>,
pub m_rotationOut: Quaternion,
pub m_targetPosition: Vector4,
pub m_currentPosition: Vector4,
pub m_currentRotation: Quaternion,
pub m_localAxisOfRotation: Vector4,
pub m_localFacingDirection: Vector4,
pub m_resultIsDelta: bool,
}Expand description
§C++ Info
- name:
hkbComputeRotationToTargetModifier - version:
0 - signature:
0x47665f1c - 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_rotationOut: Quaternion§C++ Info
- name:
rotationOut(ctype:hkQuaternion) - offset:
48(x86)/80(x86_64) - type_size:
16(x86)/16(x86_64)
m_targetPosition: Vector4§C++ Info
- name:
targetPosition(ctype:hkVector4) - offset:
64(x86)/96(x86_64) - type_size:
16(x86)/16(x86_64)
m_currentPosition: Vector4§C++ Info
- name:
currentPosition(ctype:hkVector4) - offset:
80(x86)/112(x86_64) - type_size:
16(x86)/16(x86_64)
m_currentRotation: Quaternion§C++ Info
- name:
currentRotation(ctype:hkQuaternion) - offset:
96(x86)/128(x86_64) - type_size:
16(x86)/16(x86_64)
m_localAxisOfRotation: Vector4§C++ Info
- name:
localAxisOfRotation(ctype:hkVector4) - offset:
112(x86)/144(x86_64) - type_size:
16(x86)/16(x86_64)
m_localFacingDirection: Vector4§C++ Info
- name:
localFacingDirection(ctype:hkVector4) - offset:
128(x86)/160(x86_64) - type_size:
16(x86)/16(x86_64)
m_resultIsDelta: bool§C++ Info
- name:
resultIsDelta(ctype:hkBool) - offset:
144(x86)/176(x86_64) - type_size:
1(x86)/1(x86_64)
Trait Implementations§
Source§impl<'a> Clone for hkbComputeRotationToTargetModifier<'a>
impl<'a> Clone for hkbComputeRotationToTargetModifier<'a>
Source§impl<'a> Debug for hkbComputeRotationToTargetModifier<'a>
impl<'a> Debug for hkbComputeRotationToTargetModifier<'a>
Source§impl<'a> Default for hkbComputeRotationToTargetModifier<'a>
impl<'a> Default for hkbComputeRotationToTargetModifier<'a>
Source§impl<'de> Deserialize<'de> for hkbComputeRotationToTargetModifier<'de>
impl<'de> Deserialize<'de> for hkbComputeRotationToTargetModifier<'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 hkbComputeRotationToTargetModifier<'a>
impl<'a> HavokClass for hkbComputeRotationToTargetModifier<'a>
Source§impl<'a> PartialEq for hkbComputeRotationToTargetModifier<'a>
impl<'a> PartialEq for hkbComputeRotationToTargetModifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkbComputeRotationToTargetModifier<'a>
impl<'a> RefUnwindSafe for hkbComputeRotationToTargetModifier<'a>
impl<'a> Send for hkbComputeRotationToTargetModifier<'a>
impl<'a> Sync for hkbComputeRotationToTargetModifier<'a>
impl<'a> Unpin for hkbComputeRotationToTargetModifier<'a>
impl<'a> UnwindSafe for hkbComputeRotationToTargetModifier<'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