Search Results for

    Show / Hide Table of Contents

    Struct AudioClipAsset

    Implements
    IAudioAsset
    IAudioChunk
    IUnityObjectSource
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.IO
    Assembly: Glitch9.IO.dll
    Syntax
    public readonly struct AudioClipAsset : IAudioAsset, IAudioChunk, IUnityObjectSource

    Constructors

    | Edit this page View Source

    AudioClipAsset(AudioClip, string, AudioEncoding, int, int)

    Declaration
    public AudioClipAsset(AudioClip value, string path, AudioEncoding encoding, int sampleRate, int channels)
    Parameters
    Type Name Description
    AudioClip value
    string path
    AudioEncoding encoding
    int sampleRate
    int channels
    | Edit this page View Source

    AudioClipAsset(AudioClip, string, AudioFormat)

    Declaration
    public AudioClipAsset(AudioClip value, string path, AudioFormat format)
    Parameters
    Type Name Description
    AudioClip value
    string path
    AudioFormat format

    Properties

    | Edit this page View Source

    Channels

    Declaration
    public int Channels { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Encoding

    Declaration
    public AudioEncoding Encoding { get; }
    Property Value
    Type Description
    AudioEncoding
    | Edit this page View Source

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Path

    Declaration
    public string Path { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SampleRate

    Declaration
    public int SampleRate { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Value

    Declaration
    public AudioClip Value { get; }
    Property Value
    Type Description
    AudioClip

    Implements

    IAudioAsset
    IAudioChunk
    IUnityObjectSource

    Extension Methods

    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetHashCodeOrDefault<T>(T)
    IOExtensions.ToAudioClip(IAudioAsset)
    IOExtensions.ToAudioClipAsync(IAudioAsset)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation