Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.27 KB

class_cubemesh.rst

File metadata and controls

43 lines (24 loc) · 1.27 KB

CubeMesh

Inherits: PrimitiveMesh<class_primitivemesh> < Mesh<class_mesh> < Resource<class_resource> < Reference<class_reference> < Object<class_object>

Category: Core

Brief Description

Generate an axis-aligned cuboid PrimitiveMesh<class_primitivemesh>.

Member Variables

  • Vector3<class_vector3> size - Size of the cuboid mesh. Defaults to (2, 2, 2).
  • int<class_int> subdivide_depth - Number of extra edge loops inserted along the z-axis. Defaults to 0.
  • int<class_int> subdivide_height - Number of extra edge loops inserted along the y-axis. Defaults to 0.
  • int<class_int> subdivide_width - Number of extra edge loops inserted along the x-axis. Defaults to 0.

Description

Generate an axis-aligned cuboid PrimitiveMesh<class_primitivemesh>.