Class SceneDataPart
This class represents a part of the scene data asset.
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class SceneDataPart : AssetPart
Constructors
SceneDataPart()
Initializes a new instance of the SceneDataPart class.
Declaration
public SceneDataPart()
Properties
Items
Gets the list of entities.
Declaration
public List<SceneItemModel> Items { get; }
Property Value
Type | Description |
---|---|
List<SceneItemModel> |
Managers
Gets the scene manager.
Declaration
public List<SceneManager> Managers { get; }
Property Value
Type | Description |
---|---|
List<SceneManager> |
ReferenceCounter
Gets the reference count of the assets.
Declaration
public Dictionary<Guid, int> ReferenceCounter { get; }
Property Value
Type | Description |
---|---|
Dictionary<Guid, int> |
Methods
Read(BinaryReader)
Reads this asset part.
Declaration
public static SceneDataPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
SceneDataPart | The loaded asset part. |
Write(BinaryWriter)
Writes the sub-asset.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The stream. |