Class SceneMetaFile
The scene meta file class.
Inheritance
SceneMetaFile
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class SceneMetaFile : AssetMetaFileWithSourceAndDirectory<SceneSource, SceneProfile, SceneExporter>, IAssetWithSource, IAssetWithDirectory, IAssetMetaFile
Constructors
SceneMetaFile()
Initializes a new instance of the SceneMetaFile class.
Declaration
public SceneMetaFile()
SceneMetaFile(SceneSource)
Initializes a new instance of the SceneMetaFile class.
Declaration
public SceneMetaFile(SceneSource sceneSource)
Parameters
Type | Name | Description |
---|---|---|
SceneSource | sceneSource | The source of the scene. |
Fields
Extension
The metadata file extension.
Declaration
public static readonly string Extension
Field Value
Type | Description |
---|---|
string |
Properties
ExtensionMetafile
Gets the extension.
Declaration
public override string ExtensionMetafile { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
NeedsToImportData
Gets a value indicating whether the source data needs to be imported during export.
Declaration
public override bool NeedsToImportData { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Methods
ChecksDirectoryIntegrity(ContentDirectory)
Checks the integrity of this asset. A common behavior is to check if the source directory is available.
Declaration
public override bool ChecksDirectoryIntegrity(ContentDirectory parentDirectory)
Parameters
Type | Name | Description |
---|---|---|
ContentDirectory | parentDirectory | The parent directory of this asset. |
Returns
Type | Description |
---|---|
bool | True if this asset passes the integrity check. |
Overrides
EnumerateAllAssets()
Enumerates all assets in this directory and its subdirectories.
Declaration
public override IEnumerable<AssetItem> EnumerateAllAssets()
Returns
Type | Description |
---|---|
IEnumerable<AssetItem> | All assets in this directory and its subdirectories. |