Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/ObjectElements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDatasmithObjectElement
- UDatasmithActorElement
- UDatasmithCustomActorElement
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
| Include | #include "ObjectElements/DatasmithUObjectElements.h" |
Syntax
UCLASS ()
class UDatasmithCustomActorElement : public UDatasmithActorElement
Remarks
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< TWeakPtr< IDatasmithKeyValueProperty >, UDatasmithKeyValueProperty * > | Properties |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddProperty
(
UDatasmithKeyValueProperty* Property |
Add a property to this blueprint actor | |
| UDatasmithKeyValueProperty * | FindOrAddElement
(
const TSharedPtr< IDatasmithKeyValueProperty >& InElement |
||
| FString | The blueprint to instantiate. | ||
| TWeakPtr< IDatasmithCustomActorElement > | |||
| int32 | Get the total amount of properties in this blueprint actor | ||
| UDatasmithKeyValueProperty * | GetProperty
(
int32 i |
Get the property i-th of this blueprint actor | |
| UDatasmithKeyValueProperty * | GetPropertyByName
(
const FString& InName |
Get a property by its name if it exists | |
| bool | IsElementValid
(
const TWeakPtr< IDatasmithKeyValueProperty >& Element |
||
| void | RemoveProperty
(
UDatasmithKeyValueProperty* Property |
Removes a property from this blueprint actor, doesn't preserve ordering | |
| void | SetClassOrPathName
(
const FString& InPathName |
||
| void | SetDatasmithCustomActorElement
(
const TSharedPtr< IDatasmithCustomActorElement >& InElement |
Overridden from UDatasmithActorElement
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithActorElement > |
Overridden from UDatasmithObjectElement
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithElement > | TODO: They are not covariant because of the TWeakPtr, can't override in child. | ||
| bool | Is the Element still valid for the Datasmith Scene |