Struct DSPConnection
A handle representing a connection between two DSPNodes
Inherited Members
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
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 |