PrimitiveMesh

Inherits: Mesh < Resource < Reference < Object

Inherited By: PlaneMesh, CubeMesh, SphereMesh, CylinderMesh, CapsuleMesh, QuadMesh, PrismMesh

Category: Core

Brief Description

Base class for all primitive meshes. Handles applying a Material to a primitive mesh.

Methods

Array get_mesh_arrays ( ) const

Description

Base class for all primitive meshes. Handles applying a Material to a primitive mesh.

Property Descriptions

Setter set_custom_aabb(value)
Getter get_custom_aabb()
Setter set_flip_faces(value)
Getter get_flip_faces()
Setter set_material(value)
Getter get_material()

The current Material of the primitive mesh.

Method Descriptions

  • Array get_mesh_arrays ( ) const