Public Member Functions | |
| FDatasmithSceneImpl (const TCHAR *InName) | |
| virtual void | Reset () override |
| Resets all the settings on the scene. More... | |
| virtual const TCHAR * | GetHost () const |
| Sets the name of the host application which created the scene. More... | |
| virtual void | SetHost (const TCHAR *InHostname) |
| Sets the name of the host application from which we're exporting from. More... | |
| virtual const TCHAR * | GetExporterVersion () const override |
| Returns the Datasmith format version used to export the scene. More... | |
| virtual void | SetExporterVersion (const TCHAR *InVersion) override |
| Sets the Datasmith version used to export the scene. More... | |
| virtual const TCHAR * | GetExporterSDKVersion () const override |
| Return the enterprise version of the SDK used by the exporter. More... | |
| virtual void | SetExporterSDKVersion (const TCHAR *InVersion) override |
| Sets the enterprise SDK version used to export the scene. More... | |
| virtual const TCHAR * | GetVendor () const override |
| Returns the vendor name of the application used to export the scene. More... | |
| virtual void | SetVendor (const TCHAR *InVendor) override |
| Sets the vendor name of the application used to export the scene. More... | |
| virtual const TCHAR * | GetProductName () const override |
| Returns the product name of the application used to export the scene. More... | |
| virtual void | SetProductName (const TCHAR *InProductName) override |
| Sets the product name of the application used to export the scene. More... | |
| virtual const TCHAR * | GetProductVersion () const override |
| Returns the product version of the application used to export the scene. More... | |
| virtual void | SetProductVersion (const TCHAR *InProductVersion) override |
| Sets the product version of the application used to export the scene. More... | |
| virtual const TCHAR * | GetUserID () const override |
| Returns the user identifier who exported the scene. More... | |
| virtual void | SetUserID (const TCHAR *InUserID) override |
| Sets the user identifier who exported the scene. More... | |
| virtual const TCHAR * | GetUserOS () const override |
| Returns the OS name used by user who exported the scene. More... | |
| virtual void | SetUserOS (const TCHAR *InUserOS) override |
| Sets the user's OS name. More... | |
| virtual int32 | GetExportDuration () const override |
| Returns the time taken to export the scene. More... | |
| virtual void | SetExportDuration (int32 InExportDuration) override |
| Sets the time taken to export the scene. More... | |
| virtual void | AddMesh (const TSharedPtr< IDatasmithMeshElement > &InMesh) override |
| Adds a new Mesh to the scene. More... | |
| virtual int32 | GetMeshesCount () const override |
| Returns the amount of meshes added to the scene. More... | |
| virtual TSharedPtr< IDatasmithMeshElement > | GetMesh (int32 InIndex) override |
| Returns the mesh using this index. More... | |
| virtual const TSharedPtr< IDatasmithMeshElement > & | GetMesh (int32 InIndex) const override |
| Returns the mesh using this index. More... | |
| virtual void | RemoveMesh (const TSharedPtr< IDatasmithMeshElement > &InMesh) override |
| Remove a Mesh to the scene. More... | |
| virtual void | EmptyMeshes () override |
| Remove all meshes from the scene. More... | |
| virtual void | AddActor (const TSharedPtr< IDatasmithActorElement > &InActor) override |
| Adds an Actor to the scene. More... | |
| virtual int32 | GetActorsCount () const override |
| Returns the amount of actors added to the scene. More... | |
| virtual TSharedPtr< IDatasmithActorElement > | GetActor (int32 InIndex) override |
| Returns the actor using this index. More... | |
| virtual const TSharedPtr< IDatasmithActorElement > & | GetActor (int32 InIndex) const override |
| Returns the actor using this index. More... | |
| virtual void | RemoveActor (const TSharedPtr< IDatasmithActorElement > &InActor, EDatasmithActorRemovalRule RemoveRule) override |
| Remove Actor from the scene. More... | |
| virtual void | AddMaterial (const TSharedPtr< IDatasmithBaseMaterialElement > &InMaterial) override |
| Adds a new Material to the scene (it won't be applied to any mesh). More... | |
| virtual int32 | GetMaterialsCount () const override |
| Returns the amount of materials added to the scene. More... | |
| virtual TSharedPtr< IDatasmithBaseMaterialElement > | GetMaterial (int32 InIndex) override |
| virtual const TSharedPtr< IDatasmithBaseMaterialElement > & | GetMaterial (int32 InIndex) const override |
| virtual void | RemoveMaterial (const TSharedPtr< IDatasmithBaseMaterialElement > &InMaterial) override |
| Removes a Material Element from the scene. More... | |
| virtual void | EmptyMaterials () override |
| Remove all materials from the scene. More... | |
| virtual void | AddTexture (const TSharedPtr< IDatasmithTextureElement > &InTexture) override |
| Adds a new Texture Element to the scene (it won't be applied to any material). More... | |
| virtual int32 | GetTexturesCount () const override |
| Returns the amount of textures added to the scene. More... | |
| virtual TSharedPtr< IDatasmithTextureElement > | GetTexture (int32 InIndex) override |
| virtual const TSharedPtr< IDatasmithTextureElement > & | GetTexture (int32 InIndex) const override |
| virtual void | RemoveTexture (const TSharedPtr< IDatasmithTextureElement > &InTexture) override |
| Removes a Texture Element from the scene. More... | |
| virtual void | EmptyTextures () override |
| Remove all textures from the scene. More... | |
| virtual void | SetPostProcess (const TSharedPtr< IDatasmithPostProcessElement > &InPostProcess) override |
| Set a new Postprocess for the scene. More... | |
| virtual TSharedPtr< IDatasmithPostProcessElement > | GetPostProcess () override |
| virtual const TSharedPtr< IDatasmithPostProcessElement > & | GetPostProcess () const override |
| virtual void | SetUsePhysicalSky (bool bInUsePhysicalSky) override |
| Enable or disable the usage of Physical Sky Notice that if a HDRI environment is used this gets disabled. More... | |
| virtual bool | GetUsePhysicalSky () const override |
| 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. More... | |
| virtual void | AddLODScreenSize (float ScreenSize) override |
| Adds a new LOD screen size setting. More... | |
| virtual int32 | GetLODScreenSizesCount () const override |
| virtual float | GetLODScreenSize (int32 InIndex) const override |
| virtual void | AddMetaData (const TSharedPtr< IDatasmithMetaDataElement > &InMetaData) override |
| Add a metadata to the scene There should be only one metadata per Datasmith element (the element associated with the metadata) More... | |
| virtual int32 | GetMetaDataCount () const override |
| virtual TSharedPtr< IDatasmithMetaDataElement > | GetMetaData (int32 InIndex) override |
| virtual const TSharedPtr< IDatasmithMetaDataElement > & | GetMetaData (int32 InIndex) const override |
| virtual TSharedPtr< IDatasmithMetaDataElement > | GetMetaData (const TSharedPtr< IDatasmithElement > &Element) override |
| virtual const TSharedPtr< IDatasmithMetaDataElement > & | GetMetaData (const TSharedPtr< IDatasmithElement > &Element) const override |
| virtual void | AddLevelSequence (const TSharedRef< IDatasmithLevelSequenceElement > &InSequence) override |
| Adds a level sequence to the scene. More... | |
| virtual int32 | GetLevelSequencesCount () const override |
| Returns the number of level sequences in the scene. More... | |
| virtual TSharedPtr< IDatasmithLevelSequenceElement > | GetLevelSequence (int32 InIndex) override |
| Returns the level sequence using this index. More... | |
| virtual void | RemoveLevelSequence (const TSharedRef< IDatasmithLevelSequenceElement > &InSequence) override |
| Removes a level sequence from the scene. More... | |
| virtual void | AttachActor (const TSharedPtr< IDatasmithActorElement > &NewParent, const TSharedPtr< IDatasmithActorElement > &Child, EDatasmithActorAttachmentRule AttachmentRule) override |
| Attach the actor to his new parent. More... | |
| virtual void | AttachActorToSceneRoot (const TSharedPtr< IDatasmithActorElement > &Child, EDatasmithActorAttachmentRule AttachmentRule) override |
| Attach the actor to the scene root. More... | |
Public Member Functions inherited from FDatasmithElementImpl< IDatasmithScene > | |
| FDatasmithElementImpl (const TCHAR *InName, EDatasmithElementType InType, uint64 InSubType=0) | |
| virtual bool | IsA (EDatasmithElementType InType) const override |
| virtual bool | IsSubType (uint64 InSubType) const override |
| virtual const TCHAR * | GetName () const override |
| virtual void | SetName (const TCHAR *InName) override |
| virtual const TCHAR * | GetLabel () const override |
| virtual void | SetLabel (const TCHAR *InLabel) override |
| virtual FMD5Hash | CalculateElementHash (bool) override |
Additional Inherited Members | |
Protected Attributes inherited from FDatasmithElementImpl< IDatasmithScene > | |
| FString | Name |
| FString | Label |
| FMD5Hash | ElementHash |
| EDatasmithElementType | Type |
| uint64 | SubType |
|
inlineoverridevirtual |
Adds an Actor to the scene.
| InActor | the Actor that will be added |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Adds a level sequence to the scene.
| InSequence | the level sequence to add |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Adds a new LOD screen size setting.
The first one added is used for the base LOD, the second one is for LOD1, etc.
| ScreenSize | Ratio of the screen clamped between 0 and 1 |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Adds a new Material to the scene (it won't be applied to any mesh).
| InMaterial | the Material that will be added |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Adds a new Mesh to the scene.
| InMesh | the Mesh that will be added |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Add a metadata to the scene There should be only one metadata per Datasmith element (the element associated with the metadata)
Implements IDatasmithScene.
|
inlineoverridevirtual |
Adds a new Texture Element to the scene (it won't be applied to any material).
| InTexture | the Texture Element that will be added |
Implements IDatasmithScene.
|
overridevirtual |
Attach the actor to his new parent.
Detach the actor if he was already attach.
Implements IDatasmithScene.
|
overridevirtual |
Attach the actor to the scene root.
Detach the actor if he was already attach.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Remove all materials from the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Remove all meshes from the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Remove all textures from the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the actor using this index.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the actor using this index.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the amount of actors added to the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the time taken to export the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Return the enterprise version of the SDK used by the exporter.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the Datasmith format version used to export the scene.
Implements IDatasmithScene.
|
inlinevirtual |
Sets the name of the host application which created the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the level sequence using this index.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the number of level sequences in the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the amount of materials added to the scene.
Implements IDatasmithScene.
|
overridevirtual |
Returns the mesh using this index.
Implements IDatasmithScene.
|
overridevirtual |
Returns the mesh using this index.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the amount of meshes added to the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the product name of the application used to export the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the product version of the application used to export the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the amount of textures added to the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
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.
Notice that if a HDRI environment is used this gets disabled.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the user identifier who exported the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the OS name used by user who exported the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Returns the vendor name of the application used to export the scene.
Implements IDatasmithScene.
|
overridevirtual |
Remove Actor from the scene.
| InActor | the Actor that will be removed |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Removes a level sequence from the scene.
| InSequence | the level sequence to remove |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Removes a Material Element from the scene.
| InMaterial | the Material Element to remove |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Remove a Mesh to the scene.
| InMesh | the Mesh that will be removed |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Removes a Texture Element from the scene.
| InTexture | the Texture Element that will be removed |
Implements IDatasmithScene.
|
overridevirtual |
Resets all the settings on the scene.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Sets the time taken to export the scene.
| InExportDuration | The export duration (in seconds) |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Sets the enterprise SDK version used to export the scene.
Only needs to be set when parsing the .udatasmith during import
| InVersion | The Datasmith version number as string |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Sets the Datasmith version used to export the scene.
Only needs to be set when parsing the .udatasmith during import
| InVersion | The Datasmith version number as string |
Implements IDatasmithScene.
|
inlinevirtual |
Sets the name of the host application from which we're exporting from.
| InHost | The host application name |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Set a new Postprocess for the scene.
| InPostProcess | the Environment that will be added |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Sets the product name of the application used to export the scene.
| InProductName | The application name |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Sets the product version of the application used to export the scene.
| InProductVersion | The application version |
Implements IDatasmithScene.
|
inlineoverridevirtual |
Enable or disable the usage of Physical Sky Notice that if a HDRI environment is used this gets disabled.
Implements IDatasmithScene.
|
inlineoverridevirtual |
Sets the user identifier who exported the scene.
| InUserID | The user identifier |
Implements IDatasmithScene.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Sets the vendor name of the application used to export the scene.
| InVendor | The application vendor name |
Implements IDatasmithScene.