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...
PrismMesh¶
Inherits: PrimitiveMesh < Mesh < Resource < RefCounted < Object
Class representing a prism-shaped PrimitiveMesh.
描述¶
Class representing a prism-shaped PrimitiveMesh.
属性¶
|
||
|
||
|
||
|
||
|
Property Descriptions¶
float left_to_right = 0.5
Displacement of the upper edge along the X axis. 0.0 positions edge straight above the bottom-left edge.
Vector3 size = Vector3(1, 1, 1)
Size of the prism.
int subdivide_depth = 0
Number of added edge loops along the Z axis.
int subdivide_height = 0
Number of added edge loops along the Y axis.
int subdivide_width = 0
Number of added edge loops along the X axis.