setBlendingMode
Sets the blending mode of the UnlitMaterial.
The blending mode determines how opacity and opacityThreshold are interpreted:
BlendingMode.OPAQUE:
opacityis ignored.BlendingMode.TRANSPARENT / BlendingMode.ADD / BlendingMode.FADE:
opacitycontrols how the material blends with the background;opacityThresholdis ignored.BlendingMode.MASKED:
opacityThresholdis used to clip pixels (alpha test) instead of producing semi-transparent results.
Parameters
blendingMode
The BlendingMode to use.
See also
Throws
IllegalStateException
If this material is closed or invalid.