Base node for geometry-based visual instances.
Base node for geometry-based visual instances. Shares some common functionality like visibility and custom materials.
Overrides the bounding box of this node with a custom one. To remove it, set an [AABB] with all fields set to zero.
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.
The GeometryInstance's max LOD distance.
The GeometryInstance's max LOD margin.
The GeometryInstance's min LOD distance.
The GeometryInstance's min LOD margin.
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 [code]true[/code], this GeometryInstance will be used when baking lights using a [GIProbe] and/or any other form of baked lighting.
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 allow the GeometryInstance to be used when baking lights using a [GIProbe] and/or any other form of baked lighting.
Unused in this class, exposed for consistency with [enum VisualServer.InstanceFlags].
Represents the size of the [enum Flags] enum.