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

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

int32

 

GetSelectionIndex()

Get the index of the visible child of a mesh actor which is a selector

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 Const

bool

 

IsASelector()

Get if a mesh actor is a switch or not

Public function

void

 

RemoveChild

(
    const TSharedPtr< IDatasmithActorEl...
)

Public function

void

 

ResetTags()

Remove all Tags on the Actor element

Public function

void

 

SetAsSelector

(
    bool bInIsASelector
)

Set a mesh actor as a switch or not

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
)

Set rotation (in quaternion format) of this entity

Public function

void

 

SetRotation

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

Set rotation (in quaternion format) of this entity

Public function

void

 

SetScale

(
    const FVector& Value
)

Set absolute scale of this entity

Public function

void

 

SetScale

(
    float InX,
    float InY,
    float InZ
)

Set absolute scale of this entity

Public function

void

 

SetSelectionIndex

(
    int32 InSelectionID
)

Set the index of the visible child of a mesh actor which is a selector

Public function

void

 

SetTranslation

(
    const FVector& Value
)

Set absolute translation of this entity

Public function

void

 

SetTranslation

(
    float InX,
    float InY,
    float InZ
)

Set absolute translation of this entity

Public function

void

 

SetUseParentTransform

(
    bool bUseParentTransform
)

Sets to adjust the actor transform relative to it's parent

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