元編程參考文件

手繪

1 個節點

本頁內容 1

手繪

函數

A mask painted by hand: open the node's painter, and paint on the model - turning round it, across its seams - or on the flat texture; each stroke is a step Undo takes back. The strokes are kept on the node, so the mask comes out sharp at any size.

簽名
手繪 -> (結果: Texture, 顏色: Texture, 筆畫: Paint Strokes)
    _self: IDivookaNode
    網格: MaterialMesh
    尺寸: 整數
    印章: Texture
    底下的筆畫: Paint Strokes
Texture PaintByHand(
    IDivookaNode _self,
    out Texture color,
    out PaintStrokes strokes,
    MaterialMesh mesh,
    int size = 1024,
    Texture stamp,
    PaintStrokes under)

參數

名稱型別預設值說明
_selfIDivookaNode—The node, whose strokes are read.
網格MaterialMesh—The model to paint on; without one, the painter paints on a texture that tiles.
尺寸整數1024The mask's width and height in pixels.
印章Texture—A picture the brush can stamp - a brush alpha, or a decal to press on.
底下的筆畫Paint Strokes—Strokes to paint over, made by other nodes: the brush paints over them and its eraser rubs them out.

返回

結果Texture
顏色Texture
筆畫Paint Strokes
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
手繪
所屬包
影像處理