元編程參考文件

材質圖層

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
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
材質圖層
所屬包
影像處理