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