Skip to main content

IPlanarReflectionV2Methods

Trait IPlanarReflectionV2Methods 

Source
pub trait IPlanarReflectionV2Methods: IPlanarReflectionV2 {
    // Provided methods
    fn start(self) { ... }
    fn water_tile_being_rendered(
        self,
        tr: impl Into<Transform>,
        current_cam: impl Into<Camera>,
    ) { ... }
    fn get_reflection_texture(self) -> RenderTexture { ... }
    fn render_reflection(
        self,
        tr: impl Into<Transform>,
        current_cam: impl Into<Camera>,
    ) -> bool { ... }
    fn get_reflection_manager(self) -> ReflectionManager { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn water_tile_being_rendered( self, tr: impl Into<Transform>, current_cam: impl Into<Camera>, )

WaterTileBeingRendered(crate::unity_engine::transform::Transform, crate::unity_engine::camera::Camera) overload

Source

fn get_reflection_texture(self) -> RenderTexture

GetReflectionTexture() overload

Source

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

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

Source

fn get_reflection_manager(self) -> ReflectionManager

GetReflectionManager() 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: IPlanarReflectionV2> IPlanarReflectionV2Methods for __T

Available on crate feature app-water-planarreflectionv2 only.