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

Safe HaskellSafe-Infered

HGamer3D.Bindings.Ogre.ClassBone

Synopsis

Documentation

deleteSource

Arguments

:: HG3DClass

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

-> IO () 

createChildSource

Arguments

:: HG3DClass

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

-> Int

handle - The numeric handle to give the new bone; must be unique within the Skeleton.

-> Vec3

translate - Initial translation offset of child relative to parent

-> Quaternion

rotate - Initial rotation relative to parent

-> IO HG3DClass 

Creates a new BoneThis method creates a new bone which will inherit the transforms of this bone, with the handle specified.

getHandleSource

Arguments

:: HG3DClass

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

-> IO Int 

Gets the numeric handle for this bone (unique within the skeleton).

setBindingPoseSource

Arguments

:: HG3DClass

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

-> IO () 

Resets the position and orientation of this BoneBones are bound to the mesh in a binding pose. They are then modified from this position during animation. This method returns the bone to it's original position and orientation.

Sets the current position / orientation to be the 'binding pose' ie the layout in which bones were originally bound to a mesh.

resetSource

Arguments

:: HG3DClass

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

-> IO () 

Sets whether or not this bone is manually controlled. Manually controlled bones can be altered by the application at runtime, and their positions will not be reset by the animation routines. Note that you should also make sure that there are no AnimationTrackgetHandle()You can also use AnimationState::setBlendMask to mask out animation from chosen tracks if you want to prevent application of a scripted animation to a bone without altering the Animation

setManuallyControlledSource

Arguments

:: HG3DClass

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

-> Bool

manuallyControlled

-> IO () 

Getter for mManuallyControlled Flag

isManuallyControlledSource

Arguments

:: HG3DClass

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

-> IO Bool 

needUpdateSource

Arguments

:: HG3DClass

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

-> Bool

forceParentUpdate

-> IO () 

Node::needUpdate