Struct XRSessionSubsystemDescriptor.Cinfo
Used in conjunction with RegisterDescriptor(Cinfo) to register a provider. This should only be used by subsystem implementors.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public struct XRSessionSubsystemDescriptor.Cinfo : IEquatable<XRSessionSubsystemDescriptor.Cinfo>
Properties
id
The string used to identify this subsystem implementation. This will be available when enumerating the available descriptors at runtime.
Declaration
public string id { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
providerType
Specifies the provider implementation type to use for instantiation.
Declaration
public Type providerType { readonly get; set; }
Property Value
Type | Description |
---|---|
Type | The provider implementation type to use for instantiation. |
subsystemTypeOverride
Specifies the XRAnchorSubsystem
-derived type that forwards casted calls to its provider.
Declaration
public Type subsystemTypeOverride { readonly get; set; }
Property Value
Type | Description |
---|---|
Type | The type of the subsystem to use for instantiation. If null, |
supportsInstall
Whether the session supports the update or installation of session software.
Declaration
public bool supportsInstall { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsMatchFrameRate
Whether the session supports matching the AR frame rate to the Unity frame rate.
Declaration
public bool supportsMatchFrameRate { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool |
|
Overrides
Equals(Cinfo)
Tests for equality.
Declaration
public bool Equals(XRSessionSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRSessionSubsystemDescriptor.Cinfo | other | The other XRSessionSubsystemDescriptor.Cinfo to compare against. |
Returns
Type | Description |
---|---|
bool |
|
GetHashCode()
Generates a hash code suitable for use in a HashSet
or Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code suitable for use in a |
Overrides
Operators
operator ==(Cinfo, Cinfo)
Tests for equality.
Declaration
public static bool operator ==(XRSessionSubsystemDescriptor.Cinfo lhs, XRSessionSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRSessionSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRSessionSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(Cinfo, Cinfo)
Tests for inequality.
Declaration
public static bool operator !=(XRSessionSubsystemDescriptor.Cinfo lhs, XRSessionSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRSessionSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRSessionSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|