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

struct ARSemanticSegmentationModelEventArgs

(Niantic.Lightship.AR.Semantics.ARSemanticSegmentationModelEventArgs)

概要

セマンティック・セグメンテーション・モデルに関する情報の構造。 これは、ARSemanticSegmentationManager.MetadataInitializedイベントで情報を伝達するために使用されます。

    struct ARSemanticSegmentationModelEventArgs:IEquatable< ARSemanticSegmentationModelEventArgs > {
// properties

IReadOnlyList<string> ChannelNames;
IReadOnlyDictionary<string, int> ChannelIndices;

// methods

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

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

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

詳細資料

セマンティック・セグメンテーション・モデルに関する情報の構造。 これは、ARSemanticSegmentationManager.MetadataInitializedイベントで情報を伝達するために使用されます。

プロパティ

チャンネル名

IReadOnlyList<string> チャンネル名

セマンティック・セグメンテーション・モデルによって検出されたセマンティック・チャンネル。

ChannelIndices

IReadOnlyDictionary<string, int> チャンネルインデックス

意味分割モデルによって検出された意味チャネルのインデックス。

方法

GetHashCode

オーバーライド int GetHashCode()

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

    **返品について

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

イコール

オーバーライド bool Equals(object obj)

等しいかどうかのテスト。

    **パラメーター

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

    **返品について

    もし objARSemanticSegmentationModelEventArgs 型で、Equals(ARSemanticSegmentationModelEventArgs)true を返し、そうでなければ false を返す。

イコール

bool Equals(ARSemanticSegmentationModelEventArgs other)

等しいかどうかのテスト。

    **パラメーター

    other - 比較する他の ARSemanticSegmentationModelEventArgs.

    **返品について

    other*のすべてのフィールドがこの ARSemanticSegmentationModelEventArgsと等しければtrue、そうでなければfalse。

演算子==

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

等しいかどうかのテスト。 Equals(ARSemanticSegmentationModelEventArgs)](/docs/ja/ardk/3.1/apiref/Niantic/Lightship/AR/Semantics/ARSemanticSegmentationModelEventArgs/#Equals)と同じです。

    **パラメーター

    lhs`` - 比較の左辺。

    rhs`` - 比較の右辺。

    **返品について

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

演算子!= {#演算子!=}」。

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

不平等のテスト。 Equals(ARSemanticSegmentationModelEventArgs)](/docs/ja/ardk/3.1/apiref/Niantic/Lightship/AR/Semantics/ARSemanticSegmentationModelEventArgs/#Equals) と同じです。

    **パラメーター

    lhs`` - 比較の左辺。

    rhs`` - 比較の右辺。

    **返品について

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