Skip to main content

IRenderer2DDataMethods

Trait IRenderer2DDataMethods 

Source
pub trait IRenderer2DDataMethods: IRenderer2DData {
Show 23 methods // Provided methods fn get_hdr_emulation_scale(self) -> f32 { ... } fn get_light_blend_styles(self) -> Array<Light2DBlendStyle> { ... } fn get_use_depth_stencil_buffer(self) -> bool { ... } fn get_shape_light_shader(self) -> Shader { ... } fn get_shape_light_volume_shader(self) -> Shader { ... } fn get_point_light_shader(self) -> Shader { ... } fn get_point_light_volume_shader(self) -> Shader { ... } fn get_blit_shader(self) -> Shader { ... } fn get_shadow_group_shader(self) -> Shader { ... } fn get_remove_self_shadow_shader(self) -> Shader { ... } fn get_post_process_data(self) -> PostProcessData { ... } fn get_transparency_sort_mode(self) -> TransparencySortMode { ... } fn get_transparency_sort_axis(self) -> Vector3 { ... } fn create(self) -> ScriptableRenderer { ... } fn on_enable(self) { ... } fn get_light_materials(self) -> Dictionary_2<u32, Material> { ... } fn get_shadow_materials(self) -> Array<Material> { ... } fn set_shadow_materials(self, value: impl Into<Array<Material>>) { ... } fn get_remove_self_shadow_materials(self) -> Array<Material> { ... } fn set_remove_self_shadow_materials(self, value: impl Into<Array<Material>>) { ... } fn get_light_cull_result(self) -> ILight2DCullResult_Interface { ... } fn set_light_cull_result( self, value: impl Into<ILight2DCullResult_Interface>, ) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_hdr_emulation_scale(self) -> f32

get_hdrEmulationScale() overload

Source

fn get_light_blend_styles(self) -> Array<Light2DBlendStyle>

get_lightBlendStyles() overload

Source

fn get_use_depth_stencil_buffer(self) -> bool

get_useDepthStencilBuffer() overload

Source

fn get_shape_light_shader(self) -> Shader

get_shapeLightShader() overload

Source

fn get_shape_light_volume_shader(self) -> Shader

get_shapeLightVolumeShader() overload

Source

fn get_point_light_shader(self) -> Shader

get_pointLightShader() overload

Source

fn get_point_light_volume_shader(self) -> Shader

get_pointLightVolumeShader() overload

Source

fn get_blit_shader(self) -> Shader

get_blitShader() overload

Source

fn get_shadow_group_shader(self) -> Shader

get_shadowGroupShader() overload

Source

fn get_remove_self_shadow_shader(self) -> Shader

get_removeSelfShadowShader() overload

Source

fn get_post_process_data(self) -> PostProcessData

get_postProcessData() overload

Source

fn get_transparency_sort_mode(self) -> TransparencySortMode

get_transparencySortMode() overload

Source

fn get_transparency_sort_axis(self) -> Vector3

get_transparencySortAxis() overload

Source

fn create(self) -> ScriptableRenderer

Create() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn get_light_materials(self) -> Dictionary_2<u32, Material>

get_lightMaterials() overload

Source

fn get_shadow_materials(self) -> Array<Material>

get_shadowMaterials() overload

Source

fn set_shadow_materials(self, value: impl Into<Array<Material>>)

set_shadowMaterials(::unity::Array<crate::unity_engine::material::Material>) overload

Source

fn get_remove_self_shadow_materials(self) -> Array<Material>

get_removeSelfShadowMaterials() overload

Source

fn set_remove_self_shadow_materials(self, value: impl Into<Array<Material>>)

set_removeSelfShadowMaterials(::unity::Array<crate::unity_engine::material::Material>) overload

Source

fn get_light_cull_result(self) -> ILight2DCullResult_Interface

get_lightCullResult() overload

Source

fn set_light_cull_result(self, value: impl Into<ILight2DCullResult_Interface>)

set_lightCullResult(crate::unity_engine::experimental::rendering::universal::ilight2dcullresult_interface::ILight2DCullResult_Interface) 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: IRenderer2DData> IRenderer2DDataMethods for __T

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