Navigation
API > API/Runtime > API/Runtime/DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithScene
References
| Module | DatasmithCore |
| Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithScene : public IDatasmithElement
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddActor
(
const TSharedPtr< IDatasmithActorElement >& InActor |
Adds an Actor to the scene. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS void | AddCloth
(
const TSharedPtr< IDatasmithClothElement >& InElement |
||
| void | AddLevelSequence
(
const TSharedRef< IDatasmithLevelSequenceElement >& InSequence |
Adds a level sequence to the scene. | |
| void | AddLevelVariantSets
(
const TSharedPtr< IDatasmithLevelVariantSetsElement >& InLevelVariantSets |
Adds a LevelVariantSets to the scene. | |
| void | AddMaterial
(
const TSharedPtr< IDatasmithBaseMaterialElement >& InMaterial |
Adds a new Material to the scene (it won't be applied to any mesh). | |
| void | AddMesh
(
const TSharedPtr< IDatasmithMeshElement >& InMesh |
Adds a new Mesh to the scene. | |
| void | AddMetaData
(
const TSharedPtr< IDatasmithMetaDataElement >& InMetaData |
Add a metadata to the scene There should be only one metadata per Datasmith element (the element associated with the metadata) | |
| void | AddTexture
(
const TSharedPtr< IDatasmithTextureElement >& InTexture |
Adds a new Texture Element to the scene (it won't be applied to any material). | |
| void | AttachActor
(
const TSharedPtr< IDatasmithActorElement >& NewParent, |
Attach the actor to its new parent. Detach the actor if it was already attached. | |
| void | AttachActorToSceneRoot
(
const TSharedPtr< IDatasmithActorElement >& Child, |
Attach the actor to the scene root. Detach the actor if it was already attached. | |
| void | EmptyClothes () |
||
| void | Remove all materials from the scene | ||
| void | EmptyMeshes () |
Remove all meshes from the scene | |
| void | Remove all textures from the scene | ||
| const TSharedPtr< IDatasmithActorElement > & | Returns the actor using this index | ||
| TSharedPtr< IDatasmithActorElement > | Returns the actor using this index | ||
| int32 | Returns the amount of actors added to the scene | ||
| TSharedPtr< IDatasmithClothElement > | |||
| const TSharedPtr< IDatasmithClothElement > & | |||
| int32 | |||
| int32 | Returns the time taken to export the scene | ||
| const TCHAR * | Return the enterprise version of the SDK used by the exporter | ||
| const TCHAR * | Returns the Datasmith format version used to export the scene | ||
| FVector | Get Geolocation data of the scene. | ||
| const TCHAR * | GetHost () |
Returns the name of the host application which created the scene | |
| TSharedPtr< IDatasmithLevelSequenceElement > | GetLevelSequence
(
int32 InIndex |
Returns the level sequence using this index | |
| const TSharedPtr< IDatasmithLevelSequenceElement > & | GetLevelSequence
(
int32 InIndex |
||
| int32 | Returns the number of level sequences in the scene | ||
| TSharedPtr< IDatasmithLevelVariantSetsElement > | GetLevelVariantSets
(
int32 InIndex |
Returns the LevelVariantSets using this index | |
| const TSharedPtr< IDatasmithLevelVariantSetsElement > & | GetLevelVariantSets
(
int32 InIndex |
||
| int32 | Returns the number of LevelVariantSets in the scene | ||
| const TSharedPtr< IDatasmithBaseMaterialElement > & | GetMaterial
(
int32 InIndex |
||
| TSharedPtr< IDatasmithBaseMaterialElement > | GetMaterial
(
int32 InIndex |
||
| int32 | Returns the amount of materials added to the scene | ||
| const TSharedPtr< IDatasmithMeshElement > & | Returns the mesh using this index | ||
| TSharedPtr< IDatasmithMeshElement > | Returns the mesh using this index | ||
| int32 | Returns the amount of meshes added to the scene | ||
| TSharedPtr< IDatasmithMetaDataElement > | GetMetaData
(
const TSharedPtr< IDatasmithElement >& Element |
||
| const TSharedPtr< IDatasmithMetaDataElement > & | GetMetaData
(
int32 InIndex |
||
| TSharedPtr< IDatasmithMetaDataElement > | GetMetaData
(
int32 InIndex |
||
| const TSharedPtr< IDatasmithMetaDataElement > & | GetMetaData
(
const TSharedPtr< IDatasmithElement >& Element |
||
| int32 | |||
| const TSharedPtr< IDatasmithPostProcessElement > & | |||
| TSharedPtr< IDatasmithPostProcessElement > | |||
| const TCHAR * | Returns the product name of the application used to export the scene | ||
| const TCHAR * | Returns the product version of the application used to export the scene | ||
| const TCHAR * | Returns the ';' separated list of paths where resources are stored | ||
| const TSharedPtr< IDatasmithTextureElement > & | GetTexture
(
int32 InIndex |
||
| TSharedPtr< IDatasmithTextureElement > | GetTexture
(
int32 InIndex |
||
| int32 | Returns the amount of textures added to the scene | ||
| bool | 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. | ||
| const TCHAR * | GetUserID () |
Returns the user identifier who exported the scene | |
| const TCHAR * | GetUserOS () |
Returns the OS name used by user who exported the scene | |
| const TCHAR * | GetVendor () |
Returns the vendor name of the application used to export the scene | |
| void | RemoveActor
(
const TSharedPtr< IDatasmithActorElement >& InActor, |
Remove Actor from the scene. | |
| void | RemoveActorAt
(
int32 InIndex, |
Removes from the scene the Actor at the specified index. | |
| void | RemoveCloth
(
const TSharedPtr< IDatasmithClothElement >& InElement |
||
| void | RemoveClothAt
(
int32 InIndex |
||
| void | RemoveLevelSequence
(
const TSharedRef< IDatasmithLevelSequenceElement >& InSequence |
Removes a level sequence from the scene. | |
| void | RemoveLevelSequenceAt
(
int32 InIndex |
Removes from the scene the level sequence at the specified index. | |
| void | RemoveLevelVariantSets
(
const TSharedPtr< IDatasmithLevelVariantSetsElement >& InLevelVariantSets |
Removes a LevelVariantSets from the scene. | |
| void | RemoveLevelVariantSetsAt
(
int32 InIndex |
Removes from the scene the LevelVariantSets at the specified index. | |
| void | RemoveMaterial
(
const TSharedPtr< IDatasmithBaseMaterialElement >& InMaterial |
Removes a Material Element from the scene. | |
| void | RemoveMaterialAt
(
int32 InIndex |
Removes from the scene the Material Element at the specified index. | |
| void | RemoveMesh
(
const TSharedPtr< IDatasmithMeshElement >& InMesh |
Remove a Mesh to the scene. | |
| void | RemoveMeshAt
(
int32 InIndex |
Removes from the scene the Mesh element at the specified index. | |
| void | RemoveMetaData
(
const TSharedPtr< IDatasmithMetaDataElement >& Element |
||
| void | RemoveMetaDataAt
(
int32 InIndex |
||
| void | RemoveTexture
(
const TSharedPtr< IDatasmithTextureElement >& InTexture |
Removes a Texture Element from the scene. | |
| void | RemoveTextureAt
(
int32 InIndex |
Removes from the scene the Texture element at the specified index. | |
| void | Reset () |
Resets all the settings on the scene | |
| void | Sets the time taken to export the scene. | ||
| void | SetExporterSDKVersion
(
const TCHAR* |
Sets the enterprise SDK version used to export the scene. | |
| void | SetExporterVersion
(
const TCHAR* |
Sets the Datasmith version used to export the scene. | |
| void | SetGeolocationElevation
(
double |
||
| void | SetGeolocationLatitude
(
double |
||
| void | SetGeolocationLongitude
(
double |
||
| void | Sets the name of the host application from which we're exporting from. | ||
| void | SetPostProcess
(
const TSharedPtr< IDatasmithPostProcessElement >& InPostProcess |
Set a new Postprocess for the scene | |
| void | SetProductName
(
const TCHAR* |
Sets the product name of the application used to export the scene. | |
| void | SetProductVersion
(
const TCHAR* |
Sets the product version of the application used to export the scene. | |
| void | SetResourcePath
(
const TCHAR* |
Similar to how the PATH environment variable works, sets list of paths where resources can be stored. | |
| void | SetUsePhysicalSky
(
bool bInUsePhysicalSky |
Enable or disable the usage of Physical Sky Notice that if a HDRI environment is used this gets disabled. | |
| void | Sets the user identifier who exported the scene. | ||
| void | Sets the user's OS name. | ||
| void | Sets the vendor name of the application used to export the scene. |