Skip to main content

ILight2DCullResultMethods

Trait ILight2DCullResultMethods 

Source
pub trait ILight2DCullResultMethods: ILight2DCullResult {
    // Provided methods
    fn get_visible_lights(self) -> List_1<Light2D_2> { ... }
    fn is_scene_lit(self) -> bool { ... }
    fn get_light_stats_by_layer(self, layer: impl Into<i32>) -> LightStats { ... }
    fn setup_culling(
        self,
        camera: impl Into<Camera>,
    ) -> ScriptableCullingParameters { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_visible_lights(self) -> List_1<Light2D_2>

get_visibleLights() overload

Source

fn is_scene_lit(self) -> bool

IsSceneLit() overload

Source

fn get_light_stats_by_layer(self, layer: impl Into<i32>) -> LightStats

GetLightStatsByLayer(i32) overload

Source

fn setup_culling(self, camera: impl Into<Camera>) -> ScriptableCullingParameters

SetupCulling(*mutcrate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters, 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: ILight2DCullResult> ILight2DCullResultMethods for __T

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