Struct XRRaycastSubsystemDescriptor.Cinfo
Used to register a descriptor. See RegisterDescriptor(Cinfo).
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public struct XRRaycastSubsystemDescriptor.Cinfo : IEquatable<XRRaycastSubsystemDescriptor.Cinfo>
Properties
id
A provider-specific identifier.
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 XRAnchorSubsystem
-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, |
supportedTrackableTypes
The types of trackables against which raycasting is supported.
Declaration
public TrackableType supportedTrackableTypes { readonly get; set; }
Property Value
Type | Description |
---|---|
TrackableType |
supportsTrackedRaycasts
Whether tracked raycasts are supported. A tracked raycast is repeated over time and the results are updated automatically.
Declaration
public bool supportsTrackedRaycasts { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsViewportBasedRaycast
Whether the provider supports casting a ray from a screen point.
Declaration
public bool supportsViewportBasedRaycast { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
supportsWorldBasedRaycast
Whether the provider supports casting an arbitrary ray.
Declaration
public bool supportsWorldBasedRaycast { 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 |
|
Overrides
Equals(Cinfo)
Tests for equality.
Declaration
public bool Equals(XRRaycastSubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRRaycastSubsystemDescriptor.Cinfo | other | The other XRRaycastSubsystemDescriptor.Cinfo to compare against. |
Returns
Type | Description |
---|---|
bool |
|
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
ToString()
Generates a string representation of this XRRaycastSubsystemDescriptor.Cinfo.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this XRRaycastSubsystemDescriptor.Cinfo. |
Overrides
Operators
operator ==(Cinfo, Cinfo)
Tests for equality. Same as Equals(Cinfo).
Declaration
public static bool operator ==(XRRaycastSubsystemDescriptor.Cinfo lhs, XRRaycastSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRRaycastSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRRaycastSubsystemDescriptor.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 !=(XRRaycastSubsystemDescriptor.Cinfo lhs, XRRaycastSubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRRaycastSubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRRaycastSubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|