Skip to main content

ILight2D_2

Trait ILight2D_2 

Source
pub trait ILight2D_2: IMonoBehaviour {
Show 64 methods // Provided methods fn m_light_type(self) -> Light2D_LightType { ... } fn set_m_light_type(self, value: Light2D_LightType) { ... } fn m_blend_style_index(self) -> i32 { ... } fn set_m_blend_style_index(self, value: i32) { ... } fn m_falloff_intensity(self) -> f32 { ... } fn set_m_falloff_intensity(self, value: f32) { ... } fn m_color(self) -> Color { ... } fn set_m_color(self, value: Color) { ... } fn m_intensity(self) -> f32 { ... } fn set_m_intensity(self, value: f32) { ... } fn m_light_volume_opacity(self) -> f32 { ... } fn set_m_light_volume_opacity(self, value: f32) { ... } fn m_apply_to_sorting_layers(self) -> Array<i32> { ... } fn set_m_apply_to_sorting_layers(self, value: Array<i32>) { ... } fn m_light_cookie_sprite(self) -> Sprite { ... } fn set_m_light_cookie_sprite(self, value: Sprite) { ... } fn m_use_normal_map(self) -> bool { ... } fn set_m_use_normal_map(self, value: bool) { ... } fn m_light_order(self) -> i32 { ... } fn set_m_light_order(self, value: i32) { ... } fn m_alpha_blend_on_overlap(self) -> bool { ... } fn set_m_alpha_blend_on_overlap(self, value: bool) { ... } fn m_shadow_intensity(self) -> f32 { ... } fn set_m_shadow_intensity(self, value: f32) { ... } fn m_shadow_volume_intensity(self) -> f32 { ... } fn set_m_shadow_volume_intensity(self, value: f32) { ... } fn m_previous_light_cookie_sprite(self) -> i32 { ... } fn set_m_previous_light_cookie_sprite(self, value: i32) { ... } fn m_mesh(self) -> Mesh { ... } fn set_m_mesh(self, value: Mesh) { ... } fn m_local_bounds(self) -> Bounds { ... } fn set_m_local_bounds(self, value: Bounds) { ... } fn m_point_light_inner_angle(self) -> f32 { ... } fn set_m_point_light_inner_angle(self, value: f32) { ... } fn m_point_light_outer_angle(self) -> f32 { ... } fn set_m_point_light_outer_angle(self, value: f32) { ... } fn m_point_light_inner_radius(self) -> f32 { ... } fn set_m_point_light_inner_radius(self, value: f32) { ... } fn m_point_light_outer_radius(self) -> f32 { ... } fn set_m_point_light_outer_radius(self, value: f32) { ... } fn m_point_light_distance(self) -> f32 { ... } fn set_m_point_light_distance(self, value: f32) { ... } fn m_point_light_quality(self) -> Light2D_PointLightQuality { ... } fn set_m_point_light_quality(self, value: Light2D_PointLightQuality) { ... } fn m_shape_light_parametric_sides(self) -> i32 { ... } fn set_m_shape_light_parametric_sides(self, value: i32) { ... } fn m_shape_light_parametric_angle_offset(self) -> f32 { ... } fn set_m_shape_light_parametric_angle_offset(self, value: f32) { ... } fn m_shape_light_parametric_radius(self) -> f32 { ... } fn set_m_shape_light_parametric_radius(self, value: f32) { ... } fn m_shape_light_falloff_size(self) -> f32 { ... } fn set_m_shape_light_falloff_size(self, value: f32) { ... } fn m_shape_light_falloff_offset(self) -> Vector2 { ... } fn set_m_shape_light_falloff_offset(self, value: Vector2) { ... } fn m_shape_path(self) -> Array<Vector3> { ... } fn set_m_shape_path(self, value: Array<Vector3>) { ... } fn m_previous_shape_light_falloff_size(self) -> f32 { ... } fn set_m_previous_shape_light_falloff_size(self, value: f32) { ... } fn m_previous_shape_light_parametric_sides(self) -> i32 { ... } fn set_m_previous_shape_light_parametric_sides(self, value: i32) { ... } fn m_previous_shape_light_parametric_angle_offset(self) -> f32 { ... } fn set_m_previous_shape_light_parametric_angle_offset(self, value: f32) { ... } fn m_previous_shape_light_parametric_radius(self) -> f32 { ... } fn set_m_previous_shape_light_parametric_radius(self, value: f32) { ... }
}

