Base node for geometry-based visual instances. Base node for geometry-based visual instances. Shares some common functionality like visibility and custom materials. Returns the [enum GeometryInstance.Flags] that have been set for this object. Overrides the bounding box of this node with a custom one. To remove it, set an [AABB] with all fields set to zero. Sets the [enum GeometryInstance.Flags] specified. See [enum GeometryInstance.Flags] for options. The selected shadow casting flag. See [enum ShadowCastingSetting] for possible values. The extra distance added to the GeometryInstance's bounding box ([AABB]) to increase its cull box. When disabled, the mesh will be taken into account when computing indirect lighting, but the resulting lightmap will not be saved. Useful for emissive only materials or shadow casters. Scale factor for the generated baked lightmap. Useful for adding detail to certain mesh instances. 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 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] or [BakedLightmap]. The generated lightmap texture will have the original size. The generated lightmap texture will be twice as large, on each axis. The generated lightmap texture will be 4 times as large, on each axis. The generated lightmap texture will be 8 times as large, on each axis. Will not cast any shadows. Will cast shadows from all visible faces in the GeometryInstance. Will take culling into account, so faces not being rendered will not be taken into account when shadow casting. Will cast shadows from all visible faces in the GeometryInstance. Will not take culling into account, so all faces will be taken into account when shadow casting. 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 will be. 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]. Represents the size of the [enum Flags] enum.