AlphaMode2d
Opaque
Mask
- f32
Blend
Description
Sets how a 2d material's base color alpha channel is used for transparency. Currently, this only works with [
Mesh2d
]. Sprites are always transparent.This is very similar to
AlphaMode
but this only applies to 2d meshes. We use a separate type because 2d doesn't support all the transparency modes that 3d does.