Safe Haskell | None |
---|
- delete :: HG3DClass -> IO ()
- createAnimationState :: HG3DClass -> String -> Float -> Float -> Float -> Bool -> IO HG3DClass
- getAnimationState :: HG3DClass -> String -> IO HG3DClass
- hasAnimationState :: HG3DClass -> String -> IO Bool
- removeAnimationState :: HG3DClass -> String -> IO ()
- removeAllAnimationStates :: HG3DClass -> IO ()
- copyMatchingState :: HG3DClass -> HG3DClass -> IO ()
- hasEnabledAnimationState :: HG3DClass -> IO Bool
- delete'_ :: HG3DClassPtr -> IO ()
- createAnimationState'_ :: HG3DClassPtr -> Ptr CChar -> CFloat -> CFloat -> CFloat -> CInt -> HG3DClassPtr -> IO ()
- getAnimationState'_ :: HG3DClassPtr -> Ptr CChar -> HG3DClassPtr -> IO ()
- hasAnimationState'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CInt -> IO ()
- removeAnimationState'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- removeAllAnimationStates'_ :: HG3DClassPtr -> IO ()
- copyMatchingState'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- hasEnabledAnimationState'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
Documentation
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | animName - The name of the animation |
-> Float | timePos - Starting time position |
-> Float | length - Length of the animation to play |
-> Float | weight - Weight to apply the animation with |
-> Bool | enabled - Whether the animation is enabled |
-> IO HG3DClass |
Get an animation state by the name of the animation.
Create a new AnimationState instance.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | name |
-> IO Bool |
Tests if state for the named animation is present.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | name |
-> IO () |
Remove all animation states.
Remove animation state with the given name.
removeAllAnimationStatesSource
Copy the state of any matching animation states from this to another.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | target |
-> IO () |
Tests if exists enabled animation state in this set.
delete'_ :: HG3DClassPtr -> IO ()Source
createAnimationState'_ :: HG3DClassPtr -> Ptr CChar -> CFloat -> CFloat -> CFloat -> CInt -> HG3DClassPtr -> IO ()Source
getAnimationState'_ :: HG3DClassPtr -> Ptr CChar -> HG3DClassPtr -> IO ()Source
hasAnimationState'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CInt -> IO ()Source
removeAnimationState'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
copyMatchingState'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
hasEnabledAnimationState'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source