pub struct Light(/* private fields */);Expand description
IL2CPP class: UnityEngine.Light
Inherits: Behaviour
Implementations§
Source§impl Light
impl Light
Sourcepub fn get_pixel_light_count() -> i32
pub fn get_pixel_light_count() -> i32
get_pixelLightCount() overload
Sourcepub fn set_pixel_light_count(value: impl Into<i32>)
pub fn set_pixel_light_count(value: impl Into<i32>)
set_pixelLightCount(i32) overload
Sourcepub fn get_lights(
type: impl Into<LightType>,
layer: impl Into<i32>,
) -> Array<Light>
pub fn get_lights( type: impl Into<LightType>, layer: impl Into<i32>, ) -> Array<Light>
GetLights(crate::unity_engine::lighttype::LightType, i32) overload
Source§impl Light
impl Light
pub fn get_type_method_info() -> &'static MethodInfo
pub fn set_type_method_info() -> &'static MethodInfo
pub fn get_shape_method_info() -> &'static MethodInfo
pub fn set_shape_method_info() -> &'static MethodInfo
pub fn get_spot_angle_method_info() -> &'static MethodInfo
pub fn set_spot_angle_method_info() -> &'static MethodInfo
pub fn get_inner_spot_angle_method_info() -> &'static MethodInfo
pub fn set_inner_spot_angle_method_info() -> &'static MethodInfo
pub fn get_color_method_info() -> &'static MethodInfo
pub fn set_color_method_info() -> &'static MethodInfo
pub fn get_color_temperature_method_info() -> &'static MethodInfo
pub fn set_color_temperature_method_info() -> &'static MethodInfo
pub fn get_use_color_temperature_method_info() -> &'static MethodInfo
pub fn set_use_color_temperature_method_info() -> &'static MethodInfo
pub fn get_intensity_method_info() -> &'static MethodInfo
pub fn set_intensity_method_info() -> &'static MethodInfo
pub fn get_bounce_intensity_method_info() -> &'static MethodInfo
pub fn set_bounce_intensity_method_info() -> &'static MethodInfo
pub fn get_use_bounding_sphere_override_method_info() -> &'static MethodInfo
pub fn set_use_bounding_sphere_override_method_info() -> &'static MethodInfo
pub fn get_bounding_sphere_override_method_info() -> &'static MethodInfo
pub fn set_bounding_sphere_override_method_info() -> &'static MethodInfo
pub fn get_use_view_frustum_for_shadow_caster_cull_method_info() -> &'static MethodInfo
pub fn set_use_view_frustum_for_shadow_caster_cull_method_info() -> &'static MethodInfo
pub fn get_shadow_custom_resolution_method_info() -> &'static MethodInfo
pub fn set_shadow_custom_resolution_method_info() -> &'static MethodInfo
pub fn get_shadow_bias_method_info() -> &'static MethodInfo
pub fn set_shadow_bias_method_info() -> &'static MethodInfo
pub fn get_shadow_normal_bias_method_info() -> &'static MethodInfo
pub fn set_shadow_normal_bias_method_info() -> &'static MethodInfo
pub fn get_shadow_near_plane_method_info() -> &'static MethodInfo
pub fn set_shadow_near_plane_method_info() -> &'static MethodInfo
pub fn get_use_shadow_matrix_override_method_info() -> &'static MethodInfo
pub fn set_use_shadow_matrix_override_method_info() -> &'static MethodInfo
pub fn get_shadow_matrix_override_method_info() -> &'static MethodInfo
pub fn set_shadow_matrix_override_method_info() -> &'static MethodInfo
pub fn get_range_method_info() -> &'static MethodInfo
pub fn set_range_method_info() -> &'static MethodInfo
pub fn get_flare_method_info() -> &'static MethodInfo
pub fn set_flare_method_info() -> &'static MethodInfo
pub fn get_baking_output_method_info() -> &'static MethodInfo
pub fn set_baking_output_method_info() -> &'static MethodInfo
pub fn get_culling_mask_method_info() -> &'static MethodInfo
pub fn set_culling_mask_method_info() -> &'static MethodInfo
pub fn get_rendering_layer_mask_method_info() -> &'static MethodInfo
pub fn set_rendering_layer_mask_method_info() -> &'static MethodInfo
pub fn get_light_shadow_caster_mode_method_info() -> &'static MethodInfo
pub fn set_light_shadow_caster_mode_method_info() -> &'static MethodInfo
pub fn reset_method_info() -> &'static MethodInfo
pub fn get_shadows_method_info() -> &'static MethodInfo
pub fn set_shadows_method_info() -> &'static MethodInfo
pub fn get_shadow_strength_method_info() -> &'static MethodInfo
pub fn set_shadow_strength_method_info() -> &'static MethodInfo
pub fn get_shadow_resolution_method_info() -> &'static MethodInfo
pub fn set_shadow_resolution_method_info() -> &'static MethodInfo
pub fn get_shadow_softness_method_info() -> &'static MethodInfo
pub fn set_shadow_softness_method_info() -> &'static MethodInfo
pub fn get_shadow_softness_fade_method_info() -> &'static MethodInfo
pub fn set_shadow_softness_fade_method_info() -> &'static MethodInfo
pub fn get_layer_shadow_cull_distances_method_info() -> &'static MethodInfo
pub fn set_layer_shadow_cull_distances_method_info() -> &'static MethodInfo
pub fn get_render_mode_method_info() -> &'static MethodInfo
pub fn set_render_mode_method_info() -> &'static MethodInfo
pub fn get_baked_index_method_info() -> &'static MethodInfo
pub fn set_baked_index_method_info() -> &'static MethodInfo
pub fn add_command_buffer_method_info() -> &'static MethodInfo
pub fn add_command_buffer_2_method_info() -> &'static MethodInfo
pub fn add_command_buffer_async_method_info() -> &'static MethodInfo
pub fn add_command_buffer_async_2_method_info() -> &'static MethodInfo
pub fn remove_command_buffer_method_info() -> &'static MethodInfo
pub fn remove_command_buffers_method_info() -> &'static MethodInfo
pub fn remove_all_command_buffers_method_info() -> &'static MethodInfo
pub fn get_command_buffers_method_info() -> &'static MethodInfo
pub fn get_command_buffer_count_method_info() -> &'static MethodInfo
pub fn get_pixel_light_count_method_info() -> &'static MethodInfo
pub fn set_pixel_light_count_method_info() -> &'static MethodInfo
pub fn get_lights_method_info() -> &'static MethodInfo
pub fn get_shadow_constant_bias_method_info() -> &'static MethodInfo
pub fn set_shadow_constant_bias_method_info() -> &'static MethodInfo
pub fn get_shadow_object_size_bias_method_info() -> &'static MethodInfo
pub fn set_shadow_object_size_bias_method_info() -> &'static MethodInfo
pub fn get_attenuate_method_info() -> &'static MethodInfo
pub fn set_attenuate_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn get_color_injected_method_info() -> &'static MethodInfo
pub fn set_color_injected_method_info() -> &'static MethodInfo
pub fn get_bounding_sphere_override_injected_method_info() -> &'static MethodInfo
pub fn set_bounding_sphere_override_injected_method_info() -> &'static MethodInfo
pub fn get_shadow_matrix_override_injected_method_info() -> &'static MethodInfo
pub fn set_shadow_matrix_override_injected_method_info() -> &'static MethodInfo
pub fn get_baking_output_injected_method_info() -> &'static MethodInfo
pub fn set_baking_output_injected_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for Light
impl ClassIdentity for Light
Source§impl FromIlInstance for Light
impl FromIlInstance for Light
fn from_il_instance(instance: IlInstance) -> Self
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
Caller swears
class is a subtype of Self or layout compatibleSource§impl ILight for Light
impl ILight for Light
fn m_baked_index(self) -> i32
fn set_m_baked_index(self, value: i32)
Source§impl IObject_2 for Light
impl IObject_2 for Light
fn m_cached_ptr(self) -> IntPtr
fn set_m_cached_ptr(self, value: IntPtr)
impl Copy for Light
impl IBehaviour for Light
impl IComponent for Light
impl IObject for Light
Auto Trait Implementations§
impl Freeze for Light
impl RefUnwindSafe for Light
impl !Send for Light
impl !Sync for Light
impl Unpin for Light
impl UnwindSafe for Light
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
Safety Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> DefaultInjectedMembers for T
impl<T> DefaultInjectedMembers for T
fn __injected_fields() -> Vec<InjectedFieldDescriptor>
fn __injected_methods() -> Vec<InjectedMethodDescriptor>
fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>
Source§impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, capacity: i32)where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn unchecked_add(self, item: T0)where
Self: Sized,
fn ensure_capacity(self, minimum: i32)where
Self: Sized,
Source§impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_location_name(self) -> Il2CppStringwhere
Self: Sized,
fn set_location_name(self, value: Il2CppString)where
Self: Sized,
fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle
fn ctor(self, op: AsyncOperationBase_1<T0>)where
Self: Sized,
fn get_download_status(self) -> DownloadStatuswhere
Self: Sized,
fn internal_get_download_status(
self,
visited: HashSet_1<Object>,
) -> DownloadStatuswhere
Self: Sized,
fn ctor_2(self, op: IAsyncOperation)where
Self: Sized,
fn ctor_3(self, op: IAsyncOperation, version: i32)where
Self: Sized,
fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)where
Self: Sized,
fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)where
Self: Sized,
fn acquire(self) -> AsyncOperationHandle_1<T0>where
Self: Sized,
fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn get_debug_name(self) -> Il2CppStringwhere
Self: Sized,
fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn equals(self, other: AsyncOperationHandle_1<T0>) -> boolwhere
Self: Sized,
fn get_hash_code(self) -> i32where
Self: Sized,
fn wait_for_completion(self) -> T0where
Self: Sized,
fn get_internal_op(self) -> AsyncOperationBase_1<T0>where
Self: Sized,
fn get_is_done(self) -> boolwhere
Self: Sized,
fn is_valid(self) -> boolwhere
Self: Sized,
fn get_percent_complete(self) -> f32where
Self: Sized,
fn get_reference_count(self) -> i32where
Self: Sized,
fn release(self)where
Self: Sized,
fn get_result(self) -> T0where
Self: Sized,
fn get_status(self) -> AsyncOperationStatuswhere
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<__T> IBehaviourMethods for __Twhere
__T: IBehaviour,
impl<__T> IBehaviourMethods for __Twhere
__T: IBehaviour,
Source§fn get_enabled(self) -> bool
fn get_enabled(self) -> bool
get_enabled() overloadSource§fn set_enabled(self, value: impl Into<bool>)
fn set_enabled(self, value: impl Into<bool>)
set_enabled(bool) overloadSource§fn get_is_active_and_enabled(self) -> bool
fn get_is_active_and_enabled(self) -> bool
get_isActiveAndEnabled() overloadSource§impl<__T> IComponentMethods for __Twhere
__T: IComponent,
impl<__T> IComponentMethods for __Twhere
__T: IComponent,
Source§fn get_transform(self) -> Transform
fn get_transform(self) -> Transform
get_transform() overloadSource§fn get_game_object(self) -> GameObject
fn get_game_object(self) -> GameObject
get_gameObject() overloadSource§fn get_component(self, type: impl Into<SystemType>) -> Component
fn get_component(self, type: impl Into<SystemType>) -> Component
GetComponent(::unity::SystemType) overloadSource§fn get_component_fast_path(
self,
type: impl Into<SystemType>,
one_further_than_result_value: impl Into<IntPtr>,
)
fn get_component_fast_path( self, type: impl Into<SystemType>, one_further_than_result_value: impl Into<IntPtr>, )
GetComponentFastPath(::unity::SystemType, ::unity::IntPtr) overloadfn get_component_2<M0: IlType + Copy + ClassIdentity>(self) -> M0
fn try_get_component<M0: IlType + Copy + ClassIdentity>( self, component: impl Into<*mut M0>, ) -> bool
Source§fn get_component_in_children(
self,
t: impl Into<SystemType>,
include_inactive: impl Into<bool>,
) -> Component
fn get_component_in_children( self, t: impl Into<SystemType>, include_inactive: impl Into<bool>, ) -> Component
GetComponentInChildren(::unity::SystemType, bool) overloadfn get_component_in_children_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> M0
fn get_component_in_children_3<M0: IlType + Copy + ClassIdentity>(self) -> M0
fn get_components_in_children<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> Array<M0>
fn get_components_in_children_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, result: impl Into<List_1<M0>>, )
fn get_components_in_children_3<M0: IlType + Copy + ClassIdentity>( self, ) -> Array<M0>
fn get_components_in_children_4<M0: IlType + Copy + ClassIdentity>( self, results: impl Into<List_1<M0>>, )
Source§fn get_component_in_parent(self, t: impl Into<SystemType>) -> Component
fn get_component_in_parent(self, t: impl Into<SystemType>) -> Component
GetComponentInParent(::unity::SystemType) overloadfn get_component_in_parent_2<M0: IlType + Copy + ClassIdentity>(self) -> M0
fn get_components_in_parent<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> Array<M0>
fn get_components_in_parent_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, results: impl Into<List_1<M0>>, )
fn get_components_in_parent_3<M0: IlType + Copy + ClassIdentity>( self, ) -> Array<M0>
Source§fn get_components_for_list_internal(
self,
search_type: impl Into<SystemType>,
result_list: impl Into<Object>,
)
fn get_components_for_list_internal( self, search_type: impl Into<SystemType>, result_list: impl Into<Object>, )
GetComponentsForListInternal(::unity::SystemType, crate::system::object::Object) overloadSource§fn get_components(
self,
type: impl Into<SystemType>,
results: impl Into<List_1<Component>>,
)
fn get_components( self, type: impl Into<SystemType>, results: impl Into<List_1<Component>>, )
GetComponents(::unity::SystemType, crate::system::collections::generic::list_1::List_1<crate::unity_engine::component::Component>) overloadfn get_components_2<M0: IlType + Copy + ClassIdentity>( self, results: impl Into<List_1<M0>>, )
Source§fn get_tag(self) -> Il2CppString
fn get_tag(self) -> Il2CppString
get_tag() overloadSource§fn set_tag(self, value: impl Into<Il2CppString>)
fn set_tag(self, value: impl Into<Il2CppString>)
set_tag(::unity::Il2CppString) overloadfn get_components_3<M0: IlType + Copy + ClassIdentity>(self) -> Array<M0>
Source§fn compare_tag(self, tag: impl Into<Il2CppString>) -> bool
fn compare_tag(self, tag: impl Into<Il2CppString>) -> bool
CompareTag(::unity::Il2CppString) overloadSource§impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
Source§impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>, get_enumerator_ret_type: i32)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> KeyValuePair_2<T0, T1>where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntrywhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_key(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_value(self) -> Objectwhere
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T1where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn resolve(self, resolver: IExposedPropertyTable) -> T0where
Self: Sized,
Source§impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, set: HashSet_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn initialize() -> IntPtr
Source§impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
Source§impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, initialize: bool)where
Self: Sized,
fn ctor_2(self, max_capacity: i32)where
Self: Sized,
fn add_range(self, items: IEnumerable_1<T0>)where
Self: Sized,
fn copy_to(self, array: Array<T0>, array_index: i32, count: i32)where
Self: Sized,
fn get_buffer(self, index: i32) -> Array<T0>where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn try_move(self) -> (bool, Array<T0>)where
Self: Sized,
fn allocate_buffer(self)where
Self: Sized,
Source§impl<__T> ILightMethods for __Twhere
__T: ILight,
impl<__T> ILightMethods for __Twhere
__T: ILight,
Source§fn set_type(self, value: impl Into<LightType>)
fn set_type(self, value: impl Into<LightType>)
set_type(crate::unity_engine::lighttype::LightType) overloadSource§fn get_shape(self) -> LightShape
fn get_shape(self) -> LightShape
get_shape() overloadSource§fn set_shape(self, value: impl Into<LightShape>)
fn set_shape(self, value: impl Into<LightShape>)
set_shape(crate::unity_engine::lightshape::LightShape) overloadSource§fn get_spot_angle(self) -> f32
fn get_spot_angle(self) -> f32
get_spotAngle() overloadSource§fn set_spot_angle(self, value: impl Into<f32>)
fn set_spot_angle(self, value: impl Into<f32>)
set_spotAngle(f32) overloadSource§fn get_inner_spot_angle(self) -> f32
fn get_inner_spot_angle(self) -> f32
get_innerSpotAngle() overloadSource§fn set_inner_spot_angle(self, value: impl Into<f32>)
fn set_inner_spot_angle(self, value: impl Into<f32>)
set_innerSpotAngle(f32) overloadSource§fn set_color(self, value: impl Into<Color>)
fn set_color(self, value: impl Into<Color>)
set_color(crate::unity_engine::color::Color) overloadSource§fn get_color_temperature(self) -> f32
fn get_color_temperature(self) -> f32
get_colorTemperature() overloadSource§fn set_color_temperature(self, value: impl Into<f32>)
fn set_color_temperature(self, value: impl Into<f32>)
set_colorTemperature(f32) overloadSource§fn get_use_color_temperature(self) -> bool
fn get_use_color_temperature(self) -> bool
get_useColorTemperature() overloadSource§fn set_use_color_temperature(self, value: impl Into<bool>)
fn set_use_color_temperature(self, value: impl Into<bool>)
set_useColorTemperature(bool) overloadSource§fn get_intensity(self) -> f32
fn get_intensity(self) -> f32
get_intensity() overloadSource§fn set_intensity(self, value: impl Into<f32>)
fn set_intensity(self, value: impl Into<f32>)
set_intensity(f32) overloadSource§fn get_bounce_intensity(self) -> f32
fn get_bounce_intensity(self) -> f32
get_bounceIntensity() overloadSource§fn set_bounce_intensity(self, value: impl Into<f32>)
fn set_bounce_intensity(self, value: impl Into<f32>)
set_bounceIntensity(f32) overloadSource§fn get_use_bounding_sphere_override(self) -> bool
fn get_use_bounding_sphere_override(self) -> bool
get_useBoundingSphereOverride() overloadSource§fn set_use_bounding_sphere_override(self, value: impl Into<bool>)
fn set_use_bounding_sphere_override(self, value: impl Into<bool>)
set_useBoundingSphereOverride(bool) overloadSource§fn get_bounding_sphere_override(self) -> Vector4
fn get_bounding_sphere_override(self) -> Vector4
get_boundingSphereOverride() overloadSource§fn set_bounding_sphere_override(self, value: impl Into<Vector4>)
fn set_bounding_sphere_override(self, value: impl Into<Vector4>)
set_boundingSphereOverride(crate::unity_engine::vector4::Vector4) overloadSource§fn get_use_view_frustum_for_shadow_caster_cull(self) -> bool
fn get_use_view_frustum_for_shadow_caster_cull(self) -> bool
get_useViewFrustumForShadowCasterCull() overloadSource§fn set_use_view_frustum_for_shadow_caster_cull(self, value: impl Into<bool>)
fn set_use_view_frustum_for_shadow_caster_cull(self, value: impl Into<bool>)
set_useViewFrustumForShadowCasterCull(bool) overloadSource§fn get_shadow_custom_resolution(self) -> i32
fn get_shadow_custom_resolution(self) -> i32
get_shadowCustomResolution() overloadSource§fn set_shadow_custom_resolution(self, value: impl Into<i32>)
fn set_shadow_custom_resolution(self, value: impl Into<i32>)
set_shadowCustomResolution(i32) overloadSource§fn get_shadow_bias(self) -> f32
fn get_shadow_bias(self) -> f32
get_shadowBias() overloadSource§fn set_shadow_bias(self, value: impl Into<f32>)
fn set_shadow_bias(self, value: impl Into<f32>)
set_shadowBias(f32) overloadSource§fn get_shadow_normal_bias(self) -> f32
fn get_shadow_normal_bias(self) -> f32
get_shadowNormalBias() overloadSource§fn set_shadow_normal_bias(self, value: impl Into<f32>)
fn set_shadow_normal_bias(self, value: impl Into<f32>)
set_shadowNormalBias(f32) overloadSource§fn get_shadow_near_plane(self) -> f32
fn get_shadow_near_plane(self) -> f32
get_shadowNearPlane() overloadSource§fn set_shadow_near_plane(self, value: impl Into<f32>)
fn set_shadow_near_plane(self, value: impl Into<f32>)
set_shadowNearPlane(f32) overloadSource§fn get_use_shadow_matrix_override(self) -> bool
fn get_use_shadow_matrix_override(self) -> bool
get_useShadowMatrixOverride() overloadSource§fn set_use_shadow_matrix_override(self, value: impl Into<bool>)
fn set_use_shadow_matrix_override(self, value: impl Into<bool>)
set_useShadowMatrixOverride(bool) overloadSource§fn get_shadow_matrix_override(self) -> Matrix4x4
fn get_shadow_matrix_override(self) -> Matrix4x4
get_shadowMatrixOverride() overloadSource§fn set_shadow_matrix_override(self, value: impl Into<Matrix4x4>)
fn set_shadow_matrix_override(self, value: impl Into<Matrix4x4>)
set_shadowMatrixOverride(crate::unity_engine::matrix4x4::Matrix4x4) overloadSource§fn set_flare(self, value: impl Into<Flare>)
fn set_flare(self, value: impl Into<Flare>)
set_flare(crate::unity_engine::flare::Flare) overloadSource§fn get_baking_output(self) -> LightBakingOutput
fn get_baking_output(self) -> LightBakingOutput
get_bakingOutput() overloadSource§fn set_baking_output(self, value: impl Into<LightBakingOutput>)
fn set_baking_output(self, value: impl Into<LightBakingOutput>)
set_bakingOutput(crate::unity_engine::lightbakingoutput::LightBakingOutput) overloadSource§fn get_culling_mask(self) -> i32
fn get_culling_mask(self) -> i32
get_cullingMask() overloadSource§fn set_culling_mask(self, value: impl Into<i32>)
fn set_culling_mask(self, value: impl Into<i32>)
set_cullingMask(i32) overloadSource§fn get_rendering_layer_mask(self) -> i32
fn get_rendering_layer_mask(self) -> i32
get_renderingLayerMask() overloadSource§fn set_rendering_layer_mask(self, value: impl Into<i32>)
fn set_rendering_layer_mask(self, value: impl Into<i32>)
set_renderingLayerMask(i32) overloadSource§fn get_light_shadow_caster_mode(self) -> LightShadowCasterMode
fn get_light_shadow_caster_mode(self) -> LightShadowCasterMode
get_lightShadowCasterMode() overloadSource§fn set_light_shadow_caster_mode(self, value: impl Into<LightShadowCasterMode>)
fn set_light_shadow_caster_mode(self, value: impl Into<LightShadowCasterMode>)
set_lightShadowCasterMode(crate::unity_engine::lightshadowcastermode::LightShadowCasterMode) overloadSource§fn get_shadows(self) -> LightShadows
fn get_shadows(self) -> LightShadows
get_shadows() overloadSource§fn set_shadows(self, value: impl Into<LightShadows>)
fn set_shadows(self, value: impl Into<LightShadows>)
set_shadows(crate::unity_engine::lightshadows::LightShadows) overloadSource§fn get_shadow_strength(self) -> f32
fn get_shadow_strength(self) -> f32
get_shadowStrength() overloadSource§fn set_shadow_strength(self, value: impl Into<f32>)
fn set_shadow_strength(self, value: impl Into<f32>)
set_shadowStrength(f32) overloadSource§fn get_shadow_resolution(self) -> LightShadowResolution
fn get_shadow_resolution(self) -> LightShadowResolution
get_shadowResolution() overloadSource§fn set_shadow_resolution(self, value: impl Into<LightShadowResolution>)
fn set_shadow_resolution(self, value: impl Into<LightShadowResolution>)
set_shadowResolution(crate::unity_engine::rendering::lightshadowresolution::LightShadowResolution) overloadSource§fn get_shadow_softness(self) -> f32
fn get_shadow_softness(self) -> f32
get_shadowSoftness() overloadSource§fn set_shadow_softness(self, value: impl Into<f32>)
fn set_shadow_softness(self, value: impl Into<f32>)
set_shadowSoftness(f32) overloadSource§fn get_shadow_softness_fade(self) -> f32
fn get_shadow_softness_fade(self) -> f32
get_shadowSoftnessFade() overloadSource§fn set_shadow_softness_fade(self, value: impl Into<f32>)
fn set_shadow_softness_fade(self, value: impl Into<f32>)
set_shadowSoftnessFade(f32) overloadSource§fn get_layer_shadow_cull_distances(self) -> Array<f32>
fn get_layer_shadow_cull_distances(self) -> Array<f32>
get_layerShadowCullDistances() overloadSource§fn set_layer_shadow_cull_distances(self, value: impl Into<Array<f32>>)
fn set_layer_shadow_cull_distances(self, value: impl Into<Array<f32>>)
set_layerShadowCullDistances(::unity::Array<f32>) overloadget_cookieSize() overloadset_cookieSize(f32) overloadget_cookie() overloadset_cookie(crate::unity_engine::texture::Texture) overloadSource§fn get_render_mode(self) -> LightRenderMode
fn get_render_mode(self) -> LightRenderMode
get_renderMode() overloadSource§fn set_render_mode(self, value: impl Into<LightRenderMode>)
fn set_render_mode(self, value: impl Into<LightRenderMode>)
set_renderMode(crate::unity_engine::lightrendermode::LightRenderMode) overloadSource§fn get_baked_index(self) -> i32
fn get_baked_index(self) -> i32
get_bakedIndex() overloadSource§fn set_baked_index(self, value: impl Into<i32>)
fn set_baked_index(self, value: impl Into<i32>)
set_bakedIndex(i32) overloadSource§fn add_command_buffer(
self,
evt: impl Into<LightEvent>,
buffer: impl Into<CommandBuffer>,
)
fn add_command_buffer( self, evt: impl Into<LightEvent>, buffer: impl Into<CommandBuffer>, )
AddCommandBuffer(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer) overloadSource§fn add_command_buffer_2(
self,
evt: impl Into<LightEvent>,
buffer: impl Into<CommandBuffer>,
shadow_pass_mask: impl Into<ShadowMapPass>,
)
fn add_command_buffer_2( self, evt: impl Into<LightEvent>, buffer: impl Into<CommandBuffer>, shadow_pass_mask: impl Into<ShadowMapPass>, )
AddCommandBuffer(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::shadowmappass::ShadowMapPass) overloadSource§fn add_command_buffer_async(
self,
evt: impl Into<LightEvent>,
buffer: impl Into<CommandBuffer>,
queue_type: impl Into<ComputeQueueType>,
)
fn add_command_buffer_async( self, evt: impl Into<LightEvent>, buffer: impl Into<CommandBuffer>, queue_type: impl Into<ComputeQueueType>, )
AddCommandBufferAsync(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::computequeuetype::ComputeQueueType) overloadSource§fn add_command_buffer_async_2(
self,
evt: impl Into<LightEvent>,
buffer: impl Into<CommandBuffer>,
shadow_pass_mask: impl Into<ShadowMapPass>,
queue_type: impl Into<ComputeQueueType>,
)
fn add_command_buffer_async_2( self, evt: impl Into<LightEvent>, buffer: impl Into<CommandBuffer>, shadow_pass_mask: impl Into<ShadowMapPass>, queue_type: impl Into<ComputeQueueType>, )
AddCommandBufferAsync(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::shadowmappass::ShadowMapPass, crate::unity_engine::rendering::computequeuetype::ComputeQueueType) overloadSource§fn remove_command_buffer(
self,
evt: impl Into<LightEvent>,
buffer: impl Into<CommandBuffer>,
)
fn remove_command_buffer( self, evt: impl Into<LightEvent>, buffer: impl Into<CommandBuffer>, )
RemoveCommandBuffer(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer) overloadSource§fn remove_command_buffers(self, evt: impl Into<LightEvent>)
fn remove_command_buffers(self, evt: impl Into<LightEvent>)
RemoveCommandBuffers(crate::unity_engine::rendering::lightevent::LightEvent) overloadSource§fn remove_all_command_buffers(self)
fn remove_all_command_buffers(self)
RemoveAllCommandBuffers() overloadSource§fn get_command_buffers(self, evt: impl Into<LightEvent>) -> Array<CommandBuffer>
fn get_command_buffers(self, evt: impl Into<LightEvent>) -> Array<CommandBuffer>
GetCommandBuffers(crate::unity_engine::rendering::lightevent::LightEvent) overloadSource§fn get_command_buffer_count(self) -> i32
fn get_command_buffer_count(self) -> i32
get_commandBufferCount() overloadSource§fn get_shadow_constant_bias(self) -> f32
fn get_shadow_constant_bias(self) -> f32
get_shadowConstantBias() overloadSource§fn set_shadow_constant_bias(self, value: impl Into<f32>)
fn set_shadow_constant_bias(self, value: impl Into<f32>)
set_shadowConstantBias(f32) overloadSource§fn get_shadow_object_size_bias(self) -> f32
fn get_shadow_object_size_bias(self) -> f32
get_shadowObjectSizeBias() overloadSource§fn set_shadow_object_size_bias(self, value: impl Into<f32>)
fn set_shadow_object_size_bias(self, value: impl Into<f32>)
set_shadowObjectSizeBias(f32) overloadSource§fn get_attenuate(self) -> bool
fn get_attenuate(self) -> bool
get_attenuate() overloadSource§fn set_attenuate(self, value: impl Into<bool>)
fn set_attenuate(self, value: impl Into<bool>)
set_attenuate(bool) overloadSource§fn get_color_injected(self) -> Color
fn get_color_injected(self) -> Color
get_color_Injected(*mutcrate::unity_engine::color::Color) overloadSource§fn set_color_injected(self) -> Color
fn set_color_injected(self) -> Color
set_color_Injected(*mutcrate::unity_engine::color::Color) overloadSource§fn get_bounding_sphere_override_injected(self) -> Vector4
fn get_bounding_sphere_override_injected(self) -> Vector4
get_boundingSphereOverride_Injected(*mutcrate::unity_engine::vector4::Vector4) overloadSource§fn set_bounding_sphere_override_injected(self) -> Vector4
fn set_bounding_sphere_override_injected(self) -> Vector4
set_boundingSphereOverride_Injected(*mutcrate::unity_engine::vector4::Vector4) overloadSource§fn get_shadow_matrix_override_injected(self) -> Matrix4x4
fn get_shadow_matrix_override_injected(self) -> Matrix4x4
get_shadowMatrixOverride_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overloadSource§fn set_shadow_matrix_override_injected(self) -> Matrix4x4
fn set_shadow_matrix_override_injected(self) -> Matrix4x4
set_shadowMatrixOverride_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4) overloadSource§fn get_baking_output_injected(self) -> LightBakingOutput
fn get_baking_output_injected(self) -> LightBakingOutput
get_bakingOutput_Injected(*mutcrate::unity_engine::lightbakingoutput::LightBakingOutput) overloadSource§fn set_baking_output_injected(self) -> LightBakingOutput
fn set_baking_output_injected(self) -> LightBakingOutput
set_bakingOutput_Injected(*mutcrate::unity_engine::lightbakingoutput::LightBakingOutput) overloadSource§impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: LinkedList_1<T0>)where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_runtime_serialization_i_deserialization_callback_on_deserialization(
self,
sender: Object,
)where
Self: Sized,
Source§impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_count(self) -> i32where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_item(self) -> (*mut T0, i32)where
Self: Sized,
fn get_unchecked(self) -> (*mut T0, i32)where
Self: Sized,
fn try_add(self) -> (bool, T0)where
Self: Sized,
fn try_copy_to(self, other: ListBuffer_1<T0>) -> boolwhere
Self: Sized,
Source§impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: List_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn move_next_rare(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<__T> IObjectMethods for __Twhere
__T: IObject,
impl<__T> IObjectMethods for __Twhere
__T: IObject,
Source§fn equals(self, obj: impl Into<Object>) -> bool
fn equals(self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overloadSource§fn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overloadSource§fn memberwise_clone(self) -> Object
fn memberwise_clone(self) -> Object
MemberwiseClone() overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overloadSource§fn field_getter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
) -> IlInstance
fn field_getter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, ) -> IlInstance
FieldGetter(::unity::Il2CppString, ::unity::Il2CppString, *mut::unity::IlInstance) overloadSource§fn field_setter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
val: impl Into<Object>,
)
fn field_setter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, val: impl Into<Object>, )
FieldSetter(::unity::Il2CppString, ::unity::Il2CppString, crate::system::object::Object) overloadSource§impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, value: T0, pool: ObjectPool_1_2<T0>)where
Self: Sized,
fn system_i_disposable_dispose(self)where
Self: Sized,
Source§impl<__T> IObject_2Methods for __Twhere
__T: IObject_2,
impl<__T> IObject_2Methods for __Twhere
__T: IObject_2,
Source§fn get_instance_id(self) -> i32
fn get_instance_id(self) -> i32
GetInstanceID() overloadSource§fn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overloadSource§fn equals(self, other: impl Into<Object>) -> bool
fn equals(self, other: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overloadSource§fn ensure_running_on_main_thread(self)
fn ensure_running_on_main_thread(self)
EnsureRunningOnMainThread() overloadSource§fn get_cached_ptr(self) -> IntPtr
fn get_cached_ptr(self) -> IntPtr
GetCachedPtr() overloadSource§fn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_name() overloadSource§fn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_name(::unity::Il2CppString) overloadSource§fn get_hide_flags(self) -> HideFlags
fn get_hide_flags(self) -> HideFlags
get_hideFlags() overloadSource§fn set_hide_flags(self, value: impl Into<HideFlags>)
fn set_hide_flags(self, value: impl Into<HideFlags>)
set_hideFlags(crate::unity_engine::hideflags::HideFlags) overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload