Struct XRHandSubsystemDescriptor.Cinfo
Construction information for the XRHandSubsystemDescriptor.
Namespace: UnityEngine.XR.Hands
Syntax
public struct 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 |
---|---|
Boolean | Returns true if |
Overrides
Equals(XRHandSubsystemDescriptor.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 |
---|---|
Boolean | 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 |
---|---|
Int32 | A hash code generated from this object's fields. |
Overrides
Operators
Equality(XRHandSubsystemDescriptor.Cinfo, XRHandSubsystemDescriptor.Cinfo)
Tests for equality. Same as Equals(XRHandSubsystemDescriptor.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 |
---|---|
Boolean | Returns true if |
Inequality(XRHandSubsystemDescriptor.Cinfo, XRHandSubsystemDescriptor.Cinfo)
Tests for inequality. Same as !
Equals(XRHandSubsystemDescriptor.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 |
---|---|
Boolean | Returns true if |