Transformation Messages

  • LOCATOR_ROTATE_WORLDSPACE - Rotates the given decal locators by the rotation angle amount, about the given axis and pivot point. If no locator is specified, then the currently selected locators are rotated.

    Parameters:

    • rotationAngle - Amount to rotate in radians.

    • rotationAxis - The rotation axis.

    • pivotPoint - The pivot point.

    • relative - True to make the rotation relative, False to make it absolute.

    • target1, ..., targetN - The IDs of decal locators to rotate.

  • LOCATOR_ROTATE_WORLDSPACE_DONE - Indicates which locators were rotated by the LOCATOR_ROTATE_WORLDSPACE message.

    Parameters:

    • target1, ..., targetN - The IDs of locators that were rotated.

  • LOCATOR_TRANSLATE_WORLDSPACE - Translates the given decal locators by x, y, z (given in worldspace). If no objects are specified, then the currently selected locators are translated.

    Parameters:

    • x - Amount to translate by in the x direction.

    • y - Amount to translate by in the y direction.

    • z - Amount to translate by in the z direction.

    • relative - True to translate the targets relatively, False to translate them absolutely.

    • target1, ..., targetN - The IDs of the decal locators to translate.

  • LOCATOR_TRANSLATE_WORLDSPACE_DONE - Indicates which locators were translated by the LOCATOR_TRANSLATE_WORLDSPACE message.

    Parameters:

    • target1, ..., targetN - The IDs of locators that were translated.

  • PIVOT_MOVE_WORLDSPACE - Moves the pivot of the given objects by x, y, z (given in worldspace). If no objects are specified, then the currently selected objects are modified.

    Parameters:

    • x - Amount to move pivot by in the x direction.

    • y - Amount to move pivot by in the y direction.

    • z - Amount to move pivot by in the z direction.

    • relative - True to move the target pivots relatively, False to move them absolutely.

    • target1, ..., targetN - The IDs of objects to move pivots.

  • PIVOT_MOVE_WORLDSPACE_BYLABEL - Moves the pivot of the given objects by x, y, z (given in worldspace). If no objects are specified, then the currently selected objects are modified.

    Parameters:

    • x - Amount to move pivot by in the x direction.

    • y - Amount to move pivot by in the y direction.

    • z - Amount to move pivot by in the z direction.

    • relative - True to move the target pivots relatively, False to move them absolutely.

    • target1, ..., targetN - The IDs of objects to move pivots.

  • PIVOT_MOVE_WORLDSPACE_DONE - Indicates which object's pivots have been translated by the PIVOT_MOVE_WORLDSPACE message.

    Parameters:

    • target1, ..., targetN - The IDs of objects that had pivots translated.

  • PIVOT_RESET_TO_ORIGINAL - Resets the pivot to its original value (as it came from the file).

    Parameters:

    • target1, ..., targetN - The IDs of objects that will be reset.

  • PIVOT_ROTATE_AXIS - Rotate the given pivot axis by a given rotation angle.

    Parameters:

    • angle - Rotation angle.

    • axis - Which axis: X, Y or Z.

    • target1, ..., targetN - Tuple of node ids to be modified.

  • PIVOT_ROTATE_AXIS_DONE - Indicates that the pivot rotate axis has been completed.

    Parameters:

    • angle - Rotation angle.

    • axis - Which axis: X, Y or Z.

    • target1, ..., targetN - Tuple of node ids to be modified.

  • PIVOT_SET_AXIS - Set the pivot axis.

    Parameters:

    • target1, ..., targetN - Tuple of node ids to be modified.

    • x - x-axis.

    • y - y-axis.

    • z - z-axis.

  • PIVOT_SET_AXIS_DONE - Indicates that the pivot axis has been changed.

    Parameters:

    • target1, ..., targetN - Tuple of node ids that were modified.

    • x - x-axis.

    • y - y-axis.

    • z - z-axis.

  • ROTATE_WORLDSPACE - Rotates the given objects by the rotation angle amount, about the given axis and pivot point. If no objects are specified, then the currently selected objects are rotated.

    Parameters:

    • rotationAngle - Amount to rotate in radians.

    • rotationAxis - The rotation axis.

    • pivotPoint - The pivot point.

    • relative - True to make the rotation relative, False to make it absolute.

    • target1, ..., targetN - The IDs of objects to rotate.

  • ROTATE_WORLDSPACE_BYLABEL - Rotates the given objects by the rotation angle amount, about the given axis and pivot point. If no objects are specified, then the currently selected objects are rotated.

    Parameters:

    • rotationAngle - Amount to rotate in radians.

    • rotationAxis - The rotation axis.

    • pivotPoint - The pivot point.

    • relative - True to make the rotation relative, False to make it absolute.

    • target1, ..., targetN - The IDs of objects to rotate.

  • ROTATE_WORLDSPACE_DONE - Indicates which objects were rotated by the ROTATE_WORLDSPACE message.

    Parameters:

    • target1, ..., targetN - The IDs of objects that were rotated.

  • SCALE_AXIS_WORLDSPACE - Scales the given objects by factors in XYZ with a fixed pivot point and with respect to a given basis. If no objects are specified, the currently selected objects are scaled.

    Parameters:

    • scaleFactors - Scale factor as three values for X, Y and Z. 1 means no change. 0 is disallowed.

    • pivotPoint - The fixed point for scaling.

    • axis - The axis that form the reference basis.

    • relative - True to make the scale relative, False to make it absolute.

    • target1, ..., targetN - The IDs of objects to scale.

  • SCALE_WORLDSPACE - Scales the given objects by factors in XYZ with a fixed pivot point. If no objects are specified, the currently selected objects are scaled.

    Parameters:

    • scaleFactors - Scale factor as three values for X, Y and Z. 1 means no change. 0 is disallowed.

    • pivotPoint - The fixed point for scaling.

    • relative - True to make the scale relative, False to make it absolute.

    • target1, ..., targetN - The IDs of objects to scale.

  • SCALE_WORLDSPACE_DONE - Indicates which objects were scaled by the SCALE_WORLDSPACE message.

    Parameters:

    • target1, ..., targetN - The IDs of objects that were scaled.

  • TRANSLATE_WORLDSPACE - Translates the given objects by x, y, z (given in worldspace). If no objects are specified, then the currently selected objects are translated.

    Parameters:

    • x - Amount to translate by in the x direction.

    • y - Amount to translate by in the y direction.

    • z - Amount to translate by in the z direction.

    • relative - True to translate the targets relatively, False to translate them absolutely.

    • target1, ..., targetN - The IDs of objects to translate.

  • TRANSLATE_WORLDSPACE_BYLABEL - Translates the given objects by x, y, z (given in worldspace). If no objects are specified, then the currently selected objects are translated.

    Parameters:

    • x - Amount to translate by in the x direction.

    • y - Amount to translate by in the y direction.

    • z - Amount to translate by in the z direction.

    • relative - True to translate the targets relatively, False to translate them absolutely.

    • target1, ..., targetN - The IDs of objects to translate.

  • TRANSLATE_WORLDSPACE_DONE - Indicates which objects were translated by the TRANSLATE_WORLDSPACE message.

    Parameters:

    • target1, ..., targetN - The IDs of objects that were translated.