Skip to main content

ICustomOffscreenCameraMethods

Trait ICustomOffscreenCameraMethods 

Source
pub trait ICustomOffscreenCameraMethods: ICustomOffscreenCamera {
    // Provided methods
    fn get_profile(self) -> VolumeProfile { ... }
    fn on_enable(self) { ... }
    fn on_disable(self) { ... }
    fn custom_begin_frame_rendering(
        self,
        context: impl Into<ScriptableRenderContext>,
        cameras: impl Into<Array<Camera>>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_profile(self) -> VolumeProfile

get_profile() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn custom_begin_frame_rendering( self, context: impl Into<ScriptableRenderContext>, cameras: impl Into<Array<Camera>>, )

CustomBeginFrameRendering(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, ::unity::Array<crate::unity_engine::camera::Camera>) 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: ICustomOffscreenCamera> ICustomOffscreenCameraMethods for __T

Available on crate feature unity_engine-rendering-universal-custom-customoffscreencamera only.