diff options
Diffstat (limited to 'doc/classes/Sky.xml')
-rw-r--r-- | doc/classes/Sky.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/classes/Sky.xml b/doc/classes/Sky.xml index 398a988d9e..72599a323d 100644 --- a/doc/classes/Sky.xml +++ b/doc/classes/Sky.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<class name="Sky" inherits="Resource" category="Core" version="3.2"> +<class name="Sky" inherits="Resource" version="4.0"> <brief_description> The base class for [PanoramaSky] and [ProceduralSky]. </brief_description> @@ -11,9 +11,12 @@ <methods> </methods> <members> + <member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="Sky.ProcessMode" default="0"> + </member> <member name="radiance_size" type="int" setter="set_radiance_size" getter="get_radiance_size" enum="Sky.RadianceSize" default="2"> The [Sky]'s radiance map size. The higher the radiance map size, the more detailed the lighting from the [Sky] will be. See [enum RadianceSize] constants for values. + [b]Note:[/b] Some hardware will have trouble with higher radiance sizes, especially [constant RADIANCE_SIZE_512] and above. Only use such high values on high-end hardware. </member> </members> <constants> @@ -41,5 +44,9 @@ <constant name="RADIANCE_SIZE_MAX" value="7" enum="RadianceSize"> Represents the size of the [enum RadianceSize] enum. </constant> + <constant name="PROCESS_MODE_QUALITY" value="0" enum="ProcessMode"> + </constant> + <constant name="PROCESS_MODE_REALTIME" value="1" enum="ProcessMode"> + </constant> </constants> </class> |