From b84b46d5df0ba7634bb1d07c525146c5bb10017a Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 21 Aug 2019 14:04:56 +0200 Subject: [PATCH] Improve the GeometryInstance class documentation This adds a mention that LOD properties currently have no effect. --- doc/classes/GeometryInstance.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/classes/GeometryInstance.xml b/doc/classes/GeometryInstance.xml index b108e1be7ce..02f2c27043d 100644 --- a/doc/classes/GeometryInstance.xml +++ b/doc/classes/GeometryInstance.xml @@ -46,22 +46,26 @@ The GeometryInstance's max LOD distance. + [b]Note:[/b] This property currently has no effect. The GeometryInstance's max LOD margin. + [b]Note:[/b] This property currently has no effect. The GeometryInstance's min LOD distance. + [b]Note:[/b] This property currently has no effect. The GeometryInstance's min LOD margin. + [b]Note:[/b] This property currently has no effect. The material override for the whole geometry. - If there is a material in [code]material_override[/code], it will be used instead of any material set in any material slot of the mesh. + If a material is assigned to this property, it will be used instead of any material set in any material slot of the mesh. - If [code]true[/code], this GeometryInstance will be used when baking lights using a [GIProbe] and/or any other form of baked lighting. + If [code]true[/code], this GeometryInstance will be used when baking lights using a [GIProbe] or [BakedLightmap]. @@ -78,10 +82,10 @@ Will only show the shadows casted from this object. - In other words: The actual mesh will not be visible, only the shadows casted from the mesh. + In other words, the actual mesh will not be visible, only the shadows casted from the mesh will be. - Will allow the GeometryInstance to be used when baking lights using a [GIProbe] and/or any other form of baked lighting. + Will allow the GeometryInstance to be used when baking lights using a [GIProbe] or [BakedLightmap]. Unused in this class, exposed for consistency with [enum VisualServer.InstanceFlags].