Struct ARKitExposure
Read-only struct that stores exposure duration and ISO values.
Implements
Inherited Members
Namespace: UnityEngine .XR.ARKit
Assembly: Unity.XR.ARKit.dll
Syntax
public struct ARKitExposure : IEquatable<ARKitExposure>
Constructors
ARKitExposure(double, float)
Constructs an instance with given exposure values.
Declaration
public ARKitExposure(double duration, float iso)
Parameters
Properties
duration
Exposure duration in seconds with sub-millisecond precision.
Declaration
public double duration { get; }
Property Value
Type | Description |
---|---|
double |
iso
The exposure ISO value.
Declaration
public float iso { get; }
Property Value
Type | Description |
---|---|
float |
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Returns
Type | Description |
---|---|
bool | Returns true if |
Overrides
Equals(ARKitExposure)
Tests for equality.
Declaration
public bool Equals(ARKitExposure other)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
other | The ARKit |
Returns
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 | Returns 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 ==(ARKitExposure, ARKitExposure)
Tests for equality. Same as Equals(ARKit
Declaration
public static bool operator ==(ARKitExposure lhs, ARKitExposure rhs)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
lhs | The ARKit |
ARKit |
rhs | The ARKit |
Returns
Type | Description |
---|---|
bool | true if |
operator !=(ARKitExposure, ARKitExposure)
Tests for inequality. Same as the negation of Equals(ARKit
Declaration
public static bool operator !=(ARKitExposure lhs, ARKitExposure rhs)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
lhs | The ARKit |
ARKit |
rhs | The ARKit |
Returns
Type | Description |
---|---|
bool | false if |