#[repr(C)]pub struct AnimatorStateInfo {
pub m_name: i32,
pub m_path: i32,
pub m_full_path: i32,
pub m_normalized_time: f32,
pub m_length: f32,
pub m_speed: f32,
pub m_speed_multiplier: f32,
pub m_tag: i32,
pub m_loop: i32,
}Expand description
Fields§
§m_name: i32§m_path: i32§m_full_path: i32§m_normalized_time: f32§m_length: f32§m_speed: f32§m_speed_multiplier: f32§m_tag: i32§m_loop: i32Implementations§
Source§impl AnimatorStateInfo
impl AnimatorStateInfo
Sourcepub fn is_name(&mut self, name: impl Into<Il2CppString>) -> bool
pub fn is_name(&mut self, name: impl Into<Il2CppString>) -> bool
IsName(::unity::Il2CppString) overload
Sourcepub fn get_full_path_hash(&mut self) -> i32
pub fn get_full_path_hash(&mut self) -> i32
get_fullPathHash() overload
Sourcepub fn get_short_name_hash(&mut self) -> i32
pub fn get_short_name_hash(&mut self) -> i32
get_shortNameHash() overload
Sourcepub fn get_normalized_time(&mut self) -> f32
pub fn get_normalized_time(&mut self) -> f32
get_normalizedTime() overload
Sourcepub fn get_length(&mut self) -> f32
pub fn get_length(&mut self) -> f32
get_length() overload
Sourcepub fn get_speed_multiplier(&mut self) -> f32
pub fn get_speed_multiplier(&mut self) -> f32
get_speedMultiplier() overload
Source§impl AnimatorStateInfo
impl AnimatorStateInfo
pub fn is_name_method_info() -> &'static MethodInfo
pub fn get_full_path_hash_method_info() -> &'static MethodInfo
pub fn get_short_name_hash_method_info() -> &'static MethodInfo
pub fn get_normalized_time_method_info() -> &'static MethodInfo
pub fn get_length_method_info() -> &'static MethodInfo
pub fn get_speed_method_info() -> &'static MethodInfo
pub fn get_speed_multiplier_method_info() -> &'static MethodInfo
pub fn get_loop_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for AnimatorStateInfo
impl ClassIdentity for AnimatorStateInfo
Source§impl Clone for AnimatorStateInfo
impl Clone for AnimatorStateInfo
Source§fn clone(&self) -> AnimatorStateInfo
fn clone(&self) -> AnimatorStateInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnimatorStateInfo
Auto Trait Implementations§
impl Freeze for AnimatorStateInfo
impl RefUnwindSafe for AnimatorStateInfo
impl Send for AnimatorStateInfo
impl Sync for AnimatorStateInfo
impl Unpin for AnimatorStateInfo
impl UnwindSafe for AnimatorStateInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)