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. |
supportsAimActivateValue
Whether the provider can supply aim activate value.
Declaration
public bool supportsAimActivateValue { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsAimPose
Whether the provider can supply aim pose.
Declaration
public bool supportsAimPose { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsGraspValue
Whether the provider can supply grasp value.
Declaration
public bool supportsGraspValue { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsGripPose
Whether the provider can supply grip pose.
Declaration
public bool supportsGripPose { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsPinchPose
Whether the provider can supply pinch pose.
Declaration
public bool supportsPinchPose { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsPinchValue
Whether the provider can supply pinch value.
Declaration
public bool supportsPinchValue { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsPokePose
Whether the provider can supply poke pose.
Declaration
public bool supportsPokePose { 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 | 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 |