Table of Contents

Class SoundEffectContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly
MonoGame.Framework.Content.Pipeline.dll

Represents a processed sound effect.

public sealed class SoundEffectContent
Inheritance
SoundEffectContent
Inherited Members

Properties

Data

Gets the byte data of the sound effect.

public required byte[] Data { get; init; }

Property Value

byte[]

Duration

Gets the duration of the sound effect.

public required int Duration { get; init; }

Property Value

int

Format

Gets the byte metadata that describes the Data byte array.

public required byte[] Format { get; init; }

Property Value

byte[]

LoopLength

Gets the end point at which sound effect loops.

public required int LoopLength { get; init; }

Property Value

int

LoopStart

Get the start point at which the sound effect should loop.

public required int LoopStart { get; init; }

Property Value

int