元編程參考文件

紋理形狀

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.
平鋪次數整數1How many times it repeats across and down.
尺度數字0.9Its size within its cell, 1 filling it.
邊數整數6For a polygon or a star, how many sides or points.
旋轉數字0Turns it, in degrees.
尺寸整數1024Width and height in pixels.

返回

結果Texture
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
紋理形狀
所屬包
影像處理