RotationTween

RotationTween

Particle modifier that interpolates the rotation angle of particles over their lifespan between two target values.

Constructor

new RotationTween(configopt)

Description:
  • Initializes a rotation tween modifier with starting and ending rotation angles.
Source:
Parameters:
Name Type Attributes Default Description
config RotationTweenConfig <optional>
{} RotationTween configuration options.

Extends

Classes

RotationTween

Members

endRotation :number

Description:
  • RotationTween angle (in radians) at particle death.
Source:
RotationTween angle (in radians) at particle death.
Type:
  • number

startRotation :number

Description:
  • RotationTween angle (in radians) at particle emission.
Source:
RotationTween angle (in radians) at particle emission.
Type:
  • number