纹理混合
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 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理混合
- 所属包
- 图像处理