pub trait IPlayableBehaviourMethods: IPlayableBehaviour {
// Provided methods
fn ctor(self) { ... }
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>,
) { ... }
fn clone(self) -> Object { ... }
}Provided Methods§
Sourcefn on_graph_start(self, playable: impl Into<Playable>)
fn on_graph_start(self, playable: impl Into<Playable>)
OnGraphStart(crate::unity_engine::playables::playable::Playable) overload
Sourcefn on_graph_stop(self, playable: impl Into<Playable>)
fn on_graph_stop(self, playable: impl Into<Playable>)
OnGraphStop(crate::unity_engine::playables::playable::Playable) overload
Sourcefn on_playable_create(self, playable: impl Into<Playable>)
fn on_playable_create(self, playable: impl Into<Playable>)
OnPlayableCreate(crate::unity_engine::playables::playable::Playable) overload
Sourcefn on_playable_destroy(self, playable: impl Into<Playable>)
fn on_playable_destroy(self, playable: impl Into<Playable>)
OnPlayableDestroy(crate::unity_engine::playables::playable::Playable) overload
Sourcefn on_behaviour_play(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
)
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
Sourcefn on_behaviour_pause(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
)
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
Sourcefn prepare_frame(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
)
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
Sourcefn process_frame(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
player_data: impl Into<Object>,
)
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§
impl<__T: IPlayableBehaviour> IPlayableBehaviourMethods for __T
unity_engine-playables-playablebehaviour only.