rojo/.cursor/rules/roblox/reference/engine/enums/AlphaMode.yaml
2026-02-02 12:08:47 -06:00

43 lines
1.4 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: AlphaMode
type: enum
summary: |
Used by `Class.SurfaceAppearance.AlphaMode` to determine how the alpha channel
of the `Class.SurfaceAppearance.ColorMap` of a `Class.SurfaceAppearance` is
used.
description: |
Used by `Class.SurfaceAppearance.AlphaMode` to determine how the alpha channel
of the `Class.SurfaceAppearance.ColorMap` of a `Class.SurfaceAppearance` is
used.
code_samples: []
tags: []
deprecation_message: ''
items:
- name: Overlay
summary: |
Overlays the `Class.SurfaceAppearance.ColorMap|ColorMap` on top of the
underlying part color based on the map's alpha channel.
<img src="/assets/engine-api/enums/AlphaMode/Fern-Overlay.png" width="512" />
value: 0
tags: []
deprecation_message: ''
- name: Transparency
summary: |
Uses the `Class.SurfaceAppearance.ColorMap|ColorMap` alpha channel to
control the transparency of the surface.
<img src="/assets/engine-api/enums/AlphaMode/Fern-Cutout.png" width="512" />
value: 1
tags: []
deprecation_message: ''
- name: TintMask
summary: |
Uses the `Class.SurfaceAppearance.ColorMap|ColorMap` alpha channel to
control the amount of `Class.SurfaceAppearance.Color` tinting.
value: 2
tags: []
deprecation_message: ''