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...
CSGTorus3D
继承: CSGPrimitive3D < CSGShape3D < GeometryInstance3D < VisualInstance3D < Node3D < Node < Object
CSG 圆环形状。
描述
该节点允许创建与 CSG 系统一起使用的环面。
注意:CSG 节点旨在用于关卡原型设计。与使用 PrimitiveMesh 创建 MeshInstance3D 相比,创建 CSG 节点具有显著的 CPU 成本。在另一个 CSG 节点中,移动一个 CSG 节点,也会大量消耗 CPU,因此在游戏过程中,应该避免这种情况。
教程
属性
|
||
|
||
|
||
|
||
|
属性说明
圆环的内半径。
用于渲染圆环的材质。
圆环的外半径。
构造每个圆环的边缘的数量。
构成圆环的切片数。
如果 true
设置圆环的法线以提供平滑效果,则使圆环看起来是圆形的。如果为 false
,则圆环将具有平坦的阴影表现。