๐นAdd Animation Block to the Scene
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โ) | optional | number |
rotationAxis | default: โXโ (for type='rotate')
| optional | โXโ | โYโ | โZโ |
noofRotations | default: 1 (for type='rotate') | optional | number |
focusDirection | default: โLeftโ (for type=โfocusโ) | optional | โLeftโ | โRightโ | โTopโ | โBottomโ |
scaleType | default: โSCALE_UPโ (for type=โscaleโ) | optional | โSCALE_UPโ | โSCALE_DOWNโ |
zoomScale | default: 100 (for type=โscaleโ) | optional | number |
stretchDirection | default: โHorizontalโ (for type=โstretchโ)
| optional | โHorizontalโ | โVerticalโ |
fadeType | default: 1 (for type=โfadeโ) | optional | โFADE_IN' | โFADE_OUTโ |
Last updated