UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDatasmithSceneFactory Class Reference

#include <DatasmithSceneFactory.h>

Static Public Member Functions

static UE_API TSharedPtr< IDatasmithElementCreateElement (EDatasmithElementType InType, const TCHAR *InName)
 
static UE_API TSharedPtr< IDatasmithElementCreateElement (EDatasmithElementType InType, uint64 InSubType, const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithActorElementCreateActor (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithCameraActorElementCreateCameraActor (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithCompositeTextureCreateCompositeTexture ()
 
static UE_API TSharedRef< IDatasmithCustomActorElementCreateCustomActor (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithLandscapeElementCreateLandscape (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithPostProcessVolumeElementCreatePostProcessVolume (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithEnvironmentElementCreateEnvironment (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithPointLightElementCreatePointLight (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithSpotLightElementCreateSpotLight (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithDirectionalLightElementCreateDirectionalLight (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithAreaLightElementCreateAreaLight (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithLightmassPortalElementCreateLightmassPortal (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithKeyValuePropertyCreateKeyValueProperty (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithMeshElementCreateMesh (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithMeshActorElementCreateMeshActor (const TCHAR *InName)
 
static PRAGMA_DISABLE_DEPRECATION_WARNINGS UE_API TSharedRef< IDatasmithClothElementCreateCloth (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithClothActorElementCreateClothActor (const TCHAR *InName)
 
UE_API static PRAGMA_ENABLE_DEPRECATION_WARNINGS TSharedRef< IDatasmithHierarchicalInstancedStaticMeshActorElementCreateHierarchicalInstanceStaticMeshActor (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithMaterialElementCreateMaterial (const TCHAR *InName)
 
static PRAGMA_DISABLE_DEPRECATION_WARNINGS TSharedRef< IDatasmithMasterMaterialElement > CreateMasterMaterial (const TCHAR *InName)
 
UE_API static PRAGMA_ENABLE_DEPRECATION_WARNINGS TSharedRef< IDatasmithMaterialInstanceElementCreateMaterialInstance (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithUEPbrMaterialElementCreateUEPbrMaterial (const TCHAR *InName)
 
static UE_API TSharedPtr< IDatasmithMaterialExpressionCreateMaterialExpression (EDatasmithMaterialExpressionType MaterialExpression)
 
static UE_API TSharedRef< IDatasmithExpressionInputCreateExpressionInput (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithExpressionOutputCreateExpressionOutput (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithMetaDataElementCreateMetaData (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithMaterialIDElementCreateMaterialId (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithPostProcessElementCreatePostProcess ()
 
static UE_API TSharedRef< IDatasmithShaderElementCreateShader (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithTextureElementCreateTexture (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithLevelSequenceElementCreateLevelSequence (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithTransformAnimationElementCreateTransformAnimation (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithVisibilityAnimationElementCreateVisibilityAnimation (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithSubsequenceAnimationElementCreateSubsequenceAnimation (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithLevelVariantSetsElementCreateLevelVariantSets (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithVariantSetElementCreateVariantSet (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithVariantElementCreateVariant (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithActorBindingElementCreateActorBinding ()
 
static UE_API TSharedRef< IDatasmithPropertyCaptureElementCreatePropertyCapture ()
 
static UE_API TSharedRef< IDatasmithObjectPropertyCaptureElementCreateObjectPropertyCapture ()
 
static UE_API TSharedRef< IDatasmithDecalActorElementCreateDecalActor (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithDecalMaterialElementCreateDecalMaterial (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithSceneCreateScene (const TCHAR *InName)
 
static UE_API TSharedRef< IDatasmithSceneDuplicateScene (const TSharedRef< IDatasmithScene > &InScene)
 

Detailed Description

Factory to create the scene elements used for the export and import process. The shared pointer returned is the only one existing at that time. Make sure to hang onto it until the scene element isn't needed anymore.

Member Function Documentation

◆ CreateActor()

TSharedRef< IDatasmithActorElement > FDatasmithSceneFactory::CreateActor ( const TCHAR InName)
static

◆ CreateActorBinding()

TSharedRef< IDatasmithActorBindingElement > FDatasmithSceneFactory::CreateActorBinding ( )
static

◆ CreateAreaLight()

TSharedRef< IDatasmithAreaLightElement > FDatasmithSceneFactory::CreateAreaLight ( const TCHAR InName)
static

◆ CreateCameraActor()

TSharedRef< IDatasmithCameraActorElement > FDatasmithSceneFactory::CreateCameraActor ( const TCHAR InName)
static

◆ CreateCloth()

PRAGMA_DISABLE_DEPRECATION_WARNINGS TSharedRef< IDatasmithClothElement > FDatasmithSceneFactory::CreateCloth ( const TCHAR InName)
static

◆ CreateClothActor()

TSharedRef< IDatasmithClothActorElement > FDatasmithSceneFactory::CreateClothActor ( const TCHAR InName)
static

◆ CreateCompositeTexture()

TSharedRef< IDatasmithCompositeTexture > FDatasmithSceneFactory::CreateCompositeTexture ( )
static

◆ CreateCustomActor()

TSharedRef< IDatasmithCustomActorElement > FDatasmithSceneFactory::CreateCustomActor ( const TCHAR InName)
static

◆ CreateDecalActor()

TSharedRef< IDatasmithDecalActorElement > FDatasmithSceneFactory::CreateDecalActor ( const TCHAR InName)
static

◆ CreateDecalMaterial()

TSharedRef< IDatasmithDecalMaterialElement > FDatasmithSceneFactory::CreateDecalMaterial ( const TCHAR InName)
static

◆ CreateDirectionalLight()

TSharedRef< IDatasmithDirectionalLightElement > FDatasmithSceneFactory::CreateDirectionalLight ( const TCHAR InName)
static

◆ CreateElement() [1/2]

TSharedPtr< IDatasmithElement > FDatasmithSceneFactory::CreateElement ( EDatasmithElementType  InType,
const TCHAR InName 
)
static

◆ CreateElement() [2/2]

TSharedPtr< IDatasmithElement > FDatasmithSceneFactory::CreateElement ( EDatasmithElementType  InType,
uint64  InSubType,
const TCHAR InName 
)
static

◆ CreateEnvironment()

TSharedRef< IDatasmithEnvironmentElement > FDatasmithSceneFactory::CreateEnvironment ( const TCHAR InName)
static

◆ CreateExpressionInput()

TSharedRef< IDatasmithExpressionInput > FDatasmithSceneFactory::CreateExpressionInput ( const TCHAR InName)
static

Creates an ExpressionInput from the given type. Warning: This function's main purpose is to allow the creation of serialized expression inputs. It should not be used to add inputs to a material expression.

◆ CreateExpressionOutput()

TSharedRef< IDatasmithExpressionOutput > FDatasmithSceneFactory::CreateExpressionOutput ( const TCHAR InName)
static

Creates an ExpressionOutput from the given type. Warning: This function's main purpose is to allow the creation of serialized expression outputs. It should not be used to add outputs to a material expression.

◆ CreateHierarchicalInstanceStaticMeshActor()

PRAGMA_ENABLE_DEPRECATION_WARNINGS TSharedRef< IDatasmithHierarchicalInstancedStaticMeshActorElement > FDatasmithSceneFactory::CreateHierarchicalInstanceStaticMeshActor ( const TCHAR InName)
static

◆ CreateKeyValueProperty()

TSharedRef< IDatasmithKeyValueProperty > FDatasmithSceneFactory::CreateKeyValueProperty ( const TCHAR InName)
static

◆ CreateLandscape()

TSharedRef< IDatasmithLandscapeElement > FDatasmithSceneFactory::CreateLandscape ( const TCHAR InName)
static

◆ CreateLevelSequence()

TSharedRef< IDatasmithLevelSequenceElement > FDatasmithSceneFactory::CreateLevelSequence ( const TCHAR InName)
static

◆ CreateLevelVariantSets()

TSharedRef< IDatasmithLevelVariantSetsElement > FDatasmithSceneFactory::CreateLevelVariantSets ( const TCHAR InName)
static

◆ CreateLightmassPortal()

TSharedRef< IDatasmithLightmassPortalElement > FDatasmithSceneFactory::CreateLightmassPortal ( const TCHAR InName)
static

◆ CreateMasterMaterial()

static PRAGMA_DISABLE_DEPRECATION_WARNINGS TSharedRef< IDatasmithMasterMaterialElement > FDatasmithSceneFactory::CreateMasterMaterial ( const TCHAR InName)
inlinestatic

◆ CreateMaterial()

TSharedRef< IDatasmithMaterialElement > FDatasmithSceneFactory::CreateMaterial ( const TCHAR InName)
static

◆ CreateMaterialExpression()

TSharedPtr< IDatasmithMaterialExpression > FDatasmithSceneFactory::CreateMaterialExpression ( EDatasmithMaterialExpressionType  MaterialExpression)
static

Creates a MaterialExpression from the given type. Warning: This function's main purpose is to allow the creation of serialized material expressions. Creating and adding new expressions to a UEPbrMaterial should be done with the IDatasmithUEPbrMaterialElement::AddMaterialExpression() function.

◆ CreateMaterialId()

TSharedRef< IDatasmithMaterialIDElement > FDatasmithSceneFactory::CreateMaterialId ( const TCHAR InName)
static

◆ CreateMaterialInstance()

TSharedRef< IDatasmithMaterialInstanceElement > FDatasmithSceneFactory::CreateMaterialInstance ( const TCHAR InName)
static

◆ CreateMesh()

TSharedRef< IDatasmithMeshElement > FDatasmithSceneFactory::CreateMesh ( const TCHAR InName)
static

◆ CreateMeshActor()

TSharedRef< IDatasmithMeshActorElement > FDatasmithSceneFactory::CreateMeshActor ( const TCHAR InName)
static

◆ CreateMetaData()

TSharedRef< IDatasmithMetaDataElement > FDatasmithSceneFactory::CreateMetaData ( const TCHAR InName)
static

◆ CreateObjectPropertyCapture()

TSharedRef< IDatasmithObjectPropertyCaptureElement > FDatasmithSceneFactory::CreateObjectPropertyCapture ( )
static

◆ CreatePointLight()

TSharedRef< IDatasmithPointLightElement > FDatasmithSceneFactory::CreatePointLight ( const TCHAR InName)
static

◆ CreatePostProcess()

TSharedRef< IDatasmithPostProcessElement > FDatasmithSceneFactory::CreatePostProcess ( )
static

◆ CreatePostProcessVolume()

TSharedRef< IDatasmithPostProcessVolumeElement > FDatasmithSceneFactory::CreatePostProcessVolume ( const TCHAR InName)
static

◆ CreatePropertyCapture()

TSharedRef< IDatasmithPropertyCaptureElement > FDatasmithSceneFactory::CreatePropertyCapture ( )
static

◆ CreateScene()

TSharedRef< IDatasmithScene > FDatasmithSceneFactory::CreateScene ( const TCHAR InName)
static

◆ CreateShader()

TSharedRef< IDatasmithShaderElement > FDatasmithSceneFactory::CreateShader ( const TCHAR InName)
static

◆ CreateSpotLight()

TSharedRef< IDatasmithSpotLightElement > FDatasmithSceneFactory::CreateSpotLight ( const TCHAR InName)
static

◆ CreateSubsequenceAnimation()

TSharedRef< IDatasmithSubsequenceAnimationElement > FDatasmithSceneFactory::CreateSubsequenceAnimation ( const TCHAR InName)
static

◆ CreateTexture()

TSharedRef< IDatasmithTextureElement > FDatasmithSceneFactory::CreateTexture ( const TCHAR InName)
static

◆ CreateTransformAnimation()

TSharedRef< IDatasmithTransformAnimationElement > FDatasmithSceneFactory::CreateTransformAnimation ( const TCHAR InName)
static

◆ CreateUEPbrMaterial()

TSharedRef< IDatasmithUEPbrMaterialElement > FDatasmithSceneFactory::CreateUEPbrMaterial ( const TCHAR InName)
static

◆ CreateVariant()

TSharedRef< IDatasmithVariantElement > FDatasmithSceneFactory::CreateVariant ( const TCHAR InName)
static

◆ CreateVariantSet()

TSharedRef< IDatasmithVariantSetElement > FDatasmithSceneFactory::CreateVariantSet ( const TCHAR InName)
static

◆ CreateVisibilityAnimation()

TSharedRef< IDatasmithVisibilityAnimationElement > FDatasmithSceneFactory::CreateVisibilityAnimation ( const TCHAR InName)
static

◆ DuplicateScene()

TSharedRef< IDatasmithScene > FDatasmithSceneFactory::DuplicateScene ( const TSharedRef< IDatasmithScene > &  InScene)
static

The documentation for this class was generated from the following files: