Struct ARKitWhiteBalanceRange
Represents the minimum and maximum supported white balance gain values.
Implements
Inherited Members
Namespace: UnityEngine .XR.ARKit
Assembly: Unity.XR.ARKit.dll
Syntax
public struct ARKitWhiteBalanceRange : IEquatable<ARKitWhiteBalanceRange>
Properties
maximumGain
Maximum supported white balance gain value.
Declaration
public float maximumGain { get; }
Property Value
Type | Description |
---|---|
float |
minimumGain
Minimum supported white balance gain value.
Declaration
public float minimumGain { get; }
Property Value
Type | Description |
---|---|
float |
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Returns
Type | Description |
---|---|
bool | true if |
Overrides
Equals(ARKitWhiteBalanceRange)
Tests for equality.
Declaration
public bool Equals(ARKitWhiteBalanceRange other)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
other | The ARKit |
Returns
Type | Description |
---|---|
bool | true if the underlying white balance gain range are the same. Otherwise, false. |
Remarks
Two ARKit
GetHashCode()
Generates a hash code suitable for use with a HashSet
or Dictionary
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for this ARKit |
Overrides
ToString()
Generates a string representation of this ARKit
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this ARKit |
Overrides
Operators
operator ==(ARKitWhiteBalanceRange, ARKitWhiteBalanceRange)
Tests for equality. Same as Equals(ARKit
Declaration
public static bool operator ==(ARKitWhiteBalanceRange lhs, ARKitWhiteBalanceRange rhs)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
lhs | The ARKit |
ARKit |
rhs | The ARKit |
Returns
Type | Description |
---|---|
bool | true if |
operator !=(ARKitWhiteBalanceRange, ARKitWhiteBalanceRange)
Tests for inequality. Equivalent to the negation of Equals(ARKit
Declaration
public static bool operator !=(ARKitWhiteBalanceRange lhs, ARKitWhiteBalanceRange rhs)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
lhs | The ARKit |
ARKit |
rhs | The ARKit |
Returns
Type | Description |
---|---|
bool | false if |