docs.unity3d.com
    Show / Hide Table of Contents

    Struct DSPConnection

    A handle representing a connection between two DSPNodes

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Audio
    Syntax
    public struct DSPConnection : IHandle<DSPConnection>

    Fields

    DefaultAttenuation

    The default attenuation value (no attenuation)

    Declaration
    public const float DefaultAttenuation = 1F
    Field Value
    Type Description
    Single

    InvalidIndex

    An value to indicate that a port index is invalid

    Declaration
    public const int InvalidIndex = -1
    Field Value
    Type Description
    Int32

    MaximumAttenuation

    The maximum possible attenuation value

    Declaration
    public const float MaximumAttenuation = 3.40282347E+38F
    Field Value
    Type Description
    Single

    MinimumAttenuation

    The minimum possible attenuation value

    Declaration
    public const float MinimumAttenuation = 0F
    Field Value
    Type Description
    Single

    Properties

    Valid

    Whether the connection handle is valid

    Declaration
    public readonly bool Valid { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Equals(Object)

    Whether this connection is the same as another instance

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The other instance to compare

    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(DSPConnection)

    Whether this connection is the same as another instance

    Declaration
    public bool Equals(DSPConnection other)
    Parameters
    Type Name Description
    DSPConnection other

    The other instance to compare

    Returns
    Type Description
    Boolean

    GetHashCode()

    Returns a unique hash for this connection

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023