pub trait IPlayableDirectorMethods: IPlayableDirector {
Show 55 methods
// Provided methods
fn get_state(self) -> PlayState { ... }
fn set_extrapolation_mode(self, value: impl Into<DirectorWrapMode>) { ... }
fn get_extrapolation_mode(self) -> DirectorWrapMode { ... }
fn get_playable_asset(self) -> PlayableAsset { ... }
fn set_playable_asset(self, value: impl Into<PlayableAsset>) { ... }
fn get_playable_graph(self) -> PlayableGraph { ... }
fn get_play_on_awake(self) -> bool { ... }
fn set_play_on_awake(self, value: impl Into<bool>) { ... }
fn deferred_evaluate(self) { ... }
fn play(self, asset: impl Into<PlayableAsset>) { ... }
fn play_2(
self,
asset: impl Into<PlayableAsset>,
mode: impl Into<DirectorWrapMode>,
) { ... }
fn set_generic_binding(
self,
key: impl Into<Object_2>,
value: impl Into<Object_2>,
) { ... }
fn set_time_update_mode(self, value: impl Into<DirectorUpdateMode>) { ... }
fn get_time_update_mode(self) -> DirectorUpdateMode { ... }
fn set_time(self, value: impl Into<f64>) { ... }
fn get_time(self) -> f64 { ... }
fn set_initial_time(self, value: impl Into<f64>) { ... }
fn get_initial_time(self) -> f64 { ... }
fn get_duration(self) -> f64 { ... }
fn evaluate(self) { ... }
fn play_3(self) { ... }
fn stop(self) { ... }
fn pause(self) { ... }
fn resume(self) { ... }
fn rebuild_graph(self) { ... }
fn clear_reference_value(self, id: impl Into<PropertyName>) { ... }
fn set_reference_value(
self,
id: impl Into<PropertyName>,
value: impl Into<Object_2>,
) { ... }
fn get_reference_value(
self,
id: impl Into<PropertyName>,
) -> (Object_2, bool) { ... }
fn get_generic_binding(self, key: impl Into<Object_2>) -> Object_2 { ... }
fn clear_generic_binding(self, key: impl Into<Object_2>) { ... }
fn rebind_playable_graph_outputs(self) { ... }
fn process_pending_graph_changes(self) { ... }
fn has_generic_binding(self, key: impl Into<Object_2>) -> bool { ... }
fn get_play_state(self) -> PlayState { ... }
fn set_wrap_mode(self, mode: impl Into<DirectorWrapMode>) { ... }
fn get_wrap_mode(self) -> DirectorWrapMode { ... }
fn evaluate_next_frame(self) { ... }
fn get_graph_handle(self) -> PlayableGraph { ... }
fn internal_set_generic_binding(
self,
key: impl Into<Object_2>,
value: impl Into<Object_2>,
) { ... }
fn set_playable_asset_2(self, asset: impl Into<ScriptableObject>) { ... }
fn internal_get_playable_asset(self) -> ScriptableObject { ... }
fn add_played(self, value: impl Into<Action_1<PlayableDirector>>) { ... }
fn remove_played(self, value: impl Into<Action_1<PlayableDirector>>) { ... }
fn add_paused(self, value: impl Into<Action_1<PlayableDirector>>) { ... }
fn remove_paused(self, value: impl Into<Action_1<PlayableDirector>>) { ... }
fn add_stopped(self, value: impl Into<Action_1<PlayableDirector>>) { ... }
fn remove_stopped(self, value: impl Into<Action_1<PlayableDirector>>) { ... }
fn send_on_playable_director_play(self) { ... }
fn send_on_playable_director_pause(self) { ... }
fn send_on_playable_director_stop(self) { ... }
fn ctor(self) { ... }
fn clear_reference_value_injected(self) -> PropertyName { ... }
fn set_reference_value_injected(
self,
value: impl Into<Object_2>,
) -> PropertyName { ... }
fn get_reference_value_injected(self) -> (Object_2, PropertyName, bool) { ... }
fn get_graph_handle_injected(self) -> PlayableGraph { ... }
}Provided Methods§
Sourcefn set_extrapolation_mode(self, value: impl Into<DirectorWrapMode>)
fn set_extrapolation_mode(self, value: impl Into<DirectorWrapMode>)
set_extrapolationMode(crate::unity_engine::playables::directorwrapmode::DirectorWrapMode) overload
Sourcefn get_extrapolation_mode(self) -> DirectorWrapMode
fn get_extrapolation_mode(self) -> DirectorWrapMode
get_extrapolationMode() overload
Sourcefn get_playable_asset(self) -> PlayableAsset
fn get_playable_asset(self) -> PlayableAsset
get_playableAsset() overload
Sourcefn set_playable_asset(self, value: impl Into<PlayableAsset>)
fn set_playable_asset(self, value: impl Into<PlayableAsset>)
set_playableAsset(crate::unity_engine::playables::playableasset::PlayableAsset) overload
Sourcefn get_playable_graph(self) -> PlayableGraph
fn get_playable_graph(self) -> PlayableGraph
get_playableGraph() overload
Sourcefn get_play_on_awake(self) -> bool
fn get_play_on_awake(self) -> bool
get_playOnAwake() overload
Sourcefn set_play_on_awake(self, value: impl Into<bool>)
fn set_play_on_awake(self, value: impl Into<bool>)
set_playOnAwake(bool) overload
Sourcefn deferred_evaluate(self)
fn deferred_evaluate(self)
DeferredEvaluate() overload
Sourcefn play(self, asset: impl Into<PlayableAsset>)
fn play(self, asset: impl Into<PlayableAsset>)
Play(crate::unity_engine::playables::playableasset::PlayableAsset) overload
Sourcefn play_2(
self,
asset: impl Into<PlayableAsset>,
mode: impl Into<DirectorWrapMode>,
)
fn play_2( self, asset: impl Into<PlayableAsset>, mode: impl Into<DirectorWrapMode>, )
Play(crate::unity_engine::playables::playableasset::PlayableAsset, crate::unity_engine::playables::directorwrapmode::DirectorWrapMode) overload
Sourcefn set_generic_binding(
self,
key: impl Into<Object_2>,
value: impl Into<Object_2>,
)
fn set_generic_binding( self, key: impl Into<Object_2>, value: impl Into<Object_2>, )
SetGenericBinding(crate::unity_engine::object_2::Object_2, crate::unity_engine::object_2::Object_2) overload
Sourcefn set_time_update_mode(self, value: impl Into<DirectorUpdateMode>)
fn set_time_update_mode(self, value: impl Into<DirectorUpdateMode>)
set_timeUpdateMode(crate::unity_engine::playables::directorupdatemode::DirectorUpdateMode) overload
Sourcefn get_time_update_mode(self) -> DirectorUpdateMode
fn get_time_update_mode(self) -> DirectorUpdateMode
get_timeUpdateMode() overload
Sourcefn set_initial_time(self, value: impl Into<f64>)
fn set_initial_time(self, value: impl Into<f64>)
set_initialTime(f64) overload
Sourcefn get_initial_time(self) -> f64
fn get_initial_time(self) -> f64
get_initialTime() overload
Sourcefn get_duration(self) -> f64
fn get_duration(self) -> f64
get_duration() overload
Sourcefn rebuild_graph(self)
fn rebuild_graph(self)
RebuildGraph() overload
Sourcefn clear_reference_value(self, id: impl Into<PropertyName>)
fn clear_reference_value(self, id: impl Into<PropertyName>)
ClearReferenceValue(crate::unity_engine::propertyname::PropertyName) overload
Sourcefn set_reference_value(
self,
id: impl Into<PropertyName>,
value: impl Into<Object_2>,
)
fn set_reference_value( self, id: impl Into<PropertyName>, value: impl Into<Object_2>, )
SetReferenceValue(crate::unity_engine::propertyname::PropertyName, crate::unity_engine::object_2::Object_2) overload
Sourcefn get_reference_value(self, id: impl Into<PropertyName>) -> (Object_2, bool)
fn get_reference_value(self, id: impl Into<PropertyName>) -> (Object_2, bool)
GetReferenceValue(crate::unity_engine::propertyname::PropertyName, *mutbool) overload
Sourcefn get_generic_binding(self, key: impl Into<Object_2>) -> Object_2
fn get_generic_binding(self, key: impl Into<Object_2>) -> Object_2
GetGenericBinding(crate::unity_engine::object_2::Object_2) overload
Sourcefn clear_generic_binding(self, key: impl Into<Object_2>)
fn clear_generic_binding(self, key: impl Into<Object_2>)
ClearGenericBinding(crate::unity_engine::object_2::Object_2) overload
Sourcefn rebind_playable_graph_outputs(self)
fn rebind_playable_graph_outputs(self)
RebindPlayableGraphOutputs() overload
Sourcefn process_pending_graph_changes(self)
fn process_pending_graph_changes(self)
ProcessPendingGraphChanges() overload
Sourcefn has_generic_binding(self, key: impl Into<Object_2>) -> bool
fn has_generic_binding(self, key: impl Into<Object_2>) -> bool
HasGenericBinding(crate::unity_engine::object_2::Object_2) overload
Sourcefn get_play_state(self) -> PlayState
fn get_play_state(self) -> PlayState
GetPlayState() overload
Sourcefn set_wrap_mode(self, mode: impl Into<DirectorWrapMode>)
fn set_wrap_mode(self, mode: impl Into<DirectorWrapMode>)
SetWrapMode(crate::unity_engine::playables::directorwrapmode::DirectorWrapMode) overload
Sourcefn get_wrap_mode(self) -> DirectorWrapMode
fn get_wrap_mode(self) -> DirectorWrapMode
GetWrapMode() overload
Sourcefn evaluate_next_frame(self)
fn evaluate_next_frame(self)
EvaluateNextFrame() overload
Sourcefn get_graph_handle(self) -> PlayableGraph
fn get_graph_handle(self) -> PlayableGraph
GetGraphHandle() overload
Sourcefn internal_set_generic_binding(
self,
key: impl Into<Object_2>,
value: impl Into<Object_2>,
)
fn internal_set_generic_binding( self, key: impl Into<Object_2>, value: impl Into<Object_2>, )
Internal_SetGenericBinding(crate::unity_engine::object_2::Object_2, crate::unity_engine::object_2::Object_2) overload
Sourcefn set_playable_asset_2(self, asset: impl Into<ScriptableObject>)
fn set_playable_asset_2(self, asset: impl Into<ScriptableObject>)
SetPlayableAsset(crate::unity_engine::scriptableobject::ScriptableObject) overload
Sourcefn internal_get_playable_asset(self) -> ScriptableObject
fn internal_get_playable_asset(self) -> ScriptableObject
Internal_GetPlayableAsset() overload
Sourcefn add_played(self, value: impl Into<Action_1<PlayableDirector>>)
fn add_played(self, value: impl Into<Action_1<PlayableDirector>>)
add_played(crate::system::action_1::Action_1<crate::unity_engine::playables::playabledirector::PlayableDirector>) overload
Sourcefn remove_played(self, value: impl Into<Action_1<PlayableDirector>>)
fn remove_played(self, value: impl Into<Action_1<PlayableDirector>>)
remove_played(crate::system::action_1::Action_1<crate::unity_engine::playables::playabledirector::PlayableDirector>) overload
Sourcefn add_paused(self, value: impl Into<Action_1<PlayableDirector>>)
fn add_paused(self, value: impl Into<Action_1<PlayableDirector>>)
add_paused(crate::system::action_1::Action_1<crate::unity_engine::playables::playabledirector::PlayableDirector>) overload
Sourcefn remove_paused(self, value: impl Into<Action_1<PlayableDirector>>)
fn remove_paused(self, value: impl Into<Action_1<PlayableDirector>>)
remove_paused(crate::system::action_1::Action_1<crate::unity_engine::playables::playabledirector::PlayableDirector>) overload
Sourcefn add_stopped(self, value: impl Into<Action_1<PlayableDirector>>)
fn add_stopped(self, value: impl Into<Action_1<PlayableDirector>>)
add_stopped(crate::system::action_1::Action_1<crate::unity_engine::playables::playabledirector::PlayableDirector>) overload
Sourcefn remove_stopped(self, value: impl Into<Action_1<PlayableDirector>>)
fn remove_stopped(self, value: impl Into<Action_1<PlayableDirector>>)
remove_stopped(crate::system::action_1::Action_1<crate::unity_engine::playables::playabledirector::PlayableDirector>) overload
Sourcefn send_on_playable_director_play(self)
fn send_on_playable_director_play(self)
SendOnPlayableDirectorPlay() overload
Sourcefn send_on_playable_director_pause(self)
fn send_on_playable_director_pause(self)
SendOnPlayableDirectorPause() overload
Sourcefn send_on_playable_director_stop(self)
fn send_on_playable_director_stop(self)
SendOnPlayableDirectorStop() overload
Sourcefn clear_reference_value_injected(self) -> PropertyName
fn clear_reference_value_injected(self) -> PropertyName
ClearReferenceValue_Injected(*mutcrate::unity_engine::propertyname::PropertyName) overload
Sourcefn set_reference_value_injected(
self,
value: impl Into<Object_2>,
) -> PropertyName
fn set_reference_value_injected( self, value: impl Into<Object_2>, ) -> PropertyName
SetReferenceValue_Injected(*mutcrate::unity_engine::propertyname::PropertyName, crate::unity_engine::object_2::Object_2) overload
Sourcefn get_reference_value_injected(self) -> (Object_2, PropertyName, bool)
fn get_reference_value_injected(self) -> (Object_2, PropertyName, bool)
GetReferenceValue_Injected(*mutcrate::unity_engine::propertyname::PropertyName, *mutbool) overload
Sourcefn get_graph_handle_injected(self) -> PlayableGraph
fn get_graph_handle_injected(self) -> PlayableGraph
GetGraphHandle_Injected(*mutcrate::unity_engine::playables::playablegraph::PlayableGraph) 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: IPlayableDirector> IPlayableDirectorMethods for __T
unity_engine-playables-playabledirector only.