Godot: Geometry
In computer graphics, geometry is often represented by an array of vertices which are organized according to some geometric primitive. In Godot, geometry is represented by meshes.
Some mesh-related classes in Godot include: Mesh, ArrayMesh
, ImmediateMesh
, MeshInstance3D
, MultiMesh
, and MultiMeshInstance3D
. These classes, while related, have different use cases.
Mesh
A Mesh is a resource type that contains geometry divided into surfaces. Each surface contains a separate vertex array and a material used to draw it.
ArrayMesh
ArrayMesh is a Mesh type that provides utility for constructing surfaces from arrays.