Find Child By Tag (LogiXノード)

From Neos Wiki
Jump to navigation Jump to search
This page is a translated version of the page Find Child By Tag (LogiX node) and the translation is 100% complete.
Other languages:
English • ‎日本語
Find Child By Tag
'Find Child By Tag' LogiX node
Inputs
  Slot Instance
  String Tag
  Int SearchDepth
Outputs
  Slot FoundChild

Find Child By Tagノードは Instance 入力スロット以下の階層で、入力された Tag に一致するタグをを持つスロットを探そうとするノードです。

使用方法

SearchDepth 入力は、ノードが子スロットを検索するスロット階層のレベルを決定します。デフォルトでは 0 (つまり、インスタンススロットの直接の子だけを検索します) です。


FoundChildは、タグが入力Tagと正確に一致する、最初に見つかったスロットです。一致するものがない場合は、nullを出力します。


検索は Instance 入力スロットの直接の子から (インデックスの昇順で) 進み、 SearchDepth 入力で許可されていればより深い階層へと進みます。0 (デフォルト) の SearchDepthInstance 入力スロットの直接の子だけを検索し、1 の深さは Instance スロットの子の子等を検索することができます。SearchDepth の値を -1 にすると、無制限の深さまで検索することができます。

注意: このノードを使用してスロットを見つけることは、単にGet Child (LogiX node) を使用してインデックスから子スロットを取得するより難しいので、絶対に必要であるかどうかを検討してください。

ノードメニュー

Slots
Back Children Count Destroy Slot Destroy Slot Children Duplicate Slot Find Child By Name Find Child By Tag
Find Parent By Name Find Parent By Tag Get Active User Get Active User Root Get Active User Self Get Child Get Object Root
Get Parent Slot Get Slot Get Slot Active Get Slot Active Self Get Slot Name Get Slot Order Offset Get Slot Persistent
Get Slot Persistent Self Get Tag Has Tag Index Of Child Is Child Of Root Slot Set Child Index
Set Parent Set Slot Active Self Set Slot Name Set Slot Order Offset Set Slot Persistent Self Set Tag Slot Children Events