Skip to main content

IIPlayableAsset_InterfaceMethods

Trait IIPlayableAsset_InterfaceMethods 

Source
pub trait IIPlayableAsset_InterfaceMethods: IIPlayableAsset_Interface {
    // Provided methods
    fn create_playable(
        self,
        graph: impl Into<PlayableGraph>,
        owner: impl Into<GameObject>,
    ) -> Playable { ... }
    fn get_duration(self) -> f64 { ... }
}

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 get_duration(self) -> f64

get_duration() 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: IIPlayableAsset_Interface> IIPlayableAsset_InterfaceMethods for __T

Available on crate feature unity_engine-playables-iplayableasset_interface only.