Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
PrismMesh¶
继承: PrimitiveMesh < Mesh < Resource < RefCounted < Object
表示棱柱形 PrimitiveMesh 的类。
描述¶
表示棱柱形 PrimitiveMesh 的类。
属性¶
|
||
|
||
|
||
|
||
|
属性说明¶
float left_to_right = 0.5
上边缘沿 X 轴的位移。0.0 将边缘定位在左下边缘的正上方。
Vector3 size = Vector3(1, 1, 1)
棱镜的大小。
int subdivide_depth = 0
沿 Z 轴添加的边循环数。
int subdivide_height = 0
沿 Y 轴添加的边循环数。
int subdivide_width = 0
沿 X 轴添加的边循环数。