Children Count (LogiXノード)

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

Children Countノードは、入力された Instance スロットの直接の子であるスロットの数を出力します。

使用方法

Neos のスロットのインデックスは 0 から始まります。子スロットの順番は、インスペクタパネルで各スロットの OrderOffset フィールドを変更するか、Set Slot Order Offset ノードを使って指定できます。

このノードはすべての子スロットを反復処理するのに非常に便利で、子スロットの数を予知する必要はありません。このノードの出力をFor ノードの Count 入力に接続するだけでよいのです。そして、Get Childを使用して、For ノードの Iteration 出力を Get Child ChildIndex に与えることにより、各子スロットに対して処理を実行することができます。

ノードメニュー

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