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.
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].
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].
Unused in this class, exposed for consistency with [enum VisualServer.InstanceFlags].
Represents the size of the [enum Flags] enum.