Class SoundInfoPart
This class represents the sound info part.
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)
Reads 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. |