Skip to main content

IRuntimeClipMethods

Trait IRuntimeClipMethods 

Source
pub trait IRuntimeClipMethods: IRuntimeClip {
    // Provided methods
    fn get_start(self) -> f64 { ... }
    fn get_duration(self) -> f64 { ... }
    fn ctor(
        self,
        clip: impl Into<TimelineClip>,
        clip_playable: impl Into<Playable>,
        parent_mixer: impl Into<Playable>,
    ) { ... }
    fn create(
        self,
        clip: impl Into<TimelineClip>,
        clip_playable: impl Into<Playable>,
        parent_mixer: impl Into<Playable>,
    ) { ... }
    fn get_clip(self) -> TimelineClip { ... }
    fn get_mixer(self) -> Playable { ... }
    fn get_playable(self) -> Playable { ... }
    fn set_enable(self, value: impl Into<bool>) { ... }
    fn set_time(self, time: impl Into<f64>) { ... }
    fn set_duration(self, duration: impl Into<f64>) { ... }
    fn evaluate_at(
        self,
        local_time: impl Into<f64>,
        frame_data: impl Into<FrameData>,
    ) { ... }
    fn reset(self) { ... }
}

Provided Methods§

Source

fn get_start(self) -> f64

get_start() overload

Source

fn get_duration(self) -> f64

get_duration() overload

Source

fn ctor( self, clip: impl Into<TimelineClip>, clip_playable: impl Into<Playable>, parent_mixer: impl Into<Playable>, )

.ctor(crate::unity_engine::timeline::timelineclip::TimelineClip, crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::playable::Playable) overload

Source

fn create( self, clip: impl Into<TimelineClip>, clip_playable: impl Into<Playable>, parent_mixer: impl Into<Playable>, )

Create(crate::unity_engine::timeline::timelineclip::TimelineClip, crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::playable::Playable) overload

Source

fn get_clip(self) -> TimelineClip

get_clip() overload

Source

fn get_mixer(self) -> Playable

get_mixer() overload

Source

fn get_playable(self) -> Playable

get_playable() overload

Source

fn set_enable(self, value: impl Into<bool>)

set_enable(bool) overload

Source

fn set_time(self, time: impl Into<f64>)

SetTime(f64) overload

Source

fn set_duration(self, duration: impl Into<f64>)

SetDuration(f64) overload

Source

fn evaluate_at( self, local_time: impl Into<f64>, frame_data: impl Into<FrameData>, )

EvaluateAt(f64, crate::unity_engine::playables::framedata::FrameData) overload

Source

fn reset(self)

Reset() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IRuntimeClip> IRuntimeClipMethods for __T

Available on crate feature unity_engine-timeline-runtimeclip only.