Skip to main content

IMyRoomEventReceiverMethods

Trait IMyRoomEventReceiverMethods 

Source
pub trait IMyRoomEventReceiverMethods: IMyRoomEventReceiver {
    // Provided methods
    fn get_adjusted_time(self) -> f64 { ... }
    fn on_notify(
        self,
        origin: impl Into<Playable>,
        notification: impl Into<INotification>,
        context: impl Into<Object>,
    ) { ... }
    fn on_notify_effect_marker(
        self,
        effect_marker: impl Into<MyRoomEffectMarker>,
    ) { ... }
    fn on_notify_se_marker(self, se_marker: impl Into<MyRoomSEMarker>) { ... }
    fn on_notify_camera_marker(
        self,
        camera_marker: impl Into<MyRoomCameraMarker>,
    ) { ... }
    fn on_notify_looking_camera_marker(
        self,
        looking_camera_marker: impl Into<MyRoomLookingCameraMarker>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_adjusted_time(self) -> f64

get_AdjustedTime() overload

Source

fn on_notify( self, origin: impl Into<Playable>, notification: impl Into<INotification>, context: impl Into<Object>, )

OnNotify(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::inotification::INotification, crate::system::object::Object) overload

Source

fn on_notify_effect_marker(self, effect_marker: impl Into<MyRoomEffectMarker>)

OnNotifyEffectMarker(crate::app::myroomeffectmarker::MyRoomEffectMarker) overload

Source

fn on_notify_se_marker(self, se_marker: impl Into<MyRoomSEMarker>)

OnNotifySEMarker(crate::app::myroomsemarker::MyRoomSEMarker) overload

Source

fn on_notify_camera_marker(self, camera_marker: impl Into<MyRoomCameraMarker>)

OnNotifyCameraMarker(crate::app::myroomcameramarker::MyRoomCameraMarker) overload

Source

fn on_notify_looking_camera_marker( self, looking_camera_marker: impl Into<MyRoomLookingCameraMarker>, )

OnNotifyLookingCameraMarker(crate::app::myroomlookingcameramarker::MyRoomLookingCameraMarker) 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: IMyRoomEventReceiver> IMyRoomEventReceiverMethods for __T

Available on crate feature app-myroomeventreceiver only.