Class

DuOCAFrame

DuOCAFrame()

An OCA Frame
This is not a real class, and cannot be instanciated.
Use DuOCA.load to create an OCA object containing the layers.
Constructor

# new DuOCAFrame()

Properties:
Name Type Description
name string The layer name
fileName string The path and name of the file of the frame. It is the absolute path from the root of the OCA folder.
frameNumber int The frame in the document at which the frames starts to be visible
opacity float The opacity, in the range 0.0-1.0
position Array.<int> The coordinates of the center of the layer, in pixels [X,Y] in the document coordinates.
width int The width, in pixels.
height int The height, in pixels.
duration int The duration of the frame, in frames.

View Source DuAEF_DuGR_api.jsxinc, line 8155