From c384f0aadfa05af82ef815edf95d23c274d28d5b Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Fri, 4 Feb 2022 17:33:21 +0100 Subject: [PATCH] OP-2414 - added vendorized OpenHarmony --- .../OpenHarmony/docs/$.oActionButton.html | 4542 ++++++ .../OpenHarmony/docs/$.oColorButton.html | 4519 ++++++ .../docs/$.oColorOverrideNode.html | 12127 ++++++++++++++++ .../OpenHarmony/docs/$.oColumnLayer.html | 4853 +++++++ .../vendor/OpenHarmony/docs/$.oContour.html | 6010 ++++++++ .../OpenHarmony/docs/$.oDrawingLayer.html | 4852 +++++++ .../vendor/OpenHarmony/docs/$.oFillStyle.html | 4476 ++++++ .../vendor/OpenHarmony/docs/$.oLayer.html | 4756 ++++++ .../vendor/OpenHarmony/docs/$.oLineStyle.html | 4570 ++++++ .../vendor/OpenHarmony/docs/$.oMatrix.html | 4501 ++++++ .../vendor/OpenHarmony/docs/$.oNodeLayer.html | 4852 +++++++ .../vendor/OpenHarmony/docs/$.oPieButton.html | 4646 ++++++ .../OpenHarmony/docs/$.oPrefButton.html | 4519 ++++++ .../vendor/OpenHarmony/docs/$.oSignal.html | 4746 ++++++ .../vendor/OpenHarmony/docs/$.oStroke.html | 5944 ++++++++ .../OpenHarmony/docs/$.oToolButton.html | 4496 ++++++ .../docs/$.oTransformNamesObject.html | 4553 ++++++ .../docs/$.oTransformSwitchNode.html | 11919 +++++++++++++++ .../vendor/OpenHarmony/docs/$.oVector.html | 5701 ++++++++ .../vendor/OpenHarmony/docs/$.oVertex.html | 4874 +++++++ .../examples/openHarmonyExample.js | 191 + 21 files changed, 111647 insertions(+) create mode 100644 openpype/vendor/OpenHarmony/docs/$.oActionButton.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oColorButton.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oColorOverrideNode.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oColumnLayer.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oContour.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oDrawingLayer.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oFillStyle.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oLayer.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oLineStyle.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oMatrix.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oNodeLayer.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oPieButton.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oPrefButton.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oSignal.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oStroke.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oToolButton.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oTransformNamesObject.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oTransformSwitchNode.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oVector.html create mode 100644 openpype/vendor/OpenHarmony/docs/$.oVertex.html create mode 100644 openpype/vendor/OpenHarmony/examples/openHarmonyExample.js diff --git a/openpype/vendor/OpenHarmony/docs/$.oActionButton.html b/openpype/vendor/OpenHarmony/docs/$.oActionButton.html new file mode 100644 index 0000000000..6c890f70aa --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oActionButton.html @@ -0,0 +1,4542 @@ + + + + + Class: oActionButton + + + + + + + + + + + + + + + + + +
+ + +
+

Class: oActionButton

+ + + + +
+ +
+

+ $. + + oActionButton +

+ +
+ +
+
+ + + + +
+
+

+ + new $.oActionButton(actionName, responder, text, iconFile, parent) +

+ + +
+ openHarmony/openHarmony_dialog.js, line 1325 +
+ +
+ + +
+
+ + +
+ The constructor for $.oActionButton +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
actionName + + +string + + + + + + The action string that will be executed with Action.perform
responder + + +string + + + + + + The responder for the action
text + + +string + + + + + + A text for the button display.
iconFile + + +string + + + + + + An icon path for the button.
parent + + +QWidget + + + + + + The parent QWidget for the button. Automatically set during initialisation of the menu.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + +
+ Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:02 GMT+0000 (Coordinated Universal Time) +
+
+
+ + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oColorButton.html b/openpype/vendor/OpenHarmony/docs/$.oColorButton.html new file mode 100644 index 0000000000..405d53bb8c --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oColorButton.html @@ -0,0 +1,4519 @@ + + + + + Class: oColorButton + + + + + + + + + + + + + + + + + +
+ + +
+

Class: oColorButton

+ + + + +
+ +
+

+ $. + + oColorButton +

+ +
+ +
+
+ + + + +
+
+

+ + new $.oColorButton(paletteName, colorName, showName, parent) +

+ + +
+ openHarmony/openHarmony_dialog.js, line 1378 +
+ +
+ + +
+
+ + +
+ The constructor for $.oColorButton +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
paletteName + + +string + + + + + + The name of the palette that contains the color
colorName + + +string + + + + + + The name of the color (if more than one is present, will pick the first match)
showName + + +bool + + + + + + Wether to display the name of the color on the button
parent + + +QWidget + + + + + + The parent QWidget for the button. Automatically set during initialisation of the menu.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + +
+ Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
+
+
+ + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oColorOverrideNode.html b/openpype/vendor/OpenHarmony/docs/$.oColorOverrideNode.html new file mode 100644 index 0000000000..0f0be518d0 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oColorOverrideNode.html @@ -0,0 +1,12127 @@ + + + + + Class: oColorOverrideNode + + + + + + + + + + + + + + + + + +
+ + +
+

Class: oColorOverrideNode

+ + + + +
+ +
+

+ $. + + oColorOverrideNode +

+ +
$.oColorOverrideNode is a subclass of $.oNode and implements the same methods and properties as $.oNode.
+It represents color overrides in the scene.
+ +
+ +
+
+ + + + +
+
+

+ + new $.oColorOverrideNode(path, oSceneObject) +

+ + +
+ openHarmony/openHarmony_node.js, line 2283 +
+ +
+ + +
+
+ + +
+ Constructor for the $.oColorOverrideNode class +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
path + + +string + + + + + + Path to the node in the network.
oSceneObject + + +oScene + + + + + + Access to the oScene object of the DOM.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + +
+ + +

Extends

+ + + + + + + + + + + + + +

Members

+ +
+ +
+
+

readonlyattributesoAttribute

+
+ + +
+
+ +
+ An object containing all attributes of this node. +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + +
Example
+ + + +
// You can get access to the actual oAttribute object for a node parameter by using the dot notation:
+
+var myNode = $.scn.$node("Top/Drawing")
+var drawingAttribute = myNode.attributes.drawing.element
+
+// from there, it's possible to set/get the value of the attribute, get the column, the attribute keyword etc.
+
+drawingAttribute.setValue ("1", 5);           // creating an exposure of drawing 1 at frame 5
+var drawingColumn = drawingAttribute.column;  // grabbing the column linked to the attribute that holds all the animation
+$.log(drawingAttribute.keyword);              // "DRAWING.ELEMENT"
+
+// for a more direct way to access an attribute, it's possible to also call:
+
+var drawingAttribute = myNode.getAttributeByName("DRAWING.ELEMENT");
+ + + +
+ + + +
+
+

readonlyboundsoBox

+
+ + +
+
+ +
+ The bounds of the node rectangle in the node view. +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+
+

readonlycanCreateInPortsbool

+
+ + +
+
+ +
+ Whether the node can create new in-ports. +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+
+

readonlycanCreateOutPortsbool

+
+ + +
+
+ +
+ Whether the node can create new out-ports. +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+
+

readonlychildrenArray.<$.oNode>

