Difference between revisions of "Find Parent By Name (LogiX node)/ja"
Jump to navigation
Jump to search
(Created page with "<code>IgnoreCase</code> は、<code>Name</code> の大文字と小文字が正確に一致しないスロット名を有効と見なすかどうかを決定するものです...") |
(Created page with "<code>FoundParent</code> の出力は、入力 <code>Name</code> と名前が一致する最初に見つかったスロットになります。一致するものがない場...") |
||
Line 23: | Line 23: | ||
− | + | <code>FoundParent</code> の出力は、入力 <code>Name</code> と名前が一致する最初に見つかったスロットになります。一致するものがない場合は、''null''が出力されます。 | |
Revision as of 14:04, 16 February 2022
Find Parent By Name | ||
---|---|---|
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が出力されます。
The search proceeds from the Instance
input slot's direct parent to higher levels if allowed by the SearchDepth
input. A SearchDepth
of 0 (default) searches only the Instance
input slot's direct parent, a depth of 1 allows searching of the Instance
slot's parent's parent etc. A SearchDepth
value of -1 allows searching to unlimited depth.