Function MeshDataTool.createFromSurface

Uses specified surface of given Mesh to populate data for MeshDataTool. Requires Mesh with primitive type constant Mesh.PRIMITIVE_TRIANGLES.

godot.core.defs.GodotError createFromSurface (
  ArrayMesh mesh,
  const(long) surface
) nothrow @nogc;