Skip to main content

IStageRuntimeInterfaceMethods

Trait IStageRuntimeInterfaceMethods 

Source
pub trait IStageRuntimeInterfaceMethods: IStageRuntimeInterface {
    // Provided methods
    fn ctor(
        self,
        add_game_object: impl Into<Func_2<bool, GameObject>>,
        get_camera: impl Into<Func_1<Camera>>,
        get_sun_light: impl Into<Func_1<Light>>,
    ) { ... }
    fn add_game_object(self, persistent: impl Into<bool>) -> GameObject { ... }
    fn get_camera(self) -> Camera { ... }
    fn get_sun_light(self) -> Light { ... }
}

Provided Methods§

Source

fn ctor( self, add_game_object: impl Into<Func_2<bool, GameObject>>, get_camera: impl Into<Func_1<Camera>>, get_sun_light: impl Into<Func_1<Light>>, )

.ctor(crate::system::func_2::Func_2<bool,crate::unity_engine::gameobject::GameObject>, crate::system::func_1::Func_1<crate::unity_engine::camera::Camera>, crate::system::func_1::Func_1<crate::unity_engine::light::Light>) overload

Source

fn add_game_object(self, persistent: impl Into<bool>) -> GameObject

AddGameObject(bool) overload

Source

fn get_camera(self) -> Camera

get_camera() overload

Source

fn get_sun_light(self) -> Light

get_sunLight() 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: IStageRuntimeInterface> IStageRuntimeInterfaceMethods for __T

Available on crate feature unity_engine-rendering-look_dev-stageruntimeinterface only.