struct Cinfo
(Niantic.Lightship.AR.XRSubsystems.XRScanningSubsystemDescriptor.Cinfo)
Overview
Constructor info used to register a descriptor.
struct Cinfo: IEquatable< Cinfo > {
// properties
string id;
Type providerType;
Type subsystemTypeOverride;
// methods
override int GetHashCode();
override bool Equals(object obj);
bool Equals(Cinfo other);
static bool operator == (Cinfo lhs, Cinfo rhs);
static bool operator != (Cinfo lhs, Cinfo rhs);
};
Detailed Documentation
Constructor info used to register a descriptor.
Properties
id
string id
The string identifier for this subsystem.
providerType
Type providerType
Specifies the provider implementation type to use for instantiation.
The provider implementation type to use for instantiation.
subsystemTypeOverride
Type subsystemTypeOverride
Specifies the XRScanningSubsystem-derived type that forwards casted calls to its provider.
The type of the subsystem to use for instantiation. If null, XRScanningSubsystem will be instantiated.
Methods
GetHashCode
override int GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Returns:
A hash code generated from this object's fields.
Equals
override bool Equals(object obj)
Tests for equality.
Parameters:
obj
- The object
to compare against.
Returns:
True
if obj is of type Cinfo and Equals(Cinfo) also returns true
; otherwise false
.
Equals
bool Equals(Cinfo other)
Tests for equality.
Parameters:
other
- The other Cinfo to compare against.
Returns:
True
if every field in other is equal to this Cinfo, otherwise false.
operator==
static bool operator == (Cinfo lhs, Cinfo rhs)
Tests for equality. Same as Equals(Cinfo).
Parameters:
lhs
- The left-hand side of the comparison.
rhs
- The right-hand side of the comparison.
Returns: