Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 524 Bytes

File metadata and controls

31 lines (18 loc) · 524 Bytes

setRotation()

Availability

Adobe Animate 2019

Usage

camera.setRotation(frameIndex, angleDegree)

Parameters

frameIndex:int - frame Number in timeline

AngleDegree:int - the angleDegree for rotation.

Return

nothing

Description

Rotate camera by absolute angle given as input parameters.

Example

The following example rotates camera by absolute angle given as input parameters.

var timeline = an.getDocumentDOM().getTimeline();
timeline.camera.setRotation(37,-100);