pub struct hkbTwistModifier<'a> {
pub __ptr: Option<Pointer>,
pub parent: hkbModifier<'a>,
pub m_axisOfRotation: Vector4,
pub m_twistAngle: f32,
pub m_startBoneIndex: i16,
pub m_endBoneIndex: i16,
pub m_setAngleMethod: SetAngleMethod,
pub m_rotationAxisCoordinates: RotationAxisCoordinates,
pub m_isAdditive: bool,
pub m_boneChainIndices: Vec<()>,
pub m_parentBoneIndices: Vec<()>,
}
Expand description
§C++ Info
- name:
hkbTwistModifier
- version:
1
- signature:
0xb6b76b32
- size:
112
(x86)/144
(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_axisOfRotation: Vector4
§C++ Info
- name:
axisOfRotation
(ctype:hkVector4
) - offset:
48
(x86)/80
(x86_64) - type_size:
16
(x86)/16
(x86_64)
m_twistAngle: f32
§C++ Info
- name:
twistAngle
(ctype:hkReal
) - offset:
64
(x86)/96
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_startBoneIndex: i16
§C++ Info
- name:
startBoneIndex
(ctype:hkInt16
) - offset:
68
(x86)/100
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_endBoneIndex: i16
§C++ Info
- name:
endBoneIndex
(ctype:hkInt16
) - offset:
70
(x86)/102
(x86_64) - type_size:
2
(x86)/2
(x86_64)
m_setAngleMethod: SetAngleMethod
§C++ Info
- name:
setAngleMethod
(ctype:enum SetAngleMethod
) - offset:
72
(x86)/104
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_rotationAxisCoordinates: RotationAxisCoordinates
§C++ Info
- name:
rotationAxisCoordinates
(ctype:enum RotationAxisCoordinates
) - offset:
73
(x86)/105
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_isAdditive: bool
§C++ Info
- name:
isAdditive
(ctype:hkBool
) - offset:
74
(x86)/106
(x86_64) - type_size:
1
(x86)/1
(x86_64)
m_boneChainIndices: Vec<()>
§C++ Info
- name:
boneChainIndices
(ctype:hkArray<void>
) - offset:
76
(x86)/112
(x86_64) - type_size:
12
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
m_parentBoneIndices: Vec<()>
§C++ Info
- name:
parentBoneIndices
(ctype:hkArray<void>
) - offset:
88
(x86)/128
(x86_64) - type_size:
12
(x86)/16
(x86_64) - flags:
SERIALIZE_IGNORED
Trait Implementations§
Source§impl<'a> Clone for hkbTwistModifier<'a>
impl<'a> Clone for hkbTwistModifier<'a>
Source§impl<'a> Debug for hkbTwistModifier<'a>
impl<'a> Debug for hkbTwistModifier<'a>
Source§impl<'a> Default for hkbTwistModifier<'a>
impl<'a> Default for hkbTwistModifier<'a>
Source§impl<'de> Deserialize<'de> for hkbTwistModifier<'de>
impl<'de> Deserialize<'de> for hkbTwistModifier<'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 hkbTwistModifier<'a>
impl<'a> HavokClass for hkbTwistModifier<'a>
Source§impl<'a> PartialEq for hkbTwistModifier<'a>
impl<'a> PartialEq for hkbTwistModifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkbTwistModifier<'a>
impl<'a> RefUnwindSafe for hkbTwistModifier<'a>
impl<'a> Send for hkbTwistModifier<'a>
impl<'a> Sync for hkbTwistModifier<'a>
impl<'a> Unpin for hkbTwistModifier<'a>
impl<'a> UnwindSafe for hkbTwistModifier<'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