Safe Haskell | Safe-Infered |
---|
- new :: HG3DClass -> Int -> EnumVertexAnimationType -> IO HG3DClass
- getAnimationType :: HG3DClass -> IO EnumVertexAnimationType
- apply :: HG3DClass -> HG3DClass -> Float -> Float -> IO ()
- setTargetMode :: HG3DClass -> EnumVertexAnimationTrackTargetMode -> IO ()
- getTargetMode :: HG3DClass -> IO EnumVertexAnimationTrackTargetMode
- hasNonZeroKeyFrames :: HG3DClass -> IO Bool
- optimise :: HG3DClass -> IO ()
- new'_ :: HG3DClassPtr -> CUShort -> CInt -> HG3DClassPtr -> IO ()
- getAnimationType'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- apply'_ :: HG3DClassPtr -> HG3DClassPtr -> CFloat -> CFloat -> IO ()
- setTargetMode'_ :: HG3DClassPtr -> CInt -> IO ()
- getTargetMode'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- hasNonZeroKeyFrames'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- optimise'_ :: HG3DClassPtr -> IO ()
Documentation
:: HG3DClass | parent |
-> Int | handle |
-> EnumVertexAnimationType | animType |
-> IO HG3DClass |
Constructor.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO EnumVertexAnimationType |
Get the type of vertex animation we're performing.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | timeIndex |
-> Float | weight |
-> Float | scale |
-> IO () |
Set the target mode.
Applies an animation track to the designated target.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> EnumVertexAnimationTrackTargetMode | m |
-> IO () |
Get the target mode.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO EnumVertexAnimationTrackTargetMode |
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.
Optimise the current track by removing any duplicate keyframes.
new'_ :: HG3DClassPtr -> CUShort -> CInt -> HG3DClassPtr -> IO ()Source
getAnimationType'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
apply'_ :: HG3DClassPtr -> HG3DClassPtr -> CFloat -> CFloat -> IO ()Source
setTargetMode'_ :: HG3DClassPtr -> CInt -> IO ()Source
getTargetMode'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
hasNonZeroKeyFrames'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
optimise'_ :: HG3DClassPtr -> IO ()Source