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§
Sourcefn get_visible_lights(self) -> List_1<Light2D_2>
fn get_visible_lights(self) -> List_1<Light2D_2>
get_visibleLights() overload
Sourcefn is_scene_lit(self) -> bool
fn is_scene_lit(self) -> bool
IsSceneLit() overload
Sourcefn get_light_stats_by_layer(self, layer: impl Into<i32>) -> LightStats
fn get_light_stats_by_layer(self, layer: impl Into<i32>) -> LightStats
GetLightStatsByLayer(i32) overload
Sourcefn setup_culling(self, camera: impl Into<Camera>) -> ScriptableCullingParameters
fn setup_culling(self, camera: impl Into<Camera>) -> ScriptableCullingParameters
SetupCulling(*mutcrate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters, crate::unity_engine::camera::Camera) 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§
impl<__T: ILight2DCullResult> ILight2DCullResultMethods for __T
Available on crate feature
unity_engine-experimental-rendering-universal-light2dcullresult only.