evCreate API 5.7 Help

EvAnimationRotateEffect Interface

The EvAnimationRotateEffect TS interface defines a blueprint of a JS object that specifies an animation effect of rotating parts.

Properties

An EvAnimationRotateEffect object has the following properties:

angle: number;

A number, a given angle in degrees by which given parts should be rotated around the given axis.

axis: EvVector3D;

An EvVector3D object, the 3D coordinates of a given vector that is normalized to define an axis along which the given parts should be rotated by the given angle.

span: EvAnimationTimeSpan;

An EvAnimationTimeSpan object, the position and duration of the rotation effect on the animation timeline.

Examples

TS

{ angle: 360, axis: [0, 0, 1], span: { end: 7, type: EvAnimationPositionType.Time, start: 5 } }

JS

{ angle: 360, axis: [0, 0, 1], span: { end: 7, type: "time", start: 5 } }
26 April 2025