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

Returns

Return type

DirectLinkProxy

classmethod load_datasmith_scene(datasmith_runtime_actor, file_path)bool

Create a DatasmithRuntime actor

Parameters
Returns

A pointer to the DatasmithRuntime actor if the createion is successful; nullptr, otherwise

Return type

bool

classmethod load_datasmith_scene_from_explorer(datasmith_runtime_actor, default_path, file_types)None
  • Opens a file dialog for the specified data. Leave FileTypes empty to be able to select any files.

  • Filetypes must be in the format of: <File type Description>|*.<actual extension>

  • You can combine multiple extensions by placing “;” between them

  • For example: Text Files|*.txt|Excel files|*.csv|Image Files|*.png;*.jpg;*.bmp will display 3 lines for 3 different type of files.

Parameters
classmethod reset_actor(datasmith_runtime_actor)None

Reset Actor

Parameters

datasmith_runtime_actor (DatasmithRuntimeActor) –