Skip to main content

ICustomCharaOpaquePassMethods

Trait ICustomCharaOpaquePassMethods 

Source
pub trait ICustomCharaOpaquePassMethods: ICustomCharaOpaquePass {
    // Provided methods
    fn get_status_rendering_flag(self) -> bool { ... }
    fn set_status_rendering_flag(self, value: impl Into<bool>) { ... }
    fn get_silhouette_flag(self) -> bool { ... }
    fn set_silhouette_flag(self, value: impl Into<bool>) { ... }
    fn get_outline_flag(self) -> bool { ... }
    fn set_outline_flag(self, value: impl Into<bool>) { ... }
    fn get_zprepass_flag(self) -> bool { ... }
    fn set_zprepass_flag(self, value: impl Into<bool>) { ... }
    fn ctor(
        self,
        evt: impl Into<RenderPassEvent>,
        layer_mask: impl Into<LayerMask>,
    ) { ... }
    fn enable_custom_viewport(
        self,
        original_w: impl Into<f32>,
        original_h: impl Into<f32>,
        custom_w: impl Into<f32>,
        custom_h: impl Into<f32>,
    ) { ... }
    fn disable_custom_viewport(self) { ... }
    fn execute(
        self,
        context: impl Into<ScriptableRenderContext>,
    ) -> RenderingData { ... }
}

Provided Methods§

Source

fn get_status_rendering_flag(self) -> bool

get_statusRenderingFlag() overload

Source

fn set_status_rendering_flag(self, value: impl Into<bool>)

set_statusRenderingFlag(bool) overload

Source

fn get_silhouette_flag(self) -> bool

get_silhouetteFlag() overload

Source

fn set_silhouette_flag(self, value: impl Into<bool>)

set_silhouetteFlag(bool) overload

Source

fn get_outline_flag(self) -> bool

get_outlineFlag() overload

Source

fn set_outline_flag(self, value: impl Into<bool>)

set_outlineFlag(bool) overload

Source

fn get_zprepass_flag(self) -> bool

get_zprepassFlag() overload

Source

fn set_zprepass_flag(self, value: impl Into<bool>)

set_zprepassFlag(bool) overload

Source

fn ctor(self, evt: impl Into<RenderPassEvent>, layer_mask: impl Into<LayerMask>)

.ctor(crate::unity_engine::rendering::universal::renderpassevent::RenderPassEvent, crate::unity_engine::layermask::LayerMask) overload

Source

fn enable_custom_viewport( self, original_w: impl Into<f32>, original_h: impl Into<f32>, custom_w: impl Into<f32>, custom_h: impl Into<f32>, )

EnableCustomViewport(f32, f32, f32, f32) overload

Source

fn disable_custom_viewport(self)

DisableCustomViewport() overload

Source

fn execute(self, context: impl Into<ScriptableRenderContext>) -> RenderingData

Execute(crate::unity_engine::rendering::scriptablerendercontext::ScriptableRenderContext, *mutcrate::unity_engine::rendering::universal::renderingdata::RenderingData) 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: ICustomCharaOpaquePass> ICustomCharaOpaquePassMethods for __T

Available on crate feature unity_engine-rendering-universal-custom-internal-customcharaopaquepass only.