pub struct hkaAnimation<'a> {
pub __ptr: Option<Pointer>,
pub parent: hkReferencedObject,
pub m_type: AnimationType,
pub m_duration: f32,
pub m_numberOfTransformTracks: i32,
pub m_numberOfFloatTracks: i32,
pub m_extractedMotion: Pointer,
pub m_annotationTracks: Vec<hkaAnnotationTrack<'a>>,
}
Expand description
§C++ Info
- name:
hkaAnimation
- version:
1
- signature:
0xa6fa7e88
- size:
40
(x86)/56
(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: hkReferencedObject
Alternative to C++ class inheritance.
m_type: AnimationType
§C++ Info
- name:
type
(ctype:enum AnimationType
) - offset:
8
(x86)/16
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_duration: f32
§C++ Info
- name:
duration
(ctype:hkReal
) - offset:
12
(x86)/20
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_numberOfTransformTracks: i32
§C++ Info
- name:
numberOfTransformTracks
(ctype:hkInt32
) - offset:
16
(x86)/24
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_numberOfFloatTracks: i32
§C++ Info
- name:
numberOfFloatTracks
(ctype:hkInt32
) - offset:
20
(x86)/28
(x86_64) - type_size:
4
(x86)/4
(x86_64)
m_extractedMotion: Pointer
§C++ Info
- name:
extractedMotion
(ctype:struct hkaAnimatedReferenceFrame*
) - offset:
24
(x86)/32
(x86_64) - type_size:
4
(x86)/8
(x86_64)
m_annotationTracks: Vec<hkaAnnotationTrack<'a>>
§C++ Info
- name:
annotationTracks
(ctype:hkArray<struct hkaAnnotationTrack>
) - offset:
28
(x86)/40
(x86_64) - type_size:
12
(x86)/16
(x86_64)
Trait Implementations§
Source§impl<'a> Clone for hkaAnimation<'a>
impl<'a> Clone for hkaAnimation<'a>
Source§impl<'a> Debug for hkaAnimation<'a>
impl<'a> Debug for hkaAnimation<'a>
Source§impl<'a> Default for hkaAnimation<'a>
impl<'a> Default for hkaAnimation<'a>
Source§impl<'de> Deserialize<'de> for hkaAnimation<'de>
impl<'de> Deserialize<'de> for hkaAnimation<'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 hkaAnimation<'a>
impl<'a> HavokClass for hkaAnimation<'a>
Source§impl<'a> PartialEq for hkaAnimation<'a>
impl<'a> PartialEq for hkaAnimation<'a>
Auto Trait Implementations§
impl<'a> Freeze for hkaAnimation<'a>
impl<'a> RefUnwindSafe for hkaAnimation<'a>
impl<'a> Send for hkaAnimation<'a>
impl<'a> Sync for hkaAnimation<'a>
impl<'a> Unpin for hkaAnimation<'a>
impl<'a> UnwindSafe for hkaAnimation<'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