Function MeshDataTool.getMaterial

Returns the material assigned to the Mesh.

godot.d.reference.Ref!(godot.material.Material) getMaterial() nothrow @nogc const;