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§
Sourcefn 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 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
Sourcefn add_game_object(self, persistent: impl Into<bool>) -> GameObject
fn add_game_object(self, persistent: impl Into<bool>) -> GameObject
AddGameObject(bool) overload
Sourcefn get_camera(self) -> Camera
fn get_camera(self) -> Camera
get_camera() overload
Sourcefn get_sun_light(self) -> Light
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§
impl<__T: IStageRuntimeInterface> IStageRuntimeInterfaceMethods for __T
Available on crate feature
unity_engine-rendering-look_dev-stageruntimeinterface only.