Function MeshInstance.getSurfaceMaterial

Returns the Material for a surface of the Mesh resource.

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