Navigation
API > API/Plugins > API/Plugins/DatasmithImporter
| Name | UDatasmithActorBindingElement |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
| Include Path | #include "ObjectElements/DatasmithUObjectElements.h" |
Syntax
UCLASS ()
class UDatasmithActorBindingElement : public UDatasmithObjectElement
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDatasmithObjectElement → UDatasmithActorBindingElement
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DatasmithElement | TWeakPtr< IDatasmithActorBindingElement > | ObjectElements/DatasmithUObjectElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPropertyCapture
(
const UDatasmithBasePropertyCaptureElement* Prop |
Adds an existing property capture to this binding | ObjectElements/DatasmithUObjectElements.h |
|
UDatasmithObjectPropertyCaptureElement * CreateObjectPropertyCapture() |
Create a new object property capture and add it to this binding | ObjectElements/DatasmithUObjectElements.h |
|
UDatasmithPropertyCaptureElement * CreatePropertyCapture() |
Create a new property capture and add it to this binding | ObjectElements/DatasmithUObjectElements.h |
|
UDatasmithActorElement * GetActor() |
Gets the actor that this binding will try capturing | ObjectElements/DatasmithUObjectElements.h |
|
TWeakPtr< IDatasmithActorBindingElement > GetActorBindingElement() |
ObjectElements/DatasmithUObjectElements.h | ||
UDatasmithBasePropertyCaptureElement * GetPropertyCapture
(
int32 Index |
Gets property that will be captured from the bound actor | ObjectElements/DatasmithUObjectElements.h |
|
int32 GetPropertyCapturesCount() |
Gets how many properties will be captured from the bound actor | ObjectElements/DatasmithUObjectElements.h |
|
void RemovePropertyCapture
(
const UDatasmithBasePropertyCaptureElement* Prop |
Removes one of the properties that will be captured from the bound actor | ObjectElements/DatasmithUObjectElements.h |
|
void SetActor
(
UDatasmithActorElement* Actor |
Sets the actor that this binding will try capturing | ObjectElements/DatasmithUObjectElements.h |
|
void SetActorBindingElement
(
const TSharedPtr< IDatasmithActorBindingElement >& InElement |
ObjectElements/DatasmithUObjectElements.h |
Overridden from UDatasmithObjectElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsElementValid() |
Is the Element still valid for the Datasmith Scene | ObjectElements/DatasmithUObjectElements.h |
Protected
Overridden from UDatasmithObjectElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TWeakPtr< IDatasmithElement > GetIDatasmithElement() |
TODO: They are not covariant because of the TWeakPtr, can't override in child. | ObjectElements/DatasmithUObjectElements.h |