W3cubDocs

/Godot 3.0

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.

Member Functions

Array get_mesh_arrays ( ) const

Member Variables

Material material - The current Material of the primitive mesh.

Description

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

Member Function Description

Array get_mesh_arrays ( ) const

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_primitivemesh.html