紋理混合
5 個節點
本頁內容 5
算術
函數Arithmetic between two textures, pixel by pixel.
簽名
算術 -> Texture
甲: Texture
乙: Texture
運算: Texture OperationTexture Arithmetic(
Texture a,
Texture b,
TextureOperation operation = TextureOperation.Add)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 甲 | Texture | — | The first operand. |
| 乙 | Texture | — | The second operand. |
| 運算 | Texture Operation | 加 | What to compute. |
返回
| 結果 | Texture |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 紋理混合
- 所屬包
- 影像處理
與數值算術
函數Arithmetic between a texture and a number, pixel by pixel.
簽名
與數值算術 -> Texture
紋理: Texture
值: 數字
運算: Texture OperationTexture ArithmeticWithValue(
Texture texture,
double value = 0.5,
TextureOperation operation = TextureOperation.Multiply)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 紋理 | Texture | — | The first operand. |
| 值 | 數字 | 0.5 | The second operand. |
| 運算 | Texture Operation | 乘 | What to compute. |
返回
| 結果 | Texture |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 紋理混合
- 所屬包
- 影像處理
混合
函數Lays the foreground over the background by a blend mode, as much as the opacity says and only where the mask is white. With no mask, everywhere.
簽名
混合 -> Texture
前景: Texture
背景: Texture
模式: Blend Mode
不透明度: 數字
蒙版: TextureTexture Blend(
Texture foreground,
Texture background,
BlendMode mode = BlendMode.Normal,
double opacity = 1,
Texture mask)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 前景 | Texture | — | What is laid on top. |
| 背景 | Texture | — | What it is laid on; the result takes its size. |
| 模式 | Blend Mode | 正常 | How the two combine. |
| 不透明度 | 數字 | 1 | How much of the blend shows, 0 to 1. |
| 蒙版 | Texture | — | Where it shows: white fully, black not at all. Optional. |
返回
| 結果 | Texture |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 紋理混合
- 所屬包
- 影像處理
高度混合
函數The higher of two heights at each pixel, with a soft seam: how stones sit in mortar, how two layers of rock meet. Also answers which one won, as a mask that is white where the second is on top.
簽名
高度混合 -> (結果: Texture, 蒙版: Texture)
高度甲: Texture
高度乙: Texture
偏移: 數字
對比度: 數字Texture HeightBlend(
Texture heightA,
Texture heightB,
out Texture mask,
double offset = 0,
double contrast = 0.9)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 高度甲 | Texture | — | The first height. |
| 高度乙 | Texture | — | The second height. |
| 偏移 | 數字 | 0 | Raises the second height before comparing, -1 to 1. |
| 對比度 | 數字 | 0.9 | How sharp the seam is, 0 (a broad mix) to 1 (a hard edge). |
返回
| 結果 | Texture |
| 蒙版 | Texture |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 紋理混合
- 所屬包
- 影像處理
按蒙版插值
函數Mixes from the first texture to the second by the mask: black takes the first, white the second.
簽名
按蒙版插值 -> Texture
第一個: Texture
第二個: Texture
蒙版: TextureTexture Lerp(Texture first, Texture second, Texture mask)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 第一個 | Texture | — | Where the mask is black. |
| 第二個 | Texture | — | Where the mask is white. |
| 蒙版 | Texture | — | The mix at each pixel. |
返回
| 結果 | Texture |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 紋理混合
- 所屬包
- 影像處理