Struct XRSessionSubsystemDescriptor.Cinfo
Used in conjunction with RegisterDescriptor(XRSessionSubsystemDescriptor.Cinfo) to register a provider. This should only be used by subsystem implementors.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct 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.  | 
      
subsystemImplementationType
The Type of the implementation.
Declaration
[Obsolete("XRSubsystem no longer supports the deprecated set of base classes for subsystems as of Unity 2020.2. Use providerType and, optionally, subsystemTypeOverride instead.", true)]
public Type subsystemImplementationType { readonly get; set;
}
  Property Value
| Type | Description | 
|---|---|
| Type | 
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 | 
|---|---|
| Boolean | 
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 | 
|---|---|
| Boolean | 
Methods
Equals(Object)
Tests for equality.
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Object | obj | The   | 
      
Returns
| Type | Description | 
|---|---|
| Boolean | 
  | 
      
Overrides
Equals(XRSessionSubsystemDescriptor.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 | 
|---|---|
| Boolean | 
  | 
      
Implements
GetHashCode()
Generates a hash code suitable for use in a HashSet or Dictionary.
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| Int32 | A hash code suitable for use in a   | 
      
Overrides
Operators
Equality(XRSessionSubsystemDescriptor.Cinfo, XRSessionSubsystemDescriptor.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 | 
|---|---|
| Boolean | 
  | 
      
Inequality(XRSessionSubsystemDescriptor.Cinfo, XRSessionSubsystemDescriptor.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 | 
|---|---|
| Boolean | 
  |