Typedef
| Static Public Summary | ||
| public |
configuration object for loading a patch |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
configuration object for loading a patch |
|
| public |
OpUiAttribs: import("./core_op.js").OpUiAttribs |
|
| public |
|
|
| public |
|
|
| public |
PortUiAttribsDisplay: "text" | "tsrne" |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
UUID: String |
|
| public |
|
|
Static Public
public AnimCfg: * source
configuration object for loading a patch
Properties:
| Name | Type | Attribute | Description |
| defaultEasing | number |
|
use easing index as default |
| name | string |
|
anim name |
public DeserializeOptions: * source
Properties:
| Name | Type | Attribute | Description |
| genIds | boolean |
|
|
| createRef | boolean |
|
public OpUiAttribs: * source
configuration object for loading a patch
Properties:
| Name | Type | Attribute | Description |
| title | string |
|
overwrite op title |
| hidePort | string |
|
hidePort |
| title | string |
|
overwrite op title |
| title | String |
|
overwrite title of port (by default this is portname) |
| extendTitle | string |
|
extended op title, shown in grey next to op name |
| storage | object |
|
|
| working | boolean |
|
|
| bookmarked | boolean |
|
|
| selected | boolean |
|
|
| disabled | boolean |
|
|
| loading | boolean |
|
|
| resizable | boolean |
|
|
| hidden | boolean |
|
|
| uierrors | object |
|
|
| color | string |
|
|
| area | object |
|
|
| comment | string |
|
|
| height | number |
|
|
| width | number |
|
|
| translate | Translation |
|
|
| subPatch | string | number |
|
|
| comment_title | string |
|
|
| highlighted | boolean |
|
|
| highlightedMore | boolean |
|
|
| mathTitle | string |
|
|
| extendTitlePort | string |
|
|
| display | string |
|
|
| hasArea | string |
|
|
| resizableX | number |
|
|
| resizableY | number |
|
|
| tlOrder | number |
|
|
| heatmapIntensity | number |
|
|
| commentOverwrite | string |
|
public OpUiAttribs: import("./core_op.js").OpUiAttribs source
public PatchConfig: * source
Properties:
| Name | Type | Attribute | Description |
| prefixAssetPath | String |
|
prefix for path to assets |
| assetPath | String |
|
path to assets |
| jsPath | String |
|
path to javascript files |
| glCanvasId | String |
|
dom element id of canvas element |
| onError | Function |
|
called when an error occurs |
| onFinishedLoading | Function |
|
called when patch finished loading all assets |
| onFirstFrameRendered | Function |
|
called when patch rendered it's first frame |
| glCanvasResizeToWindow | Boolean |
|
resize canvas automatically to window size |
| glCanvasResizeToParent | Boolean |
|
resize canvas automatically to parent element |
| doRequestAnimation | Boolean |
|
do requestAnimationFrame set to false if you want to trigger exec() from outside (only do if you know what you are doing) |
| clearCanvasColor | Boolean |
|
clear canvas in transparent color every frame |
| clearCanvasDepth | Boolean |
|
clear depth every frame |
| glValidateShader | Boolean |
|
enable/disable validation of shaders * |
| silent | Boolean |
|
|
| fpsLimit | Number |
|
0 for maximum possible frames per second |
| glslPrecision | String |
|
default precision for glsl shader |
| prefixJsPath | String |
|
|
| onPatchLoaded | Function |
|
|
| canvas | Object |
|
|
| patch | Object |
|
|
| patchFile | String |
|
|
| subPatch | String |
|
internal use |
| masterVolume | Number |
|
0 for maximum possible frames per second |
| glCanvas | HTMLCanvasElement |
|
|
| containerElement | HTMLElement |
|
|
| editorMode | boolean |
|
|
| variables | Object |
|
object of key value pairs, that initialize variables |
public PortUiAttribs: * source
Properties:
| Name | Type | Attribute | Description |
| title | String |
|
overwrite title of port (by default this is portname) |
| display | String |
|
how the port is displayed and interacted in the paramerer panel |
| greyout | Boolean |
|
port paramater will appear greyed out, can not be |
| hidePort | Boolean |
|
port will be hidden from op |
| hideParam | Boolean |
|
port params will be hidden from parameter panel |
| showIndex | Boolean |
|
only for dropdowns - show value index (e.g. |
| editorSyntax | String |
|
set syntax highlighting theme for editor port |
| ignoreObjTypeErrors | Boolean |
|
do not auto check object types |
| group | string |
|
do not set manually - group ports, usually set by op.setPortGroup... |
| isAnimated | Boolean |
|
internal: do not set manually |
| useVariable | Boolean |
|
internal: do not set manually |
| variableName | string |
|
internal: do not set manually |
| order | Number |
|
internal: do not set manually |
| stride | Number |
|
internal: do not set manually |
| expose | Boolean |
|
internal: do not set manually |
| multiPortManual | Boolean |
|
internal: do not set manually |
| increment | String |
|
internal: do not set manually |
| multiPortNum | Number |
|
internal: do not set manually |
| display | PortUiAttribsDisplay | internal: do not set manually |
|
| axis | String |
|
internal: do not set manually |
| type | String |
|
internal: do not set manually |
| objType | String |
|
internal: do not set manually |
| filter | String |
|
internal: do not set manually |
| hideFormatButton | boolean |
|
internal: do not set manually |
| editShortcut | boolean |
|
internal: do not set manually |
| filter | String |
|
internal: do not set manually |
| preview | boolean |
|
internal: do not set manually |
| colorPick | boolean |
|
internal: do not set manually |
| values | Array<String> |
|
internal: do not set manually |
| boundToVar | boolean |
|
internal: do not set manually |
| addPort | boolean |
|
internal: do not set manually |
| notWorking | boolean |
|
internal: do not set manually |
| glPortIndex | number |
|
internal: do not set manually |
| readOnly | boolean |
|
internal: do not set manually |
| multiPort | boolean |
|
internal: do not set manually |
| longPort | number |
|
|
| tlDrawKeys | boolean |
|
|
| tlEase | number |
|
default easing when animating parameter |
| hover | boolean |
|
public PortUiAttribsDisplay: "text" | "tsrne" source
public ProfilerItem: * source
Properties:
| Name | Type | Attribute | Description |
| title | String |
|
overwrite title of port (by default this is portname) |
| numTriggers | * | {number} |
|
| timeUsed | * | {number} |
|
| timeUsedFrame | * | {number} |
|
| opid | * | {string} |
|
| subPatch | * | {string} |
|
| timePsMsAvg | * | {number} |
|
| timePsMs | * | {number} |
|
| timePsCount | * | {number} |
|
| _timePsCount | * | {number} |
|
| _timePsStart | * | {number} |
|
| _timePsMs | * | {number} |
public SerializedAnim: * source
Properties:
| Name | Type | Attribute | Description |
| loop | number | ||
| tlActive | boolean | ||
| keys | SerializedKey[] |
public SerializedKey: * source
Properties:
| Name | Type | Attribute | Description |
| v | number |
|
|
| t | number |
|
|
| e | number |
|
|
| clipId | string |
|
|
| uiAttribs | keyUiAttribs |
|
|
| cb | Function |
|
|
| anim | import("./anim.js").Anim |
|
do not use |
| value | number |
|
do not use |
| time | number |
|
do not use |
| cp1 | number[] |
|
|
| cp2 | number[] |
|
public Translation: * source
Properties:
| Name | Type | Attribute | Description |
| x | number |
|
|
| y | number |
|