Skip to main content

IReflectionManagerMethods

Trait IReflectionManagerMethods 

Source
pub trait IReflectionManagerMethods: IReflectionManager {
    // Provided methods
    fn start(self) { ... }
    fn update(self) { ... }
    fn late_update(self) { ... }
    fn remove_non_reference_camera(self) { ... }
    fn clear_rendered_list(self) { ... }
    fn render_reflection(
        self,
        tr: impl Into<Transform>,
        cam: impl Into<Camera>,
        number: impl Into<i16>,
    ) -> bool { ... }
    fn add_reflection_camera(
        self,
        obj_camera: impl Into<GameObject>,
    ) -> ReflectionCamera { ... }
    fn get_reflection_texture(self, number: impl Into<i16>) -> RenderTexture { ... }
    fn get_camera_name(self, number: impl Into<i16>) -> Il2CppString { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn remove_non_reference_camera(self)

RemoveNonReferenceCamera() overload

Source

fn clear_rendered_list(self)

ClearRenderedList() overload

Source

fn render_reflection( self, tr: impl Into<Transform>, cam: impl Into<Camera>, number: impl Into<i16>, ) -> bool

RenderReflection(crate::unity_engine::transform::Transform, crate::unity_engine::camera::Camera, i16) overload

Source

fn add_reflection_camera( self, obj_camera: impl Into<GameObject>, ) -> ReflectionCamera

AddReflectionCamera(crate::unity_engine::gameobject::GameObject) overload

Source

fn get_reflection_texture(self, number: impl Into<i16>) -> RenderTexture

GetReflectionTexture(i16) overload

Source

fn get_camera_name(self, number: impl Into<i16>) -> Il2CppString

GetCameraName(i16) 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: IReflectionManager> IReflectionManagerMethods for __T

Available on crate feature app-water-reflectionmanager only.