AnimationType

public enum AnimationType

An enum defining all of the potential types of animations exported from Lightwell.

Each type has different associated information to describe the contents.

  • position: corresponds to an animation with a path value effecting the position keypath of a CALayer.
  • scale: corresponds to an animation with size values effecting the transform.scale.x and transform.scale.y keypaths of a CALayer.
  • rotation: corresponds to an animation with float values effecting the transform.rotation keypath of a CALayer.
  • opacity: corresponds to an animation with float values effecting the opacity keypath of a CALayer.
  • group: corresponds to a collection of animations that are intended to be played together.
  • Specifications for an animation with a path value effecting the position keypath of a CALayer.

    Declaration

    Swift

    case position(LightwellPositionPaths)
  • Specifications for an animation with size values effecting the transform.scale.x and transform.scale.y keypaths of a CALayer.

    Declaration

    Swift

    case scale(LightwellScaleKeyframes)
  • Specifications for an animation with float values effecting the transform.rotation keypath of a CALayer.

    Declaration

    Swift

    case rotation(LightwellRotationKeyframes)
  • Specifications for an animation with float values effecting the opacity keypath of a CALayer.

    Declaration

    Swift

    case opacity(LightwellAlphaKeyframes)
  • Specifications for a collection of animations that are intended to be played together.

    Declaration

    Swift

    case group([CAAnimation])