UDatasmithCustomActorElement

[UDatasmithCustomActorElement](API\Plugins\DatasmithImporter\ObjectElements\UDatasmithCustomActorElement)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h

Include

#include "ObjectElements/DatasmithUObjectElements.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UDatasmithCustomActorElement : public UDatasmithActorElement

Remarks

Variables

Name Description

Protected variable

TMap< TWeakPtr<...

 

Properties

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

AddProperty

(
    UDatasmithKeyValueProperty* Pr...
)

Add a property to this blueprint actor

Public function

UDatasmithKe...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithKeyValu...
)

Public function Const UFunction BlueprintCallable, Category

FString

 

GetClassOrPathName()

The blueprint to instantiate.

Public function Const

TWeakPtr< ID...

 

GetDatasmithCustomActorElement()

Public function Const UFunction BlueprintCallable, Category

int32

 

GetPropertiesCount()

Get the total amount of properties in this blueprint actor

Public function UFunction BlueprintCallable, Category

UDatasmithKe...

 

GetProperty

(
    int32 i
)

Get the property i-th of this blueprint actor

Public function UFunction BlueprintCallable, Category

UDatasmithKe...

 

GetPropertyByName

(
    const FString& InName
)

Get a property by its name if it exists

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithKeyValueP...
)

Public function UFunction BlueprintCallable, Category

void

 

RemoveProperty

(
    UDatasmithKeyValueProperty* Pr...
)

Removes a property from this blueprint actor, doesn't preserve ordering

Public function UFunction BlueprintCallable, Category

void

 

SetClassOrPathName

(
    const FString& InPathName
)

Public function

void

 

SetDatasmithCustomActorElement

(
    const TSharedPtr< IDatasmithCustomA...
)

Overridden from UDatasmithActorElement

Name Description

Protected function Virtual Const

TWeakPtr< ID...

 

GetIDatasmithActorElement()

Overridden from UDatasmithObjectElement

Name Description

Protected function Virtual Const

TWeakPtr< ID...

 

GetIDatasmithElement()

TODO: They are not covariant because of the TWeakPtr, can't override in child.

Public function Virtual Const

bool

 

IsElementValid()

Is the Element still valid for the Datasmith Scene

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss