Navigation
API > API/Runtime > API/Runtime/DatasmithCore
This class receives DirectLink scene snapshots, and convert them into a DatasmithScene. A listener can be registered to be notified of a scene modification
| Name | FDatasmithSceneReceiver |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DirectLink/DatasmithSceneReceiver.h |
| Include Path | #include "DirectLink/DatasmithSceneReceiver.h" |
Syntax
class FDatasmithSceneReceiver : public DirectLink::ISceneReceiver
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithSceneReceiver() |
DirectLink/DatasmithSceneReceiver.h |
Structs
Interfaces
| Name | Remarks |
|---|---|
| ISceneChangeListener |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChangeListener | ISceneChangeListener * | DirectLink/DatasmithSceneReceiver.h | ||
| Current | TUniquePtr< FSceneState > | DirectLink/DatasmithSceneReceiver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< IDatasmithScene > GetScene() |
Get the reconstructed DatasmithScene. Can be null. | DirectLink/DatasmithSceneReceiver.h | |
void SetChangeListener
(
ISceneChangeListener* Listener |
Register a listner that will be notified of important scene edition events. | DirectLink/DatasmithSceneReceiver.h |