PrismMesh

Refreshing Cache...

Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object

Class representing a prism-shaped PrimitiveMesh.

Description

Class representing a prism-shaped PrimitiveMesh.

Property Descriptions

Default0.5
Setterset_left_to_right(value)
Getterget_left_to_right()

Displacement of the upper edge along the X axis. 0.0 positions edge straight above the bottom-left edge.


DefaultVector3( 2, 2, 2 )
Setterset_size(value)
Getterget_size()

Size of the prism.


  • int subdivide_depth
Default0
Setterset_subdivide_depth(value)
Getterget_subdivide_depth()

Number of added edge loops along the Z axis.


  • int subdivide_height
Default0
Setterset_subdivide_height(value)
Getterget_subdivide_height()

Number of added edge loops along the Y axis.


  • int subdivide_width
Default0
Setterset_subdivide_width(value)
Getterget_subdivide_width()

Number of added edge loops along the X axis.

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:37:23. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.