unreal.DatasmithRuntimeLibrary

class unreal.DatasmithRuntimeLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Datasmith Runtime Library

C++ Source:

  • Plugin: DatasmithRuntime

  • Module: DatasmithRuntime

  • File: DatasmithRuntimeBlueprintLibrary.h

Returns an interface to the DirectLink end point

Return type

DirectLinkProxy

classmethod load_file(datasmith_runtime_actor, file_path) bool

Load a file using the Datasmith translator associated with it

Parameters
  • datasmith_runtime_actor (DatasmithRuntimeActor) – The actor to load the file into

  • file_path (str) – The path to the file to load.

Returns

true if an associated translator has been

Return type

bool

classmethod load_file_from_explorer(datasmith_runtime_actor, default_path) bool

Open a file browser to select a file and call LoadFile with the selected file

Parameters
  • datasmith_runtime_actor (DatasmithRuntimeActor) – The actor to load the file into

  • default_path (str) – Path to open the file browser in.

Returns

true if an associated translator has been

Return type

bool

classmethod reset_actor(datasmith_runtime_actor) None

Reset Actor

Parameters

datasmith_runtime_actor (DatasmithRuntimeActor) –