Navigation
Unreal Engine C++ API Reference > Runtime > DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithActorElement
- IDatasmithCameraActorElement
- IDatasmithClothActorElement
- IDatasmithCustomActorElement
- IDatasmithDecalActorElement
- IDatasmithLandscapeElement
- IDatasmithLightActorElement
- IDatasmithDirectionalLightElement
- IDatasmithEnvironmentElement
- IDatasmithPointLightElement
- IDatasmithLightmassPortalElement
- IDatasmithSpotLightElement
- IDatasmithAreaLightElement
- IDatasmithMeshActorElement
- IDatasmithHierarchicalInstancedStaticMeshActorElement
- IDatasmithPostProcessVolumeElement
References
Module | DatasmithCore |
Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
Include | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithActorElement : public IDatasmithElement
Remarks
Base definition for Actor Elements like geometry instances, cameras or lights
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddChild
(
const TSharedPtr< IDatasmithActorElement >& InChild, |
Adds a new child to the Actor Element |
![]() |
void | AddTag
(
const TCHAR* InTag |
Add a new Tag to an Actor element |
![]() ![]() |
bool | Get whether an actor's casts shadow | |
![]() ![]() |
const TSharedPtr< IDatasmithActorElement > & | GetChild
(
int32 InIndex |
|
![]() |
TSharedPtr< IDatasmithActorElement > | GetChild
(
int32 InIndex |
Get the InIndex-th child of the mesh actor |
![]() ![]() |
int32 | Get the number of children on this actor | |
![]() ![]() |
const TCHAR * | GetLayer () |
Get the the name of the layer that contains this entity |
![]() ![]() |
const TSharedPtr< IDatasmithActorElement > & | Get the parent actor of the Actor element, returns invalid TSharedPtr if the Actor is directly under the scene root | |
![]() ![]() |
FTransform | Returns the relative transform for this element | |
![]() ![]() |
FQuat | GetRotation () |
Get rotation (in quaternion format) of this entity |
![]() ![]() |
FVector | GetScale () |
Get absolute scale of this entity |
![]() ![]() |
const TCHAR * | GetTag
(
int32 TagIndex |
Get the 'TagIndex'th tag of an Actor element |
![]() ![]() |
int32 | GetTagsCount () |
Get the number of tags attached to an Actor element |
![]() ![]() |
FVector | Get absolute translation of this entity | |
![]() ![]() |
bool | Get a mesh actor's visibility | |
![]() ![]() |
bool | IsAComponent () |
|
![]() |
void | RemoveChild
(
const TSharedPtr< IDatasmithActorElement >& InChild |
|
![]() |
void | ResetTags () |
Remove all Tags on the Actor element |
![]() |
void | SetCastShadow
(
bool bInCastShadow |
Set whether an actor's casts shadow |
![]() |
void | SetIsAComponent
(
bool Value |
Indicates if this actor is a standalone actor or a component, when used in a hierarchy |
![]() |
void | SetLayer
(
const TCHAR* InLayer |
Set the the the layer that contains this entity, layer will be auto-created from its name |
![]() |
void | SetRotation
(
const FQuat& Value, |
Set rotation (in quaternion format) of this entity |
![]() |
void | SetRotation
(
double InX, |
Set rotation (in quaternion format) of this entity |
![]() |
void | SetScale
(
const FVector& Value, |
Set absolute scale of this entity |
![]() |
void | SetScale
(
double InX, |
Set absolute scale of this entity |
![]() |
void | SetTranslation
(
const FVector& Value, |
Set absolute translation of this entity |
![]() |
void | SetTranslation
(
double InX, |
Set absolute translation of this entity |
![]() |
void | SetVisibility
(
bool bInVisibility |
Set a mesh actor's visibility |