From f7f6115f7627df24a08a9a0882b2f573cc838eb1 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 22 Jun 2019 01:04:47 +0200 Subject: Proofread and improve the whole class reference - Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies --- doc/classes/Light2D.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/classes/Light2D.xml') diff --git a/doc/classes/Light2D.xml b/doc/classes/Light2D.xml index a83b48da88..1d7ccb020e 100644 --- a/doc/classes/Light2D.xml +++ b/doc/classes/Light2D.xml @@ -4,7 +4,8 @@ Casts light in a 2D environment. - Casts light in a 2D environment. Light is defined by a (usually grayscale) texture, a color, an energy value, a mode (see constants), and various other parameters (range and shadows-related). Note that Light2D can be used as a mask. + Casts light in a 2D environment. Light is defined by a (usually grayscale) texture, a color, an energy value, a mode (see constants), and various other parameters (range and shadows-related). + [b]Note:[/b] Light2D can also be used as a mask. http://docs.godotengine.org/en/latest/tutorials/2d/2d_lights_and_shadows.html @@ -25,7 +26,7 @@ The Light2D's energy value. The larger the value, the stronger the light. - The Light2D's mode. See MODE_* constants for values. + The Light2D's mode. See [code]MODE_*[/code] constants for values. The offset of the Light2D's [code]texture[/code]. @@ -58,7 +59,7 @@ If [code]true[/code], the Light2D will cast shadows. Default value: [code]false[/code]. - Shadow filter type. Use [enum ShadowFilter] constants as values. Default value: [constant SHADOW_FILTER_NONE]. + Shadow filter type. See [enum ShadowFilter] for possible values. Default value: [constant SHADOW_FILTER_NONE]. Smoothing value for shadows. -- cgit v1.2.3