API Docs for:
Show:

AnimationDataRecordDocument Class

Extends gs.DataRecordDocument
Module: gs

Stores an animation defined in database.

Properties

items.data.frameRange

gs.Range

A range to define the start- and end-frame of the animation.

items.data.framesX

Number

Number of frames the sprite-sheet has on x-axis.

items.data.framesY

Number

Number of frames the sprite-sheet has on y-axis.

items.data.graphic

gs.Resource

The sprite-sheet image used for the animation.

items.data.repeat

Boolean

Indicates if the animation is repeats after finish.

items.data.useFrameRange

Boolean

Indiciates if only specified frame-range is played.

items.data.useRepetitionFrameRange

Boolean

Indiciates if another specified frame-range is used if the animation repeats.