Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 addKeyframesToProperties, MochaImportPlus
C
 cornerPin, MochaImportPlus
 createMochaProject, MochaImportPlus
 createMoveNullLayer, MochaImportPlus
E
 Exceptions
F
 Functions, MochaImportPlus
G
 generateAETrackpoints, MochaImportPlus
 getAllInstalledMochaVersions, MochaImportPlus
L
 Licensing
 loadFromClipboard, MochaImportPlus
 loadFromFile, MochaImportPlus
M
 Miscellaneous
 MochaImportPlus
 MochaImportPlusAPI.js
 moveLayers, MochaImportPlus
 moveProperties, MochaImportPlus
O
 openProjectInMocha, MochaImportPlus
S
 setMochaVersion, MochaImportPlus
 stabilizedPrecomp, MochaImportPlus
 stabilizeLayer, MochaImportPlus
U
 Undo Groups
 Using The MochaImport+API
V
 Variables, MochaImportPlus
 version, MochaImportPlus
this.addKeyframesToProperties = function(propertyArray,
time)
Adds a keyframe for each of the given properties at the specified time.
this.cornerPin = function(layer,
options)
creates a corner pin effect on the given layer
this.createMochaProject = function(layer,
options)
Creates a mocha project for the given AV layer.
this.createMoveNullLayer = function(comp)
Creates a new null layer and sets its position, scale and rotation to the loaded mocha tracking data.
error handling in the MochaImport+ API
this.generateAETrackpoints = function(layer)
Generates After Effects trackpoints on the given layer based on the loaded mocha tracking data.
this.getAllInstalledMochaVersions = function()
Returns the name, file path and id for all versions of mocha that are installed on the system.
To use the MochaImport+ API, all you need is a normal license of MochaImport+.
this.loadFromClipboard = function(options)
loads mocha tracking data from the clipboard
this.loadFromFile = function(file,
options)
loads mocha tracking data from a file
documentation of all MochaImportPlus API functions available in the MochaImportPlus object
this.moveLayers = function(layerArray)
Creates a new null layer for the tracking data (like createMoveNullLayer) and parents all given layers to it.
this.moveProperties = function(propertyArray,
options)
Moves the given 2d point properties, masks or shapes with the tracking data.
this.openProjectInMocha = function(projectFile)
Launches mocha and opens the given mocha project file in it.
this.setMochaVersion = function(id)
Sets the version of mocha that should be used by the function openProjectInMocha.
this.stabilizedPrecomp = function(layer,
options)
Turns the given layer into a stabilized precomp.
this.stabilizeLayer = function(layer,
options)
applies the stabilize function of MochaImport+ to the given layer.
how to use Undo Groups with the MochaImport+ API
Getting started with the MochaImport+ API
this.version
The version number of MochaImport+
Close