Skip to main content

ICinemachineShotMethods

Trait ICinemachineShotMethods 

Source
pub trait ICinemachineShotMethods: ICinemachineShot {
    // Provided methods
    fn create_playable(
        self,
        graph: impl Into<PlayableGraph>,
        owner: impl Into<GameObject>,
    ) -> Playable { ... }
    fn gather_properties(
        self,
        director: impl Into<PlayableDirector>,
        driver: impl Into<IPropertyCollector>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn create_playable( self, graph: impl Into<PlayableGraph>, owner: impl Into<GameObject>, ) -> Playable

CreatePlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject) overload

Source

fn gather_properties( self, director: impl Into<PlayableDirector>, driver: impl Into<IPropertyCollector>, )

GatherProperties(crate::unity_engine::playables::playabledirector::PlayableDirector, crate::unity_engine::timeline::ipropertycollector::IPropertyCollector) 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: ICinemachineShot> ICinemachineShotMethods for __T

Available on crate feature root-cinemachineshot only.