Struct XRParticipantSubsystemDescriptor.Cinfo
This struct is an initializer for the creation of a XRParticipantSubsystemDescriptor.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public struct XRParticipantSubsystemDescriptor.Cinfo : IEquatable<XRParticipantSubsystemDescriptor.Cinfo>
Remarks
Participant data provider should create a descriptor during InitializeOnLoad
using
the parameters here to specify which of the XRParticipantSubsystem
features it supports.
Properties
id
The string identifier for a specific implementation.
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. |
subsystemTypeOverride
Specifies the XRParticipantSubsystem
-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)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool |
|
Overrides
Equals(Cinfo)
Tests for equality.
Declaration
public bool Equals(XRParticipantSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRParticipantSubsystemDescriptor.Cinfo | other | The other XRParticipantSubsystemDescriptor.Cinfo to compare against. |
Returns
Type | Description |
---|---|
bool | 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 ==(XRParticipantSubsystemDescriptor.Cinfo lhs, XRParticipantSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRParticipantSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRParticipantSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(Cinfo, Cinfo)
Tests for inequality. Same as !
Equals(Cinfo).
Declaration
public static bool operator !=(XRParticipantSubsystemDescriptor.Cinfo lhs, XRParticipantSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRParticipantSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRParticipantSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|