Navigation
BlueprintAPI > BlueprintAPI/EditorScripting > BlueprintAPI/EditorScripting/AssetTools
Creates an asset with the specified name, path, and factory asynchronously
Target is Asset Tools
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| object | Target | |
| string | Asset Name | the name of the new asset |
| string | Package Path | the package that will contain the new asset |
| class | Asset Class | the class of the new asset |
| object | Factory | the factory that will build the new asset |
| delegate | On Complete | called when the factory has successfully created the asset |
| delegate | On Cancelled | called if the asynchronous method is cancelled |
| name | Calling Context | optional name of the module or method calling CreateAsset() - this is passed to the factory |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out | |
| boolean | Return Value | the new asset or NULL if it fails |