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