Class SoundInfoPart
This class represent the sound info part.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class SoundInfoPart : AssetPart
Constructors
SoundInfoPart()
Initializes a new instance of the SoundInfoPart class.
Declaration
public SoundInfoPart()
Properties
Format
Gets or sets the sound wave format.
Declaration
public WaveFormat Format { get; set; }
Property Value
Type | Description |
---|---|
WaveFormat |
Methods
Read(BinaryReader)
Read this asset part.
Declaration
public static SoundInfoPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
SoundInfoPart | 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. |