Skip to main content

struct XRObjectDetectionSubsystemCinfo

(Niantic.Lightship.AR.XRSubsystems.XRObjectDetectionSubsystemCinfo)

Overview

Constructor parameters for the XRObjectDetectionSubsystemDescriptor.

    struct XRObjectDetectionSubsystemCinfo: IEquatable< XRObjectDetectionSubsystemCinfo > {
// properties

string id;
Type providerType;
Type subsystemTypeOverride;
Func<Supported> objectDetectionSupportedDelegate;

// methods

bool Equals(XRObjectDetectionSubsystemCinfo other);
override bool Equals(System.Object obj);
override int GetHashCode();

static bool operator == (
XRObjectDetectionSubsystemCinfo lhs,
XRObjectDetectionSubsystemCinfo rhs
);

static bool operator != (
XRObjectDetectionSubsystemCinfo lhs,
XRObjectDetectionSubsystemCinfo rhs
);
};

Detailed Documentation

Constructor parameters for the XRObjectDetectionSubsystemDescriptor.

Properties

id

string id

Specifies an identifier for the provider implementation of the subsystem.

The identifier for the provider implementation of the 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 XRAnchorSubsystem-derived type that forwards casted calls to its provider.

The type of the subsystem to use for instantiation. If null, XRAnchorSubsystem will be instantiated.

objectDetectionSupportedDelegate

Func<Supported> objectDetectionSupportedDelegate

Specifies if the current subsystem supports semantics segmentation image.

Methods

Equals

bool Equals(XRObjectDetectionSubsystemCinfo other)

Tests for equality.

    Parameters:

    other - The other XRObjectDetectionSubsystemCinfo to compare against.

    Returns:

    True if every field in other is equal to this XRObjectDetectionSubsystemCinfo, otherwise false.

Equals

override bool Equals(System.Object obj)

Tests for equality.

    Parameters:

    obj - The object to compare against.

    Returns:

    True if obj is of type XRObjectDetectionSubsystemCinfo and Equals(XRObjectDetectionSubsystemCinfo) also returns true; otherwise false.

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.

operator==

static bool operator == (
XRObjectDetectionSubsystemCinfo lhs,
XRObjectDetectionSubsystemCinfo rhs
)

Tests for equality. Same as Equals(XRObjectDetectionSubsystemCinfo).

    Parameters:

    lhs - The left-hand side of the comparison.

    rhs - The right-hand side of the comparison.

    Returns:

    True if lhs is equal to rhs, otherwise false.

operator!=

static bool operator != (
XRObjectDetectionSubsystemCinfo lhs,
XRObjectDetectionSubsystemCinfo rhs
)

Tests for inequality. Same as ! Equals(XRObjectDetectionSubsystemCinfo).

    Parameters:

    lhs - The left-hand side of the comparison.

    rhs - The right-hand side of the comparison.

    Returns:

    True if lhs is not equal to rhs, otherwise false.