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)`.
No results match this filter.
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.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.SoundFile.LoadOptions |