Class SceneDataPart
This class represents the scene data asset part.
Inherited Members
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 entity list.
Declaration
public List<SceneItemModel> Items { get; }
  Property Value
| Type | Description | 
|---|---|
| List<SceneItemModel> | 
Managers
Gets the scene managers.
Declaration
public List<SceneManager> Managers { get; }
  Property Value
| Type | Description | 
|---|---|
| List<SceneManager> | 
ReferenceCounter
Gets the reference counter of the assets.
Declaration
public Dictionary<Guid, int> ReferenceCounter { get; }
  Property Value
| Type | Description | 
|---|---|
| Dictionary<Guid, int> | 
Methods
Read(BinaryReader)
Read 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.  |