自訂樹節點
2 個節點
本頁內容 2
配置複製
函數此節點沒有文件說明。
簽名
配置複製 -> SelfReplicatingTree.ReplicationOptions
迭代次數: 整數
基礎長度比例: 低精度數字
每次迭代長度衰減: 低精度數字SelfReplicatingTree.ReplicationOptions ConfigureReplication(
int iterations = 4,
float baseLengthScale = 1f,
float iterationLengthDecay = 0.8f)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 迭代次數 | 整數 | 4 | |
| 基礎長度比例 | 低精度數字 | 1 | |
| 每次迭代長度衰減 | 低精度數字 | 0.8 |
返回
| 結果 | SelfReplicatingTree.ReplicationOptions |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 自訂樹節點
- 所屬包
- 程序化生成
建立樹節點
函數此節點沒有文件說明。
過載 1/3
簽名
建立樹節點(位置: Vector3d) -> TreeNode
TreeNode CreateTreeNode(Vector3d position)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位置 | Vector3d | — |
返回
| 結果 | TreeNode |
過載 2/3
簽名
建立樹節點(位置: Vector3d, 子節點: TreeNode 陣列) -> TreeNode
TreeNode CreateTreeNode(Vector3d position, TreeNode[] children)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位置 | Vector3d | — | |
| 子節點 | TreeNode 陣列 | — |
返回
| 結果 | TreeNode |
過載 3/3
簽名
建立樹節點(位置: Vector3d, 父節點: TreeNode) -> TreeNode
TreeNode CreateTreeNode(Vector3d position, TreeNode parent)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位置 | Vector3d | — | |
| 父節點 | TreeNode | — |
返回
| 結果 | TreeNode |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 自訂樹節點
- 所屬包
- 程序化生成