Light3D¶
Inherits: VisualInstance3D < Node3D < Node < Object
Inherited By: DirectionalLight3D, OmniLight3D, SpotLight3D
Provides a base class for different kinds of light nodes.
Description¶
Light3D is the abstract base class for light nodes. As it can't be instantiated, it shouldn't be used directly. Other types of light nodes inherit from it. Light3D contains the common variables and parameters used for lighting.
Tutorials¶
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods¶
get_correlated_color ( ) const |
|
void |
Enumerations¶
enum Param:
Param PARAM_ENERGY = 0
Constant for accessing light_energy.
Param PARAM_INDIRECT_ENERGY = 1
Constant for accessing light_indirect_energy.
Param PARAM_VOLUMETRIC_FOG_ENERGY = 2
Constant for accessing light_volumetric_fog_energy.
Param PARAM_SPECULAR = 3
Constant for accessing light_specular.
Param PARAM_RANGE = 4
Constant for accessing O