Skip to main content

IShadowCasterGroup2DMethods

Trait IShadowCasterGroup2DMethods 

Source
pub trait IShadowCasterGroup2DMethods: IShadowCasterGroup2D {
    // Provided methods
    fn get_shadow_casters(self) -> List_1<ShadowCaster2D> { ... }
    fn get_shadow_group(self) -> i32 { ... }
    fn register_shadow_caster2_d(
        self,
        shadow_caster2_d: impl Into<ShadowCaster2D>,
    ) { ... }
    fn unregister_shadow_caster2_d(
        self,
        shadow_caster2_d: impl Into<ShadowCaster2D>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_shadow_casters(self) -> List_1<ShadowCaster2D>

GetShadowCasters() overload

Source

fn get_shadow_group(self) -> i32

GetShadowGroup() overload

Source

fn register_shadow_caster2_d(self, shadow_caster2_d: impl Into<ShadowCaster2D>)

RegisterShadowCaster2D(crate::unity_engine::experimental::rendering::universal::shadowcaster2d::ShadowCaster2D) overload

Source

fn unregister_shadow_caster2_d( self, shadow_caster2_d: impl Into<ShadowCaster2D>, )

UnregisterShadowCaster2D(crate::unity_engine::experimental::rendering::universal::shadowcaster2d::ShadowCaster2D) 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: IShadowCasterGroup2D> IShadowCasterGroup2DMethods for __T

Available on crate feature unity_engine-experimental-rendering-universal-shadowcastergroup2d only.