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

View Roblox documentation

Fields

ambient: Color3brightness: f32clock_time: f32color_shift_bottom: Color3color_shift_top: Color3environment_diffuse_scale: f32environment_specular_scale: f32exposure_compensation: f32fog_color: Color3fog_end: f32fog_start: f32geographic_latitude: f32global_shadows: booloutdoor_ambient: Color3shadow_softness: f32technology: Technologytemp_use_new_sky_removal_behaviour: booltime_of_day: &'a strarchivable: 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

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

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.