Skip to main content

asset kit

1 tools. Generated from the plugin source; do not edit by hand.

Tools​

Legend. risk 0 = read-only, 1 = harmless editor op, 2 = modifies asset, 3 = deletes/replaces asset, 4 = project/config/build op, 5 = potentially destructive (calls above MaxAutoRisk need "_confirm": true). mutates = runs in a transaction (edit.undo reverts). requires PIE / requires world = refused without a PIE session / an open level. requires plugin = unavailable while the plugin is disabled. dryRun = honours the dryRun argument. smoke = covered by edit.self_test.

asset.preview (risk 0, smoke)​

Thumbnail of any asset that has a thumbnail renderer (materials, meshes, textures, Blueprints, widgets, Niagara systems, ...) returned as an image.

ArgumentTypeDescription
assetstringrequired. Asset (object path, package path or unique name).
sizeintegerThumbnail edge in pixels (32-1024). Default 256.
formatstringpng or jpg. Default TEXT("png").

Returns: width, height, savedTo, imageBase64, imageMimeType.