UDatasmithSceneElementBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUSceneElement.h

Include

#include "ObjectElements/DatasmithUSceneElement.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, Transient)
class UDatasmithSceneElementBase : public UObject

Variables

Constructors

Name Description

Public function

UDatasmithSceneElementBase

(
    const FObjectInitializer& ObjectIn...
)

UDatasmithSceneElementBase

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

AttachActor

(
    UDatasmithActorElement* NewPar...,
    UDatasmithActorElement* Child,
    EDatasmithActorAttachmentRule Attac...
)

Attach the actor to his new parent. Detach the actor if he was already attach.

Public function UFunction BlueprintCallable, Category

void

 

AttachActorToSceneRoot

(
    UDatasmithActorElement* NewPar...,
    EDatasmithActorAttachmentRule Attac...
)

Attach the actor to the scene root. Detach the actor if he was already attach.

Public function UFunction BlueprintCallable, Category

UDatasmithCa...

 

CreateCameraActor

(
    FName InElementName
)

Create a new Camera Actor and add it to the Datasmith scene

Public function UFunction BlueprintCallable, Category

UDatasmithLe...

 

CreateLevelVariantSets

(
    FName InElementName
)

Create a new level variant sets and add it to the Datasmith scene

Public function UFunction BlueprintCallable, Category

UDatasmithMe...

 

CreateMesh

(
    FName InElementName
)

Create a new Mesh and add it to the Datasmith scene

Public function UFunction BlueprintCallable, Category

UDatasmithMe...

 

CreateMeshActor

(
    FName InElementName
)

Create a new MeshActor and add it to the Datasmith scene

Public function UFunction BlueprintCallable, Category

UDatasmithTe...

 

CreateTexture

(
    FName InElementName
)

Create a new Texture and add it to the Datasmith scene

Public function

UDatasmithAc...

 

FindOrAddActorElement

(
    const TSharedPtr< IDatasmithActorEl...
)

Public function

UDatasmithVa...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithVariant...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithVa...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithVariant...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithAc...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithActorBi...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithOb...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithObjectP...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithPr...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithPropert...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithCu...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithCustomA...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithMe...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithMetaDat...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithLi...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithLightAc...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithPo...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithPostPro...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithCa...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithCameraA...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithLe...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithLevelVa...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithMe...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithMeshAct...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithMe...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithMeshEle...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithMa...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithMateria...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithTe...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithTexture...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithBa...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithBaseMat...
)

UDatasmithSceneElementBase Find Or Add

Public function

UDatasmithOb...

 

FindOrAddElement

(
    const TSharedPtr< IDatasmithElement...
)

UDatasmithSceneElementBase Find Or Add

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetAllCameraActors()

Create an array with all the CameraActor in the Datasmith scene without taking into account the hierarchy.

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetAllCustomActors()

Create an array with all the CustomActor in the Datasmith scene without taking into account the hierarchy.

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetAllLevelVariantSets()

Create an array with all the level variants sets from the Datasmith scene Use CreateLevelVariantSets -or- RemoveLevelVariantSets to modify the Datasmith scene.

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetAllLightActors()

Create an array with all the LightActor in the Datasmith scene without taking into account the hierarchy.

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetAllMaterials()

Create an array with all the Materials in the Datasmith scene

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetAllMeshActors()

Create an array with all the MeshActor in the Datasmith scene without taking into account the hierarchy.

Public function UFunction BlueprintCallable, Category, Meta

void

 

GetAllMetaData

Find all metadata elements associated with objects of the given type.

Public function UFunction BlueprintCallable, Category, Meta

void

 

GetAllObjectsAndValuesForKey

(
    const FString& Key,
    TSubclassOf< UDatasmithObjectElemen...,
    TArray< UDatasmithObjectElement...,
    TArray< FString >& OutValues
)

Find all objects of the given type that have a metadata element that contains the given key and their associated values.

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetCameraActors()

Create an array with the CameraActor in the Datasmith scene that are at the root level of the hierarchy.

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetCustomActors()

Create an array with the CustomActor in the Datasmith scene that are at the root level of the hierarchy.

Public function Const UFunction BlueprintCallable, Category

int32

 

GetExportDuration()

Returns the time taken to export the scene

Public function Const UFunction BlueprintCallable, Category

FString

 

GetExporterVersion()

Returns the Datasmith version used to export the scene

Public function Const UFunction BlueprintCallable, Category

FString

 

GetHost()

Sets the name of the host application which created the scene

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetLightActors()

Create an array with the LightActor in the Datasmith scene that are at the root level of the hierarchy.

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetMeshActors()

