PrismMesh

Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object

Class representing a prism-shaped PrimitiveMesh.

Description

Class representing a prism-shaped PrimitiveMesh.

Properties

floatleft_to_right0.5
Vector3sizeVector3( 2, 2, 2 )
intsubdivide_depth0
intsubdivide_height0
intsubdivide_width0

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.