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

Safe HaskellSafe-Infered

HGamer3D.Bindings.Ogre.ClassBillboardChain

Synopsis

Documentation

deleteSource

Arguments

:: HG3DClass

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

-> IO () 

destructor

setMaxChainElementsSource

Arguments

:: HG3DClass

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

-> Int

maxElements

-> IO () 

Get the maximum number of chain elements per chain

Set the maximum number of chain elements per chain

getMaxChainElementsSource

Arguments

:: HG3DClass

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

-> IO Int 

setNumberOfChainsSource

Arguments

:: HG3DClass

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

-> Int

numChains

-> IO () 

Get the number of chain segments (this class can render multiple chains at once using the same material).

Set the number of chain segments (this class can render multiple chains at once using the same material).

getNumberOfChainsSource

Arguments

:: HG3DClass

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

-> IO Int 

setUseTextureCoordsSource

Arguments

:: HG3DClass

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

-> Bool

use

-> IO () 

Gets whether texture coordinate information should be included in the final buffers generated.

Sets whether texture coordinate information should be included in the final buffers generated. You must use either texture coordinates or vertex colour since the vertices have no normals and without one of these there is no source of colour for the vertices.

getUseTextureCoordsSource

Arguments

:: HG3DClass

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

-> IO Bool 

setTextureCoordDirectionSource

Arguments

:: HG3DClass

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

-> EnumBillboardChainTexCoordDirection

dir - The direction, default is TCD_U.

-> IO () 

Gets the direction in which texture coords specified on each element are deemed to run.

Sets the direction in which texture coords specified on each element are deemed to run along the length of the chain.

getTextureCoordDirectionSource

Arguments

:: HG3DClass

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

-> IO EnumBillboardChainTexCoordDirection 

setOtherTextureCoordRangeSource

Arguments

:: HG3DClass

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

-> Float

start - Start coordinate, default 0.0

-> Float

end - End coordinate, default 1.0

-> IO () 

Sets whether vertex colour information should be included in the final buffers generated. You must use either texture coordinates or vertex colour since the vertices have no normals and without one of these there is no source of colour for the vertices.

Set the range of the texture coordinates generated across the width of the chain elements.

setUseVertexColoursSource

Arguments

:: HG3DClass

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

-> Bool

use

-> IO () 

Gets whether vertex colour information should be included in the final buffers generated.

getUseVertexColoursSource

Arguments

:: HG3DClass

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

-> IO Bool 

setDynamicSource

Arguments

:: HG3DClass

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

-> Bool

dyn

-> IO () 

Gets whether or not the buffers created for this object are suitable for dynamic alteration.

Sets whether or not the buffers created for this object are suitable for dynamic alteration.

getDynamicSource

Arguments

:: HG3DClass

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

-> IO Bool 

removeChainElementSource

Arguments

:: HG3DClass

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

-> Int

chainIndex - The index of the chain

-> IO () 

Returns the number of chain elements.

Remove an element from the tail of a chain.

getNumChainElementsSource

Arguments

:: HG3DClass

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

-> Int

chainIndex

-> IO Int 

clearChainSource

Arguments

:: HG3DClass

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

-> Int

chainIndex

-> IO () 

Remove all elements from all chains (but leave the chains themselves intact).

Remove all elements of a given chain (but leave the chain intact).

clearAllChainsSource

Arguments

:: HG3DClass

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

-> IO () 

Get the material name in use.

getMaterialNameSource

Arguments

:: HG3DClass

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

-> IO String 

setMaterialNameSource

Arguments

:: HG3DClass

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

-> String

name

-> String

groupName

-> IO () 

Returns the camera-relative squared depth of this renderable. Used to sort transparent objects. Squared depth is used rather than actual depth to avoid having to perform a square root on the result.

Set the material name to use for rendering.

getSquaredViewDepthSource

Arguments

:: HG3DClass

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

-> HG3DClass

cam

-> IO Float 

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.

getMaterialSource

Arguments

:: HG3DClass

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

-> IO SharedPtr 

Retrieves a weak reference to the material this renderable object uses. Note that the Renderable

getMovableTypeSource

Arguments

:: HG3DClass

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

-> IO String 

Returns the type name of this object.