ShaderNodeVolumeCoefficients(ShaderNode)
base classes — bpy_struct, Node, NodeInternal, ShaderNode
- class bpy.types.ShaderNodeVolumeCoefficients(ShaderNode)
Model all three physical processes in a volume, represented by their coefficients
- phase
Phase function for the scattered light (default
'HENYEY_GREENSTEIN')HENYEY_GREENSTEINHenyey-Greenstein – Henyey-Greenstein, default phase function for the scattering of light.FOURNIER_FORANDFournier-Forand – Fournier-Forand phase function, used for the scattering of light in underwater environments.DRAINEDraine – Draine phase functions, mostly used for the scattering of light in interstellar dust.RAYLEIGHRayleigh – Rayleigh phase function, mostly used for particles smaller than the wavelength of light, such as scattering of sunlight in earth’s atmosphere.MIEMie – Approximation of Mie scattering in water droplets, used for scattering in clouds and fog.
- Type:
Literal[‘HENYEY_GREENSTEIN’, ‘FOURNIER_FORAND’, ‘DRAINE’, ‘RAYLEIGH’, ‘MIE’]
- 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
|