SpatialMaterialDepthDrawMode Enumeration |
[Missing <summary> documentation for "T:Godot.SpatialMaterial.DepthDrawMode"]
Namespace: Godot
public enum DepthDrawMode
Member name | Value | Description | |
---|---|---|---|
OpaqueOnly | 0 | Default depth draw mode. Depth is drawn only for opaque objects. | |
Always | 1 | Depth draw is calculated for both opaque and transparent objects. | |
Disabled | 2 | No depth draw. | |
AlphaOpaquePrepass | 3 | For transparent objects, an opaque pass is made first with the opaque parts, then transparency is drawn. |