元编程参考文档

手绘

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