unreal.InterchangeEditorScriptLibrary

class unreal.InterchangeEditorScriptLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Interchange Editor Script Library

C++ Source:

  • Plugin: InterchangeEditor

  • Module: InterchangeEditor

  • File: InterchangeEditorScriptLibrary.h

classmethod can_reset_actor(actor) bool

Checks if an actor can be reset.

Parameters:

actor (Actor) – to check

Returns:

can actor be reset.

Return type:

bool

classmethod can_reset_world(world) bool

Checks if an world can be reset.

Parameters:

world (World) – to check

Returns:

can world be reset.

Return type:

bool

classmethod level_instance_commit(level_instance, discard_changes) bool

Apply/Discard the changes to Level Instance Actor.

Parameters:
  • level_instance (LevelInstance) – actor to commit

  • discard_changes (bool) – should changes be applied or discarded.

Returns:

whether committing level instance was successful.

Return type:

bool

classmethod level_instance_enter_edit_mode(level_instance) bool

Make Level Instance Actor editable.

Parameters:

level_instance (LevelInstance) – actor to edit

Returns:

whether putting level instance in edit mode was successful.

Return type:

bool

classmethod level_instance_get_editable_actors(level_instance) Array[Actor]

Returns array of actors that are editable in the editor when the level instance is put in edit mode. NOTE: This will return a non-empty array if the LevelInstance is put in the edit mode.

Parameters:

level_instance (LevelInstance) – to get editable actors from

Returns:

Array of editable actors.

Return type:

Array[Actor]

classmethod reset_actors(actors) None

Performs Interchange Reset on Actors. Resets all qualifying actors. Does nothing to actors that cannot be reset.

Parameters:

actors (Array[Actor]) – array containing actors to reset

classmethod reset_level_asset(world) None

Performs Interchange Reset on a Level Asset.

Parameters:

world (World) – is the level asset to reset.

classmethod reset_scene_import_asset(scene_import_asset) None

Performs Interchange Reset on an Interchange Scene Import Asset. Resets all the actors added to the level and assets imported.

Parameters:

scene_import_asset (InterchangeSceneImportAsset) – to reset