Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/ObjectElements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDatasmithObjectElement
- UDatasmithActorElement
- UDatasmithCameraActorElement
- UDatasmithCustomActorElement
- UDatasmithLightActorElement
- UDatasmithMeshActorElement
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
| Include | #include "ObjectElements/DatasmithUObjectElements.h" |
Syntax
UCLASS&40;Abstract&41;
class UDatasmithActorElement : public UDatasmithObjectElement
Remarks
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddChild
(
UDatasmithActorElement* InChild |
Adds a child to the Actor Element | |
| TArray< UDatasmithActorElement * > | GetChildren () |
Get the children of the mesh actor. Use AddChild -or- RemoveChild to modify the actor's children | |
| int32 | Get the number of children on this actor | ||
| TWeakPtr< IDatasmithActorElement > | |||
| FString | GetLayer () |
Get the the name of the layer that contains this entity | |
| FQuat | GetRotation () |
Get rotation (in quaternion format) of this entity | |
| FVector | GetScale () |
Get absolute scale of this entity | |
| TArray< FString > | GetTags () |
Get the tags of an Actor element | |
| FVector | Get absolute translation of this entity | ||
| bool | Get the actor's visibility | ||
| void | RemoveChild
(
UDatasmithActorElement* InChild |
Remove a new child from the Actor Element | |
| void | Set the the the layer that contains this entity, layer will be auto-created from its name | ||
| void | SetRotation
(
FQuat Value |
Set rotation (in quaternion format) of this entity | |
| void | SetScale
(
FVector Value |
Set absolute scale of this entity | |
| void | Set the tags of an Actor element | ||
| void | SetTranslation
(
FVector Value |
Set absolute translation of this entity | |
| void | SetVisibility
(
bool bInVisibility |
Set the actor's visibility |