pub trait ITimeNotificationBehaviourMethods: ITimeNotificationBehaviour {
// Provided methods
fn set_time_source(self, value: impl Into<Playable>) { ... }
fn add_notification(
self,
time: impl Into<f64>,
payload: impl Into<INotification>,
flags: impl Into<NotificationFlags>,
) { ... }
fn on_graph_start(self, playable: impl Into<Playable>) { ... }
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 sort_notifications(self) { ... }
fn trigger_notifications_in_range(
self,
start: impl Into<f64>,
end: impl Into<f64>,
info: impl Into<FrameData>,
playable: impl Into<Playable>,
check_state: impl Into<bool>,
) { ... }
fn sync_duration_with_external_source(self, playable: impl Into<Playable>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_time_source(self, value: impl Into<Playable>)
fn set_time_source(self, value: impl Into<Playable>)
set_timeSource(crate::unity_engine::playables::playable::Playable) overload
Sourcefn add_notification(
self,
time: impl Into<f64>,
payload: impl Into<INotification>,
flags: impl Into<NotificationFlags>,
)
fn add_notification( self, time: impl Into<f64>, payload: impl Into<INotification>, flags: impl Into<NotificationFlags>, )
AddNotification(f64, crate::unity_engine::playables::inotification::INotification, crate::unity_engine::timeline::notificationflags::NotificationFlags) overload
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_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 sort_notifications(self)
fn sort_notifications(self)
SortNotifications() overload
Sourcefn trigger_notifications_in_range(
self,
start: impl Into<f64>,
end: impl Into<f64>,
info: impl Into<FrameData>,
playable: impl Into<Playable>,
check_state: impl Into<bool>,
)
fn trigger_notifications_in_range( self, start: impl Into<f64>, end: impl Into<f64>, info: impl Into<FrameData>, playable: impl Into<Playable>, check_state: impl Into<bool>, )
TriggerNotificationsInRange(f64, f64, crate::unity_engine::playables::framedata::FrameData, crate::unity_engine::playables::playable::Playable, bool) overload
Sourcefn sync_duration_with_external_source(self, playable: impl Into<Playable>)
fn sync_duration_with_external_source(self, playable: impl Into<Playable>)
SyncDurationWithExternalSource(crate::unity_engine::playables::playable::Playable) 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: ITimeNotificationBehaviour> ITimeNotificationBehaviourMethods for __T
unity_engine-timeline-timenotificationbehaviour only.