Function MeshLibrary.getItemPreview

Returns a generated item preview (a 3D rendering in isometric perspective). Note: Since item previews are only generated in an editor context, this function will return an empty Texture in a running project.

godot.d.reference.Ref!(godot.texture.Texture) getItemPreview (
  const(long) id
) nothrow @nogc const;