Node: Clip

From Waltz
Revision as of 18:19, 9 March 2020 by Patrick Angle (talk | contribs) (Created page with "The Clip node lets provide a List of Touches and/or Points to be restricted to a specific area in 3D space. The clipping works by checking each item of <code>input</code> to m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Clip node lets provide a List of Touches and/or Points to be restricted to a specific area in 3D space. The clipping works by checking each item of input to make sure it is inside the defined clipStart and clipEnd area in 2D/3D space. This is useful for quickly filtering information down to only be information from a specific area in 2D or 3D.

Settings

Expected Type Details Default
input Point, Touch, or List<Point or Touch> The value, or list of values, that will be clipped.
clipStart Point A Point representing the start of the clip region. This point may contain axises with positions less extreme than the clipEnd's matching axis. Anything within the bounds of this point and clipEnd will be returned as part of the output. Point(0, 0)
clipEnd Point A Point representing the start of the clip region. This point may contain axises with positions less extreme than the clipStart's matching axis. Anything within the bounds of this point and clipStart will be returned as part of the output. Point(128, 128)

Parameters

Type Details
output List<Any> Note: The parameter is read-only. The clipped list of values from the input within the clipStart and clipEnd.

Functions

This node provides no additional functions.

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