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 scene source. |
Fields
Extension
The meta file extension.
Declaration
public static readonly string Extension
Field Value
Type | Description |
---|---|
string |
InstancedEntities
The name of the file with all the entities instanced.
Declaration
public static readonly string InstancedEntities
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 when exporting.
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 assets pass the integrity check. |
Overrides
EnumerateAllAssets()
Enumerates all assets in this directory and its children directory.
Declaration
public override IEnumerable<AssetItem> EnumerateAllAssets()
Returns
Type | Description |
---|---|
IEnumerable<AssetItem> | All assets in this directory and its children directory. |