PrismMesh

Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object

Class representing a prism-shaped PrimitiveMesh.

Description

Class representing a prism-shaped PrimitiveMesh.

Property Descriptions

Default 0.5
Setter set_left_to_right(value)
Getter get_left_to_right()

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


Default Vector3( 2, 2, 2 )
Setter set_size(value)
Getter get_size()

Size of the prism.


  • int subdivide_depth
Default 0
Setter set_subdivide_depth(value)
Getter get_subdivide_depth()

Number of added edge loops along the Z axis.


  • int subdivide_height
Default 0
Setter set_subdivide_height(value)
Getter get_subdivide_height()

Number of added edge loops along the Y axis.


  • int subdivide_width
Default 0
Setter set_subdivide_width(value)
Getter get_subdivide_width()

Number of added edge loops along the X axis.