miso-aframe-0.1: Miso bindings for A-Frame framework for WebVR.

Safe HaskellNone
LanguageHaskell2010

Miso.AFrame.Core.Animation

Synopsis

Documentation

data AnimationFill Source

Determines effect of animation when not actively in play.

data AnimationAttrs Source

Animation attributes.

Constructors

AnimationAttrs 

Fields

animationBegin :: Maybe MisoString

Event name to wait on before beginning animation.

animationEnd :: Maybe MisoString

Event name to wait on before stopping animation.

animationDelay :: Maybe Milliseconds

Delay (in milliseconds) or event name to wait on before beginning animation.

animationDirection :: Maybe AnimationDirection

Direction of the animation (between animationFrom and animationTo).

animationDur :: Maybe Milliseconds

Duration in (milliseconds) of the animation.

animationEasing :: Maybe AnimationEasing

Easing function of the animation. There are very many to choose from.

animationFill :: Maybe AnimationFill

Determines effect of animation when not actively in play.

animationRepeat :: AnimationRepeatCount

Repeat count or Indefinite.

animation Source

Arguments

:: CanAnimate a 
=> MisoString

Name of an attribute to provide animation for.

-> Maybe a

Starting value. Specify Nothing to use current value.

-> a

Ending value.

-> AnimationAttrs

Animation attributes.

-> View action 

A-Frame animation entity.