Find Parent By Name (LogiXノード)

From Neos Wiki
Revision as of 05:34, 20 February 2022 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Find Parent By Name
'Find Parent By Name' LogiX node
Inputs
  Slot Instance
  String Name
  Bool MatchSubstring
  Int SearchDepth
  Bool IgnoreCase
Outputs
  Slot FoundChild

Find Parent By Nameノードは Instance 入力スロットの親で、入力 Name に一致する名前を持つスロットを探そうとします。

使用方法

MatchSubstring は、入力された Name を名前に含むスロットが有効な一致とみなされるかどうかを決定するものです。デフォルトでは True です。


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


IgnoreCase は、Name の大文字と小文字が正確に一致しないスロット名を有効と見なすかどうかを決定するものです。デフォルトでは True です。


FoundParent の出力は、入力 Name と名前が一致する最初に見つかったスロットになります。一致するものがない場合は、nullが出力されます。


検索は Instance 入力スロットの直接の親から、 SearchDepth 入力で許可されていればより高いレベルまで進みます。0 (デフォルト) の SearchDepthInstance 入力スロットの直接の親だけを検索し、1 は Instance スロットの親の親などを検索することができます。SearchDepth の値を -1 にすると、無制限の深さまで検索することができます。

ノードメニュー

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