Typedef
| Static Public Summary | ||
| public |
configuration object for loading a patch |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
a unique op id of One op, like OpName |
|
| public |
a op id of a single of many that are living in a patch |
|
| public |
a full opname, e.g. |
|
| public |
|
|
| public |
|
|
| public |
OpUiAttribs: import("./core_op.js").OpUiAttribs |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
PortUiAttribsDisplay: "bool" | "boolnum" | "button" | "buttons" | "createOpHelper" | "curve" | "dropdown" | "editor" | "file" | "gradient" | "multiport" | "range" | "readonly" | "reroute" | "sg" | "sg_vec" | "spreadsheet" | "switch" | "text" | "texture" |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
UUID: String |
|
| public |
|
|
| public |
|
|
| 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 AnimUiAttribs: * source
Properties:
| Name | Type | Attribute | Description |
| height | number |
|
|
| muted | number |
|
|
| readOnly | boolean |
|
public CblRequestOptions: * source
Properties:
| Name | Type | Attribute | Description |
| url | String | ||
| cb | Function |
|
|
| method | String |
|
|
| data | String |
|
|
| contenttype | String |
|
|
| sync | Boolean |
|
|
| credentials | string |
|
|
| jsonP | Boolean |
|
|
| post | Boolean |
|
|
| asynch | Boolean |
|
|
| headers | Object |
|
public DeserializeOptions: * source
Properties:
| Name | Type | Attribute | Description |
| genIds | boolean |
|
|
| createRef | boolean |
|
|
| onLoadedValueSet | Function |
|
|
| opsCreated | Function |
|
public HeavyEvent: * source
Properties:
| Name | Type | Attribute | Description |
| event | String | ||
| info | String | ||
| date | number |
public HistoryObject: * source
Properties:
| Name | Type | Attribute | Description |
| lastInteractionBy | HistoryUserObject |
|
|
| lastInteractionAt | number |
|
public KeyUiAttribs: * source
Properties:
| Name | Type | Attribute | Description |
| text | string |
|
|
| bezFree | number |
|
|
| color | string |
|
public LoadingTask: * source
Properties:
| Name | Type | Attribute | Description |
| op | Op |
|
|
| id | string |
|
|
| name | string |
|
|
| type | string |
|
public OpAttribs: * source
Properties:
| Name | Type | Attribute | Description |
| tags | string[] |
|
tags |
| area | string |
|
area |
public OpTempData: * source
Properties:
| Name | Type | Attribute | Description |
| origData | Object |
|
|
| scopeAreaEndOp | Object |
|
|
| scopeAreaStartOp | Object |
|
|
| shaderNode | import("../corelibs/shadergraph/shadergraphprogram.js").ShaderNode |
|
public OpUiAttribs: * source
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 | UiError[] |
|
|
| color | string |
|
|
| area | UiAttrArea |
|
|
| areaCollapsed | boolean |
|
|
| comment | string |
|
|
| height | number |
|
|
| width | number |
|
|
| translate | Translation |
|
|
| translateTemp | TranslationTemp |
|
|
| subPatch | string |
|
|
| subPatchOp | object |
|
|
| tempSubOldOpId | string |
|
|
| comment_title | string |
|
|
| highlighted | boolean |
|
|
| highlightedMore | boolean |
|
|
| mathTitle | string |
|
|
| extendTitlePort | string |
|
|
| display | string |
|
|
| hasArea | boolean |
|
|
| scopeArea | boolean |
|
|
| resizableX | boolean |
|
|
| resizableY | boolean |
|
|
| moveableOnlyY | boolean |
|
|
| tlOrder | number |
|
|
| heatmapIntensity | number |
|
|
| commentOverwrite | string |
|
|
| comment_text | string |
|
|
| history | HistoryObject |
|
|
| createdLocally | boolean |
|
|
| stretchPorts | boolean |
|
|
| vizLayerMaxZoom | number |
|
|
| widthOnlyGrow | boolean |
|
|
| forceAspect | number |
|
|
| vizLayerFullOpSize | boolean |
|
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 | PortUiAttribsDisplay |
|
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 |
| increment | String |
|
internal: do not set manually |
| editorDiagnostics | import("../../../cables_ui/src/ui/api/opsserver.js").LinterDiag[] |
|
diagnostics |
| 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 |
|
|
| 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 |
| multiPortManual | Boolean |
|
internal: do not set manually |
| multiPortNum | Number |
|
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 |
|
|
| ignoreBigPort | boolean |
|
|
| multiPort2 | boolean |
|
|
| stringTrim | boolean |
|
public PortUiAttribsDisplay: "bool" | "boolnum" | "button" | "buttons" | "createOpHelper" | "curve" | "dropdown" | "editor" | "file" | "gradient" | "multiport" | "range" | "readonly" | "reroute" | "sg" | "sg_vec" | "spreadsheet" | "switch" | "text" | "texture" 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 |
|
public TranslationTemp: * source
Properties:
| Name | Type | Attribute | Description |
| x | number |
|
|
| y | number |
|
|
| w | number |
|
|
| h | number |
|
public UUID: String source
public UiAttrArea: * source
Properties:
| Name | Type | Attribute | Description |
| id | String |
|
|
| x | number |
|
|
| y | number |
|
|
| w | number |
|
|
| h | number |
|
|
| origW | number |
|
|
| origH | number |
|
public UiError: * source
Properties:
| Name | Type | Attribute | Description |
| txt | string | ||
| level | number | ||
| id | string | ||
| options | UiErrorOptions |