Skip to main content

ILight2D_2Methods

Trait ILight2D_2Methods 

Source
pub trait ILight2D_2Methods: ILight2D_2 {
Show 50 methods // Provided methods fn get_affected_sorting_layers(self) -> Array<i32> { ... } fn get_light_cookie_sprite_instance_id(self) -> i32 { ... } fn get_bounding_sphere(self) -> BoundingSphere { ... } fn set_bounding_sphere(self, value: impl Into<BoundingSphere>) { ... } fn get_light_mesh(self) -> Mesh { ... } fn get_light_type(self) -> Light2D_LightType { ... } fn set_light_type(self, value: impl Into<Light2D_LightType>) { ... } fn get_blend_style_index(self) -> i32 { ... } fn set_blend_style_index(self, value: impl Into<i32>) { ... } fn get_shadow_intensity(self) -> f32 { ... } fn set_shadow_intensity(self, value: impl Into<f32>) { ... } fn get_shadow_volume_intensity(self) -> f32 { ... } fn set_shadow_volume_intensity(self, value: impl Into<f32>) { ... } fn get_color(self) -> Color { ... } fn set_color(self, value: impl Into<Color>) { ... } fn get_intensity(self) -> f32 { ... } fn set_intensity(self, value: impl Into<f32>) { ... } fn get_volume_opacity(self) -> f32 { ... } fn get_light_cookie_sprite(self) -> Sprite { ... } fn get_falloff_intensity(self) -> f32 { ... } fn get_use_normal_map(self) -> bool { ... } fn get_alpha_blend_on_overlap(self) -> bool { ... } fn get_light_order(self) -> i32 { ... } fn set_light_order(self, value: impl Into<i32>) { ... } fn get_top_most_lit_layer(self) -> i32 { ... } fn update_mesh(self) { ... } fn update_bounding_sphere(self) { ... } fn is_lit_layer(self, layer: impl Into<i32>) -> bool { ... } fn awake(self) { ... } fn on_enable(self) { ... } fn on_disable(self) { ... } fn late_update(self) { ... } fn get_point_light_inner_angle(self) -> f32 { ... } fn set_point_light_inner_angle(self, value: impl Into<f32>) { ... } fn get_point_light_outer_angle(self) -> f32 { ... } fn set_point_light_outer_angle(self, value: impl Into<f32>) { ... } fn get_point_light_inner_radius(self) -> f32 { ... } fn set_point_light_inner_radius(self, value: impl Into<f32>) { ... } fn get_point_light_outer_radius(self) -> f32 { ... } fn set_point_light_outer_radius(self, value: impl Into<f32>) { ... } fn get_point_light_distance(self) -> f32 { ... } fn get_point_light_quality(self) -> Light2D_PointLightQuality { ... } fn get_is_point_light(self) -> bool { ... } fn get_shape_light_parametric_sides(self) -> i32 { ... } fn get_shape_light_parametric_angle_offset(self) -> f32 { ... } fn get_shape_light_parametric_radius(self) -> f32 { ... } fn get_shape_light_falloff_size(self) -> f32 { ... } fn get_shape_light_falloff_offset(self) -> Vector2 { ... } fn get_shape_path(self) -> Array<Vector3> { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_affected_sorting_layers(self) -> Array<i32>

get_affectedSortingLayers() overload

get_lightCookieSpriteInstanceID() overload

Source

fn get_bounding_sphere(self) -> BoundingSphere

get_boundingSphere() overload

Source

fn set_bounding_sphere(self, value: impl Into<BoundingSphere>)

set_boundingSphere(crate::unity_engine::boundingsphere::BoundingSphere) overload

Source

fn get_light_mesh(self) -> Mesh

get_lightMesh() overload

Source

fn get_light_type(self) -> Light2D_LightType

get_lightType() overload

Source

fn set_light_type(self, value: impl Into<Light2D_LightType>)

set_lightType(crate::unity_engine::experimental::rendering::universal::light2d_2::Light2D_LightType) overload

Source

fn get_blend_style_index(self) -> i32

get_blendStyleIndex() overload

Source

fn set_blend_style_index(self, value: impl Into<i32>)

set_blendStyleIndex(i32) overload

Source

fn get_shadow_intensity(self) -> f32

get_shadowIntensity() overload

Source

fn set_shadow_intensity(self, value: impl Into<f32>)

set_shadowIntensity(f32) overload

Source

fn get_shadow_volume_intensity(self) -> f32

get_shadowVolumeIntensity() overload

Source

fn set_shadow_volume_intensity(self, value: impl Into<f32>)

set_shadowVolumeIntensity(f32) overload

Source

fn get_color(self) -> Color

get_color() overload

Source

fn set_color(self, value: impl Into<Color>)

set_color(crate::unity_engine::color::Color) overload

Source

fn get_intensity(self) -> f32

get_intensity() overload

Source

fn set_intensity(self, value: impl Into<f32>)

set_intensity(f32) overload

Source

fn get_volume_opacity(self) -> f32

get_volumeOpacity() overload

get_lightCookieSprite() overload

Source

fn get_falloff_intensity(self) -> f32

get_falloffIntensity() overload

Source

fn get_use_normal_map(self) -> bool

get_useNormalMap() overload

Source

fn get_alpha_blend_on_overlap(self) -> bool

get_alphaBlendOnOverlap() overload

Source

fn get_light_order(self) -> i32

get_lightOrder() overload

Source

fn set_light_order(self, value: impl Into<i32>)

set_lightOrder(i32) overload

Source

fn get_top_most_lit_layer(self) -> i32

GetTopMostLitLayer() overload

Source

fn update_mesh(self)

UpdateMesh() overload

Source

fn update_bounding_sphere(self)

UpdateBoundingSphere() overload

Source

fn is_lit_layer(self, layer: impl Into<i32>) -> bool

IsLitLayer(i32) overload

Source

fn awake(self)

Awake() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn get_point_light_inner_angle(self) -> f32

get_pointLightInnerAngle() overload

Source

fn set_point_light_inner_angle(self, value: impl Into<f32>)

set_pointLightInnerAngle(f32) overload

Source

fn get_point_light_outer_angle(self) -> f32

get_pointLightOuterAngle() overload

Source

fn set_point_light_outer_angle(self, value: impl Into<f32>)

set_pointLightOuterAngle(f32) overload

Source

fn get_point_light_inner_radius(self) -> f32

get_pointLightInnerRadius() overload

Source

fn set_point_light_inner_radius(self, value: impl Into<f32>)

set_pointLightInnerRadius(f32) overload

Source

fn get_point_light_outer_radius(self) -> f32

get_pointLightOuterRadius() overload

Source

fn set_point_light_outer_radius(self, value: impl Into<f32>)

set_pointLightOuterRadius(f32) overload

Source

fn get_point_light_distance(self) -> f32

get_pointLightDistance() overload

Source

fn get_point_light_quality(self) -> Light2D_PointLightQuality

get_pointLightQuality() overload

Source

fn get_is_point_light(self) -> bool

get_isPointLight() overload

Source

fn get_shape_light_parametric_sides(self) -> i32

get_shapeLightParametricSides() overload

Source

fn get_shape_light_parametric_angle_offset(self) -> f32

get_shapeLightParametricAngleOffset() overload

Source

fn get_shape_light_parametric_radius(self) -> f32

get_shapeLightParametricRadius() overload

Source

fn get_shape_light_falloff_size(self) -> f32

get_shapeLightFalloffSize() overload

Source

fn get_shape_light_falloff_offset(self) -> Vector2

get_shapeLightFalloffOffset() overload

Source

fn get_shape_path(self) -> Array<Vector3>

get_shapePath() 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: ILight2D_2> ILight2D_2Methods for __T

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