Open Cel Animation interchange tools
Members
-
static BlendingModes
-
Associative array to convert blending modes from OCA to After Effects
-
static colorDepths
-
Associative array to convert color depths modes from OCA to After Effects
-
static, readonly Errors :int
-
The errors when importing oca
Properties:
Name Type Description INVALID
int NO_LAYER
int OK
int -
static, readonly layerTypes :string
-
The different layer types
Properties:
Name Type Description PAINT
string VECTOR
string GROUP
string
Methods
-
static import(file) → {DuAEF.OCA.Errors}
-
Imports an OCA file with all layers and animation
Parameters:
Name Type Description file
File The .json or .oca file Returns:
DuAEF.OCA.Errors - Error -
static load(file) → {OCA|null}
-
Loads an OCA document from a json file
Parameters:
Name Type Description file
File | string The .json file or its path