# Enum.AlphaMode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/AlphaMode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/AlphaMode

Used by [`SurfaceAppearance.AlphaMode`](https://rapi.sleaze.dev/classes/SurfaceAppearance.md) to determine how the alpha channel of the [`SurfaceAppearance.ColorMap`](https://rapi.sleaze.dev/classes/SurfaceAppearance.md) of a [`SurfaceAppearance`](https://rapi.sleaze.dev/classes/SurfaceAppearance.md) is used.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Overlay` | 0 | Overlays the `ColorMap` on top of the underlying part color based on the map's alpha channel. |
| `Transparency` | 1 | Uses the `ColorMap` alpha channel to control the transparency of the surface. |
| `TintMask` | 2 | Uses the `ColorMap` alpha channel to control the amount of [`SurfaceAppearance.Color`](https://rapi.sleaze.dev/classes/SurfaceAppearance.md) tinting. |
| `Opaque` | 3 | Not browsable. Ignores the `ColorMap` alpha channel and assumes an opacity value of 1 everywhere. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [MaterialVariant](https://rapi.sleaze.dev/classes/MaterialVariant.md): property `AlphaMode`
- [SurfaceAppearance](https://rapi.sleaze.dev/classes/SurfaceAppearance.md): property `AlphaMode`
