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

Safe HaskellNone

HGamer3D.Bindings.Ogre.ClassMovableObjectFactory

Synopsis

Documentation

deleteSource

Arguments

:: HG3DClass

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

-> IO () 

getTypeSource

Arguments

:: HG3DClass

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

-> IO String 

Get the type of the object to be created.

destroyInstanceSource

Arguments

:: HG3DClass

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

-> HG3DClass

obj

-> IO () 

Does this factory require the allocation of a 'type flag', used to selectively include / exclude this type from scene queries? The default implementation here is to return false, ie not to request a unique type mask from RootMovableObject::getTypeFlagsMovableObjectRoot

Destroy an instance of the object

requestTypeFlagsSource

Arguments

:: HG3DClass

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

-> IO Bool 

Gets the type flag for this factory. A type flag is like a query flag, except that it applies to all instances of a certain type of object.

getTypeFlagsSource

Arguments

:: HG3DClass

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

-> IO Int