Create Asset (Interface Call)

Create Asset (Interface Call)

Windows
MacOS
Linux

Creates an asset with the specified name, path, and factory

Target is Asset Tools

Create Asset (Interface Call)
Target
Asset Name
Package Path
Asset Class
Select Class
Factory
Select Asset
Calling Context
None
Return Value
Select Asset

Inputs

In
Exec
Target
Asset Tools Interface
Asset Name
String

the name of the new asset

Package Path
String

the package that will contain the new asset

Asset Class
Object Class Reference

the class of the new asset

Factory
Factory Object Reference

the factory that will build the new asset

Calling Context
Name

optional name of the module or method calling CreateAsset() - this is passed to the factory

Outputs

Out
Exec
Return Value
Object Reference

the new asset or NULL if it fails

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss