cal3d-0.1: Haskell binding to the Cal3D animation library.
Source code
Contents
Index
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
Mixer
Source
Create a Mixer.
deleteMixer
::
Mixer
->
IO
()
Source
Destroy a Mixer.
blendCycle
Source
::
Mixer
->
AnimationId
->
Float
weight of this animation; weights should sum to 1.0
->
Float
delay 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
.
clearCycle
Source
::
Mixer
->
AnimationId
->
Float
delay in seconds before the animation ends
->
IO
(
Either
String
()
)
Remove a
cycled
animation from the current mix.
executeAction
Source
::
Mixer
->
AnimationId
->
Float
delay in
->
Float
delay out
->
Float
weight target
->
Bool
autolock?
->
IO
(
Either
String
()
)
Execute an animation once, instead of repeating it.
Produced by
Haddock
version 2.4.2