GeometryInstanceShadowCastingSetting Enumeration |
[Missing <summary> documentation for "T:Godot.GeometryInstance.ShadowCastingSetting"]
Namespace: Godot
public enum ShadowCastingSetting
Member name | Value | Description | |
---|---|---|---|
Off | 0 | Will not cast any shadows. | |
On | 1 | 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. | |
DoubleSided | 2 | 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. | |
ShadowsOnly | 3 | 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. |