IDatasmithActorElement

Base definition for Actor Elements like geometry instances, cameras or lights

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Public function Virtual

~IDatasmithActorElement()

Functions

Name Description

Public function

void

 

AddChild

(
    const TSharedPtr< IDatasmithActorEl...,
    EDatasmithActorAttachmentRule Attac...
)

Adds a new child to the Actor Element

Public function

void

 

AddTag

(
    const TCHAR* InTag
)

Add a new Tag to an Actor element

Public function Const

const TShare...

 

GetChild

(
    int32 InIndex
)

Public function

TSharedPtr< ...

 

GetChild

(
    int32 InIndex
)

Get the InIndex-th child of the mesh actor

Public function Const

int32

 

GetChildrenCount()

Get the number of children on this actor

Public function Const

const TCHAR ...

 

GetLayer()

Get the the name of the layer that contains this entity

Public function Const

const TShare...

 

GetParentActor()

Get the parent actor of the Actor element, returns invalid TSharedPtr if the Actor is directly under the scene root

Public function Const

FTransform

 

GetRelativeTransform()

Returns the relative transform for this element

Public function Const

FQuat

 

GetRotation()

Get rotation (in quaternion format) of this entity

Public function Const

FVector

 

GetScale()

Get absolute scale of this entity

Public function Const

const TCHAR ...

 

GetTag

(
    int32 TagIndex
)

Get the 'TagIndex'th tag of an Actor element

Public function Const

int32

 

GetTagsCount()

Get the number of tags attached to an Actor element

Public function Const

FVector

 

GetTranslation()

Get absolute translation of this entity

Public function Const

bool

 

GetVisibility()

Set a mesh actor's visibility

Public function Const

bool

 

IsAComponent()

Public function

void

 

RemoveChild

(
    const TSharedPtr< IDatasmithActorEl...
)

Public function

void

 

ResetTags()

Remove all Tags on the Actor element

Public function

void

 

SetIsAComponent

(
    bool Value
)

Indicates if this actor is a standalone actor or a component, when used in a hierarchy

Public function

void

 

SetLayer

(
    const TCHAR* InLayer
)

Set the the the layer that contains this entity, layer will be auto-created from its name

Public function

void

 

SetRotation

(
    const FQuat& Value,
    bool bKeepChildrenRelative
)

Set rotation (in quaternion format) of this entity

Public function

void

 

SetRotation

(
    float InX,
    float InY,
    float InZ,
    float InW,
    bool bKeepChildrenRelative
)

Set rotation (in quaternion format) of this entity

Public function

void

 

SetScale

(
    const FVector& Value,
    bool bKeepChildrenRelative
)

Set absolute scale of this entity

Public function

void

 

SetScale

(
    float InX,
    float InY,
    float InZ,
    bool bKeepChildrenRelative
)

Set absolute scale of this entity

Public function

void

 

SetTranslation

(
    const FVector& Value,
    bool bKeepChildrenRelative
)

Set absolute translation of this entity

Public function

void

 

SetTranslation

(
    float InX,
    float InY,
    float InZ,
    bool bKeepChildrenRelative
)

Set absolute translation of this entity

Public function

void

 

SetVisibility

(
    bool bInVisibility
)

Get a mesh actor's visibility

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