unreal.DatasmithRuntimeLibrary
¶
-
class
unreal.
DatasmithRuntimeLibrary
(outer=None, name='None')¶ Bases:
unreal.BlueprintFunctionLibrary
Datasmith Runtime Library
C++ Source:
Plugin: DatasmithRuntime
Module: DatasmithRuntime
File: DatasmithRuntimeBlueprintLibrary.h
-
classmethod
get_direct_link_proxy
() → DirectLinkProxy¶ Returns an interface to the DirectLink end point
- Returns
- Return type
-
classmethod
load_datasmith_scene
(datasmith_runtime_actor, file_path) → bool¶ Create a DatasmithRuntime actor
- Parameters
datasmith_runtime_actor (DatasmithRuntimeActor) –
file_path (str) –
- Returns
A pointer to the DatasmithRuntime actor if the createion is successful; nullptr, otherwise
- Return type
-
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
datasmith_runtime_actor (DatasmithRuntimeActor) –
default_path (str) –
file_types (str) –
-
classmethod
reset_actor
(datasmith_runtime_actor) → None¶ Reset Actor
- Parameters
datasmith_runtime_actor (DatasmithRuntimeActor) –