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

Safe HaskellSafe-Infered

HGamer3D.Bindings.Ogre.ClassVertexAnimationTrack

Synopsis

Documentation

newSource

Arguments

:: HG3DClass

parent

-> Int

handle

-> EnumVertexAnimationType

animType

-> IO HG3DClass 

Constructor.

getAnimationTypeSource

Arguments

:: HG3DClass

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

-> IO EnumVertexAnimationType 

Get the type of vertex animation we're performing.

applySource

Arguments

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

setTargetModeSource

Arguments

:: HG3DClass

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

-> EnumVertexAnimationTrackTargetMode

m

-> IO () 

Get the target mode.

getTargetModeSource

Arguments

:: HG3DClass

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

-> IO EnumVertexAnimationTrackTargetMode 

hasNonZeroKeyFramesSource

Arguments

:: HG3DClass

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

-> IO Bool 

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.

optimiseSource

Arguments

:: HG3DClass

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

-> IO () 

Optimise the current track by removing any duplicate keyframes.