Skip to main content

ICinemachineMixerMethods

Trait ICinemachineMixerMethods 

Source
pub trait ICinemachineMixerMethods: ICinemachineMixer {
    // Provided methods
    fn on_playable_destroy(self, playable: impl Into<Playable>) { ... }
    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 get_delta_time(self, delta_time: impl Into<f32>) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

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

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

Source

fn get_delta_time(self, delta_time: impl Into<f32>) -> f32

GetDeltaTime(f32) 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: ICinemachineMixer> ICinemachineMixerMethods for __T

Available on crate feature root-cinemachinemixer only.