Create an array with the MeshActor in the Datasmith scene that are at the root level of the hierarchy.

Public function UFunction BlueprintCallable, Category

UDatasmithMe...

 

GetMeshByPathName

(
    const FString& MeshPathName
)

Find in the Datasmith scene the MeshElement that correspond to the mesh path name.

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetMeshes()

Create an array with all the Mesh in the Datasmith scene.

Public function UFunction BlueprintCallable, Category, Meta

UDatasmithMe...

 

GetMetaDataForObject

(
    UDatasmithObjectElement* Objec...
)

Public function UFunction BlueprintCallable, Category, Meta

void

 

GetMetaDataKeysAndValuesForValue

(
    UDatasmithObjectElement* Objec...,
    const FString& StringToMatch,
    TArray< FString >& OutKeys,
    TArray< FString >& OutValues
)

Get the keys and values for which the associated value contains the string to match for the metadata element associated with the given object.

Public function UFunction BlueprintCallable, Category, Meta

FString

 

GetMetaDataValueForKey

(
    UDatasmithObjectElement* Objec...,
    const FString& Key
)

Get the value associated with the given key of the metadata element associated with the given object.

Public function UFunction BlueprintCallable, Category

UDatasmithPo...

 

GetPostProcess()

Get the Postprocess used by the scene. Can be invalid.

Public function Const UFunction BlueprintCallable, Category

FString

 

GetProductName()

Returns the product name of the application used to export the scene

Public function Const UFunction BlueprintCallable, Category

FString

 

GetProductVersion()

Returns the product version of the application used to export the scene

Public function

TSharedPtr< ...

 

GetSceneElement()

Public function UFunction BlueprintCallable, Category

TArray< UDat...

 

GetTextures()

Create an array with all the Textures in the Datasmith scene.

Public function Const UFunction BlueprintCallable, Category

bool

 

GetUsePhysicalSky()

Physical Sky could be generated in a large amount of modes, like material, lights etc that's why it has been added as static, just enable it and it is done.

Public function Const UFunction BlueprintCallable, Category

FString

 

GetUserID()

Returns the user identifier who exported the scene

Public function Const UFunction BlueprintCallable, Category

FString

 

GetUserOS()

Returns the OS name used by user who exported the scene

Public function Const UFunction BlueprintCallable, Category

FString

 

GetVendor()

Returns the vendor name of the application used to export the scene

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithMeshActor...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithLightActo...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithCameraAct...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithTextureEl...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithPostProce...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithMetaDataE...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithCustomAct...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithBasePrope...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithActorBind...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithVariantEl...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithMeshEleme...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithMaterialI...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithLevelVari...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithVariantSe...
)

Public function Const

bool

 

IsElementValid

(
    const TWeakPtr< IDatasmithBaseMater...
)

Public function UFunction BlueprintCallable, Category

void

 

RemoveCameraActor

(
    UDatasmithCameraActorElement* ...,
    EDatasmithActorRemovalRule RemoveRu...
)

Remove the Camera actor from the Datasmith scene

Public function UFunction BlueprintCallable, Category

void

 

RemoveCustomActor

(
    UDatasmithCustomActorElement* ...,
    EDatasmithActorRemovalRule RemoveRu...
)

Remove the LightActor from the Datasmith scene

Public function UFunction BlueprintCallable, Category

void

 

RemoveLevelVariantSets

Remove the level variant sets from the Datasmith scene

Public function UFunction BlueprintCallable, Category

void

 

RemoveLightActor

(
    UDatasmithLightActorElement* I...,
    EDatasmithActorRemovalRule RemoveRu...
)

Remove the LightActor from the Datasmith scene

Public function UFunction BlueprintCallable, Category

void

 

RemoveMaterial

Remove the material from the Datasmith scene

Public function UFunction BlueprintCallable, Category

void

 

RemoveMesh

(
    UDatasmithMeshElement* InMesh
)

Remove the mesh from the Datasmith scene

Public function UFunction BlueprintCallable, Category

void

 

RemoveMeshActor

(
    UDatasmithMeshActorElement* In...,
    EDatasmithActorRemovalRule RemoveRu...
)

Remove the MeshActor from the Datasmith scene

Public function UFunction BlueprintCallable, Category

void

 

RemoveTexture

(
    UDatasmithTextureElement* InEl...
)

Remove the Texture from the Datasmith scene

Protected function Virtual

void

 

Reset()

Public function

void

 

SetDatasmithSceneElement

(
    TSharedPtr< class IDatasmithScene >...
)

Classes

Name

Description

Public struct

FDatasmithSceneCollector

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