#[repr(C)]pub struct FrameData {
pub m_frame_id: u64,
pub m_delta_time: f64,
pub m_weight: f32,
pub m_effective_weight: f32,
pub m_effective_parent_delay: f64,
pub m_effective_parent_speed: f32,
pub m_effective_speed: f32,
pub m_flags: FrameData_Flags,
pub m_output: PlayableOutput,
}Expand description
Fields§
§m_frame_id: u64§m_delta_time: f64§m_weight: f32§m_effective_weight: f32§m_effective_parent_delay: f64§m_effective_parent_speed: f32§m_effective_speed: f32§m_flags: FrameData_Flags§m_output: PlayableOutputImplementations§
Source§impl FrameData
impl FrameData
Sourcepub fn has_flags(&mut self, flag: impl Into<FrameData_Flags>) -> bool
pub fn has_flags(&mut self, flag: impl Into<FrameData_Flags>) -> bool
HasFlags(crate::unity_engine::playables::framedata::FrameData_Flags) overload
Sourcepub fn get_delta_time(&mut self) -> f32
pub fn get_delta_time(&mut self) -> f32
get_deltaTime() overload
Sourcepub fn get_effective_parent_speed(&mut self) -> f32
pub fn get_effective_parent_speed(&mut self) -> f32
get_effectiveParentSpeed() overload
Sourcepub fn get_effective_speed(&mut self) -> f32
pub fn get_effective_speed(&mut self) -> f32
get_effectiveSpeed() overload
Sourcepub fn get_evaluation_type(&mut self) -> FrameData_EvaluationType
pub fn get_evaluation_type(&mut self) -> FrameData_EvaluationType
get_evaluationType() overload
Sourcepub fn get_time_looped(&mut self) -> bool
pub fn get_time_looped(&mut self) -> bool
get_timeLooped() overload
Sourcepub fn get_time_held(&mut self) -> bool
pub fn get_time_held(&mut self) -> bool
get_timeHeld() overload
Sourcepub fn get_output(&mut self) -> PlayableOutput
pub fn get_output(&mut self) -> PlayableOutput
get_output() overload
Sourcepub fn get_effective_play_state(&mut self) -> PlayState
pub fn get_effective_play_state(&mut self) -> PlayState
get_effectivePlayState() overload
Source§impl FrameData
impl FrameData
pub fn has_flags_method_info() -> &'static MethodInfo
pub fn get_delta_time_method_info() -> &'static MethodInfo
pub fn get_effective_parent_speed_method_info() -> &'static MethodInfo
pub fn get_effective_speed_method_info() -> &'static MethodInfo
pub fn get_evaluation_type_method_info() -> &'static MethodInfo
pub fn get_time_looped_method_info() -> &'static MethodInfo
pub fn get_time_held_method_info() -> &'static MethodInfo
pub fn get_output_method_info() -> &'static MethodInfo
pub fn get_effective_play_state_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for FrameData
impl ClassIdentity for FrameData
impl Copy for FrameData
Auto Trait Implementations§
impl Freeze for FrameData
impl RefUnwindSafe for FrameData
impl Send for FrameData
impl Sync for FrameData
impl Unpin for FrameData
impl UnwindSafe for FrameData
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)