Skip to main content
Version: 3.0.1

Get Data As Image

Get Data As Image Function

IPNS Get Data As Image Gets data as image from the IPFS network for the specified IPNS name. This function requires inputs as follows:

  • Ipfs Http Gateway 1 : Struct, holds the url of the gateway to send the request to.
  • Ipns Name 2 : UTF-8 String, holds the IPNS name used to resolve the requested data.

There's also an optional input Request Name 3, a unique identifier for the plugin's HTTP subsystem. It allows to fetch the request by name. This is purely optional and only changes how the HTTP request will be managed internally by the plugin.

IPNS Get Data As Image

The returned Response is a struct that holds data such as headers, status code, and body of the response of the HTTP request.

info

If Success is True that only means that the response from the IPFS network was successful only.

If successful, returns the Image 4 as Texture 2D object reference.