Struct ArConfig
Represents the configuration for an ArSession.
Inherited Members
Namespace: UnityEngine.XR.ARCore
Assembly: solution.dll
Syntax
public struct ArConfig : IEquatable<ArConfig>, IDisposable
Remarks
This is an opaque object that represents a native ArConfig.
Constructors
| Name | Description |
|---|---|
| ArConfig(ArSession) | Creates a new session configuration and initializes it to a sensible default configuration. |
Properties
| Name | Description |
|---|---|
| IsNull | (Read Only) Indicates whether this ArConfig is |
| Null | Represents a null ArConfig, i.e., one whose underlying native pointer is |
Methods
| Name | Description |
|---|---|
| AsIntPtr() | Gets the underlying native pointer for this ArConfig. |
| Dispose() | Destroys this ArConfig and sets the underlying native pointer to |
| Equals(object) | Tests for equality. |
| Equals(ArConfig) | Tests for equality. |
| FromIntPtr(IntPtr) | Creates an ArConfig from an existing native pointer. The native pointer must point to an existing ArConfig. |
| GetHashCode() | Generates a hash code suitable for use with a |
Operators
| Name | Description |
|---|---|
| operator ==(ArConfig?, ArConfig?) | Tests for equality. |
| operator ==(ArConfig, ArConfig) | Tests for equality. Same as Equals(ArConfig). |
| explicit operator IntPtr(ArConfig) | Casts an ArConfig to its underlying native pointer. |
| operator !=(ArConfig?, ArConfig?) | Tests for inequality. |
| operator !=(ArConfig, ArConfig) | Tests for inequality. Same as the negation of Equals(ArConfig). |