Navigation
API > API/Plugins > API/Plugins/DatasmithImporter
| Name | UDatasmithKeyValueProperty |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
| Include Path | #include "ObjectElements/DatasmithUObjectElements.h" |
Syntax
UCLASS ()
class UDatasmithKeyValueProperty : public UDatasmithObjectElement
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDatasmithObjectElement → UDatasmithKeyValueProperty
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| KeyValueProperty | TWeakPtr< IDatasmithKeyValueProperty > | ObjectElements/DatasmithUObjectElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TWeakPtr< IDatasmithKeyValueProperty > GetDatasmithKeyValueProperty() |
ObjectElements/DatasmithUObjectElements.h | ||
| Get the type of this property | ObjectElements/DatasmithUObjectElements.h |
|
|
FString GetValue() |
Get the value of this property | ObjectElements/DatasmithUObjectElements.h |
|
void SetDatasmithKeyValueProperty
(
const TSharedPtr< IDatasmithKeyValueProperty >& InElement |
ObjectElements/DatasmithUObjectElements.h | ||
void SetPropertyType
(
EDatasmithKeyValuePropertyType InType |
Set the type of this property | ObjectElements/DatasmithUObjectElements.h |
|
void SetValue
(
const FString& Value |
Sets the value of this property | 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 |