unreal.AssetRenameData

class unreal.AssetRenameData(asset: Object = Ellipsis, new_package_path: str = '', new_name: str = '')

Bases: 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: Object

[Read-Write] Object being renamed

Type:

(Object)

property new_name: str

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

Type:

(str)

property new_package_path: str

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

Type:

(str)