Struct XRSessionSubsystemDescriptor.Cinfo
Used in conjunction with RegisterDescriptor(XRSessionSubsystemDescriptor.Cinfo) to register a provider. This should only be used by subsystem implementors.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct Cinfo : IEquatable<XRSessionSubsystemDescriptor.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 |
subsystemImplementationType
The Type
of the implementation.
Declaration
public Type subsystemImplementationType { readonly get; set; }
Property Value
Type | Description |
---|---|
Type |
supportsInstall
Whether the session supports the update or installation of session software.
Declaration
public bool supportsInstall { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsMatchFrameRate
Whether the session supports matching the AR frame rate to the Unity frame rate.
Declaration
public bool supportsMatchFrameRate { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Equals(Object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The |
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
Equals(XRSessionSubsystemDescriptor.Cinfo)
Tests for equality.
Declaration
public bool Equals(XRSessionSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRSessionSubsystemDescriptor.Cinfo | other | The other XRSessionSubsystemDescriptor.Cinfo to compare against. |
Returns
Type | Description |
---|---|
Boolean |
|
GetHashCode()
Generates a hash code suitable for use in a HashSet
or Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A hash code suitable for use in a |
Overrides
Operators
Equality(XRSessionSubsystemDescriptor.Cinfo, XRSessionSubsystemDescriptor.Cinfo)
Tests for equality.
Declaration
public static bool operator ==(XRSessionSubsystemDescriptor.Cinfo lhs, XRSessionSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRSessionSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRSessionSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(XRSessionSubsystemDescriptor.Cinfo, XRSessionSubsystemDescriptor.Cinfo)
Tests for inequality.
Declaration
public static bool operator !=(XRSessionSubsystemDescriptor.Cinfo lhs, XRSessionSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRSessionSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRSessionSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|