Function Mesh.surfaceGetMaterial

Returns a Material in a given surface. Surface is rendered using this material.

godot.d.reference.Ref!(godot.material.Material) surfaceGetMaterial (
  const(long) surf_idx
) nothrow @nogc const;