PrimitiveMeshGetMeshArrays Method |
Returns mesh arrays used to constitute surface of Mesh. The result can be passed to AddSurfaceFromArrays(MeshPrimitiveType, Array, Array, UInt32) to create a new surface. For example:
var c := CylinderMesh.new() var arr_mesh := ArrayMesh.new() arr_mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, c.get_mesh_arrays())
Namespace: Godot
public Array GetMeshArrays()
[Missing <returns> documentation for "M:Godot.PrimitiveMesh.GetMeshArrays"]