addAnimationBlock:
refId
objId of the object
optional(for camera)
string
type
type of animation
required
"rotate" | "focus" | "scale" | "pan" | "zoom" | "stretch" | "fade"
panDirection
default: ‘Left’ (for type=’pan’)
optional
‘L-R’ | ‘R-L’ | ‘T-B’ | ‘B-T’
zoomScale
default: 100 (for type=’zoom’)
number
rotationAxis
default: ‘X’ (for type='rotate')
‘X’ | ‘Y’ | ‘Z’
noofRotations
default: 1 (for type='rotate')
focusDirection
default: ‘Left’ (for type=’focus’)
‘Left’ | ‘Right’ | ‘Top’ | ‘Bottom’
scaleType
default: ‘SCALE_UP’ (for type=’scale’)
‘SCALE_UP’ | ‘SCALE_DOWN’
default: 100 (for type=’scale’)
stretchDirection
default: ‘Horizontal’ (for type=’stretch’)
‘Horizontal’ | ‘Vertical’
fadeType
default: 1 (for type=’fade’)
‘FADE_IN' | ‘FADE_OUT’
Last updated 1 year ago