cal3d-0.1: Haskell binding to the Cal3D animation library.Source codeContentsIndex
Graphics.Animation.Cal3D.Mixer
Synopsis
newMixer :: IO Mixer
deleteMixer :: Mixer -> IO ()
blendCycle :: Mixer -> AnimationId -> Float -> Float -> IO (Either String ())
clearCycle :: Mixer -> AnimationId -> Float -> IO (Either String ())
executeAction :: Mixer -> AnimationId -> Float -> Float -> Float -> Bool -> IO (Either String ())
Documentation
newMixer :: IO MixerSource
Create a Mixer.
deleteMixer :: Mixer -> IO ()Source
Destroy a Mixer.
blendCycleSource
:: Mixer
-> AnimationId
-> Floatweight of this animation; weights should sum to 1.0
-> Floatdelay in seconds before the animation starts
-> IO (Either String ())
Add an animation to be cycled (repeated) to the current mix. The animation will continue playing until removed by clearCycle.
clearCycleSource
:: Mixer
-> AnimationId
-> Floatdelay in seconds before the animation ends
-> IO (Either String ())
Remove a cycled animation from the current mix.
executeActionSource
:: Mixer
-> AnimationId
-> Floatdelay in
-> Floatdelay out
-> Floatweight target
-> Boolautolock?
-> IO (Either String ())
Execute an animation once, instead of repeating it.
Produced by Haddock version 2.4.2