diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-12 09:59:06 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-12 12:37:13 +0100 |
commit | 0e3d6257377d9f73520e5ccdb7677fde23be3398 (patch) | |
tree | 900f2168fcdaadf1fe3532186bbfef273701fd51 /doc/classes/GeometryInstance.xml | |
parent | 0c7fc80cc19fe9cd609b145245b1bb70f6a41e2e (diff) | |
download | redot-engine-0e3d6257377d9f73520e5ccdb7677fde23be3398.tar.gz |
doc: Sync classref with current source
Lots of internal API changes and some docstrings were lost in the conversion.
I manually salvaged many of them but for all the rendering-related ones, an
additional pass is needed.
Added missing enum bindings in BaseMaterial3D and VisualServer.
Diffstat (limited to 'doc/classes/GeometryInstance.xml')
-rw-r--r-- | doc/classes/GeometryInstance.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/classes/GeometryInstance.xml b/doc/classes/GeometryInstance.xml index fccd75edad..8259462531 100644 --- a/doc/classes/GeometryInstance.xml +++ b/doc/classes/GeometryInstance.xml @@ -66,8 +66,10 @@ The material override for the whole geometry. If a material is assigned to this property, it will be used instead of any material set in any material slot of the mesh. </member> + <member name="use_dynamic_gi" type="bool" setter="set_flag" getter="get_flag" default="false"> + </member> <member name="use_in_baked_light" type="bool" setter="set_flag" getter="get_flag" default="false"> - If [code]true[/code], this GeometryInstance will be used when baking lights using a [GIProbe] or [BakedLightmap]. + If [code]true[/code], this GeometryInstance will be used when baking lights using a [GIProbe]. </member> </members> <constants> @@ -87,12 +89,14 @@ In other words, the actual mesh will not be visible, only the shadows casted from the mesh will be. </constant> <constant name="FLAG_USE_BAKED_LIGHT" value="0" enum="Flags"> - Will allow the GeometryInstance to be used when baking lights using a [GIProbe] or [BakedLightmap]. + Will allow the GeometryInstance to be used when baking lights using a [GIProbe]. + </constant> + <constant name="FLAG_USE_DYNAMIC_GI" value="1" enum="Flags"> </constant> - <constant name="FLAG_DRAW_NEXT_FRAME_IF_VISIBLE" value="1" enum="Flags"> + <constant name="FLAG_DRAW_NEXT_FRAME_IF_VISIBLE" value="2" enum="Flags"> Unused in this class, exposed for consistency with [enum VisualServer.InstanceFlags]. </constant> - <constant name="FLAG_MAX" value="2" enum="Flags"> + <constant name="FLAG_MAX" value="3" enum="Flags"> Represents the size of the [enum Flags] enum. </constant> </constants> |