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