Namespace: Helpers

VVVV. Helpers

Contains various unsorted helper methods

Source:

Methods

<static> dynamicPins(node, pins, count, create_callback)

Helper function that helps creating a dynamic number of input pins see e.g. Add (Value) for usage

Parameters:
Name Type Description
node VVVV.Core.Node

the node the pins should be added to/removed from

pins Array

the array which holds the VVVV.Core.Pin objects; will be modified by the function

count Integer

the desired number of pins

create_callback function

the function which actually creates the pin

Source:

<static> prepareFilePath(path, patch) → {String}

Translates a relative path to an absolute one (usable by the browser) and replaces variables %VVVV% and %PAGE%

Parameters:
Name Type Description
path String

the relative path

patch VVVV.Core.Patch

the patch which the above path is relative to

Source:
Returns:

the absolute path, usable by the browser

Type
String

<static> translateOperators(l) → {String}

Translates a verbous operator (from the nodename) to a symbol

Parameters:
Name Type Description
l String

The verbous operator

Source:
Returns:

the operator symbol

Type
String
VVVV.js Copyright © 2012-2013 The contributors to the VVVV.js project.
Documentation generated by JSDoc 3.3.0-alpha4 on Thu May 08 2014 13:12:35 GMT+0200 (Mitteleuropäische Sommerzeit) using the DocStrap template.