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

Safe HaskellSafe-Infered

HGamer3D.Bindings.Ogre.ClassMovableObject

Synopsis

Documentation

deleteSource

Arguments

:: HG3DClass

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

-> IO () 

Virtual destructor - read Scott Meyers if you don't know why this is needed.

getNameSource

Arguments

:: HG3DClass

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

-> IO String 

Returns the name of this object.

getMovableTypeSource

Arguments

:: HG3DClass

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

-> IO String 

Returns the type name of this object.

getParentNodeSource

Arguments

:: HG3DClass

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

-> IO HG3DClass 

Returns the node to which this object is attached. A MovableObjectSceneNodeNode

getParentSceneNodeSource

Arguments

:: HG3DClass

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

-> IO HG3DClass 

Returns the scene node to which this object is attached. A MovableObjectSceneNode

isParentTagPointSource

Arguments

:: HG3DClass

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

-> IO Bool 

Gets whether the parent node is a TagPoint (or a SceneNode

isAttachedSource

Arguments

:: HG3DClass

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

-> IO Bool 

Returns true if this object is attached to a SceneNode

detachFromParentSource

Arguments

:: HG3DClass

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

-> IO () 

Returns true if this object is attached to a SceneNodeSceneNode

Detaches an object from a parent SceneNode

isInSceneSource

Arguments

:: HG3DClass

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

-> IO Bool 

getBoundingRadiusSource

Arguments

:: HG3DClass

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

-> IO Float 

Retrieves the radius of the origin-centered bounding sphere for this object.

setVisibleSource

Arguments

:: HG3DClass

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

-> Bool

visible

-> IO () 

Gets this object whether to be visible or not, if it has a renderable component. Returns the value set by MovableObject::setVisible

Tells this object whether to be visible or not, if it has a renderable component. An alternative approach of making an object invisible is to detach it from it's SceneNodeSceneNode

getVisibleSource

Arguments

:: HG3DClass

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

-> IO Bool 

isVisibleSource

Arguments

:: HG3DClass

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

-> IO Bool 

Returns whether or not this object is supposed to be visible or not. Takes into account both upper rendering distance and visible flag.

setRenderingDistanceSource

Arguments

:: HG3DClass

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

-> Float

dist - Distance beyond which the object will not be rendered (the default is 0, which means objects are always rendered).

-> IO () 

Gets the distance at which batches are no longer rendered.

Sets the distance at which the object is no longer rendered.

getRenderingDistanceSource

Arguments

:: HG3DClass

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

-> IO Float 

setQueryFlagsSource

Arguments

:: HG3DClass

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

-> Int

flags

-> IO () 

As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object.

Sets the query flags for this object. When performing a scene query, this object will be included or excluded according to flags on the object and flags on the query. This is a bitwise value, so only when a bit on these flags is set, will it be included in a query asking for that flag. The meaning of the bits is application-specific.

addQueryFlagsSource

Arguments

:: HG3DClass

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

-> Int

flags

-> IO () 

As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object.

removeQueryFlagsSource

Arguments

:: HG3DClass

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

-> Int

flags

-> IO () 

Returns the query flags relevant for this object.

getQueryFlagsSource

Arguments

:: HG3DClass

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

-> IO Int 

setVisibilityFlagsSource

Arguments

:: HG3DClass

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

-> Int

flags

-> IO () 

As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object.

Sets the visiblity flags for this object. As well as a simple true/false value for visibility (as seen in setVisible), you can also set visiblity flags which when anded with the SceneManager

addVisibilityFlagsSource

Arguments

:: HG3DClass

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

-> Int

flags

-> IO () 

As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object.

removeVisibilityFlagsSource

Arguments

:: HG3DClass

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

-> Int

flags

-> IO () 

Returns the visibility flags relevant for this object.

getVisibilityFlagsSource

Arguments

:: HG3DClass

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

-> IO Int 

getLightMaskSource

Arguments

:: HG3DClass

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

-> IO Int 

Get a bitwise mask which will filter the lights affecting this object By default, this mask is fully set meaning all lights will affect this object

setLightMaskSource

Arguments

:: HG3DClass

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

-> Int

lightMask

-> IO () 

Define a default implementation of method from ShadowCaster which implements no shadows.

Set a bitwise mask which will filter the lights affecting this object This mask will be compared against the mask held against Light

hasEdgeListSource

Arguments

:: HG3DClass

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

-> IO Bool 

setCastShadowsSource

Arguments

:: HG3DClass

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

-> Bool

enabled

-> IO () 

Returns whether shadow casting is enabled for this object.

Sets whether or not this object will cast shadows. This setting simply allows you to turn on/off shadows for a given object. An object will not cast shadows unless the scene supports it in any case (see SceneManager::setShadowTechniqueThis method normally refers to objects which block the light, but since LightMovableObject

getCastShadowsSource

Arguments

:: HG3DClass

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

-> IO Bool 

getReceivesShadowsSource

Arguments

:: HG3DClass

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

-> IO Bool 

Returns whether the MaterialRenderableMovableObject

getPointExtrusionDistanceSource

Arguments

:: HG3DClass

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

-> HG3DClass

l

-> IO Float 

Get the distance to extrude for a point/spot light

getTypeFlagsSource

Arguments

:: HG3DClass

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

-> IO Int 

Get the 'type flags' for this MovableObjectA type flag identifies the type of the MovableObjectMovableObjectFactoryMovableObjectFactoryMovableObjectFactory

setDebugDisplayEnabledSource

Arguments

:: HG3DClass

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

-> Bool

enabled

-> IO () 

Gets whether debug display of this object is enabled.

Sets whether or not the debug display of this object is enabled. Some objects aren't visible themselves but it can be useful to display a debug representation of them. Or, objects may have an additional debug display on top of their regular display. This option enables / disables that debug display. Objects that are not visible never display debug geometry regardless of this setting.

isDebugDisplayEnabledSource

Arguments

:: HG3DClass

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

-> IO Bool 

setDefaultQueryFlagsSource

Arguments

:: Int

flags

-> IO () 

Get the default query flags for all future MovableObject

Set the default query flags for all future MovableObject

setDefaultVisibilityFlagsSource

Arguments

:: Int

flags

-> IO () 

Get the default visibility flags for all future MovableObject

Set the default visibility flags for all future MovableObject