HGamer3D-Ogre-Binding-0.1.8: Library to enable 3D game development for Haskell - Ogre Bindings

Safe HaskellSafe-Infered

HGamer3D.Bindings.Ogre.ClassAnimationTrack

Synopsis

Documentation

deleteSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance which is going to be deleted.

-> IO () 

getHandleSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Int 

Get the handle associated with this track.

getNumKeyFramesSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Int 

Returns the number of keyframes in this animation.

removeKeyFrameSource

Arguments

:: 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

removeAllKeyFramesSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Applies an animation track to the designated target.

applySource

Arguments

:: 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.

hasNonZeroKeyFramesSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Bool 

optimiseSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Returns the parent Animation

Optimise the current track by removing any duplicate keyframes.

getParentSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO HG3DClass