本文へスキップ
バージョン: 3.5

struct ARObjectDetectionModelEventArgs

(Niantic.Lightship.AR.ObjectDetection.ARObjectDetectionModelEventArgs)

概要

準備が整ったオブジェクト検出モデルに関する情報のための構造体。 これは、ARObjectDetectionManager.MetadataInitializedイベントで情報を伝達するために使用される。

    struct ARObjectDetectionModelEventArgs:IEquatable< ARObjectDetectionModelEventArgs > {
// properties

IReadOnlyList<string> CategoryNames;

// methods

override int GetHashCode();
override bool Equals(object obj)
bool Equals(ARObjectDetectionModelEventArgs other);

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

static bool operator= (
ARObjectDetectionModelEventArgs lhs,
ARObjectDetectionModelEventArgs rhs
);
}

詳細資料

準備が整ったオブジェクト検出モデルに関する情報のための構造体。 これは、ARObjectDetectionManager.MetadataInitializedイベントで情報を伝達するために使用される。

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

Properties

CategoryNames

IReadOnlyList<string> CategoryNames

現在アクティブなオブジェクト検出モデルが検出できるすべてのカテゴリの名前。

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

Methods

GetHashCode

override int GetHashCode()

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

    戻り値

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

Equals

override bool Equals(object obj)

Tests for equality.

    Parameters:

    obj - 比較する オブジェクト である。

    戻り値

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

Equals

bool Equals(ARObjectDetectionModelEventArgs other)

Tests for equality.

    Parameters:

    other - 比較する他の ARObjectDetectionModelEventArgs.

    戻り値

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

operator!=

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

Tests for equality. Equals(ARObjectDetectionModelEventArgs)](/docs/ja/ardk/3.5/apiref/Niantic/Lightship/AR/ObjectDetection/ARObjectDetectionModelEventArgs/#Equals)と同じ。

    Parameters:

    lhs - 比較の左辺。

    rhs - 比較の右辺。

    戻り値

    もし lhsrhs と等しければ true を、そうでなければ false を返す。

operator!=

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

Tests for inequality. Equals(ARObjectDetectionModelEventArgs)](/docs/ja/ardk/3.5/apiref/Niantic/Lightship/AR/ObjectDetection/ARObjectDetectionModelEventArgs/#Equals) と同じです。

    Parameters:

    lhs - 比較の左辺。

    rhs - 比較の右辺。

    戻り値

    もし lhsrhs と等しくなければ true, そうでなければ false.