Struct ARKitFocus
Read-only struct that stores lens position value of camera focus.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARKit
Assembly: solution.dll
Syntax
public struct ARKitFocus : IEquatable<ARKitFocus>
Constructors
| Name | Description |
|---|---|
| ARKitFocus(float) | Constructs an instance with given lens position value. |
Properties
| Name | Description |
|---|---|
| lensPosition | The lens position value. The value doesn't correspond to an exact physical distance of the lens. The range of possible positions is 0.0 to 1.0, with 0.0 being the shortest distance at which the lens can focus and 1.0 the furthest. Note that 1.0 doesn't represent focus at infinity. |
Methods
| Name | Description |
|---|---|
| Equals(object) | Tests for equality. |
| Equals(ARKitFocus) | Tests for equality. |
| GetHashCode() | Generates a hash code suitable for use with a |
| ToString() | Generates a string representation of this ARKitFocus suitable for debugging purposes. |
Operators
| Name | Description |
|---|---|
| operator ==(ARKitFocus, ARKitFocus) | Tests for equality. Same as Equals(ARKitFocus). |
| operator !=(ARKitFocus, ARKitFocus) | Tests for inequality. Same as the negation of Equals(ARKitFocus). |