unreal.DatasmithRuntimeLibrary
¶
- class unreal.DatasmithRuntimeLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
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
- Return type:
- 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:
- 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:
- classmethod reset_actor(datasmith_runtime_actor) None ¶
Reset Actor
- Parameters:
datasmith_runtime_actor (DatasmithRuntimeActor) –