Safe Haskell | Safe-Infered |
---|
- delete :: HG3DClass -> IO ()
- getHandle :: HG3DClass -> IO Int
- getNumKeyFrames :: HG3DClass -> IO Int
- removeKeyFrame :: HG3DClass -> Int -> IO ()
- removeAllKeyFrames :: HG3DClass -> IO ()
- apply :: HG3DClass -> HG3DClass -> Float -> Float -> IO ()
- hasNonZeroKeyFrames :: HG3DClass -> IO Bool
- optimise :: HG3DClass -> IO ()
- getParent :: HG3DClass -> IO HG3DClass
- delete'_ :: HG3DClassPtr -> IO ()
- getHandle'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()
- getNumKeyFrames'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()
- removeKeyFrame'_ :: HG3DClassPtr -> CUShort -> IO ()
- removeAllKeyFrames'_ :: HG3DClassPtr -> IO ()
- apply'_ :: HG3DClassPtr -> HG3DClassPtr -> CFloat -> CFloat -> IO ()
- hasNonZeroKeyFrames'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- optimise'_ :: HG3DClassPtr -> IO ()
- getParent'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
Documentation
Get the handle associated with this track.
Returns the number of keyframes in this animation.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | index |
-> IO () |
Removes all the KeyFrames from this track.
Removes a KeyFrame
Applies an animation track to the designated target.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | timeIndex - The time position in the animation to apply. |
-> Float | weight - The influence to give to this track, 1.0 for full influence, less to blend with other animations. |
-> Float | scale - The scale to apply to translations and scalings, useful for adapting an animation to a different size target. |
-> IO () |
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to determine if this track can be optimised out.
Returns the parent Animation
Optimise the current track by removing any duplicate keyframes.
delete'_ :: HG3DClassPtr -> IO ()Source
getHandle'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()Source
getNumKeyFrames'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()Source
removeKeyFrame'_ :: HG3DClassPtr -> CUShort -> IO ()Source
apply'_ :: HG3DClassPtr -> HG3DClassPtr -> CFloat -> CFloat -> IO ()Source
hasNonZeroKeyFrames'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
optimise'_ :: HG3DClassPtr -> IO ()Source
getParent'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source