纹理形状
1 个节点
本页内容 1
形状
函数A shape drawn in every cell of a grid: filled shapes (square, disc, polygon, star, ring) are white inside with a smooth edge; rounded ones (dome, bell, pyramid, cone) rise from 0 at their edge to 1 at their centre.
签名
形状 -> Texture
种类: Shape Kind
平铺次数: 整数
尺度: 数字
边数: 整数
旋转: 数字
尺寸: 整数Texture Shape(
ShapeKind kind = ShapeKind.Disc,
int tiles = 1,
double scale = 0.9,
int sides = 6,
double rotation = 0,
int size = 1024)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 种类 | Shape Kind | 圆盘 | Which shape. |
| 平铺次数 | 整数 | 1 | How many times it repeats across and down. |
| 尺度 | 数字 | 0.9 | Its size within its cell, 1 filling it. |
| 边数 | 整数 | 6 | For a polygon or a star, how many sides or points. |
| 旋转 | 数字 | 0 | Turns it, in degrees. |
| 尺寸 | 整数 | 1024 | Width and height in pixels. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理形状
- 所属包
- 图像处理