Navigation
API > API/Plugins > API/Plugins/DatasmithRuntime
| Name | ADatasmithRuntimeActor |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Enterprise/DatasmithRuntime/Source/Public/DatasmithRuntime.h |
| Include Path | #include "DatasmithRuntime.h" |
Syntax
UCLASS (Meta=(DisplayName="Datasmith Destination"))
class ADatasmithRuntimeActor :
public AActor ,
public FDatasmithSceneReceiver::ISceneChangeListener
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ADatasmithRuntimeActor
- FDatasmithSceneReceiver::ISceneChangeListener → ADatasmithRuntimeActor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ADatasmithRuntimeActor() |
DatasmithRuntime.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bImportingScene | std::atomic_bool | DatasmithRuntime.h | |
| TranslationThread | TUniquePtr< DatasmithRuntime::FTranslationThread > | DatasmithRuntime.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBuilding | bool | DatasmithRuntime.h |
|
|
| ExternalFile | FString | DatasmithRuntime.h |
|
|
| ImportOptions | FDatasmithRuntimeImportOptions | DatasmithRuntime.h |
|
|
| LoadedScene | FString | DatasmithRuntime.h |
|
|
| Progress | float | DatasmithRuntime.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNewScene | std::atomic_bool | DatasmithRuntime.h | ||
| bReceivingEnded | std::atomic_bool | DatasmithRuntime.h | ||
| bReceivingStarted | std::atomic_bool | DatasmithRuntime.h | ||
| DirectLinkHelper | TSharedPtr< DatasmithRuntime::FDestinationProxy > | DatasmithRuntime.h | ||
| ElementDeltaStep | float | DatasmithRuntime.h | ||
| SceneElement | TSharedPtr< IDatasmithScene > | DatasmithRuntime.h | ||
| SceneImporter | TSharedPtr< DatasmithRuntime::FSceneImporter > | DatasmithRuntime.h | ||
| Translator | TSharedPtr< IDatasmithTranslator > | DatasmithRuntime.h | ||
| UpdateContext | FUpdateContext | DatasmithRuntime.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyNewScene() |
DatasmithRuntime.h | ||
void CloseConnection() |
DatasmithRuntime.h |
|
|
FString GetDestinationName() |
DatasmithRuntime.h |
|
|
int32 GetSourceIndex() |
DatasmithRuntime.h |
|
|
FString GetSourceName() |
DatasmithRuntime.h |
|
|
bool IsConnected() |
DatasmithRuntime.h |
|
|
bool IsReceiving() |
DatasmithRuntime.h |
|
|
bool LoadFile
(
const FString& FilePath |
DatasmithRuntime.h |
|
|
virtual void OnImportEnd() |
DatasmithRuntime.h | ||
bool OpenConnectionWithIndex
(
int32 SourceIndex |
DatasmithRuntime.h |
|
|
void SetScene
(
TSharedPtr< IDatasmithScene > InSceneElement |
DatasmithRuntime.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
DatasmithRuntime.h | ||
virtual void EndPlay
(
const EEndPlayReason::Type EndPlayReason |
DatasmithRuntime.h | ||
virtual void Reset() |
DatasmithRuntime.h |
|
|
virtual void Tick
(
float DeltaSeconds |
DatasmithRuntime.h |
Overridden from ISceneChangeListener
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnAddElement
(
DirectLink::FSceneGraphId ElementId, |
DatasmithRuntime.h | ||
virtual void OnChangedElement
(
DirectLink::FSceneGraphId ElementId, |
DatasmithRuntime.h | ||
virtual void OnCloseDelta() |
DatasmithRuntime.h | ||
virtual void OnNewScene
(
const DirectLink::FSceneIdentifier& SceneId |
DatasmithRuntime.h | ||
virtual void OnOpenDelta() |
DatasmithRuntime.h | ||
virtual void OnRemovedElement
(
DirectLink::FSceneGraphId ElementId |
DatasmithRuntime.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void OnShutdownModule() |
DatasmithRuntime.h | ||
static void OnStartupModule() |
DatasmithRuntime.h |