纹理散布
4 个节点
本页内容 4
散布
函数Copies of a shape scattered at random over the texture - not on a grid - each its own size, turn and brightness: pebbles on a path, leaves, spots of rust, scratches when the shape is a thin capsule.
签名
散布 -> Texture
形状: Shape Kind
数量: 整数
尺度: 数字
尺度随机: 数字
拉伸: 数字
旋转随机: 数字
亮度随机: 数字
边数: 整数
随机种子: 整数
尺寸: 整数Texture Splatter(
ShapeKind shape = ShapeKind.Disc,
int count = 200,
double scale = 0.04,
double scaleRandom = 0.5,
double stretch = 1,
double rotationRandom = 1,
double luminanceRandom = 0.3,
int sides = 6,
int seed = 0,
int size = 1024)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 形状 | Shape Kind | 圆盘 | The shape each copy is. |
| 数量 | 整数 | 200 | How many copies. |
| 尺度 | 数字 | 0.04 | A copy's size, as a share of the texture's width. |
| 尺度随机 | 数字 | 0.5 | How much the size varies, 0 to 1. |
| 拉伸 | 数字 | 1 | How much longer than wide each copy is: 1 keeps the shape, 8 makes a scratch of a capsule. |
| 旋转随机 | 数字 | 1 | How far each copy's turn varies, 0 to 1 (a full turn). |
| 亮度随机 | 数字 | 0.3 | How much darker some copies are. |
| 边数 | 整数 | 6 | For polygons and stars, the number of sides or points. |
| 随机种子 | 整数 | 0 | Which random scatter. |
| 尺寸 | 整数 | 1024 | Width and height in pixels. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理散布
- 所属包
- 图像处理
散布纹理
函数Copies of a small texture scattered at random, as Splatter scatters shapes.
签名
散布纹理 -> Texture
图案: Texture
数量: 整数
尺度: 数字
尺度随机: 数字
拉伸: 数字
旋转随机: 数字
亮度随机: 数字
随机种子: 整数
尺寸: 整数Texture SplatterTexture(
Texture pattern,
int count = 100,
double scale = 0.06,
double scaleRandom = 0.5,
double stretch = 1,
double rotationRandom = 1,
double luminanceRandom = 0.3,
int seed = 0,
int size = 1024)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 图案 | Texture | — | The texture each copy is, read as greyscale. |
| 数量 | 整数 | 100 | How many copies. |
| 尺度 | 数字 | 0.06 | A copy's size, as a share of the texture's width. |
| 尺度随机 | 数字 | 0.5 | How much the size varies. |
| 拉伸 | 数字 | 1 | How much longer than wide each copy is. |
| 旋转随机 | 数字 | 1 | How far each copy's turn varies. |
| 亮度随机 | 数字 | 0.3 | How much darker some copies are. |
| 随机种子 | 整数 | 0 | Which random scatter. |
| 尺寸 | 整数 | 1024 | Width and height in pixels. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理散布
- 所属包
- 图像处理
平铺生成器
函数A shape repeated on a grid, each copy varied at random in size, turn, position and brightness, and some left out: the general tool behind studs, tiles of pebbles, rows of rivets and diamond plate.
签名
平铺生成器 -> (结果: Texture, 单元随机值: Texture)
形状: Shape Kind
列数: 整数
行数: 整数
尺度: 数字
尺度随机: 数字
旋转: 数字
旋转随机: 数字
位置随机: 数字
亮度随机: 数字
剔除概率: 数字
行偏移: 数字
边数: 整数
随机种子: 整数
尺寸: 整数Texture TileGenerator(
out Texture tileRandom,
ShapeKind shape = ShapeKind.Dome,
int columns = 8,
int rows = 8,
double scale = 0.8,
double scaleRandom = 0,
double rotation = 0,
double rotationRandom = 0,
double positionRandom = 0,
double luminanceRandom = 0,
double dropChance = 0,
double rowOffset = 0,
int sides = 6,
int seed = 0,
int size = 1024)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 形状 | Shape Kind | 穹顶 | The shape each copy is. |
| 列数 | 整数 | 8 | Copies across. |
| 行数 | 整数 | 8 | Copies down. |
| 尺度 | 数字 | 0.8 | Each copy's size within its cell, 1 filling it. |
| 尺度随机 | 数字 | 0 | How much the size varies, 0 to 1. |
| 旋转 | 数字 | 0 | Turns every copy, in degrees. |
| 旋转随机 | 数字 | 0 | How far each copy's turn varies, 0 to 1 (a full turn). |
| 位置随机 | 数字 | 0 | How far each copy strays from its cell's centre, as a share of a cell. |
| 亮度随机 | 数字 | 0 | How much darker some copies are, 0 to 1. |
| 剔除概率 | 数字 | 0 | The chance each copy is left out, 0 to 1. |
| 行偏移 | 数字 | 0 | How far every other row is shifted, as a share of a cell. |
| 边数 | 整数 | 6 | For polygons and stars, the number of sides or points. |
| 随机种子 | 整数 | 0 | Which random variation. |
| 尺寸 | 整数 | 1024 | Width and height in pixels. |
返回
| 结果 | Texture |
| 单元随机值 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理散布
- 所属包
- 图像处理
平铺采样器
函数A small texture - a pebble, a leaf, a bolt head - placed on a grid like the tile generator's copies, each varied.
签名
平铺采样器 -> (结果: Texture, 单元随机值: Texture)
图案: Texture
列数: 整数
行数: 整数
尺度: 数字
尺度随机: 数字
旋转: 数字
旋转随机: 数字
位置随机: 数字
亮度随机: 数字
剔除概率: 数字
行偏移: 数字
随机种子: 整数
尺寸: 整数Texture TileSampler(
out Texture tileRandom,
Texture pattern,
int columns = 8,
int rows = 8,
double scale = 0.8,
double scaleRandom = 0,
double rotation = 0,
double rotationRandom = 0,
double positionRandom = 0,
double luminanceRandom = 0,
double dropChance = 0,
double rowOffset = 0,
int seed = 0,
int size = 1024)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 图案 | Texture | — | The texture each copy is; its whole area fills a copy, and it is read as greyscale. |
| 列数 | 整数 | 8 | Copies across. |
| 行数 | 整数 | 8 | Copies down. |
| 尺度 | 数字 | 0.8 | Each copy's size within its cell, 1 filling it. |
| 尺度随机 | 数字 | 0 | How much the size varies. |
| 旋转 | 数字 | 0 | Turns every copy, in degrees. |
| 旋转随机 | 数字 | 0 | How far each copy's turn varies. |
| 位置随机 | 数字 | 0 | How far each copy strays, as a share of a cell. |
| 亮度随机 | 数字 | 0 | How much darker some copies are. |
| 剔除概率 | 数字 | 0 | The chance each copy is left out. |
| 行偏移 | 数字 | 0 | How far every other row is shifted. |
| 随机种子 | 整数 | 0 | Which random variation. |
| 尺寸 | 整数 | 1024 | Width and height in pixels. |
返回
| 结果 | Texture |
| 单元随机值 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理散布
- 所属包
- 图像处理