HGamer3D-Ogre-Binding-0.1.9: Windows Game Engine for the Haskell Programmer - Ogre Bindings

Safe HaskellNone

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

hasNonZeroKeyFramesSource

Arguments

:: HG3DClass

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

-> IO Bool 

Optimise the current track by removing any duplicate keyframes.

optimiseSource

Arguments

:: HG3DClass

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

-> IO () 

Returns the parent Animation

getParentSource

Arguments

:: HG3DClass

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

-> IO HG3DClass