Navigation
API > API/Runtime > API/Runtime/DatasmithCore
Base definition for Actor Elements like geometry instances, cameras or lights
| Name | IDatasmithActorElement |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include Path | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithActorElement : public IDatasmithElement
Implements Interfaces
Derived Classes
IDatasmithActorElement derived class hierarchy
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithActorElement() |
IDatasmithSceneElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddChild
(
const TSharedPtr< IDatasmithActorElement >& InChild, |
Adds a new child to the Actor Element | IDatasmithSceneElements.h | |
void AddTag
(
const TCHAR* InTag |
Add a new Tag to an Actor element | IDatasmithSceneElements.h | |
bool GetCastShadow() |
Get whether an actor's casts shadow | IDatasmithSceneElements.h | |
const TSharedPtr< IDatasmithActorElement > & GetChild
(
int32 InIndex |
IDatasmithSceneElements.h | ||
TSharedPtr< IDatasmithActorElement > GetChild
(
int32 InIndex |
Get the InIndex-th child of the mesh actor | IDatasmithSceneElements.h | |
int32 GetChildrenCount() |
Get the number of children on this actor | IDatasmithSceneElements.h | |
const TCHAR * GetLayer() |
Get the the name of the layer that contains this entity | IDatasmithSceneElements.h | |
EDatasmithActorMobilityType GetMobility() |
Get a mesh actor's visibility | IDatasmithSceneElements.h | |
const TSharedPtr< IDatasmithActorElement > & GetParentActor() |
Get the parent actor of the Actor element, returns invalid TSharedPtr if the Actor is directly under the scene root | IDatasmithSceneElements.h | |
FTransform GetRelativeTransform() |
Returns the relative transform for this element | IDatasmithSceneElements.h | |
FQuat GetRotation() |
Get rotation (in quaternion format) of this entity | IDatasmithSceneElements.h | |
FVector GetScale() |
Get absolute scale of this entity | IDatasmithSceneElements.h | |
const TCHAR * GetTag
(
int32 TagIndex |
Get the 'TagIndex'th tag of an Actor element | IDatasmithSceneElements.h | |
int32 GetTagsCount() |
Get the number of tags attached to an Actor element | IDatasmithSceneElements.h | |
FVector GetTranslation() |
Get absolute translation of this entity | IDatasmithSceneElements.h | |
bool GetVisibility() |
Get a mesh actor's visibility | IDatasmithSceneElements.h | |
bool IsAComponent() |
IDatasmithSceneElements.h | ||
void RemoveChild
(
const TSharedPtr< IDatasmithActorElement >& InChild |
IDatasmithSceneElements.h | ||
void ResetTags() |
Remove all Tags on the Actor element | IDatasmithSceneElements.h | |
void SetCastShadow
(
bool bInCastShadow |
Set whether an actor's casts shadow | IDatasmithSceneElements.h | |
void SetIsAComponent
(
bool Value |
Indicates if this actor is a standalone actor or a component, when used in a hierarchy | IDatasmithSceneElements.h | |
void SetLayer
(
const TCHAR* InLayer |
Set the the the layer that contains this entity, layer will be auto-created from its name | IDatasmithSceneElements.h | |
void SetMobility
(
EDatasmithActorMobilityType Mobility |
Set a mesh actor's visibility | IDatasmithSceneElements.h | |
void SetRotation
(
const FQuat& Value, |
Set rotation (in quaternion format) of this entity | IDatasmithSceneElements.h | |
void SetRotation
(
double InX, |
Set rotation (in quaternion format) of this entity | IDatasmithSceneElements.h | |
void SetScale
(
const FVector& Value, |
Set absolute scale of this entity | IDatasmithSceneElements.h | |
void SetScale
(
double InX, |
Set absolute scale of this entity | IDatasmithSceneElements.h | |
void SetTranslation
(
const FVector& Value, |
Set absolute translation of this entity | IDatasmithSceneElements.h | |
void SetTranslation
(
double InX, |
Set absolute translation of this entity | IDatasmithSceneElements.h | |
void SetVisibility
(
bool bInVisibility |
Set a mesh actor's visibility | IDatasmithSceneElements.h |