diff --git a/doc/classes/Light2D.xml b/doc/classes/Light2D.xml index 1386fc53d91..cc1882c7a4e 100644 --- a/doc/classes/Light2D.xml +++ b/doc/classes/Light2D.xml @@ -340,46 +340,67 @@ + The Light2D's [Color]. + If [code]true[/code] Light2D will only appear when editing the scene. Default value: [code]false[/code]. + If [code]true[/code] Light2D will emit light. Default value: [code]true[/code]. + The Light2D's energy value. The larger the value, the stronger the light. + The Light2D's mode. See MODE_* constants for values. + The offset of the Light2D's [code]texture[/code]. + The height of the Light2D. Used with 2D normal mapping. + The layer mask. Only objects with a matching mask will be affected by the Light2D. + Maximum layer value of objects that are affected by the Light2D. Default value: [code]0[/code]. + Minimum layer value of objects that are affected by the Light2D. Default value: [code]0[/code]. + Maximum [code]Z[/code] value of objects that are affected by the Light2D. Default value: [code]1024[/code]. + Minimum [code]z[/code] value of objects that are affected by the Light2D. Default value: [code]-1024[/code]. + Shadow buffer size. Default value: [code]2048[/code]. + [Color] of shadows cast by the Light2D. + If [code]true[/code] the Light2D will cast shadows. Default value: [code]false[/code]. + Shadow filter type. May be one of [code][None, PCF5, PCF9, PCF13][/code]. Default value: [code]None[/code]. + Smoothing value for shadows. + Smooth shadow gradient length. + The shadow mask. Used with [LightOccluder2D] to cast shadows. Only occluders with a matching shadow mask will cast shadows. + [Texture] used for the Light2D's appearance. + The [code]texture[/code]'s scale factor.