Struct XRHandSubsystemDescriptor.Cinfo
Construction information for the XRHandSubsystemDescriptor.
Implements
Inherited Members
Namespace: UnityEngine.XR.Hands
Assembly: Unity.XR.Hands.dll
Syntax
public struct XRHandSubsystemDescriptor.Cinfo : IEquatable<XRHandSubsystemDescriptor.Cinfo>
Properties
id
A string identifier used to name the subsystem provider.
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 |
subsystemTypeOverride
Specifies the XRHandSubsystem-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, XRHandSubsystem will be instantiated. |
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool | Returns true if |
Overrides
Equals(Cinfo)
Tests for equality.
Declaration
public bool Equals(XRHandSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRHandSubsystemDescriptor.Cinfo | other | The other XRHandSubsystemDescriptor.Cinfo to compare against. |
Returns
Type | Description |
---|---|
bool | Returns true if every field in |
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code generated from this object's fields. |
Overrides
Operators
operator ==(Cinfo, Cinfo)
Tests for equality. Same as Equals(Cinfo).
Declaration
public static bool operator ==(XRHandSubsystemDescriptor.Cinfo lhs, XRHandSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRHandSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRHandSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool | Returns true if |
operator !=(Cinfo, Cinfo)
Tests for inequality. Same as !
Equals(Cinfo).
Declaration
public static bool operator !=(XRHandSubsystemDescriptor.Cinfo lhs, XRHandSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRHandSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRHandSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool | Returns true if |