Provided Methods§

Source

fn m_light_type(self) -> Light2D_LightType

Source

fn set_m_light_type(self, value: Light2D_LightType)

Source

fn m_blend_style_index(self) -> i32

Source

fn set_m_blend_style_index(self, value: i32)

Source

fn m_falloff_intensity(self) -> f32

Source

fn set_m_falloff_intensity(self, value: f32)

Source

fn m_color(self) -> Color

Source

fn set_m_color(self, value: Color)

Source

fn m_intensity(self) -> f32

Source

fn set_m_intensity(self, value: f32)

Source

fn m_light_volume_opacity(self) -> f32

Source

fn set_m_light_volume_opacity(self, value: f32)

Source

fn m_apply_to_sorting_layers(self) -> Array<i32>

Source

fn set_m_apply_to_sorting_layers(self, value: Array<i32>)

Source

fn m_use_normal_map(self) -> bool

Source

fn set_m_use_normal_map(self, value: bool)

Source

fn m_light_order(self) -> i32

Source

fn set_m_light_order(self, value: i32)

Source

fn m_alpha_blend_on_overlap(self) -> bool

Source

fn set_m_alpha_blend_on_overlap(self, value: bool)

Source

fn m_shadow_intensity(self) -> f32

Source

fn set_m_shadow_intensity(self, value: f32)

Source

fn m_shadow_volume_intensity(self) -> f32

Source

fn set_m_shadow_volume_intensity(self, value: f32)

Source

fn m_mesh(self) -> Mesh

Source

fn set_m_mesh(self, value: Mesh)

Source

fn m_local_bounds(self) -> Bounds

Source

fn set_m_local_bounds(self, value: Bounds)

Source

fn m_point_light_inner_angle(self) -> f32

Source

fn set_m_point_light_inner_angle(self, value: f32)

Source

fn m_point_light_outer_angle(self) -> f32

Source

fn set_m_point_light_outer_angle(self, value: f32)

Source

fn m_point_light_inner_radius(self) -> f32

Source

fn set_m_point_light_inner_radius(self, value: f32)

Source

fn m_point_light_outer_radius(self) -> f32

Source

fn set_m_point_light_outer_radius(self, value: f32)

Source

fn m_point_light_distance(self) -> f32

Source

fn set_m_point_light_distance(self, value: f32)

Source

fn m_point_light_quality(self) -> Light2D_PointLightQuality

Source

fn set_m_point_light_quality(self, value: Light2D_PointLightQuality)

Source

fn m_shape_light_parametric_sides(self) -> i32

Source

fn set_m_shape_light_parametric_sides(self, value: i32)

Source

fn m_shape_light_parametric_angle_offset(self) -> f32

Source

fn set_m_shape_light_parametric_angle_offset(self, value: f32)

Source

fn m_shape_light_parametric_radius(self) -> f32

Source

fn set_m_shape_light_parametric_radius(self, value: f32)

Source

fn m_shape_light_falloff_size(self) -> f32

Source

fn set_m_shape_light_falloff_size(self, value: f32)

Source

fn m_shape_light_falloff_offset(self) -> Vector2

Source

fn set_m_shape_light_falloff_offset(self, value: Vector2)

Source

fn m_shape_path(self) -> Array<Vector3>

Source

fn set_m_shape_path(self, value: Array<Vector3>)

Source

fn m_previous_shape_light_falloff_size(self) -> f32

Source

fn set_m_previous_shape_light_falloff_size(self, value: f32)

Source

fn m_previous_shape_light_parametric_sides(self) -> i32

Source

fn set_m_previous_shape_light_parametric_sides(self, value: i32)

Source

fn m_previous_shape_light_parametric_angle_offset(self) -> f32

Source

fn set_m_previous_shape_light_parametric_angle_offset(self, value: f32)

Source

fn m_previous_shape_light_parametric_radius(self) -> f32

Source

fn set_m_previous_shape_light_parametric_radius(self, value: f32)

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§