Poly Toolkit for Unreal

Poly Toolkit for Unreal is a plugin for Unreal Engine that lets your app call the functions in the Poly Toolkit API. This allows your app to find and import assets from Poly at runtime. The Poly Toolkit API works by wrapping the Poly API and provides a function for importing assets as Unreal actor objects.

Import the toolkit

To use the Poly Toolkit API, you must first import the toolkit plugin by copying the PolyToolkit folder from the repository to your project's Plugins folder. Because the toolkit plugin contain C++ source code, your project must be configured to build C++.

For a working sample project, see Unreal Quickstart.

API overview

The API allows you to:

List assets

To obtain a listing of available assets, call the List Assets.

You need to provide an API key and a set of filters. When the response is ready, the system executes the callback function which includes a response parameter that indicates whether the query was successful, and what the results were. Here's an example:

Get an asset

Alternatively, if you know an asset's name, you can get it directly by calling the GetAsset blueprint function:

You need to provide an API key and an asset's name. When the response is ready, the system executes the callback function which includes a response parameter that indicates whether the query was successful, and the result. Here's an example:

Import an asset

To import a Poly Asset as an Unreal Actor, call the ImportAsset blueprint function:

You need to provide a PolyAsset. When the Asset is loaded the system executes the callback function which includes a response parameter that indicates whether the import was successful, and the result. Here's an example: