Table of Contents

Class PrismMesh

Class representing a prism-shaped PrimitiveMesh.

Inheritance
PrismMesh

Remarks

Class representing a prism-shaped PrimitiveMesh.

Properties

left_to_right

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

var left_to_right : float = 0.5

Property Value

float

Remarks

  • void set_left_to_right(float value)
  • float get_left_to_right

size

Size of the prism.

var size : Vector3 = Vector3(1, 1, 1)

Property Value

Vector3

Remarks

subdivide_depth

Number of added edge loops along the Z axis.

var subdivide_depth : int = 0

Property Value

int

Remarks

  • void set_subdivide_depth(int value)
  • int get_subdivide_depth

subdivide_height

Number of added edge loops along the Y axis.

var subdivide_height : int = 0

Property Value

int

Remarks

  • void set_subdivide_height(int value)
  • int get_subdivide_height

subdivide_width

Number of added edge loops along the X axis.

var subdivide_width : int = 0

Property Value

int

Remarks

  • void set_subdivide_width(int value)
  • int get_subdivide_width