ShaderNodeTexSky(ShaderNode)
base classes — bpy_struct, Node, NodeInternal, ShaderNode
- class bpy.types.ShaderNodeTexSky(ShaderNode)
Generate a procedural sky texture
- aerosol_density
Density of dust, pollution and water droplets. 0 means no aerosols, 1 means urban city aerosols
(in [0, 1000], default 1.0)
- Type:
float
- air_density
Density of air molecules. 0 means no air, 1 means urban city air
(in [0, 1000], default 1.0)
- Type:
float
- altitude
Height from sea level (in [0, 100000], default 100.0)
- Type:
float
- color_mapping
Color mapping settings (readonly, never None)
- Type:
- ground_albedo
Ground color that is subtly reflected in the sky (in [0, 1], default 0.0)
- Type:
float
- ozone_density
Density of ozone layer. 0 means no ozone, 1 means urban city ozone
(in [0, 1000], default 1.0)
- Type:
float
- sky_type
Which sky model should be used (default
'PREETHAM')SINGLE_SCATTERINGSingle Scattering – Single scattering sky model.MULTIPLE_SCATTERINGMultiple Scattering – Multiple scattering sky model (more accurate).PREETHAMPreetham – Preetham 1999 (Legacy).HOSEK_WILKIEHosek / Wilkie – Hosek / Wilkie 2012 (Legacy).
- Type:
Literal[‘SINGLE_SCATTERING’, ‘MULTIPLE_SCATTERING’, ‘PREETHAM’, ‘HOSEK_WILKIE’]
- sun_direction
Direction from where the sun is shining (array of 3 items, in [-inf, inf], default (0.0, 0.0, 1.0))
- Type:
- sun_disc
Include the sun itself in the output (default True)
- Type:
bool
- sun_elevation
Sun angle from horizon (in [-inf, inf], default 0.261799)
- Type:
float
- sun_intensity
Strength of Sun (in [0, 1000], default 1.0)
- Type:
float
- sun_rotation
Rotation of sun around zenith (in [-inf, inf], default 0.0)
- Type:
float
- sun_size
Size of sun disc (in [0, 1.5708], default 0.00951204)
- Type:
float
- texture_mapping
Texture coordinate mapping settings (readonly, never None)
- Type:
- turbidity
Atmospheric turbidity (in [1, 10], default 0.0)
- Type:
float
- classmethod is_registered_node_type()
True if a registered node type
- Returns:
Result
- Return type:
bool
- classmethod input_template(index)
Input socket template
- Parameters:
index (int) – Index, (in [0, inf])
- Returns:
result
- Return type:
- classmethod output_template(index)
Output socket template
- Parameters:
index (int) – Index, (in [0, inf])
- Returns:
result
- Return type:
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type
Inherited Properties
Inherited Functions
|