Destroy Slot Children (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Destroy Slot Children
'Destroy Slot Children' LogiX node
Inputs
  Impulse DoDestroy
  Slot Instance
  Bool PreserveAssets
Outputs
  Impulse OnDone

The Destroy Slot Children node deletes all child slots of the Instance input slot when an impulse is received at DoDestroy.

Usage

The PreserveAssets input determines whether any assets (audio, meshes, images etc.) saved under the destroyed slots will be kept when the deletion occurs. If True, any assets in use by other parts of the world hierarchy will be moved to a child slot under the world's Assets slot. False by default.


The OnDone output fires an impulse when the Instance slot's children have been successfully destroyed after an impulse was received at DoDestroy. No impulse is be fired if there is no valid Instance input, however an impulse is still fired if a valid Instance slot has no children.

Examples

Node Menu

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