s&box docs

public sealed struct Sandbox.SoundFile.LoadOptions

Options for creating a sound from WAV or MP3 data via `Sandbox.SoundFile.FromWav(System.String,System.Span,Sandbox.SoundFile.LoadOptions)` or `Sandbox.SoundFile.FromMp3(System.String,System.Span,Sandbox.SoundFile.LoadOptions)`.

Constructors

Showing 1 constructors

public LoadOptions()

Options for creating a sound from WAV or MP3 data via `Sandbox.SoundFile.FromWav(System.String,System.Span,Sandbox.SoundFile.LoadOptions)` or `Sandbox.SoundFile.FromMp3(System.String,System.Span,Sandbox.SoundFile.LoadOptions)`.

Properties

Showing 3 properties

public bool Sandbox.SoundFile.LoadOptions.Loop { get; set; }

Whether the sound should loop. Overridden by `Sandbox.SoundFile.LoadOptions.LoopStart`/`Sandbox.SoundFile.LoadOptions.LoopEnd` if set.

public int Sandbox.SoundFile.LoadOptions.LoopEnd { get; set; }

End sample of the loop region. 0 means end of sound.

public int Sandbox.SoundFile.LoadOptions.LoopStart { get; set; }

Start sample of the loop region. -1 means no loop.

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.SoundFile.LoadOptions

On this page