Node: Hold

From Waltz
Revision as of 17:19, 24 July 2019 by Patrick Angle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Hold node allows you to freeze a value in time until you explicitly update it, and also enables dynamic locking and unlocking of the value to allow for conditional holding.

Settings

Expected Type Details Default
input Any The value (a list or map are also valid) that you wish to have held.
outputLocked Boolean true if you wish for the output to not be updated every frame (locked), otherwise false to have the output updated on every frame. true

Parameters

Type Details
output Any Note: The parameter is read-only. The value that is currently being held. This is updated to match the input only when the update() function is called or outputLocked is set to false.

Functions

Arguments Returns Details
update() Void Updates the output to match the input for the current frame, even if outputLocked is true.

Example Usage

No examples provided.

Nodes
Devices ArtNet Input · ArtNet Output · Interactive LED Processor · NDI™ Input · NDI™ Output · OSC Input · OSC Output · Projector · SensorLink · TCP · TUIO Output · UDP Input · UDP Output · Watchout Media Server
Objects LED Tile Layout · List · Map · Random Number · Simulated Touch · Timer · Value · Wave
Operators Blend · Change · Clip · Cluster Tracker · DMX Multiverse Merge · Ease · Filter · Hold · JSON Mapper · JSON Stringify · Logic · Math · Proximity · Range · Rotate · Scale · Shear · Smooth · Touch Mapper · Translate
Scenes External Scene · Material Scene
Materials Graph · Touch Material
Scripting Script Function · Script
Comments Comment