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] Asset: Object being renamed

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

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

property asset: Object

[Read-Write] Asset: Object being renamed

Type:

(Object)

property new_name: str

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

Type:

(str)

property new_package_path: str

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

Type:

(str)