元编程参考文档

材质图层

2 个节点

本页内容 2

图层

函数

A layer for a layer stack: a material shown where the mask is white, at an opacity.

签名
图层 -> Material Layer
    材质: PBR Material
    蒙版: Texture
    不透明度: 数字
MaterialLayer Layer(
    PbrMaterial material,
    Texture mask,
    double opacity = 1)

参数

名称类型默认值说明
材质PBR Material—The layer's material.
蒙版Texture—Where it shows; optional, everywhere when absent.
不透明度数字1How strongly it shows, 0 to 1.

返回

结果Material Layer
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
材质图层
所属包
图像处理

图层栈

函数

Lays layers over a base material in order, the last on top: each blends every channel - colour, height, roughness, metallic, normal - by its mask and opacity.

签名
图层栈 -> PBR Material
    基础材质: PBR Material
    图层: Material Layer 数组
PbrMaterial LayerStack(
    PbrMaterial baseMaterial,
    MaterialLayer[] layers)

参数

名称类型默认值说明
基础材质PBR Material—The bottom of the stack.
图层Material Layer 数组—The layers, bottom to top.

返回

结果PBR Material
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
材质图层
所属包
图像处理