Struct XRGestureSubsystemDescriptor.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.InteractionSubsystems
Assembly: Unity.XR.InteractionSubsystems.dll
Syntax
public struct XRGestureSubsystemDescriptor.Cinfo : IEquatable<XRGestureSubsystemDescriptor.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("XRGestureSubsystemDescriptor 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 XRGestureSubsystemDescriptor-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, |
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
Equals(Cinfo)
Equivalency test
Declaration
public bool Equals(XRGestureSubsystemDescriptor.Cinfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| XRGestureSubsystemDescriptor.Cinfo | other | Object instance to test against |
Returns
| Type | Description |
|---|---|
| bool | true if equal. false otherwise. |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |
Overrides
Operators
operator ==(Cinfo, Cinfo)
Equivalency test against two Cinfo instances
Declaration
public static bool operator ==(XRGestureSubsystemDescriptor.Cinfo lhs, XRGestureSubsystemDescriptor.Cinfo rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| XRGestureSubsystemDescriptor.Cinfo | lhs | First object instance to test against |
| XRGestureSubsystemDescriptor.Cinfo | rhs | Second object instance to test against |
Returns
| Type | Description |
|---|---|
| bool | true if equal. false otherwise. |
operator !=(Cinfo, Cinfo)
Inequality test against two Cinfo instances
Declaration
public static bool operator !=(XRGestureSubsystemDescriptor.Cinfo lhs, XRGestureSubsystemDescriptor.Cinfo rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| XRGestureSubsystemDescriptor.Cinfo | lhs | First object instance to test against |
| XRGestureSubsystemDescriptor.Cinfo | rhs | Second object instance to test against |
Returns
| Type | Description |
|---|---|
| bool | true if NOT equal. false otherwise. |