ImageCombineType列挙型(Enum)
列挙型(Enum)日本語解説は準備中
ひとことで言うと
ImageCombineTypeは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Enum for determining how two images are combined together.
選べる値(7)
| 名前 | 値 | 説明 |
|---|---|---|
Enum.ImageCombineType.BlendSourceOver | 1 | Blends pixels from the source with pixels from the destination using source over alpha blending. |
Enum.ImageCombineType.Overwrite | 2 | Overwrites all pixels in the destination image with pixels from the source image. |
Enum.ImageCombineType.Add | 3 | Adds pixels from the source and pixels from the destination together. Source RGB values are scaled by the source alpha, while source alpha is added directly to destination alpha. |
Enum.ImageCombineType.Multiply | 4 | Multiplies pixels from the source and pixels from the destination together. RGBA values are multiplied as values between 0 and 1. Values lower than 1 have a darkening effect on the image. |
Enum.ImageCombineType.AlphaBlend | 5 | Blends pixels from the source with pixels from the destination based on the alpha of the source pixels. Unlike **BlendSourceOver**, the destination color in **AlphaBlend** affects the resulting color of the image, regardless of the destination color's alpha. |
Enum.ImageCombineType.NormalMapBlend | 6 | Blends pixels from the source with the destination using alpha blending, then renormalizes the resulting RGB values as a tangent-space normal vector. |
Enum.ImageCombineType.Subtract | 7 | Subtracts pixels of the source from pixels of the destination. Source RGB values are scaled by the source alpha, while source alpha is subtracted directly from destination alpha. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(ImageCombineType)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。