Click or drag to resize

GeometryInstanceShadowCastingSetting Enumeration

[Missing <summary> documentation for "T:Godot.GeometryInstance.ShadowCastingSetting"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum ShadowCastingSetting
Members
  Member nameValueDescription
Off0

Will not cast any shadows.

On1

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.

DoubleSided2

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.

ShadowsOnly3

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.

See Also