UPolyToolkit
#include <PolyToolkit.h>
A UObject that encapsulates the PolyToolkit API.
Summary
PolyToolkit is a singleton.
Inheritance
Inherits from: UObject
Public attributes |
|
---|---|
OnGetAssetComplete
|
FOnGetAssetComplete
|
OnImportAssetComplete
|
FOnImportAssetComplete
|
OnListAssetsComplete
|
FOnListAssetsComplete
|
Public static functions |
|
---|---|
GetAsset(const FString & ApiKey, const FString & AssetName, const FOnGetAssetComplete & OnGetAssetCallback)
|
void
Request full information on a single Asset given an Asset name(id) and an Api Key.
|
GetPolyToolkitInstance()
|
Get the PolyToolkit instance.
|
ImportAsset(UObject *WorldContextObject, const FPolyAsset & Asset, const FOnImportAssetComplete & OnImportCompleteCallback)
|
void
Imports an Asset at runtime.
|
ListAssets(const FString & ApiKey, const FString & Keywords, bool Curated, EPolyCategory Category, EPolyComplexity MaxComplexity, EPolyFormat Format, int32 PageSize, EPolyOrder OrderBy, const FString & PageToken, const FOnListAssetsComplete & OnListAssetsCallback)
|
void
List, search and filter public Assets given a criteria.
|
Public attributes
OnGetAssetComplete
FOnGetAssetComplete OnGetAssetComplete
OnImportAssetComplete
FOnImportAssetComplete OnImportAssetComplete
OnListAssetsComplete
FOnListAssetsComplete OnListAssetsComplete
Public static functions
GetAsset
void GetAsset( const FString & ApiKey, const FString & AssetName, const FOnGetAssetComplete & OnGetAssetCallback )
Request full information on a single Asset given an Asset name(id) and an Api Key.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
ImportAsset
void ImportAsset( UObject *WorldContextObject, const FPolyAsset & Asset, const FOnImportAssetComplete & OnImportCompleteCallback )
Imports an Asset at runtime.
This method does not support assets that are created with Tilt Brush.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
ListAssets
void ListAssets( const FString & ApiKey, const FString & Keywords, bool Curated, EPolyCategory Category, EPolyComplexity MaxComplexity, EPolyFormat Format, int32 PageSize, EPolyOrder OrderBy, const FString & PageToken, const FOnListAssetsComplete & OnListAssetsCallback )
List, search and filter public Assets given a criteria.
Details | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parameters |
|