Difference between revisions of "Flash Highlight Hierarchy (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
<languages></languages>
 
<languages></languages>
 
<translate>
 
<translate>
The '''Flash Highlight Hierarchy''' node.
+
The '''Flash Highlight Hierarchy''' node highlights any objects in a target slot as well as objects in child slots.
  
 
<!--[[File:|border|256px|right]]-->
 
<!--[[File:|border|256px|right]]-->
Line 26: Line 26:
 
|-
 
|-
 
| style="background-color:#FFCC00" |
 
| style="background-color:#FFCC00" |
| Open
+
| Color
 
| Impulse
 
| Impulse
 
|}
 
|}
Line 47: Line 47:
  
 
== Usage ==
 
== Usage ==
 +
When the flash input receives an impluse, a temporary highlight material is overlaid onto any objects in, or parented under, the slot reference connected to the HierarchyRoot input. The color of the highlight is determined by the Color input, white by default. The duration (in seconds) of the highlight is controlled by the Duration input, about 0.5 seconds by default.
 +
 +
The effect is produced by spawning a non-persistent slot under the world root called HighlightFlash. This contains an OverlapFresnelMaterial and several Tween<color> components. The material corresponds to the highlight color and the tweens control how the color changes over the duration of the effect.
  
 +
The OnDone output fires an impulse after the HighlightFlash slot is created. The FlashRoot slot provides the HighlightFlash slot.
 
== Examples ==
 
== Examples ==
  

Revision as of 16:45, 18 June 2020

Other languages:
English • ‎日本語 • ‎한국어

The Flash Highlight Hierarchy node highlights any objects in a target slot as well as objects in child slots.


Inputs & Outputs

Inputs
Color Label Type
Flash Impulse
HierarchyRoot Slot
Duration Float
Color Impulse
Outputs
Color Label Type
OnDone Impulse
FlashRoot Slot

Usage

When the flash input receives an impluse, a temporary highlight material is overlaid onto any objects in, or parented under, the slot reference connected to the HierarchyRoot input. The color of the highlight is determined by the Color input, white by default. The duration (in seconds) of the highlight is controlled by the Duration input, about 0.5 seconds by default.

The effect is produced by spawning a non-persistent slot under the world root called HighlightFlash. This contains an OverlapFresnelMaterial and several Tween<color> components. The material corresponds to the highlight color and the tweens control how the color changes over the duration of the effect.

The OnDone output fires an impulse after the HighlightFlash slot is created. The FlashRoot slot provides the HighlightFlash slot.

Examples

Visualization
Back Flash Highlight Hierarchy