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§
Sourcefn get_duration(self) -> f64
fn get_duration(self) -> f64
get_duration() overload
Sourcefn ctor(
self,
clip: impl Into<TimelineClip>,
clip_playable: impl Into<Playable>,
parent_mixer: impl Into<Playable>,
)
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
Sourcefn create(
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>, )
Create(crate::unity_engine::timeline::timelineclip::TimelineClip, crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::playable::Playable) overload
Sourcefn get_clip(self) -> TimelineClip
fn get_clip(self) -> TimelineClip
get_clip() overload
Sourcefn get_playable(self) -> Playable
fn get_playable(self) -> Playable
get_playable() overload
Sourcefn set_enable(self, value: impl Into<bool>)
fn set_enable(self, value: impl Into<bool>)
set_enable(bool) overload
Sourcefn set_duration(self, duration: impl Into<f64>)
fn set_duration(self, duration: impl Into<f64>)
SetDuration(f64) overload
Sourcefn evaluate_at(
self,
local_time: impl Into<f64>,
frame_data: impl Into<FrameData>,
)
fn evaluate_at( self, local_time: impl Into<f64>, frame_data: impl Into<FrameData>, )
EvaluateAt(f64, crate::unity_engine::playables::framedata::FrameData) 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§
impl<__T: IRuntimeClip> IRuntimeClipMethods for __T
Available on crate feature
unity_engine-timeline-runtimeclip only.