unreal.AssetRenameData

class unreal.AssetRenameData(asset=None, new_package_path='', new_name='')

Bases: unreal.StructBase

Asset Rename Data

C++ Source:

  • Module: AssetTools

  • File: IAssetTools.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset (Object): [Read-Write] Object being renamed

  • new_name (str): [Read-Write] New package and asset name, new object path will be PackagePath/NewName.NewName

  • new_package_path (str): [Read-Write] New path to package without package name, ie /Game/SubDirectory

property asset

[Read-Write] Object being renamed

Type

(Object)

property new_name

[Read-Write] New package and asset name, new object path will be PackagePath/NewName.NewName

Type

(str)

property new_package_path

[Read-Write] New path to package without package name, ie /Game/SubDirectory

Type

(str)