LampSkySettings(bpy_struct)

base class — bpy_struct

class bpy.types.LampSkySettings(bpy_struct)

Sky related settings for a sun lamp

atmosphere_distance_factor

Multiplier to convert blender units to physical distance

Type:float in [0, 500], default 0.0
atmosphere_extinction

Extinction scattering contribution factor

Type:float in [0, 1], default 0.0
atmosphere_inscattering

Scatter contribution factor

Type:float in [0, 1], default 0.0
atmosphere_turbidity

Sky turbidity

Type:float in [1, 30], default 0.0
backscattered_light

Backscattered light

Type:float in [-1, 1], default 0.0
horizon_brightness

Horizon brightness

Type:float in [0, 20], default 0.0
sky_blend

Blend factor with sky

Type:float in [0, 2], default 0.0
sky_blend_type

Blend mode for combining sun sky with world sky

Type:enum in [‘MIX’, ‘ADD’, ‘MULTIPLY’, ‘SUBTRACT’, ‘SCREEN’, ‘DIVIDE’, ‘DIFFERENCE’, ‘DARKEN’, ‘LIGHTEN’, ‘OVERLAY’, ‘DODGE’, ‘BURN’, ‘HUE’, ‘SATURATION’, ‘VALUE’, ‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
sky_color_space

Color space to use for internal XYZ->RGB color conversion

Type:enum in [‘SMPTE’, ‘REC709’, ‘CIE’], default ‘SMPTE’
sky_exposure

Strength of sky shading exponential exposure correction

Type:float in [0, 20], default 0.0
spread

Horizon Spread

Type:float in [0, 10], default 0.0
sun_brightness

Sun brightness

Type:float in [0, 10], default 0.0
sun_intensity

Sun intensity

Type:float in [0, 10], default 0.0
sun_size

Sun size

Type:float in [0, 10], default 0.0
use_atmosphere

Apply sun effect on atmosphere

Type:boolean, default False
use_sky

Apply sun effect on sky

Type:boolean, default False
classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions

References