Skip to main content

ITimelinePlayableMethods

Trait ITimelinePlayableMethods 

Source
pub trait ITimelinePlayableMethods: ITimelinePlayable {
    // Provided methods
    fn compile(
        self,
        graph: impl Into<PlayableGraph>,
        timeline_playable: impl Into<Playable>,
        tracks: impl Into<IEnumerable_1<TrackAsset>>,
        go: impl Into<GameObject>,
        auto_rebalance: impl Into<bool>,
        create_outputs: impl Into<bool>,
    ) { ... }
    fn compile_track_list(
        self,
        graph: impl Into<PlayableGraph>,
        timeline_playable: impl Into<Playable>,
        tracks: impl Into<IEnumerable_1<TrackAsset>>,
        go: impl Into<GameObject>,
        create_outputs: impl Into<bool>,
    ) { ... }
    fn create_track_output(
        self,
        graph: impl Into<PlayableGraph>,
        track: impl Into<TrackAsset>,
        go: impl Into<GameObject>,
        playable: impl Into<Playable>,
        port: impl Into<i32>,
    ) { ... }
    fn evaluate_weights_for_animation_playable_output(
        self,
        track: impl Into<TrackAsset>,
        anim_output: impl Into<AnimationPlayableOutput>,
    ) { ... }
    fn create_track_playable(
        self,
        graph: impl Into<PlayableGraph>,
        timeline_playable: impl Into<Playable>,
        track: impl Into<TrackAsset>,
        go: impl Into<GameObject>,
        create_outputs: impl Into<bool>,
    ) -> Playable { ... }
    fn prepare_frame(
        self,
        playable: impl Into<Playable>,
        info: impl Into<FrameData>,
    ) { ... }
    fn evaluate(
        self,
        playable: impl Into<Playable>,
        frame_data: impl Into<FrameData>,
    ) { ... }
    fn cache_track(
        self,
        track: impl Into<TrackAsset>,
        playable: impl Into<Playable>,
        port: impl Into<i32>,
        parent: impl Into<Playable>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn compile( self, graph: impl Into<PlayableGraph>, timeline_playable: impl Into<Playable>, tracks: impl Into<IEnumerable_1<TrackAsset>>, go: impl Into<GameObject>, auto_rebalance: impl Into<bool>, create_outputs: impl Into<bool>, )

Compile(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::playables::playable::Playable, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::trackasset::TrackAsset>, crate::unity_engine::gameobject::GameObject, bool, bool) overload

Source

fn compile_track_list( self, graph: impl Into<PlayableGraph>, timeline_playable: impl Into<Playable>, tracks: impl Into<IEnumerable_1<TrackAsset>>, go: impl Into<GameObject>, create_outputs: impl Into<bool>, )

CompileTrackList(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::playables::playable::Playable, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::trackasset::TrackAsset>, crate::unity_engine::gameobject::GameObject, bool) overload

Source

fn create_track_output( self, graph: impl Into<PlayableGraph>, track: impl Into<TrackAsset>, go: impl Into<GameObject>, playable: impl Into<Playable>, port: impl Into<i32>, )

CreateTrackOutput(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::timeline::trackasset::TrackAsset, crate::unity_engine::gameobject::GameObject, crate::unity_engine::playables::playable::Playable, i32) overload

Source

fn evaluate_weights_for_animation_playable_output( self, track: impl Into<TrackAsset>, anim_output: impl Into<AnimationPlayableOutput>, )

EvaluateWeightsForAnimationPlayableOutput(crate::unity_engine::timeline::trackasset::TrackAsset, crate::unity_engine::animations::animationplayableoutput::AnimationPlayableOutput) overload

Source

fn create_track_playable( self, graph: impl Into<PlayableGraph>, timeline_playable: impl Into<Playable>, track: impl Into<TrackAsset>, go: impl Into<GameObject>, create_outputs: impl Into<bool>, ) -> Playable

CreateTrackPlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::playables::playable::Playable, crate::unity_engine::timeline::trackasset::TrackAsset, crate::unity_engine::gameobject::GameObject, bool) overload

Source

fn prepare_frame( self, playable: impl Into<Playable>, info: impl Into<FrameData>, )

PrepareFrame(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData) overload

Source

fn evaluate( self, playable: impl Into<Playable>, frame_data: impl Into<FrameData>, )

Evaluate(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData) overload

Source

fn cache_track( self, track: impl Into<TrackAsset>, playable: impl Into<Playable>, port: impl Into<i32>, parent: impl Into<Playable>, )

CacheTrack(crate::unity_engine::timeline::trackasset::TrackAsset, crate::unity_engine::playables::playable::Playable, i32, crate::unity_engine::playables::playable::Playable) overload

Source

fn ctor(self)

.ctor() 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: ITimelinePlayable> ITimelinePlayableMethods for __T

Available on crate feature unity_engine-timeline-timelineplayable only.