Skip to main content
Version: 3.4

struct XRSemanticsSubsystemCinfo

(Niantic.Lightship.AR.XRSubsystems.XRSemanticsSubsystemCinfo)

Overview

Constructor parameters for the XRSemanticsSubsystemDescriptor.

	struct XRSemanticsSubsystemCinfo: IEquatable< XRSemanticsSubsystemCinfo > {
// properties

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

// methods

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

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

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

Detailed Documentation

Constructor parameters for the XRSemanticsSubsystemDescriptor.

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.

semanticSegmentationImageSupportedDelegate

Func<Supported> semanticSegmentationImageSupportedDelegate

Specifies if the current subsystem supports semantics segmentation image.

Methods

Equals

bool Equals(XRSemanticsSubsystemCinfo other)

Tests for equality.

    Parameters:

    other - The other XRSemanticsSubsystemCinfo to compare against.

    Returns:

    True if every field in other is equal to this XRSemanticsSubsystemCinfo, 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 XRSemanticsSubsystemCinfo and Equals(XRSemanticsSubsystemCinfo) 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 == (
XRSemanticsSubsystemCinfo lhs,
XRSemanticsSubsystemCinfo rhs
)

Tests for equality. Same as Equals(XRSemanticsSubsystemCinfo).

    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 != (
XRSemanticsSubsystemCinfo lhs,
XRSemanticsSubsystemCinfo rhs
)

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

    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.