Skip to main content

ITimeNotificationBehaviourMethods

Trait ITimeNotificationBehaviourMethods 

Source
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§

Source

fn set_time_source(self, value: impl Into<Playable>)

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

Source

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

Source

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

OnGraphStart(crate::unity_engine::playables::playable::Playable) 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 sort_notifications(self)

SortNotifications() overload

Source

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

Source

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

SyncDurationWithExternalSource(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: ITimeNotificationBehaviour> ITimeNotificationBehaviourMethods for __T

Available on crate feature unity_engine-timeline-timenotificationbehaviour only.