Skip to main content

IIPlayableBehaviour_InterfaceMethods

Trait IIPlayableBehaviour_InterfaceMethods 

Source
pub trait IIPlayableBehaviour_InterfaceMethods: IIPlayableBehaviour_Interface {
    // Provided methods
    fn on_graph_start(self, playable: impl Into<Playable>) { ... }
    fn on_graph_stop(self, playable: impl Into<Playable>) { ... }
    fn on_playable_create(self, playable: impl Into<Playable>) { ... }
    fn on_playable_destroy(self, playable: impl Into<Playable>) { ... }
    fn on_behaviour_play(
        self,
        playable: impl Into<Playable>,
        info: impl Into<FrameData>,
    ) { ... }
    fn on_behaviour_pause(
        self,
        playable: impl Into<Playable>,
        info: impl Into<FrameData>,
    ) { ... }
    fn prepare_frame(
        self,
        playable: impl Into<Playable>,
        info: impl Into<FrameData>,
    ) { ... }
    fn process_frame(
        self,
        playable: impl Into<Playable>,
        info: impl Into<FrameData>,
        player_data: impl Into<Object>,
    ) { ... }
}

Provided Methods§

Source

fn on_graph_start(self, playable: impl Into<Playable>)

OnGraphStart(crate::unity_engine::playables::playable::Playable) overload

Source

fn on_graph_stop(self, playable: impl Into<Playable>)

OnGraphStop(crate::unity_engine::playables::playable::Playable) overload

Source

fn on_playable_create(self, playable: impl Into<Playable>)

OnPlayableCreate(crate::unity_engine::playables::playable::Playable) overload

Source

fn on_playable_destroy(self, playable: impl Into<Playable>)

OnPlayableDestroy(crate::unity_engine::playables::playable::Playable) overload

Source

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

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

Source

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

OnBehaviourPause(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData) 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 process_frame( self, playable: impl Into<Playable>, info: impl Into<FrameData>, player_data: impl Into<Object>, )

ProcessFrame(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData, crate::system::object::Object) 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: IIPlayableBehaviour_Interface> IIPlayableBehaviour_InterfaceMethods for __T

Available on crate feature unity_engine-playables-iplayablebehaviour_interface only.