Struct ARKitExposureRange
Represents the minimum and maximum supported exposure duration and ISO values.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARKit
Assembly: Unity.XR.ARKit.dll
Syntax
public struct ARKitExposureRange : IEquatable<ARKitExposureRange>
Properties
maximumDuration
Maximum supported exposure duration in seconds with sub-millisecond precision.
Declaration
public double maximumDuration { get; }
Property Value
Type | Description |
---|---|
double |
maximumIso
Maximum supported exposure ISO value.
Declaration
public float maximumIso { get; }
Property Value
Type | Description |
---|---|
float |
minimumDuration
Minimum supported exposure duration in seconds with sub-millisecond precision.
Declaration
public double minimumDuration { get; }
Property Value
Type | Description |
---|---|
double |
minimumIso
Minimum supported exposure ISO value.
Declaration
public float minimumIso { get; }
Property Value
Type | Description |
---|---|
float |
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | An object to compare against. |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
Equals(ARKitExposureRange)
Tests for equality.
Declaration
public bool Equals(ARKitExposureRange other)
Parameters
Type | Name | Description |
---|---|---|
ARKitExposureRange | other | The ARKitExposureRange to compare against. |
Returns
Type | Description |
---|---|
bool | true if the duration range and ISO range are the same. Otherwise, false. |
Remarks
Two ARKitExposureRanges are considered equal if their minimum duration, maximum duration, minimum ISO, and maximum ISO values are equal.
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 ARKitExposureRange. |
Overrides
ToString()
Generates a string representation of this ARKitExposureRange suitable for debugging purposes.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this ARKitExposureRange. |
Overrides
Operators
operator ==(ARKitExposureRange, ARKitExposureRange)
Tests for equality. Same as Equals(ARKitExposureRange).
Declaration
public static bool operator ==(ARKitExposureRange lhs, ARKitExposureRange rhs)
Parameters
Type | Name | Description |
---|---|---|
ARKitExposureRange | lhs | The ARKitExposureRange to compare with |
ARKitExposureRange | rhs | The ARKitExposureRange to compare with |
Returns
Type | Description |
---|---|
bool | true if |
operator !=(ARKitExposureRange, ARKitExposureRange)
Tests for inequality. Same as the negation of Equals(ARKitExposureRange).
Declaration
public static bool operator !=(ARKitExposureRange lhs, ARKitExposureRange rhs)
Parameters
Type | Name | Description |
---|---|---|
ARKitExposureRange | lhs | The ARKitExposureRange to compare with |
ARKitExposureRange | rhs | The ARKitExposureRange to compare with |
Returns
Type | Description |
---|---|
bool | false if |