Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
CSGBox3D
繼承: CSGPrimitive3D < CSGShape3D < GeometryInstance3D < VisualInstance3D < Node3D < Node < Object
CSG 盒子形狀。
說明
此節點允許你建立與 CSG 系均勻起使用的盒子。
注意:CSG 節點旨在用於關卡原型設計。與使用 PrimitiveMesh 建立 MeshInstance3D 相比,建立 CSG 節點具有顯著的 CPU 成本。在另一個 CSG 節點中,移動一個 CSG 節點,也會大量消耗 CPU,因此在遊戲過程中,應該避免這種情況。
教學
屬性
|
屬性說明
用於算繪盒子的材質。
Vector3 size = Vector3(1, 1, 1) 🔗
該盒子的寬度、高度和深度。