Struct roblox::instance::Lighting [−][src]
pub struct Lighting<'a> {}Show 32 fields
pub ambient: Color3, pub brightness: f32, pub clock_time: f32, pub color_shift_bottom: Color3, pub color_shift_top: Color3, pub environment_diffuse_scale: f32, pub environment_specular_scale: f32, pub exposure_compensation: f32, pub fog_color: Color3, pub fog_end: f32, pub fog_start: f32, pub geographic_latitude: f32, pub global_shadows: bool, pub outdoor_ambient: Color3, pub shadow_softness: f32, pub technology: Technology, pub temp_use_new_sky_removal_behaviour: bool, pub time_of_day: &'a str, pub archivable: bool, pub class_name: &'a str, pub name: &'a str, pub parent: Option<InstanceRef>, pub roblox_locked: bool, pub source_asset_id: i64, pub lighting_changed: RBXScriptSignal<bool>, pub ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub attribute_changed: RBXScriptSignal<&'a str>, pub changed: RBXScriptSignal<&'a str>, pub child_added: RBXScriptSignal<Option<InstanceRef>>, pub child_removed: RBXScriptSignal<Option<InstanceRef>>, pub descendant_added: RBXScriptSignal<Option<InstanceRef>>, pub descendant_removing: RBXScriptSignal<Option<InstanceRef>>,
Expand description
The Lighting Instance Class
Fields
ambient: Color3
brightness: f32
clock_time: f32
color_shift_bottom: Color3
color_shift_top: Color3
environment_diffuse_scale: f32
environment_specular_scale: f32
exposure_compensation: f32
fog_color: Color3
fog_end: f32
fog_start: f32
geographic_latitude: f32
global_shadows: bool
outdoor_ambient: Color3
shadow_softness: f32
technology: Technology
temp_use_new_sky_removal_behaviour: bool
time_of_day: &'a str
archivable: bool
Inherited from Instance
class_name: &'a str
Inherited from Instance
name: &'a str
Inherited from Instance
parent: Option<InstanceRef>
Inherited from Instance
roblox_locked: bool
Inherited from Instance
source_asset_id: i64
Inherited from Instance
lighting_changed: RBXScriptSignal<bool>
ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>
Inherited from Instance
attribute_changed: RBXScriptSignal<&'a str>
Inherited from Instance
changed: RBXScriptSignal<&'a str>
Inherited from Instance
child_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
child_removed: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_removing: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
Implementations
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Lighting<'a>
impl<'a> UnwindSafe for Lighting<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more