AlphaMode
class AlphaMode
Defines the constants for a Material's alpha mode, which corresponds to the glTF specification.
Summary
Public companion properties |
|
|---|---|
AlphaMode |
The material is alpha-blended with the background. |
AlphaMode |
The material is opaque where alpha is greater than or equal to cutoff, otherwise it is discarded. |
AlphaMode |
The material is fully opaque and the alpha channel is ignored. |
Public companion properties
BLEND
val BLEND: AlphaMode
The material is alpha-blended with the background. Corresponds to glTF's BLEND alpha mode.
MASK
val MASK: AlphaMode
The material is opaque where alpha is greater than or equal to cutoff, otherwise it is discarded. Corresponds to glTF's MASK alpha mode.
OPAQUE
val OPAQUE: AlphaMode
The material is fully opaque and the alpha channel is ignored. Corresponds to glTF's OPAQUE alpha mode.