元編程參考文件

形狀

1 個節點

本頁內容 1

圓盤

函數

圓盤:點到圓盤邊緣的距離,內部為負,外部為正。

簽名
圓盤(UV: Vector 2D, 半徑: 數字, 中心: Vector 2D) -> 數字
double Disk(Vector2D uv, double radius = 0.5, Vector2D center)

參數

名稱型別預設值說明
UVVector 2D—點,使用著色器座標。
半徑數字0.5圓盤的半徑。
中心Vector 2D—圓盤的中心。

返回

距離數字
所屬發行版
元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
形狀
所屬包
GPU 核函數