本文へスキップ

struct ARObjectDetectionsUpdatedEventArgs

(Niantic.Lightship.AR.ObjectDetection.ARObjectDetectionsUpdatedEventArgs)

概要

最新のオブジェクト検出に関する情報を表示するための構造 これは、ARObjectDetectionManager.ObjectDetectionsUpdatedイベントで情報を伝達するために使用されます。

    struct ARObjectDetectionsUpdatedEventArgs: IEquatable< ARObjectDetectionsUpdatedEventArgs > {
// fields

IReadOnlyList<XRDetectedObject> Results;

// methods

override bool Equals(object obj);
bool Equals(ARObjectDetectionsUpdatedEventArgs other);
override int GetHashCode();
}

詳細資料

浮上した最新の物体検出に関する情報の構造体。 これは、ARObjectDetectionManager.ObjectDetectionsUpdatedイベントで情報を伝達するために使用されます。

これは実験的なAPIである。 Experimentalの機能は変更される可能性があり、公式にはサポートされていません。

Fields

Results

IReadOnlyList<XRDetectedObject> 結果

最新の入力カメラフレームで検出されたオブジェクトのリスト。

これは実験的なAPIである。 Experimentalの機能は変更される可能性があり、公式にはサポートされていません。

Methods

Equals

override bool Equals(object obj)

Tests for equality.

    Parameters:

    obj - 比較対象の object である。

    戻り値

    objARObjectDetectionsUpdatedEventArgs型で、Equals(ARObjectDetectionsUpdatedEventArgs)trueを返し、そうでなければ falseを返します。

Equals

bool Equals(ARObjectDetectionsUpdatedEventArgs other)

Tests for equality.

    Parameters:

    other - 比較する他の ARObjectDetectionsUpdatedEventArgs.

    戻り値

    otherのすべてのフィールドがこの ARObjectDetectionsUpdatedEventArgs と等しければ True を、そうでなければ false を返します。

GetHashCode

override int GetHashCode()

"HashSetDictionary`` などのコンテナで使用するのに適したハッシュを生成する。

    戻り値

    このオブジェクトのフィールドから生成されるハッシュコード。