Navigation
API > API/Developer > API/Developer/DatasmithFacade
| Name | FDatasmithFacadeActor |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeActor.h |
| Include Path | #include "DatasmithFacadeActor.h" |
Syntax
class FDatasmithFacadeActor : public FDatasmithFacadeElement
Inheritance Hierarchy
- FDatasmithFacadeElement → FDatasmithFacadeActor
Derived Classes
- FDatasmithFacadeActorCamera
- FDatasmithFacadeActorDecal
- FDatasmithFacadeActorLight
- FDatasmithFacadeActorMesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithFacadeActor
(
const TSharedRef< IDatasmithActorElement >& InInternalActor |
DatasmithFacadeActor.h | ||
FDatasmithFacadeActor
(
const TCHAR* InElementName |
DatasmithFacadeActor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDatasmithFacadeActor() |
DatasmithFacadeActor.h |
Enums
Public
| Name | Remarks |
|---|---|
| EActorType |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddChild
(
FDatasmithFacadeActor* InChildActorPtr |
Add a new child to the Datasmith actor. | DatasmithFacadeActor.h | |
void AddTag
(
const TCHAR* InTag |
Add a new tag to the Datasmith actor. | DatasmithFacadeActor.h | |
FTransform ConvertTransform
(
const double InSourceMatrix, |
Convert a source matrix into a Datasmith actor transform. | DatasmithFacadeActor.h | |
| DatasmithFacadeActor.h | |||
bool GetCastShadow() |
DatasmithFacadeActor.h | ||
int32 GetChildrenCount() |
Get the number of children on this actor. | DatasmithFacadeActor.h | |
TSharedRef< IDatasmithActorElement > GetDatasmithActorElement() |
DatasmithFacadeActor.h | ||
const TCHAR * GetLayer() |
Get the layer of the Datasmith actor. | DatasmithFacadeActor.h | |
FDatasmithFacadeActor * GetNewChild
(
int32 InIndex |
Returns a new FDatasmithFacadeActor pointing to the InIndex-th child of the mesh actor If there is no child at the given index, returned value is nullptr. | DatasmithFacadeActor.h | |
| Returns a new FDatasmithFacadeActor pointing to the parent Actor of the actor If there is no parent of if actor is directly under the scene root, the returned value is nullptr. | DatasmithFacadeActor.h | ||
void GetRotation
(
double& OutPitch, |
DatasmithFacadeActor.h | ||
void GetRotation
(
double& OutX, |
DatasmithFacadeActor.h | ||
void GetScale
(
double& OutX, |
DatasmithFacadeActor.h | ||
const TCHAR * GetTag
(
int32 TagIndex |
Get the 'TagIndex'th tag of an Actor element. | DatasmithFacadeActor.h | |
int32 GetTagsCount() |
Get the number of tags attached to an Actor element. | DatasmithFacadeActor.h | |
void GetTranslation
(
double& OutX, |
DatasmithFacadeActor.h | ||
bool GetVisibility() |
Set a mesh actor's visibility. | DatasmithFacadeActor.h | |
bool IsComponent() |
Get whether or not the Datasmith actor is a component when used in a hierarchy. | DatasmithFacadeActor.h | |
void RemoveChild
(
FDatasmithFacadeActor* InChild |
DatasmithFacadeActor.h | ||
void ResetTags() |
Remove all Tags on the Actor element. | DatasmithFacadeActor.h | |
void SetCastShadow
(
bool bInCastShadow |
DatasmithFacadeActor.h | ||
void SetIsComponent
(
bool bInIsComponent |
Set whether or not the Datasmith actor is a component when used in a hierarchy. | DatasmithFacadeActor.h | |
void SetLayer
(
const TCHAR* InLayerName |
Set the layer of the Datasmith actor. | DatasmithFacadeActor.h | |
void SetRotation
(
double Pitch, |
DatasmithFacadeActor.h | ||
void SetRotation
(
double X, |
DatasmithFacadeActor.h | ||
void SetScale
(
double X, |
DatasmithFacadeActor.h | ||
void SetTranslation
(
double X, |
DatasmithFacadeActor.h | ||
void SetVisibility
(
bool bInVisibility |
Get a mesh actor's visibility. | DatasmithFacadeActor.h | |
void SetWorldTransform
(
const double InWorldMatrix, |
DatasmithFacadeActor.h | ||
void SetWorldTransform
(
const float InWorldMatrix, |
DatasmithFacadeActor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static EActorType GetActorType
(
const TSharedPtr< const IDatasmithActorElement >& InActor |
DatasmithFacadeActor.h | ||
static FDatasmithFacadeActor * GetNewFacadeActorFromSharedPtr
(
const TSharedPtr< IDatasmithActorElement >& InActor |
DatasmithFacadeActor.h |