+
+ + +
+
+ +
+ The $.oNode objects contained in this group. This is deprecated and was moved to oGroupNode +
+ + + +
+ + + + + + + +
Deprecated
  • Use oGroupNode.children instead.
    + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    +
    +

    readonlycontainingBackdropsArray.<$.oBackdrop>

    +
    + + +
    +
    + +
    + The list of backdrops which contain this node. +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    +
    +

    enabledbool

    +
    + + +
    +
    + +
    + Is the node enabled? +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    +
    +

    readonlyexistsbool

    +
    + + +
    +
    + +
    + Does the node exist? +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    +
    +

    readonlyfullPathstring

    +
    + + +
    +
    + +
    + The derived path to the node. +
    + + + +
    + + + + + + + +
    Deprecated
    • use oNode.path instead
      + + + + + + + + + + + + + + + +
      + + + +
      + + + +
      +
      +

      readonlygroupoGroupNode

      +
      + + +
      +
      + +
      + The group containing the node. +
      + + + +
      + + + + + + + + + + + + + + + + + + + + + +
      + + + +
      + + + +
      +
      +

      readonlyheightfloat

      +
      + + +
      +
      + +
      + The height of the node in the node view. +
      + + + +
      + + + + + + + + + + + + + + + + + + + + + +
      + + + +
      + + + +
      +
      + +
      + + +
      +
      + +
      + The list of oNodeLinks objects descibing the connections to the inport of this node, in order of inport. +
      + + + +
      + + + + + + + +
      Deprecated
      • returns $.oNodeLink instances but $.oLink is preferred. Use oNode.getInLinks() instead.
        + + + + + + + + + + + + + + + +
        + + + +
        + + + +
        +
        +

        readonlyinNodesArray.<$.oNode>

        +
        + + +
        +
        + +
        + The list of nodes connected to the inport of this node, in order of inport. +
        + + + +
        + + + + + + + +
        Deprecated
        • returns $.oNodeLink instances but $.oLink is preferred. Use oNode.linkedInNodes instead.
          + + + + + + + + + + + + + + + +
          + + + +
          + + + +
          +
          +

          readonlyinPortsint

          +
          + + +
          +
          + +
          + The number of link ports on top of the node, connected or not. +
          + + + +
          + + + + + + + + + + + + + + + + + + + + + +
          + + + +
          + + + +
          +
          +

          readonlyinsArray.<$.oNode>

          +
          + + +
          +
          + +
          + The list of nodes connected to the inport of this node, in order of inport. Similar to oNode.inNodes +
          + + + +
          + + + + + + + +
          Deprecated
          • alias for deprecated oNode.inNodes property
            + + + + + + + + + + + + + + + +
            + + + +
            + + + +
            +
            +

            readonlyisGroupbool

            +
            + + +
            +
            + +
            + Is the node a group? +
            + + + +
            + + + + + + + +
            Deprecated
            • check if the node is an instance of oGroupNode instead
              + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              +

              readonlyisRootbool

              +
              + + +
              +
              + +
              + Is the node the root? +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              +

              readonlylinkedColumnsArray.<oColumn>

              +
              + + +
              +
              + +
              + The list of all columns linked across all the attributes of this node. +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              +

              readonlylinkedInNodesArray.<$.oNode>

              +
              + + +
              +
              + +
              + The list of nodes connected to the inport of this node, as a flat list, in order of inport. +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              +

              readonlylinkedOutNodesArray.<$.oNode>

              +
              + + +
              +
              + +
              + The list of nodes connected to the inport of this node, as a flat list, in order of inport. +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              +

              lockedbool

              +
              + + +
              +
              + +
              + Is the node locked? +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              +

              readonlymatrixoMatrix

              +
              + + +
              +
              + +
              + The transformation matrix of the node at the currentFrame. +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              +

              namestring

              +
              + + +
              +
              + +
              + The node's name. +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              +

              nodePositionoPoint

              +
              + + +
              +
              + +
              + The position of the node. +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + + +
              +
              + +
              + + +
              +
              + +
              + The list of oNodeLinks objects descibing the connections to the outports of this node, in order of outport. +
              + + + +
              + + + + + + + +
              Deprecated
              • returns $.oNodeLink instances but $.oLink is preferred. Use oNode.getOutLinks instead.
                + + + + + + + + + + + + + + + +
                + + + +
                + + + +
                +
                +

                readonlyoutNodesArray.<Array.<$.oNode>>

                +
                + + +
                +
                + +
                + The list of nodes connected to the outports of this node +
                + + + +
                + + + + + + + +
                Deprecated
                • returns $.oNodeLink instances but $.oLink is preferred. Use oNode.linkedOutNodes instead.
                  + + + + + + + + + + + + + + + +
                  + + + +
                  + + + +
                  +
                  +

                  readonlyoutPortsint

                  +
                  + + +
                  +
                  + +
                  + The number of link ports at the bottom of the node, connected or not. +
                  + + + +
                  + + + + + + + + + + + + + + + + + + + + + +
                  + + + +
                  + + + +
                  +
                  +

                  readonlyoutsArray.<Array.<$.oNode>>

                  +
                  + + +
                  +
                  + +
                  + The list of nodes connected to the outport of this node, in order of outport and links. Similar to oNode.outNodes +
                  + + + +
                  + + + + + + + +
                  Deprecated
                  • alias for deprecated oNode.outNodes property
                    + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlypalettesArray.<$.oPalette>

                    +
                    + + +
                    +
                    + +
                    + The list of palette overrides in this color override node +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlyparent$.oNode

                    +
                    + + +
                    +
                    + +
                    + The $.oNode object for the parent in which this node exists. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlypathstring

                    +
                    + + +
                    +
                    + +
                    + The path of the node (includes all groups from 'Top' separated by forward slashes). +To change the path of a node, use oNode.moveToGroup() +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    selectedbool

                    +
                    + + +
                    +
                    + +
                    + Is the node selected? +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlytypestring

                    +
                    + + +
                    +
                    + +
                    + The type of the node. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlywidthfloat

                    +
                    + + +
                    +
                    + +
                    + The width of the node in the node view. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    xfloat

                    +
                    + + +
                    +
                    + +
                    + The horizontal position of the node in the node view. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    yfloat

                    +
                    + + +
                    +
                    + +
                    + The vertical position of the node in the node view. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    zfloat

                    +
                    + + +
                    +
                    + +
                    + The depth position of the node in the node view. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + +

                    Methods

                    + +
                    + +
                    +
                    + + + +
                    + openHarmony/openHarmony_node.js, line 1566 +
                    + +
                    + + +
                    +
                    + + +
                    + Creates an $.oNodeLink and connects this node to the target via this nodes outport. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    nodeToLink + + +oNode + + + + + + The target node as an in node.
                    ownPort + + +int + + + + + + The out port on this node to connect to.
                    destPort + + +int + + + + + + The in port on the inNode to connect to.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oNodeLink + + + the resulting created link.
                    + + + + +
                    Example
                    + + + +
                    var peg1     = $.scene.getNodeByPath( "Top/Peg1" );
                    + var peg2     = $.scene.getNodeByPath( "Top/Group/Peg2" );
                    + var newLink  = peg1.addOutLink( peg2, 0, 0 );
                    + + + +
                    + + + +
                    +
                    +

                    + + addPalette(palette) +

                    + + +
                    + openHarmony/openHarmony_node.js, line 2324 +
                    + +
                    + + +
                    +
                    + + +
                    + Add a new palette to the palette list (for now, only supports scene palettes) +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    palette + + +$.oPalette + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + centerAbove(oNodeArray, xOffset, yOffset){oPoint} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1286 +
                    + +
                    + + +
                    +
                    + + +
                    + Place a node above one or more nodes with an offset. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oNodeArray + + +Array.<$.oNode> + + + + + + The array of nodes to center this above.
                    xOffset + + +float + + + + + + The horizontal offset to apply after centering.
                    yOffset + + +float + + + + + + The vertical offset to apply after centering.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + oPoint + + + The resulting position of the node.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + centerBelow(oNodeArray, xOffset, yOffset){oPoint} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1315 +
                    + +
                    + + +
                    +
                    + + +
                    + Place a node below one or more nodes with an offset. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oNodeArray + + +Array.<$.oNode> + + + + + + The array of nodes to center this below.
                    xOffset + + +float + + + + + + The horizontal offset to apply after centering.
                    yOffset + + +float + + + + + + The vertical offset to apply after centering.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + oPoint + + + The resulting position of the node.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + clone(newName, newPosition) +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1367 +
                    + +
                    + + +
                    +
                    + + +
                    + Create a clone of the node. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    newName + + +string + + + + + + The new name for the cloned module.
                    newPosition + + +oPoint + + + + + + The new position for the cloned module.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + createAttribute(attrName, type, displayName, linkable){$.oAttribute} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1585 +
                    + +
                    + + +
                    +
                    + + +
                    + Creates a new dynamic attribute in the node. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDefaultDescription
                    attrName + + +string + + + + + + + + + + + + + The attribute name to create.
                    type + + +string + + + + + + "string" + + + + + optional + + + + + + The type of the attribute ["string", "bool", "double", "int"]
                    displayName + + +string + + + + + + attrName + + + + + optional + + + + + + The visible attribute name to the GUI user.
                    linkable + + +bool + + + + + + false + + + + + optional + + + + + + Whether the attribute can be linked to a column.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oAttribute + + + The resulting attribute created.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + duplicate(newName, newPosition) +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1398 +
                    + +
                    + + +
                    +
                    + + +
                    + Duplicates a node by creating an independent copy. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    newName + + +string + + + + + + + optional + + + + + + The new name for the duplicated node.
                    newPosition + + +oPoint + + + + + + + optional + + + + + + The new position for the duplicated node.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getAttributeByColumnName(columnName){oAttribute} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1494 +
                    + +
                    + + +
                    +
                    + + +
                    + Provides a matching attribute based on the column name provided. Assumes only one match at the moment. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    columnName + + +string + + + + + + The column name to search.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + oAttribute + + + The matched attribute object, given the column name.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getAttributeByName(keyword){oAttribute} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1458 +
                    + +
                    + + +
                    +
                    + + +
                    + Provides a matching attribute based on provided keyword name. Keyword can include "." to get subattributes. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    keyword + + +string + + + + + + The attribute keyword to search.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + oAttribute + + + The matched attribute object, given the keyword.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getFreeInPort(createNew){int} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 915 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns a free unconnected in-port +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDefaultDescription
                    createNew + + +bool + + + + + + true + + + + + optional + + + + + + Whether to allow creation of new ports
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + int + + + the port number that isn't connected
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getFreeOutPort(createNew){int} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1052 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns a free unconnected out-port +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDefaultDescription
                    createNew + + +bool + + + + + + true + + + + + optional + + + + + + Whether to allow creation of new ports
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + int + + + the port number that isn't connected
                    + + + + +
                    + + + +
                    +
                    + + + +
                    + openHarmony/openHarmony_node.js, line 878 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns the oLink object representing the connection of a specific inPort +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    inPort + + +int + + + + + + the number of the port to get links from.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oLink + + + the oLink Object representing the link connected to the inport
                    + + + + +
                    + + + +
                    +
                    + + + +
                    + openHarmony/openHarmony_node.js, line 897 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns all the valid oLink objects describing the links that are connected into this node. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + Array.<$.oLink> + + + An array of $.oLink objects.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getInLinksNumber(inPort) +

                    + + +
                    + openHarmony/openHarmony_node.js, line 867 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns the number of links connected to an in-port +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    inPort + + +int + + + + + + the number of the port to get links from.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getLinkedInNode(inPort){$.oNode} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 988 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns the node connected to a specific in-port +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    inPort + + +int + + + + + + the number of the port to get the linked Node from.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oNode + + + The node connected to this in-port
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getLinkedOutNode(outPort, outLink){$.oNode} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1113 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns the node connected to a specific outPort +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDefaultDescription
                    outPort + + +int + + + + + + + + + + + + + the number of the port to get the node from.
                    outLink + + +int + + + + + + 0 + + + + + optional + + + + + + the index of the link.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oNode + + + The node connected to this outPort and outLink
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getMatrixAtFrame(frameNumber){oMatrix} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1221 +
                    + +
                    + + +
                    +
                    + + +
                    + Get the transformation matrix for the node at the given frame +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    frameNumber + + +int + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + oMatrix + + + the matrix object
                    + + + + +
                    + + + +
                    +
                    + + + +
                    + openHarmony/openHarmony_node.js, line 1011 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns the $.oLink object representing the connection of a specific outPort / link +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    outPort + + +int + + + + + + + + + + + the number of the port to get the link from.
                    outLink + + +int + + + + + + + optional + + + + + + the index of the link.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oLink + + + The link object describing the connection
                    + + + + +
                    + + + +
                    +
                    + + + +
                    + openHarmony/openHarmony_node.js, line 1031 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns all the valid oLink objects describing the links that are coming out of this node. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + Array.<$.oLink> + + + An array of $.oLink objects.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getOutLinksNumber(outPort){int} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 999 +
                    + +
                    + + +
                    +
                    + + +
                    + Returns the number of links connected to an outPort +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    outPort + + +int + + + + + + the number of the port to get links from.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + int + + + the number of links
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getTimelineLayer(timeline){int} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1232 +
                    + +
                    + + +
                    +
                    + + +
                    + Retrieves the node layer in the timeline provided. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    timeline + + +oTimeline + + + + + + + optional + + + + + + Optional: the timeline object to search the column Layer. (by default, grabs the current timeline)
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + int + + + The index within that timeline.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + insertInNode(inPort, oNodeObject, inPortTarget, outPortTarget){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1151 +
                    + +
                    + + +
                    +
                    + + +
                    + Inserts the $.oNodeObject provided as an innode to this node, placing it between any existing nodes if the link already exists. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    inPort + + +int + + + + + + This node's inport to connect.
                    oNodeObject + + +$.oNode + + + + + + The node to link this one's outport to.
                    inPortTarget + + +int + + + + + + The target node's inPort to connect.
                    outPortTarget + + +int + + + + + + The target node's outPort to connect.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the link, if successful.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + linkInNode(nodeToLink, ownPort, destPort, createPorts){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 939 +
                    + +
                    + + +
                    +
                    + + +
                    + Links this node's inport to the given module, at the inport and outport indices. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    nodeToLink + + +$.oNode + + + + + + + + + + + The node to link this one's inport to.
                    ownPort + + +int + + + + + + + optional + + + + + + This node's inport to connect.
                    destPort + + +int + + + + + + + optional + + + + + + The target node's outport to connect.
                    createPorts + + +bool + + + + + + + optional + + + + + + Whether to create new ports on the nodes.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the link, if successful.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + linkOutNode(nodeToLink, ownPort, destPort, createPorts){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1077 +
                    + +
                    + + +
                    +
                    + + +
                    + Links this node's out-port to the given module, at the inport and outport indices. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    nodeToLink + + +$.oNode + + + + + + + + + + + The node to link this one's outport to.
                    ownPort + + +int + + + + + + + optional + + + + + + This node's outport to connect.
                    destPort + + +int + + + + + + + optional + + + + + + The target node's inport to connect.
                    createPorts + + +bool + + + + + + + optional + + + + + + Whether to create new ports on the nodes.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the link, if successful.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + moveToGroup(group) +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1171 +
                    + +
                    + + +
                    +
                    + + +
                    + Moves the node into the specified group. This doesn't create any composite or links to the multiport nodes. The node will be unlinked. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    group + + +oGroupNode + + + + + + the group node to move the node into.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + placeAtCenter(oNodeArray, xOffset, yOffset){oPoint} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1344 +
                    + +
                    + + +
                    +
                    + + +
                    + Place at center of one or more nodes with an offset. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oNodeArray + + +Array.<$.oNode> + + + + + + The array of nodes to center this below.
                    xOffset + + +float + + + + + + The horizontal offset to apply after centering.
                    yOffset + + +float + + + + + + The vertical offset to apply after centering.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + oPoint + + + The resulting position of the node.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + refreshAttributes(oNodeObject){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1637 +
                    + +
                    + + +
                    +
                    + + +
                    + Refreshes/rebuilds the attributes and getter/setters. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oNodeObject + + +$.oNode + + + + + + The node to link this one's inport to.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the unlink.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + remove(deleteColumns, deleteElements){void} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1430 +
                    + +
                    + + +
                    +
                    + + +
                    + Removes the node from the scene. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    deleteColumns + + +bool + + + + + + Should the columns of drawings be deleted as well?
                    deleteElements + + +bool + + + + + + Should the elements of drawings be deleted as well?
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + void + + +
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + removeAttribute(attrName){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1626 +
                    + +
                    + + +
                    +
                    + + +
                    + Removes an existing dynamic attribute in the node. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    attrName + + +string + + + + + + The attribute name to remove.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the removal.
                    + + + + +
                    + + + +
                    +
                    +

                    + + removePalette(palette) +

                    + + +
                    + openHarmony/openHarmony_node.js, line 2335 +
                    + +
                    + + +
                    +
                    + + +
                    + Removes a palette to the palette list (for now, only supports scene palettes) +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    palette + + +$.oPalette + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + subNodes(recurse){Array.<$.oNode>} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1264 +
                    + +
                    + + +
                    +
                    + + +
                    + obtains the nodes contained in the group, allows recursive search. This method is deprecated and was moved to oGroupNode +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    recurse + + +bool + + + + + + Whether to recurse internally for nodes within children groups.
                    + + + +
                    + + + + + + + +
                    Deprecated
                    • Yes
                    + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + Array.<$.oNode> + + + The subbnodes contained in the group.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + timelineIndex(timeline){int} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1249 +
                    + +
                    + + +
                    +
                    + + +
                    + Retrieves the node index in the timeline provided. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    timeline + + +oTimeline + + + + + + + optional + + + + + + Optional: the timeline object to search the column Layer. (by default, grabs the current timeline)
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + int + + + The index within that timeline.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + toString(){string} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1484 +
                    + +
                    + + +
                    +
                    + + +
                    + Used in converting the node to a string value, provides the string-path. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + string + + + The node path's as a string.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + unlinkInNode(oNodeObject){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 955 +
                    + +
                    + + +
                    +
                    + + +
                    + Searches for and unlinks the $.oNode object from this node's inNodes. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oNodeObject + + +$.oNode + + + + + + The node to link this one's inport to.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the unlink.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + unlinkInPort(inPort){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 975 +
                    + +
                    + + +
                    +
                    + + +
                    + Unlinks a specific port from this node's inport. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    inPort + + +int + + + + + + The inport to disconnect.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the unlink, if successful.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + unlinkOutNode(oNodeObject){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1094 +
                    + +
                    + + +
                    +
                    + + +
                    + Links this node's out-port to the given module, at the inport and outport indices. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oNodeObject + + +$.oNode + + + + + + The node to unlink from this node's outports.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the link, if successful.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + unlinkOutPort(outPort, outLink){bool} +

                    + + +
                    + openHarmony/openHarmony_node.js, line 1127 +
                    + +
                    + + +
                    +
                    + + +
                    + Unlinks a specific port/link from this node's output. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    outPort + + +int + + + + + + The outPort to disconnect.
                    outLink + + +int + + + + + + The outLink to disconnect.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + bool + + + The result of the unlink, if successful.
                    + + + + +
                    + +
                    + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oColumnLayer.html b/openpype/vendor/OpenHarmony/docs/$.oColumnLayer.html new file mode 100644 index 0000000000..606e9e382f --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oColumnLayer.html @@ -0,0 +1,4853 @@ + + + + + Class: oColumnLayer + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oColumnLayer

                    + + + + +
                    + +
                    +

                    + $. + + oColumnLayer +

                    + +
                    The $.oColumnLayer class represents a timeline layer corresponding to the animated values of a column linked to a node.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oColumnLayer(oTimelineObject, layerIndex) +

                    + + +
                    + openHarmony/openHarmony_timeline.js, line 328 +
                    + +
                    + + +
                    +
                    + + +
                    + Constructor for $.oColumnLayer class +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oTimelineObject + + +oTimeline + + + + + + The timeline associated to this layer.
                    layerIndex + + +int + + + + + + The index of the layer on the timeline.
                    + + + +
                    + + +
                    Properties:
                    + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    index + + +int + + + + The index of the layer on the timeline.
                    timeline + + +oTimeline + + + + The timeline associated to this layer.
                    node + + +oNode + + + + The node associated to the layer.
                    + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + +

                    Extends

                    + + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    attribute$.oColumn

                    +
                    + + +
                    +
                    + +
                    + the node attribute associated with this layer. Only available if the attribute has a column. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    column$.oColumn

                    +
                    + + +
                    +
                    + +
                    + the node associated with this layer +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    namestring

                    +
                    + + +
                    +
                    + +
                    + The name of this layer. +(corresponding to the display name of the column, not the name displayed in timeline, not exposed by the Toonboom API). +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    node$.oNode

                    +
                    + + +
                    +
                    + +
                    + The node associated to the layer. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    parent$.oLayer

                    +
                    + + +
                    +
                    + +
                    + the parent layer for this layer in the timeline. Returns the root group if layer is top level. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlyselectedbool

                    +
                    + + +
                    +
                    + +
                    + wether or not the layer is selected. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oContour.html b/openpype/vendor/OpenHarmony/docs/$.oContour.html new file mode 100644 index 0000000000..363ad9e11a --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oContour.html @@ -0,0 +1,6010 @@ + + + + + Class: oContour + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oContour

                    + + + + +
                    + +
                    +

                    + $. + + oContour +

                    + +
                    The $.oContour class models the strokes that make up the shapes visible on the Drawings.
                    +$.oContour is a subclass of $.oSroke and shares its properties, but represents a stroke with a fill.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oContour(index, contourObject, oShapeObject) +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1862 +
                    + +
                    + + +
                    +
                    + + +
                    + The constructor for the $.oContour class. These types of objects are not supported for harmony versions < 16 +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    index + + +int + + + + + + The index of the contour in the shape.
                    contourObject + + +object + + + + + + The stroke object descriptor that contains the info for the stroke
                    oShapeObject + + +oShape + + + + + + The parent oShape
                    + + + +
                    + + +
                    Properties:
                    + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    index + + +int + + + + the index of the stroke in the parent shape
                    shape + + +$.oShape + + + + the shape that contains this stroke
                    artLayer + + +$.oArtLayer + + + + the art layer that contains this stroke
                    + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + +

                    Extends

                    + + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    readonlybounds$.oBox

                    +
                    + + +
                    +
                    + +
                    + The bounding box of the contour. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    closedbool

                    +
                    + + +
                    +
                    + +
                    + wether the stroke is a closed shape. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    fill$.oFillStyle

                    +
                    + + +
                    +
                    + +
                    + The information about the fill of this contour +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    indexint

                    +
                    + + +
                    +
                    + +
                    + The index of the stroke in the shape +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlypathArray.<$.oVertex>

                    +
                    + + +
                    +
                    + +
                    + The $.oVertex (including bezier handles) making up the complete path of the stroke. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlypointsArray.<$.oVertex>

                    +
                    + + +
                    +
                    + +
                    + The oVertex that are on the stroke (Bezier handles exluded.) +The first is repeated at the last position when the stroke is closed. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlysegmentsArray.<Array.<$.oVertex>>

                    +
                    + + +
                    +
                    + +
                    + The segments making up the stroke. Each segment is a slice of the path, starting and stopping with oVertex present on the curve, and includes the bezier handles oVertex. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    style$.oLineStyle

                    +
                    + + +
                    +
                    + +
                    + The style of the stroke. null if the stroke is invisible +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + +

                    Methods

                    + +
                    + +
                    +
                    +

                    + + inherited + + addPoints(pointsToAdd){Array.<$.oVertex>} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1697 +
                    + +
                    + + +
                    +
                    + + +
                    + Adds points on the stroke without moving them, at the distance specified (0=start vertice, 1=end vertice) +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    pointsToAdd + + +Array.<float> + + + + + + an array of float value between 0 and the number of current points on the curve
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + Array.<$.oVertex> + + + the points that were created (if points already existed, they will be returned)
                    + + + + +
                    Example
                    + + + +
                    // get the selected stroke and create points where it intersects with the other two strokes
                    +var sel = $.scn.activeDrawing.selectedStrokes[0];
                    +
                    +var intersections = sel.getIntersections();
                    +
                    +// get the two intersections
                    +var intersection1 = intersections[0];
                    +var intersection2 = intersections[1];
                    +
                    +// add the points at the intersections on the intersecting strokes
                    +intersection1.stroke.addPoints([intersection1.strokePoint]);
                    +intersection2.stroke.addPoints([intersection2.strokePoint]);
                    +
                    +// add the points on the stroke
                    +sel.addPoints([intersection1.ownPoint, intersection2.ownPoint]);
                    + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getClosestPoint(point){$.oPoint} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1795 +
                    + +
                    + + +
                    +
                    + + +
                    + projects a point onto a stroke and returns the closest point belonging to the stroke. +Only works until a distance of 600 drawing vector units. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    point + + +$.oPoint + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oPoint + + +
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getIntersections(stroke){Array.<Object>} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1644 +
                    + +
                    + + +
                    +
                    + + +
                    + The intersections on this stroke. Each intersection is an object with stroke ($.oStroke), point($.oPoint), strokePoint(float) and ownPoint(float) +One of these objects describes an intersection by giving the stroke it intersects with, the coordinates of the intersection and two values which represent the place on the stroke at which the point is placed, with a value between 0 (start) and 1(end) +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    stroke + + +$.oStroke + + + + + + + optional + + + + + + Specify a stroke to find intersections specific to it. If no stroke is specified,
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + Array.<Object> + + +
                    + + + + +
                    Example
                    + + + +
                    // get the selected strokes on the active drawing
                    +var sel = $.scn.activeDrawing.selectedStrokes;
                    +
                    +for (var i in sel){
                    +  // get intersections with all other elements of the drawing
                    +	var intersections = sel[i].getIntersections();
                    +
                    +  for (var j in intersections){
                    +    log("intersection : " + j);
                    +    log("point : " + intersections[j].point);                    // the point coordinates
                    +    log("strokes index : " + intersections[j].stroke.index);     // the index of the intersecting strokes in their own shape
                    +    log("own point : " + intersections[j].ownPoint);             // how far the intersection is on the stroke itself
                    +    log("stroke point : " + intersections[j].strokePoint);       // how far the intersection is on the intersecting stroke
                    +  }
                    +}
                    + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getPointCoordinates(position){$.oPoint} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1778 +
                    + +
                    + + +
                    +
                    + + +
                    + Get the coordinates of the point on the stroke from its strokePosition (@see $.oVertex#strokePosition). +Only works until a distance of 600 drawing vector units. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    position + + +float + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oPoint + + + an oPoint object containing the coordinates.
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getPointDistance(point){float} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1815 +
                    + +
                    + + +
                    +
                    + + +
                    + projects a point onto a stroke and returns the distance between the point and the stroke. +Only works until a distance of 600 drawing vector units. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    point + + +$.oPoint + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + float + + +
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + getPointPosition(point){float} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1760 +
                    + +
                    + + +
                    +
                    + + +
                    + Gets the closest position of the point on the stroke (float value) from a point with x and y coordinates. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    point + + +oPoint + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + float + + + the strokePosition of the point on the stroke (@see $.oVertex#strokePosition)
                    + + + + +
                    + + + +
                    +
                    +

                    + + inherited + + updateDefinition(){object} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1743 +
                    + +
                    + + +
                    +
                    + + +
                    + fetch the stroke information again to update it after modifications. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + object + + + the data definition of the stroke, for internal use.
                    + + + + +
                    + +
                    + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oDrawingLayer.html b/openpype/vendor/OpenHarmony/docs/$.oDrawingLayer.html new file mode 100644 index 0000000000..a71e56b4da --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oDrawingLayer.html @@ -0,0 +1,4852 @@ + + + + + Class: oDrawingLayer + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oDrawingLayer

                    + + + + +
                    + +
                    +

                    + $. + + oDrawingLayer +

                    + +
                    The $.oDrawingLayer class represents a timeline layer corresponding to a 'READ' node (or Drawing in Toonboom UI) from the scene.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oDrawingLayer(oTimelineObject, layerIndex) +

                    + + +
                    + openHarmony/openHarmony_timeline.js, line 268 +
                    + +
                    + + +
                    +
                    + + +
                    + Constructor for $.oDrawingLayer class +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oTimelineObject + + +oTimeline + + + + + + The timeline associated to this layer.
                    layerIndex + + +int + + + + + + The index of the layer on the timeline.
                    + + + +
                    + + +
                    Properties:
                    + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    index + + +int + + + + The index of the layer on the timeline.
                    timeline + + +oTimeline + + + + The timeline associated to this layer.
                    node + + +oNode + + + + The node associated to the layer.
                    + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + +

                    Extends

                    + + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    layerIndexint

                    +
                    + + +
                    +
                    + +
                    + The layer index when ignoring subLayers. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    namestring

                    +
                    + + +
                    +
                    + +
                    + The name of this layer/node. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    node$.oNode

                    +
                    + + +
                    +
                    + +
                    + The node associated to the layer. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    parent$.oLayer

                    +
                    + + +
                    +
                    + +
                    + the parent layer for this layer in the timeline. Returns the root group if layer is top level. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    selectedbool

                    +
                    + + +
                    +
                    + +
                    + wether or not the layer is selected. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    subLayersArray.<$.oColumnLayer>

                    +
                    + + +
                    +
                    + +
                    + The column layers associated with this node. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oFillStyle.html b/openpype/vendor/OpenHarmony/docs/$.oFillStyle.html new file mode 100644 index 0000000000..62a6d9436b --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oFillStyle.html @@ -0,0 +1,4476 @@ + + + + + Class: oFillStyle + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oFillStyle

                    + + + + +
                    + +
                    +

                    + $. + + oFillStyle +

                    + +
                    The $.oFillStyle class describes a fillStyle used to describe the appearance of filled in color areas and perform drawing operations.
                    +Initializing a $.oFillStyle without any parameters attempts to get the current color id.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oFillStyle(colorId, fillMatrix) +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1430 +
                    + +
                    + + +
                    +
                    + + +
                    + The constructor for the $.oFillStyle class. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    colorId + + +string + + + + + + the color Id to paint the line with.
                    fillMatrix + + +object + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oLayer.html b/openpype/vendor/OpenHarmony/docs/$.oLayer.html new file mode 100644 index 0000000000..fbea6e46a1 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oLayer.html @@ -0,0 +1,4756 @@ + + + + + Class: oLayer + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oLayer

                    + + + + +
                    + +
                    +

                    + $. + + oLayer +

                    + +
                    The $.oLayer class represents a single line in the timeline.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oLayer(oTimelineObject, layerIndex) +

                    + + +
                    + openHarmony/openHarmony_timeline.js, line 64 +
                    + +
                    + + +
                    +
                    + + +
                    + Constructor for $.oLayer class +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oTimelineObject + + +oTimeline + + + + + + The timeline associated to this layer.
                    layerIndex + + +int + + + + + + The index of the layer on the timeline (all layers included, node and columns).
                    + + + +
                    + + +
                    Properties:
                    + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    index + + +int + + + + The index of the layer on the timeline.
                    timeline + + +oTimeline + + + + The timeline associated to this layer.
                    node + + +oNode + + + + The node associated to the layer.
                    + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    readonlynamestring

                    +
                    + + +
                    +
                    + +
                    + The name of this layer/node. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    node$.oNode

                    +
                    + + +
                    +
                    + +
                    + The node associated to the layer. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    parent$.oLayer

                    +
                    + + +
                    +
                    + +
                    + the parent layer for this layer in the timeline. Returns the root group if layer is top level. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlyselectedbool

                    +
                    + + +
                    +
                    + +
                    + wether or not the layer is selected. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oLineStyle.html b/openpype/vendor/OpenHarmony/docs/$.oLineStyle.html new file mode 100644 index 0000000000..9c2fdb2488 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oLineStyle.html @@ -0,0 +1,4570 @@ + + + + + Class: oLineStyle + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oLineStyle

                    + + + + +
                    + +
                    +

                    + $. + + oLineStyle +

                    + +
                    The $.oLineStyle class describes a lineStyle used to describe the appearance of strokes and perform drawing operations.
                    +Initializing a $.oLineStyle without any parameters attempts to get the current pencil thickness settings and color.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oLineStyle(colorId, stencil) +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1047 +
                    + +
                    + + +
                    +
                    + + +
                    + The constructor for the $.oLineStyle class. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    colorId + + +string + + + + + + the color Id to paint the line with.
                    stencil + + +$.oStencil + + + + + + the stencil object representing the thickness keys
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    maxThicknessfloat

                    +
                    + + +
                    +
                    + +
                    + The minimum thickness of the line using this lineStyle +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    minThicknessfloat

                    +
                    + + +
                    +
                    + +
                    + The minimum thickness of the line using this lineStyle +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oMatrix.html b/openpype/vendor/OpenHarmony/docs/$.oMatrix.html new file mode 100644 index 0000000000..11cc37253c --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oMatrix.html @@ -0,0 +1,4501 @@ + + + + + Class: oMatrix + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oMatrix

                    + + + + +
                    + +
                    +

                    + $. + + oMatrix +

                    + +
                    The $.oMatrix is a subclass of the native Matrix4x4 object from Harmony. It has the same methods and properties plus the ones listed here.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oMatrix(matrixObject) +

                    + + +
                    + openHarmony/openHarmony_math.js, line 473 +
                    + +
                    + + +
                    +
                    + + +
                    + The $.oMatrix constructor. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    matrixObject + + +Matrix4x4 + + + + + + a matrix object to initialize the instance from
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    valuesArray

                    +
                    + + +
                    +
                    + +
                    + A 2D array that contains the values from the matrix, rows by rows. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oNodeLayer.html b/openpype/vendor/OpenHarmony/docs/$.oNodeLayer.html new file mode 100644 index 0000000000..458e8c7abf --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oNodeLayer.html @@ -0,0 +1,4852 @@ + + + + + Class: oNodeLayer + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oNodeLayer

                    + + + + +
                    + +
                    +

                    + $. + + oNodeLayer +

                    + +
                    The $.oNodeLayer class represents a timeline layer corresponding to a node from the scene.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oNodeLayer(oTimelineObject, layerIndex) +

                    + + +
                    + openHarmony/openHarmony_timeline.js, line 167 +
                    + +
                    + + +
                    +
                    + + +
                    + Constructor for $.oNodeLayer class +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    oTimelineObject + + +oTimeline + + + + + + The timeline associated to this layer.
                    layerIndex + + +int + + + + + + The index of the layer on the timeline.
                    + + + +
                    + + +
                    Properties:
                    + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    index + + +int + + + + The index of the layer on the timeline.
                    timeline + + +oTimeline + + + + The timeline associated to this layer.
                    node + + +oNode + + + + The node associated to the layer.
                    + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + +

                    Extends

                    + + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    layerIndexint

                    +
                    + + +
                    +
                    + +
                    + The layer index when ignoring subLayers. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    namestring

                    +
                    + + +
                    +
                    + +
                    + The name of this layer/node. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    node$.oNode

                    +
                    + + +
                    +
                    + +
                    + The node associated to the layer. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    parent$.oLayer

                    +
                    + + +
                    +
                    + +
                    + the parent layer for this layer in the timeline. Returns the root group if layer is top level. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    selectedbool

                    +
                    + + +
                    +
                    + +
                    + wether or not the layer is selected. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    subLayersArray.<$.oColumnLayer>

                    +
                    + + +
                    +
                    + +
                    + The column layers associated with this node. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oPieButton.html b/openpype/vendor/OpenHarmony/docs/$.oPieButton.html new file mode 100644 index 0000000000..8c2b8263e8 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oPieButton.html @@ -0,0 +1,4646 @@ + + + + + Class: oPieButton + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oPieButton

                    + + + + +
                    + +
                    +

                    + $. + + oPieButton +

                    + +
                    This subclass of QPushButton provides an easy way to create a button for a PieMenu.
                    + +This class is a subclass of QPushButton and all the methods from that class are available to modify this button.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oPieButton(iconFile, text, parent) +

                    + + +
                    + openHarmony/openHarmony_dialog.js, line 1202 +
                    + +
                    + + +
                    +
                    + + +
                    + The constructor for $.oPieButton +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    iconFile + + +string + + + + + + The icon file for the button
                    text + + +string + + + + + + A text to display next to the icon
                    parent + + +QWidget + + + + + + The parent QWidget for the button. Automatically set during initialisation of the menu.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + + + +

                    Methods

                    + +
                    + +
                    +
                    +

                    + + activate() +

                    + + +
                    + openHarmony/openHarmony_dialog.js, line 1245 +
                    + +
                    + + +
                    +
                    + + +
                    + Reimplement this function in order to activate the button and also close the menu. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + closeMenu() +

                    + + +
                    + openHarmony/openHarmony_dialog.js, line 1234 +
                    + +
                    + + +
                    +
                    + + +
                    + Closes the parent menu of the button and all its subWidgets. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oPrefButton.html b/openpype/vendor/OpenHarmony/docs/$.oPrefButton.html new file mode 100644 index 0000000000..434c0b7164 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oPrefButton.html @@ -0,0 +1,4519 @@ + + + + + Class: oPrefButton + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oPrefButton

                    + + + + +
                    + +
                    +

                    + $. + + oPrefButton +

                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oPrefButton(preferenceString, text, iconFile, parent) +

                    + + +
                    + openHarmony/openHarmony_dialog.js, line 1486 +
                    + +
                    + + +
                    +
                    + + +
                    + The constructor for $.oPrefButton +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    preferenceString + + +string + + + + + + The name of the preference to show/change.
                    text + + +string + + + + + + A text for the button display.
                    iconFile + + +string + + + + + + An icon path for the button.
                    parent + + +QWidget + + + + + + The parent QWidget for the button. Automatically set during initialisation of the menu.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oSignal.html b/openpype/vendor/OpenHarmony/docs/$.oSignal.html new file mode 100644 index 0000000000..bd9107becf --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oSignal.html @@ -0,0 +1,4746 @@ + + + + + Class: oSignal + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oSignal

                    + + + + +
                    + +
                    +

                    + $. + + oSignal +

                    + +
                    A Qt like custom signal that can be defined, connected and emitted. +As this signal is not actually threaded, the connected callbacks will be executed +directly when the signal is emited, and the rest of the code will execute after.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oSignal() +

                    + + +
                    + openHarmony/openHarmony_threading.js, line 601 +
                    + +
                    + + +
                    +
                    + + +
                    + The constructor for $.oSignal. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + + + +

                    Methods

                    + +
                    + +
                    +
                    +

                    + + connect(context, slot) +

                    + + +
                    + openHarmony/openHarmony_threading.js, line 622 +
                    + +
                    + + +
                    +
                    + + +
                    + Register the calling object and the slot. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    context + + +object + + + + + +
                    slot + + +function + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + disconnect(slot) +

                    + + +
                    + openHarmony/openHarmony_threading.js, line 636 +
                    + +
                    + + +
                    +
                    + + +
                    + Remove a connection registered with this Signal. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    slot + + +function + + + + + + + optional + + + + + + the function to disconnect from the signal. If not specified, all connexions will be removed.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + + +
                    +
                    +

                    + + emit() +

                    + + +
                    + openHarmony/openHarmony_threading.js, line 653 +
                    + +
                    + + +
                    +
                    + + +
                    + Call the slot function using the provided context and and any arguments. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oStroke.html b/openpype/vendor/OpenHarmony/docs/$.oStroke.html new file mode 100644 index 0000000000..32994203b3 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oStroke.html @@ -0,0 +1,5944 @@ + + + + + Class: oStroke + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oStroke

                    + + + + +
                    + +
                    +

                    + $. + + oStroke +

                    + +
                    The $.oStroke class models the strokes that make up the shapes visible on the Drawings.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oStroke(index, strokeObject, oShapeObject) +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1486 +
                    + +
                    + + +
                    +
                    + + +
                    + The constructor for the $.oStroke class. These types of objects are not supported for harmony versions < 16 +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    index + + +int + + + + + + The index of the stroke in the shape.
                    strokeObject + + +object + + + + + + The stroke object descriptor that contains the info for the stroke
                    oShapeObject + + +oShape + + + + + + The parent oShape
                    + + + +
                    + + +
                    Properties:
                    + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    index + + +int + + + + the index of the stroke in the parent shape
                    shape + + +$.oShape + + + + the shape that contains this stroke
                    artLayer + + +$.oArtLayer + + + + the art layer that contains this stroke
                    + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    readonlybounds$.oBox

                    +
                    + + +
                    +
                    + +
                    + The bounding box of the stroke. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    closedbool

                    +
                    + + +
                    +
                    + +
                    + wether the stroke is a closed shape. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    indexint

                    +
                    + + +
                    +
                    + +
                    + The index of the stroke in the shape +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlypathArray.<$.oVertex>

                    +
                    + + +
                    +
                    + +
                    + The $.oVertex (including bezier handles) making up the complete path of the stroke. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlypointsArray.<$.oVertex>

                    +
                    + + +
                    +
                    + +
                    + The oVertex that are on the stroke (Bezier handles exluded.) +The first is repeated at the last position when the stroke is closed. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlysegmentsArray.<Array.<$.oVertex>>

                    +
                    + + +
                    +
                    + +
                    + The segments making up the stroke. Each segment is a slice of the path, starting and stopping with oVertex present on the curve, and includes the bezier handles oVertex. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    style$.oLineStyle

                    +
                    + + +
                    +
                    + +
                    + The style of the stroke. null if the stroke is invisible +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + +

                    Methods

                    + +
                    + +
                    +
                    +

                    + + addPoints(pointsToAdd){Array.<$.oVertex>} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1697 +
                    + +
                    + + +
                    +
                    + + +
                    + Adds points on the stroke without moving them, at the distance specified (0=start vertice, 1=end vertice) +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    pointsToAdd + + +Array.<float> + + + + + + an array of float value between 0 and the number of current points on the curve
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + Array.<$.oVertex> + + + the points that were created (if points already existed, they will be returned)
                    + + + + +
                    Example
                    + + + +
                    // get the selected stroke and create points where it intersects with the other two strokes
                    +var sel = $.scn.activeDrawing.selectedStrokes[0];
                    +
                    +var intersections = sel.getIntersections();
                    +
                    +// get the two intersections
                    +var intersection1 = intersections[0];
                    +var intersection2 = intersections[1];
                    +
                    +// add the points at the intersections on the intersecting strokes
                    +intersection1.stroke.addPoints([intersection1.strokePoint]);
                    +intersection2.stroke.addPoints([intersection2.strokePoint]);
                    +
                    +// add the points on the stroke
                    +sel.addPoints([intersection1.ownPoint, intersection2.ownPoint]);
                    + + + +
                    + + + +
                    +
                    +

                    + + getClosestPoint(point){$.oPoint} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1795 +
                    + +
                    + + +
                    +
                    + + +
                    + projects a point onto a stroke and returns the closest point belonging to the stroke. +Only works until a distance of 600 drawing vector units. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    point + + +$.oPoint + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oPoint + + +
                    + + + + +
                    + + + +
                    +
                    +

                    + + getIntersections(stroke){Array.<Object>} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1644 +
                    + +
                    + + +
                    +
                    + + +
                    + The intersections on this stroke. Each intersection is an object with stroke ($.oStroke), point($.oPoint), strokePoint(float) and ownPoint(float) +One of these objects describes an intersection by giving the stroke it intersects with, the coordinates of the intersection and two values which represent the place on the stroke at which the point is placed, with a value between 0 (start) and 1(end) +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    stroke + + +$.oStroke + + + + + + + optional + + + + + + Specify a stroke to find intersections specific to it. If no stroke is specified,
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + Array.<Object> + + +
                    + + + + +
                    Example
                    + + + +
                    // get the selected strokes on the active drawing
                    +var sel = $.scn.activeDrawing.selectedStrokes;
                    +
                    +for (var i in sel){
                    +  // get intersections with all other elements of the drawing
                    +	var intersections = sel[i].getIntersections();
                    +
                    +  for (var j in intersections){
                    +    log("intersection : " + j);
                    +    log("point : " + intersections[j].point);                    // the point coordinates
                    +    log("strokes index : " + intersections[j].stroke.index);     // the index of the intersecting strokes in their own shape
                    +    log("own point : " + intersections[j].ownPoint);             // how far the intersection is on the stroke itself
                    +    log("stroke point : " + intersections[j].strokePoint);       // how far the intersection is on the intersecting stroke
                    +  }
                    +}
                    + + + +
                    + + + +
                    +
                    +

                    + + getPointCoordinates(position){$.oPoint} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1778 +
                    + +
                    + + +
                    +
                    + + +
                    + Get the coordinates of the point on the stroke from its strokePosition (@see $.oVertex#strokePosition). +Only works until a distance of 600 drawing vector units. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    position + + +float + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + $.oPoint + + + an oPoint object containing the coordinates.
                    + + + + +
                    + + + +
                    +
                    +

                    + + getPointDistance(point){float} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1815 +
                    + +
                    + + +
                    +
                    + + +
                    + projects a point onto a stroke and returns the distance between the point and the stroke. +Only works until a distance of 600 drawing vector units. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    point + + +$.oPoint + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + float + + +
                    + + + + +
                    + + + +
                    +
                    +

                    + + getPointPosition(point){float} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1760 +
                    + +
                    + + +
                    +
                    + + +
                    + Gets the closest position of the point on the stroke (float value) from a point with x and y coordinates. +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    point + + +oPoint + + + + + +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + float + + + the strokePosition of the point on the stroke (@see $.oVertex#strokePosition)
                    + + + + +
                    + + + +
                    +
                    +

                    + + updateDefinition(){object} +

                    + + +
                    + openHarmony/openHarmony_drawing.js, line 1743 +
                    + +
                    + + +
                    +
                    + + +
                    + fetch the stroke information again to update it after modifications. +
                    + + + + + + + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + +
                    Returns:
                    + + + + + + + + + + + + + + + + + + + + +
                    TypeDescription
                    + + object + + + the data definition of the stroke, for internal use.
                    + + + + +
                    + +
                    + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oToolButton.html b/openpype/vendor/OpenHarmony/docs/$.oToolButton.html new file mode 100644 index 0000000000..a74b63bac3 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oToolButton.html @@ -0,0 +1,4496 @@ + + + + + Class: oToolButton + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oToolButton

                    + + + + +
                    + +
                    +

                    + $. + + oToolButton +

                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oToolButton(toolName, scriptFunction, parent) +

                    + + +
                    + openHarmony/openHarmony_dialog.js, line 1275 +
                    + +
                    + + +
                    +
                    + + +
                    + The constructor for $.oToolButton +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    toolName + + +string + + + + + + The path to the script file that will be launched
                    scriptFunction + + +string + + + + + + The function name to launch from the script
                    parent + + +QWidget + + + + + + The parent QWidget for the button. Automatically set during initialisation of the menu.
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oTransformNamesObject.html b/openpype/vendor/OpenHarmony/docs/$.oTransformNamesObject.html new file mode 100644 index 0000000000..4ba7c80f08 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oTransformNamesObject.html @@ -0,0 +1,4553 @@ + + + + + Class: oTransformNamesObject + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oTransformNamesObject

                    + + + + +
                    + +
                    +

                    + $. + + oTransformNamesObject +

                    + +
                    $.oTransformNamesObject is an array like object with static length that exposes getter setters for +each transformation name used by the oTransformSwitchNode. It can use the same methods as any array.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oTransformNamesObject(instance) +

                    + + +
                    + openHarmony/openHarmony_node.js, line 2148 +
                    + +
                    + + +
                    +
                    + + +
                    + Constructor for the $.oTransformNamesObject class +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    instance + + +$.oTransformSwitchNode + + + + + + the transform Node instance using this object
                    + + + +
                    + + +
                    Properties:
                    + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    length + + +int + + + + the number of valid elements in the object.
                    + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    + + +
                    + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    lengthint

                    +
                    + + +
                    +
                    + +
                    + The length of the array of names on the oTransformSwitchNode node. Corresponds to the transformationnames.size subAttribute. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + +
                    + + + + + + + + + +
                    + +
                    + + + + + + + +
                    + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                    +
                    +
                    + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oTransformSwitchNode.html b/openpype/vendor/OpenHarmony/docs/$.oTransformSwitchNode.html new file mode 100644 index 0000000000..8f92944913 --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oTransformSwitchNode.html @@ -0,0 +1,11919 @@ + + + + + Class: oTransformSwitchNode + + + + + + + + + + + + + + + + + +
                    + + +
                    +

                    Class: oTransformSwitchNode

                    + + + + +
                    + +
                    +

                    + $. + + oTransformSwitchNode +

                    + +
                    $.oTransformSwitchNode is a subclass of $.oNode and implements the same methods and properties as $.oNode.
                    +It represents transform switches in the scene.
                    + +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + + new $.oTransformSwitchNode(path, oSceneObject) +

                    + + +
                    + openHarmony/openHarmony_node.js, line 2127 +
                    + +
                    + + +
                    +
                    + + +
                    + Constructor for the $.oTransformSwitchNode class +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    path + + +string + + + + + + Path to the node in the network.
                    oSceneObject + + +oScene + + + + + + Access to the oScene object of the DOM.
                    + + + +
                    + + +
                    Properties:
                    + +
                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                    NameTypeDescription
                    names + + +$.oTransformNamesObject + + + + An array-like object with static indices (starting at 0) for each transformation name, which can be retrieved/set directly.
                    + + + + + + + + + + + + + + + + + + + + + + +
                    + + + + + + + + + + + + + +
                    Example
                    + + + +
                    // Assuming the existence of a Deformation group applied to a 'Drawing' node at the root of the scene
                    +var myNode = $.scn.getNodeByPath("Top/Deformation-Drawing/Transformation-Switch");
                    +
                    +myNode.names[0] = "B";                              // setting the value for the first transform drawing name to "B"
                    +
                    +var drawingNames = ["A", "B", "C"]                  // example of iterating over the existing names to set/retrieve them
                    +for (var i in myNode.names){
                    +  $.log(i+": "+myNode.names[i]);
                    +  $.log(myNode.names[i] = drawingNames[i]);
                    +}
                    +
                    +$.log("length: " + myNode.names.length)             // the number of names
                    +$.log("names: " + myNode.names)                     // prints the list of names
                    +$.log("indexOf 'B': " + myNode.names.indexOf("B"))  // can use methods from Array
                    + + + +
                    + + +
                    + + +

                    Extends

                    + + + + + + + + + + + + + +

                    Members

                    + +
                    + +
                    +
                    +

                    readonlyattributesoAttribute

                    +
                    + + +
                    +
                    + +
                    + An object containing all attributes of this node. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    Example
                    + + + +
                    // You can get access to the actual oAttribute object for a node parameter by using the dot notation:
                    +
                    +var myNode = $.scn.$node("Top/Drawing")
                    +var drawingAttribute = myNode.attributes.drawing.element
                    +
                    +// from there, it's possible to set/get the value of the attribute, get the column, the attribute keyword etc.
                    +
                    +drawingAttribute.setValue ("1", 5);           // creating an exposure of drawing 1 at frame 5
                    +var drawingColumn = drawingAttribute.column;  // grabbing the column linked to the attribute that holds all the animation
                    +$.log(drawingAttribute.keyword);              // "DRAWING.ELEMENT"
                    +
                    +// for a more direct way to access an attribute, it's possible to also call:
                    +
                    +var drawingAttribute = myNode.getAttributeByName("DRAWING.ELEMENT");
                    + + + +
                    + + + +
                    +
                    +

                    readonlyboundsoBox

                    +
                    + + +
                    +
                    + +
                    + The bounds of the node rectangle in the node view. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlycanCreateInPortsbool

                    +
                    + + +
                    +
                    + +
                    + Whether the node can create new in-ports. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlycanCreateOutPortsbool

                    +
                    + + +
                    +
                    + +
                    + Whether the node can create new out-ports. +
                    + + + +
                    + + + + + + + + + + + + + + + + + + + + + +
                    + + + +
                    + + + +
                    +
                    +

                    readonlychildrenArray.<$.oNode>

                    +
                    + + +
                    +
                    + +
                    + The $.oNode objects contained in this group. This is deprecated and was moved to oGroupNode +
                    + + + +
                    + + + + + + + +
                    Deprecated
                    • Use oGroupNode.children instead.
                      + + + + + + + + + + + + + + + +
                      + + + +
                      + + + +
                      +
                      +

                      readonlycontainingBackdropsArray.<$.oBackdrop>

                      +
                      + + +
                      +
                      + +
                      + The list of backdrops which contain this node. +
                      + + + +
                      + + + + + + + + + + + + + + + + + + + + + +
                      + + + +
                      + + + +
                      +
                      +

                      enabledbool

                      +
                      + + +
                      +
                      + +
                      + Is the node enabled? +
                      + + + +
                      + + + + + + + + + + + + + + + + + + + + + +
                      + + + +
                      + + + +
                      +
                      +

                      readonlyexistsbool

                      +
                      + + +
                      +
                      + +
                      + Does the node exist? +
                      + + + +
                      + + + + + + + + + + + + + + + + + + + + + +
                      + + + +
                      + + + +
                      +
                      +

                      readonlyfullPathstring

                      +
                      + + +
                      +
                      + +
                      + The derived path to the node. +
                      + + + +
                      + + + + + + + +
                      Deprecated
                      • use oNode.path instead
                        + + + + + + + + + + + + + + + +
                        + + + +
                        + + + +
                        +
                        +

                        readonlygroupoGroupNode

                        +
                        + + +
                        +
                        + +
                        + The group containing the node. +
                        + + + +
                        + + + + + + + + + + + + + + + + + + + + + +
                        + + + +
                        + + + +
                        +
                        +

                        readonlyheightfloat

                        +
                        + + +
                        +
                        + +
                        + The height of the node in the node view. +
                        + + + +
                        + + + + + + + + + + + + + + + + + + + + + +
                        + + + +
                        + + + +
                        +
                        + +
                        + + +
                        +
                        + +
                        + The list of oNodeLinks objects descibing the connections to the inport of this node, in order of inport. +
                        + + + +
                        + + + + + + + +
                        Deprecated
                        • returns $.oNodeLink instances but $.oLink is preferred. Use oNode.getInLinks() instead.
                          + + + + + + + + + + + + + + + +
                          + + + +
                          + + + +
                          +
                          +

                          readonlyinNodesArray.<$.oNode>

                          +
                          + + +
                          +
                          + +
                          + The list of nodes connected to the inport of this node, in order of inport. +
                          + + + +
                          + + + + + + + +
                          Deprecated
                          • returns $.oNodeLink instances but $.oLink is preferred. Use oNode.linkedInNodes instead.
                            + + + + + + + + + + + + + + + +
                            + + + +
                            + + + +
                            +
                            +

                            readonlyinPortsint

                            +
                            + + +
                            +
                            + +
                            + The number of link ports on top of the node, connected or not. +
                            + + + +
                            + + + + + + + + + + + + + + + + + + + + + +
                            + + + +
                            + + + +
                            +
                            +

                            readonlyinsArray.<$.oNode>

                            +
                            + + +
                            +
                            + +
                            + The list of nodes connected to the inport of this node, in order of inport. Similar to oNode.inNodes +
                            + + + +
                            + + + + + + + +
                            Deprecated
                            • alias for deprecated oNode.inNodes property
                              + + + + + + + + + + + + + + + +
                              + + + +
                              + + + +
                              +
                              +

                              readonlyisGroupbool

                              +
                              + + +
                              +
                              + +
                              + Is the node a group? +
                              + + + +
                              + + + + + + + +
                              Deprecated
                              • check if the node is an instance of oGroupNode instead
                                + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                +

                                readonlyisRootbool

                                +
                                + + +
                                +
                                + +
                                + Is the node the root? +
                                + + + +
                                + + + + + + + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                +

                                readonlylinkedColumnsArray.<oColumn>

                                +
                                + + +
                                +
                                + +
                                + The list of all columns linked across all the attributes of this node. +
                                + + + +
                                + + + + + + + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                +

                                readonlylinkedInNodesArray.<$.oNode>

                                +
                                + + +
                                +
                                + +
                                + The list of nodes connected to the inport of this node, as a flat list, in order of inport. +
                                + + + +
                                + + + + + + + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                +

                                readonlylinkedOutNodesArray.<$.oNode>

                                +
                                + + +
                                +
                                + +
                                + The list of nodes connected to the inport of this node, as a flat list, in order of inport. +
                                + + + +
                                + + + + + + + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                +

                                lockedbool

                                +
                                + + +
                                +
                                + +
                                + Is the node locked? +
                                + + + +
                                + + + + + + + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                +

                                readonlymatrixoMatrix

                                +
                                + + +
                                +
                                + +
                                + The transformation matrix of the node at the currentFrame. +
                                + + + +
                                + + + + + + + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                +

                                namestring

                                +
                                + + +
                                +
                                + +
                                + The node's name. +
                                + + + +
                                + + + + + + + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                +

                                nodePositionoPoint

                                +
                                + + +
                                +
                                + +
                                + The position of the node. +
                                + + + +
                                + + + + + + + + + + + + + + + + + + + + + +
                                + + + +
                                + + + +
                                +
                                + +
                                + + +
                                +
                                + +
                                + The list of oNodeLinks objects descibing the connections to the outports of this node, in order of outport. +
                                + + + +
                                + + + + + + + +
                                Deprecated
                                • returns $.oNodeLink instances but $.oLink is preferred. Use oNode.getOutLinks instead.
                                  + + + + + + + + + + + + + + + +
                                  + + + +
                                  + + + +
                                  +
                                  +

                                  readonlyoutNodesArray.<Array.<$.oNode>>

                                  +
                                  + + +
                                  +
                                  + +
                                  + The list of nodes connected to the outports of this node +
                                  + + + +
                                  + + + + + + + +
                                  Deprecated
                                  • returns $.oNodeLink instances but $.oLink is preferred. Use oNode.linkedOutNodes instead.
                                    + + + + + + + + + + + + + + + +
                                    + + + +
                                    + + + +
                                    +
                                    +

                                    readonlyoutPortsint

                                    +
                                    + + +
                                    +
                                    + +
                                    + The number of link ports at the bottom of the node, connected or not. +
                                    + + + +
                                    + + + + + + + + + + + + + + + + + + + + + +
                                    + + + +
                                    + + + +
                                    +
                                    +

                                    readonlyoutsArray.<Array.<$.oNode>>

                                    +
                                    + + +
                                    +
                                    + +
                                    + The list of nodes connected to the outport of this node, in order of outport and links. Similar to oNode.outNodes +
                                    + + + +
                                    + + + + + + + +
                                    Deprecated
                                    • alias for deprecated oNode.outNodes property
                                      + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlyparent$.oNode

                                      +
                                      + + +
                                      +
                                      + +
                                      + The $.oNode object for the parent in which this node exists. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlypathstring

                                      +
                                      + + +
                                      +
                                      + +
                                      + The path of the node (includes all groups from 'Top' separated by forward slashes). +To change the path of a node, use oNode.moveToGroup() +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      selectedbool

                                      +
                                      + + +
                                      +
                                      + +
                                      + Is the node selected? +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlytypestring

                                      +
                                      + + +
                                      +
                                      + +
                                      + The type of the node. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlywidthfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The width of the node in the node view. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      xfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The horizontal position of the node in the node view. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      yfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The vertical position of the node in the node view. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      zfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The depth position of the node in the node view. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + +
                                      + + + +

                                      Methods

                                      + +
                                      + +
                                      +
                                      + + + +
                                      + openHarmony/openHarmony_node.js, line 1566 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Creates an $.oNodeLink and connects this node to the target via this nodes outport. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      nodeToLink + + +oNode + + + + + + The target node as an in node.
                                      ownPort + + +int + + + + + + The out port on this node to connect to.
                                      destPort + + +int + + + + + + The in port on the inNode to connect to.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oNodeLink + + + the resulting created link.
                                      + + + + +
                                      Example
                                      + + + +
                                      var peg1     = $.scene.getNodeByPath( "Top/Peg1" );
                                      + var peg2     = $.scene.getNodeByPath( "Top/Group/Peg2" );
                                      + var newLink  = peg1.addOutLink( peg2, 0, 0 );
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + centerAbove(oNodeArray, xOffset, yOffset){oPoint} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1286 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Place a node above one or more nodes with an offset. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      oNodeArray + + +Array.<$.oNode> + + + + + + The array of nodes to center this above.
                                      xOffset + + +float + + + + + + The horizontal offset to apply after centering.
                                      yOffset + + +float + + + + + + The vertical offset to apply after centering.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + oPoint + + + The resulting position of the node.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + centerBelow(oNodeArray, xOffset, yOffset){oPoint} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1315 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Place a node below one or more nodes with an offset. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      oNodeArray + + +Array.<$.oNode> + + + + + + The array of nodes to center this below.
                                      xOffset + + +float + + + + + + The horizontal offset to apply after centering.
                                      yOffset + + +float + + + + + + The vertical offset to apply after centering.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + oPoint + + + The resulting position of the node.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + clone(newName, newPosition) +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1367 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Create a clone of the node. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      newName + + +string + + + + + + The new name for the cloned module.
                                      newPosition + + +oPoint + + + + + + The new position for the cloned module.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + createAttribute(attrName, type, displayName, linkable){$.oAttribute} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1585 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Creates a new dynamic attribute in the node. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDefaultDescription
                                      attrName + + +string + + + + + + + + + + + + + The attribute name to create.
                                      type + + +string + + + + + + "string" + + + + + optional + + + + + + The type of the attribute ["string", "bool", "double", "int"]
                                      displayName + + +string + + + + + + attrName + + + + + optional + + + + + + The visible attribute name to the GUI user.
                                      linkable + + +bool + + + + + + false + + + + + optional + + + + + + Whether the attribute can be linked to a column.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oAttribute + + + The resulting attribute created.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + duplicate(newName, newPosition) +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1398 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Duplicates a node by creating an independent copy. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      newName + + +string + + + + + + + optional + + + + + + The new name for the duplicated node.
                                      newPosition + + +oPoint + + + + + + + optional + + + + + + The new position for the duplicated node.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getAttributeByColumnName(columnName){oAttribute} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1494 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Provides a matching attribute based on the column name provided. Assumes only one match at the moment. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      columnName + + +string + + + + + + The column name to search.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + oAttribute + + + The matched attribute object, given the column name.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getAttributeByName(keyword){oAttribute} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1458 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Provides a matching attribute based on provided keyword name. Keyword can include "." to get subattributes. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      keyword + + +string + + + + + + The attribute keyword to search.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + oAttribute + + + The matched attribute object, given the keyword.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getFreeInPort(createNew){int} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 915 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns a free unconnected in-port +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDefaultDescription
                                      createNew + + +bool + + + + + + true + + + + + optional + + + + + + Whether to allow creation of new ports
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + int + + + the port number that isn't connected
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getFreeOutPort(createNew){int} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1052 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns a free unconnected out-port +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDefaultDescription
                                      createNew + + +bool + + + + + + true + + + + + optional + + + + + + Whether to allow creation of new ports
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + int + + + the port number that isn't connected
                                      + + + + +
                                      + + + +
                                      +
                                      + + + +
                                      + openHarmony/openHarmony_node.js, line 878 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns the oLink object representing the connection of a specific inPort +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      inPort + + +int + + + + + + the number of the port to get links from.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oLink + + + the oLink Object representing the link connected to the inport
                                      + + + + +
                                      + + + +
                                      +
                                      + + + +
                                      + openHarmony/openHarmony_node.js, line 897 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns all the valid oLink objects describing the links that are connected into this node. +
                                      + + + + + + + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + Array.<$.oLink> + + + An array of $.oLink objects.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getInLinksNumber(inPort) +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 867 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns the number of links connected to an in-port +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      inPort + + +int + + + + + + the number of the port to get links from.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getLinkedInNode(inPort){$.oNode} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 988 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns the node connected to a specific in-port +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      inPort + + +int + + + + + + the number of the port to get the linked Node from.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oNode + + + The node connected to this in-port
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getLinkedOutNode(outPort, outLink){$.oNode} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1113 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns the node connected to a specific outPort +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDefaultDescription
                                      outPort + + +int + + + + + + + + + + + + + the number of the port to get the node from.
                                      outLink + + +int + + + + + + 0 + + + + + optional + + + + + + the index of the link.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oNode + + + The node connected to this outPort and outLink
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getMatrixAtFrame(frameNumber){oMatrix} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1221 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Get the transformation matrix for the node at the given frame +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      frameNumber + + +int + + + + + +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + oMatrix + + + the matrix object
                                      + + + + +
                                      + + + +
                                      +
                                      + + + +
                                      + openHarmony/openHarmony_node.js, line 1011 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns the $.oLink object representing the connection of a specific outPort / link +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      outPort + + +int + + + + + + + + + + + the number of the port to get the link from.
                                      outLink + + +int + + + + + + + optional + + + + + + the index of the link.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oLink + + + The link object describing the connection
                                      + + + + +
                                      + + + +
                                      +
                                      + + + +
                                      + openHarmony/openHarmony_node.js, line 1031 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns all the valid oLink objects describing the links that are coming out of this node. +
                                      + + + + + + + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + Array.<$.oLink> + + + An array of $.oLink objects.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getOutLinksNumber(outPort){int} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 999 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Returns the number of links connected to an outPort +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      outPort + + +int + + + + + + the number of the port to get links from.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + int + + + the number of links
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + getTimelineLayer(timeline){int} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1232 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Retrieves the node layer in the timeline provided. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      timeline + + +oTimeline + + + + + + + optional + + + + + + Optional: the timeline object to search the column Layer. (by default, grabs the current timeline)
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + int + + + The index within that timeline.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + insertInNode(inPort, oNodeObject, inPortTarget, outPortTarget){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1151 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Inserts the $.oNodeObject provided as an innode to this node, placing it between any existing nodes if the link already exists. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      inPort + + +int + + + + + + This node's inport to connect.
                                      oNodeObject + + +$.oNode + + + + + + The node to link this one's outport to.
                                      inPortTarget + + +int + + + + + + The target node's inPort to connect.
                                      outPortTarget + + +int + + + + + + The target node's outPort to connect.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the link, if successful.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + linkInNode(nodeToLink, ownPort, destPort, createPorts){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 2248 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Links this node's inport to the given module, at the inport and outport indices. +Refreshes attributes to update for the changes of connected transformation. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      nodeToLink + + +$.oNode + + + + + + + + + + + The node to link this one's inport to.
                                      ownPort + + +int + + + + + + + optional + + + + + + This node's inport to connect.
                                      destPort + + +int + + + + + + + optional + + + + + + The target node's outport to connect.
                                      createPorts + + +bool + + + + + + + optional + + + + + + Whether to create new ports on the nodes.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the link, if successful.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + linkOutNode(nodeToLink, ownPort, destPort, createPorts){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1077 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Links this node's out-port to the given module, at the inport and outport indices. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      nodeToLink + + +$.oNode + + + + + + + + + + + The node to link this one's outport to.
                                      ownPort + + +int + + + + + + + optional + + + + + + This node's outport to connect.
                                      destPort + + +int + + + + + + + optional + + + + + + The target node's inport to connect.
                                      createPorts + + +bool + + + + + + + optional + + + + + + Whether to create new ports on the nodes.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the link, if successful.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + moveToGroup(group) +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1171 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Moves the node into the specified group. This doesn't create any composite or links to the multiport nodes. The node will be unlinked. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      group + + +oGroupNode + + + + + + the group node to move the node into.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + placeAtCenter(oNodeArray, xOffset, yOffset){oPoint} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1344 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Place at center of one or more nodes with an offset. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      oNodeArray + + +Array.<$.oNode> + + + + + + The array of nodes to center this below.
                                      xOffset + + +float + + + + + + The horizontal offset to apply after centering.
                                      yOffset + + +float + + + + + + The vertical offset to apply after centering.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + oPoint + + + The resulting position of the node.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + refreshAttributes(oNodeObject){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1637 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Refreshes/rebuilds the attributes and getter/setters. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      oNodeObject + + +$.oNode + + + + + + The node to link this one's inport to.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the unlink.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + remove(deleteColumns, deleteElements){void} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1430 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Removes the node from the scene. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      deleteColumns + + +bool + + + + + + Should the columns of drawings be deleted as well?
                                      deleteElements + + +bool + + + + + + Should the elements of drawings be deleted as well?
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + void + + +
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + removeAttribute(attrName){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1626 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Removes an existing dynamic attribute in the node. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      attrName + + +string + + + + + + The attribute name to remove.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the removal.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + subNodes(recurse){Array.<$.oNode>} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1264 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + obtains the nodes contained in the group, allows recursive search. This method is deprecated and was moved to oGroupNode +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      recurse + + +bool + + + + + + Whether to recurse internally for nodes within children groups.
                                      + + + +
                                      + + + + + + + +
                                      Deprecated
                                      • Yes
                                      + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + Array.<$.oNode> + + + The subbnodes contained in the group.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + timelineIndex(timeline){int} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1249 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Retrieves the node index in the timeline provided. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      timeline + + +oTimeline + + + + + + + optional + + + + + + Optional: the timeline object to search the column Layer. (by default, grabs the current timeline)
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + int + + + The index within that timeline.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + toString(){string} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1484 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Used in converting the node to a string value, provides the string-path. +
                                      + + + + + + + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + string + + + The node path's as a string.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + unlinkInNode(oNodeObject){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 2258 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Searches for and unlinks the $.oNode object from this node's inNodes. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      oNodeObject + + +$.oNode + + + + + + The node to link this one's inport to.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the unlink. Refreshes attributes to update for the changes of connected transformation.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + unlinkInPort(inPort){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 975 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Unlinks a specific port from this node's inport. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      inPort + + +int + + + + + + The inport to disconnect.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the unlink, if successful.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + unlinkOutNode(oNodeObject){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1094 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Links this node's out-port to the given module, at the inport and outport indices. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      oNodeObject + + +$.oNode + + + + + + The node to unlink from this node's outports.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the link, if successful.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + inherited + + unlinkOutPort(outPort, outLink){bool} +

                                      + + +
                                      + openHarmony/openHarmony_node.js, line 1127 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Unlinks a specific port/link from this node's output. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      outPort + + +int + + + + + + The outPort to disconnect.
                                      outLink + + +int + + + + + + The outLink to disconnect.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + bool + + + The result of the unlink, if successful.
                                      + + + + +
                                      + +
                                      + + + + + + + +
                                      + +
                                      + + + + + + + +
                                      + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                                      +
                                      +
                                      + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oVector.html b/openpype/vendor/OpenHarmony/docs/$.oVector.html new file mode 100644 index 0000000000..154752880c --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oVector.html @@ -0,0 +1,5701 @@ + + + + + Class: oVector + + + + + + + + + + + + + + + + + +
                                      + + +
                                      +

                                      Class: oVector

                                      + + + + +
                                      + +
                                      +

                                      + $. + + oVector +

                                      + +
                                      The $.oVector is a replacement for the Vector3d objects of Harmony.
                                      + +
                                      + +
                                      +
                                      + + + + +
                                      +
                                      +

                                      + + new $.oVector(x, y, z) +

                                      + + +
                                      + openHarmony/openHarmony_math.js, line 542 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + The $.oVector constructor. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDefaultDescription
                                      x + + +float + + + + + + + + + + + + + a x coordinate for this vector.
                                      y + + +float + + + + + + + + + + + + + a y coordinate for this vector.
                                      z + + +float + + + + + + 0 + + + + + optional + + + + + + a z coordinate for this vector. If ommited, will be set to 0 and vector will be 2D.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + + + +
                                      + + +
                                      + + + + + + + + + + + + +

                                      Members

                                      + +
                                      + +
                                      +
                                      +

                                      readonlyanglefloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The angle of this vector in radians. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlydegreesAnglefloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The angle of this vector in degrees. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlylengthfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The length of the vector. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      xfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The X Coordinate of the vector. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      yfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The Y Coordinate of the vector. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      zfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The Z Coordinate of the vector. +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + +
                                      + + + +

                                      Methods

                                      + +
                                      + +
                                      +
                                      +

                                      + + static$.oVector.fromPoints() +

                                      + + +
                                      + openHarmony/openHarmony_math.js, line 612 +
                                      + +
                                      + + +
                                      +
                                      + + + + + + + + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + + + +
                                      + + + +
                                      +
                                      +

                                      + + add(vector2){$.oVector} +

                                      + + +
                                      + openHarmony/openHarmony_math.js, line 622 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Adds another vector to this one. +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      vector2 + + +$.oVector + + + + + +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oVector + + + returns itself.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + cross(vector2){$.oVector} +

                                      + + +
                                      + openHarmony/openHarmony_math.js, line 660 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + The cross product of the two vectors +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      vector2 + + +$.oVector + + + + + + a vector object.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oVector + + + the resultant vector from the dot product of the two vectors.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + dot(vector2){float} +

                                      + + +
                                      + openHarmony/openHarmony_math.js, line 650 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + The dot product of the two vectors +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      vector2 + + +$.oVector + + + + + + a vector object.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + float + + + the resultant vector from the dot product of the two vectors.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + multiply(num){$.oVector} +

                                      + + +
                                      + openHarmony/openHarmony_math.js, line 636 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Multiply this vector coordinates by a number (scalar multiplication) +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      num + + +float + + + + + +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oVector + + + returns itself
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + normalize(){$.oVector} +

                                      + + +
                                      + openHarmony/openHarmony_math.js, line 679 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + Normalize the vector. +
                                      + + + + + + + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oVector + + + returns itself after normalization.
                                      + + + + +
                                      + + + +
                                      +
                                      +

                                      + + project(vector2){$.oVector} +

                                      + + +
                                      + openHarmony/openHarmony_math.js, line 670 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + The projected vectors resulting from the operation +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      vector2 + + +$.oVector + + + + + + a vector object.
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + +
                                      Returns:
                                      + + + + + + + + + + + + + + + + + + + + +
                                      TypeDescription
                                      + + $.oVector + + + the resultant vector from the projection of the current vector.
                                      + + + + +
                                      + +
                                      + + + + + + + +
                                      + +
                                      + + + + + + + +
                                      + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                                      +
                                      +
                                      + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/docs/$.oVertex.html b/openpype/vendor/OpenHarmony/docs/$.oVertex.html new file mode 100644 index 0000000000..0dd7308e4d --- /dev/null +++ b/openpype/vendor/OpenHarmony/docs/$.oVertex.html @@ -0,0 +1,4874 @@ + + + + + Class: oVertex + + + + + + + + + + + + + + + + + +
                                      + + +
                                      +

                                      Class: oVertex

                                      + + + + +
                                      + +
                                      +

                                      + $. + + oVertex +

                                      + +
                                      The $.oVertex class represents a single control point on a stroke. This class is used to get the index of the point in the stroke path sequence, as well as its position as a float along the stroke's length. +The onCurve property describes wether this control point is a bezier handle or a point on the curve.
                                      + +
                                      + +
                                      +
                                      + + + + +
                                      +
                                      +

                                      + + new $.oVertex(stroke, x, y, onCurve, index) +

                                      + + +
                                      + openHarmony/openHarmony_drawing.js, line 1936 +
                                      + +
                                      + + +
                                      +
                                      + + +
                                      + The constructor for the $.oVertex class +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      stroke + + +$.oStroke + + + + + + the stroke that this vertex belongs to
                                      x + + +float + + + + + + the x coordinate of the vertex, in drawing space
                                      y + + +float + + + + + + the y coordinate of the vertex, in drawing space
                                      onCurve + + +bool + + + + + + whether the point is a bezier handle or situated on the curve
                                      index + + +int + + + + + + the index of the point on the stroke
                                      + + + +
                                      + + +
                                      Properties:
                                      + +
                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      NameTypeDescription
                                      stroke + + +$.oStroke + + + + the stroke that this vertex belongs to
                                      x + + +float + + + + the x coordinate of the vertex, in drawing space
                                      y + + +float + + + + the y coordinate of the vertex, in drawing space
                                      onCurve + + +bool + + + + whether the point is a bezier handle or situated on the curve
                                      index + + +int + + + + the index of the point on the stroke
                                      + + + + + + + + + + + + + + + + + + + + + + +
                                      + + + + + + + + + + + + + +
                                      + + +
                                      + + + + + + + + + + + + +

                                      Members

                                      + +
                                      + +
                                      +
                                      +

                                      readonlyangleLeftfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The angle of the line or bezier handle on the left of this vertex, compared to the x axis, counterclockwise. +(In degrees, or null if the stroke is open ended on the left.) +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlyangleRightfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The angle of the curve going through this vertex, compared to the x axis, counterclockwise. +(In degrees, or null if the stroke is open ended on the right.) +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlypositionoPoint

                                      +
                                      + + +
                                      +
                                      + +
                                      + The position of the point on the drawing, as an oPoint +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + + + +
                                      +
                                      +

                                      readonlystrokePositionfloat

                                      +
                                      + + +
                                      +
                                      + +
                                      + The position of the point on the curve, from 0 to the maximum number of points +
                                      + + + +
                                      + + + + + + + + + + + + + + + + + + + + + +
                                      + + + +
                                      + +
                                      + + + + + + + + + +
                                      + +
                                      + + + + + + + +
                                      + Documentation generated by JSDoc 3.6.3 on Thu Jan 20 2022 08:42:03 GMT+0000 (Coordinated Universal Time) +
                                      +
                                      +
                                      + + + + \ No newline at end of file diff --git a/openpype/vendor/OpenHarmony/examples/openHarmonyExample.js b/openpype/vendor/OpenHarmony/examples/openHarmonyExample.js new file mode 100644 index 0000000000..28f902affa --- /dev/null +++ b/openpype/vendor/OpenHarmony/examples/openHarmonyExample.js @@ -0,0 +1,191 @@ +// add this line at the top of your scripts to load the library before the execution. +include("openHarmony.js") + + +/** + * Example function to showcase the functionalities of openHarmony. + * This function creates a small rig of a car, animates it and exports it as a tpl. + */ +function makeCar(){ + // we group the functions in an undo group to undo it all at once. + $.beginUndo("makeCar"); + + var scene = $.scn; + + // get the main composite by getting all composites in the scene and keeping the first one. + // a list of node types that exist in harmony is available here: + // https://cfourney.github.io/OpenHarmony/NodeTypes.html + var sceneComposite = scene.getNodesByType("COMPOSITE")[0]; + + // --- creating the car's body --- + + // create a drawing node in the scene, with a single drawing spanning the scene + // scene.root is the root group of the scene (or "Top"), and is considered to be a oGroupNode. + // each node will be added directly into it. + var carBodyNode = scene.root.addDrawingNode("car_body"); + + // set some basic attributes on the drawing node. List of attributes available here: + // https://cfourney.github.io/OpenHarmony/NodeTypes.html#Drawing + carBodyNode.use_drawing_pivot = "Apply Embeded Pivot On Parent Peg"; + carBodyNode.can_animate = false; // disable "Animate using Animation Tools" + + // link the node to the scene composite, and place it above in the node view. + carBodyNode.linkOutNode(sceneComposite); + carBodyNode.centerAbove(sceneComposite); + + // we add a drawing to our drawing node and display it until the end of the timeline. + var bodyDrawing = carBodyNode.element.addDrawing(1, "CAR_1"); + carBodyNode.timingColumn.extendExposures(); + + // add a palette in the scene for our car. + var carPalette = scene.addPalette("car"); + carPalette.colors[0].remove(); // we remove the "Default" color created with the palette. + var carColor = carPalette.addColor("Body", new $.oColorValue("ffff00")); + var carFill = new $.oFillStyle(carColor.id); + + // draw a car body onto the drawing: + // + // --------- + // / top \ + // +-------------------+ + // | body | + // +-------------------+ + // + + // first we need to make sure the drawing we want to draw on is active + scene.activeDrawing = bodyDrawing; + + // note: Harmony coordinates system is not like most computer graphics, with y values starting at the top and going down. + // positive y values go up, and the center of the coordinates is the middle of the drawing. + // When placing a rectangle, the "anchor" will be the bottom left corner and not the top left one. + bodyDrawing.colorArt.drawRectangle(-400, -150, 800, 200, null, carFill); + + // we make a bit more complex shape for the top part, by specifying exactly the points we want. + // a point with "onCurve" set to false will be a bezier handle an not a point on the outline. + var topPath = [ + {x:200,y:-150,onCurve:true}, + {x:135,y:100,onCurve:false}, + {x:-250,y:100,onCurve:false}, + {x:-300,y:-150,onCurve:true}, + {x:200,y:-150,onCurve:true}, // we repeat the first point to close the shape. + ]; + + bodyDrawing.colorArt.drawShape(topPath, null, carFill); + + // set the pivot at the center of the contents of the drawing + bodyDrawing.pivot = bodyDrawing.boundingBox.center; + + // --- creating a wheel on a separate drawing node --- + + // first add the new colors + var wheelColor = carPalette.addColor("Wheel", new $.oColorValue("555555")); + var wheelLineColor = carPalette.addColor("Wheel_line", new $.oColorValue("222222")); + var wheelFill = new $.oFillStyle(wheelColor.id); + + // we create a line style to draw the outline and some details + var wheelStencil = new $.oStencil("line", "pencil", {minThickness: 5, maxThickness: 5}) + var wheelLine = new $.oLineStyle(wheelLineColor.id, wheelStencil); + + // create the node, link it and create a drawing spanning the entire scene + var wheelNode = scene.root.addDrawingNode("car_wheel"); + wheelNode.use_drawing_pivot = "Apply Embeded Pivot On Parent Peg"; + wheelNode.can_animate = false; + wheelNode.linkOutNode(sceneComposite); + + var wheelDrawing = wheelNode.element.addDrawing(1, "WHE_1"); + wheelNode.timingColumn.extendExposures(); + + // draw a wheel onto the drawing, with the line on line art and color on color art + scene.activeDrawing = wheelDrawing; + wheelDrawing.lineArt.drawCircle(new $.oPoint(0,0), 80, wheelLine); + var innerCircle = wheelDrawing.lineArt.drawCircle(new $.oPoint(0,0), 45, wheelLine, null); + var fullCircle = wheelDrawing.colorArt.drawCircle(new $.oPoint(0,0), 80, null, wheelFill); + + // add a graphical detail onto the wheel so we can see the rotation. + // We'll base it on existing points on the drawing. + var wheelDetailPath = []; + var wheelCenter = fullCircle.bounds.center; + + // we get the points from the stroke of the circle. + // This only includes points that are on the curve, and excludes bezier handles. + var points = innerCircle.strokes[0].points; + + for (var i in points){ + var point = points[i]; + wheelDetailPath.push({x:point.x, y:point.y, onCurve:true}); + // we add a bezier handle at the center after each point except the last one (which is a repeat of the first) + if (i != points.length) { + wheelDetailPath.push({x:wheelCenter.x, y:wheelCenter.y, onCurve:false}); + } + } + + wheelDrawing.lineArt.drawStroke(wheelDetailPath, wheelLine); + + // create a peg to move the wheel at the back of the car + var wheelPeg = scene.root.addNode("PEG", "car_wheel-P"); + wheelPeg.linkOutNode(wheelNode); + wheelPeg.centerAbove(wheelNode); + + wheelPeg.position.x = -1.2; + wheelPeg.position.y = -2; + wheelPeg.attributes.rotation.anglez.addColumn(); + + // clone the back wheel and pegs, rename and link them + var frontWheelNode = wheelNode.clone(); + var frontWheelPeg = wheelPeg.clone(); + frontWheelNode.name = "car_wheel2"; + frontWheelPeg.name = "car_wheel2-P"; + frontWheelNode.linkInNode(frontWheelPeg); + frontWheelPeg.position.x = 1.2; + + // start rigging the car, by adding a master peg and linking the various elements: + var masterPeg = scene.root.addNode("PEG", "car-MASTER-P"); + masterPeg.linkOutNode(frontWheelPeg); + masterPeg.linkOutNode(wheelPeg); + masterPeg.linkOutNode(carBodyNode); + + // make a group with all our nodes, with a composite inside + var carRigNodes = [masterPeg, carBodyNode, frontWheelPeg, frontWheelNode, wheelPeg, wheelNode]; + var carGroup = scene.root.addGroup("car-MASTER", true, false, carRigNodes); + carGroup.linkOutNode(sceneComposite); + + // we order the nodes inside the group to increase visibility + carGroup.orderNodeView(); + + // add the composite from the group to the list of nodes + carRigNodes.push(carGroup.multiportOut.linkedInNodes[0]); + + // we'll also create a backdrop around all the nodes inside + carGroup.addBackdropToNodes(carRigNodes, "CAR", "", "005500"); + + // we link the car palette as element palette to all our read nodes + carNodes = carGroup.getNodesByType("READ"); + for (var i in carNodes){ + carNodes[i].linkPalette(carPalette); + } + + // we create a little animation on the master peg, with rotation of the wheels + var posxColumn = masterPeg.attributes.position.x.addColumn() // adding a column to the attribute allows to create keys when setting values; + masterPeg.attributes.position.x.setValue(-10, 1); + masterPeg.attributes.position.x.setValue(10, scene.length); + + posxColumn.keyframes[0].tween = true; // activate interpolation between the keys + + // animate the wheels turning. Since the wheels are cloned, their share the animation. + // This time we'll set the values another way that is also supported: + wheelPeg.rotation.anglez = {frameNumber:1, value:0}; + wheelPeg.rotation.anglez = {frameNumber:scene.length, value:50000}; + wheelPeg.attributes.rotation.anglez.column.keyframes[0].tween = true; + + // now we have a rig that we like, we'll export it as a tpl. + // first we ask the user where to save it, starting the dialog on the user Desktop + var exportLocation = $.browseForFolder("Select tpl save location.", System.getenv("userprofile")+"/Destkop/") + if (!exportLocation) return; // if the user cancelled the dialog, we don't export. + + exportLocation += "/" + carGroup.name + ".tpl" + scene.exportTemplate([carGroup], exportLocation, "usedOnly") // "usedOnly" tells the export we only want the palettes used by the template to be included." + + $.alert("Export finished!") + + $.endUndo(); +} \ No newline at end of file