Safe Haskell | None |
---|
- delete :: HG3DClass -> IO ()
- getName :: HG3DClass -> IO String
- getMovableType :: HG3DClass -> IO String
- getParentNode :: HG3DClass -> IO HG3DClass
- getParentSceneNode :: HG3DClass -> IO HG3DClass
- isParentTagPoint :: HG3DClass -> IO Bool
- isAttached :: HG3DClass -> IO Bool
- detachFromParent :: HG3DClass -> IO ()
- isInScene :: HG3DClass -> IO Bool
- getBoundingRadius :: HG3DClass -> IO Float
- setVisible :: HG3DClass -> Bool -> IO ()
- getVisible :: HG3DClass -> IO Bool
- isVisible :: HG3DClass -> IO Bool
- setRenderingDistance :: HG3DClass -> Float -> IO ()
- getRenderingDistance :: HG3DClass -> IO Float
- setRenderingMinPixelSize :: HG3DClass -> Float -> IO ()
- getRenderingMinPixelSize :: HG3DClass -> IO Float
- setQueryFlags :: HG3DClass -> Int -> IO ()
- addQueryFlags :: HG3DClass -> Int -> IO ()
- removeQueryFlags :: HG3DClass -> Int -> IO ()
- getQueryFlags :: HG3DClass -> IO Int
- setVisibilityFlags :: HG3DClass -> Int -> IO ()
- addVisibilityFlags :: HG3DClass -> Int -> IO ()
- removeVisibilityFlags :: HG3DClass -> Int -> IO ()
- getVisibilityFlags :: HG3DClass -> IO Int
- getLightMask :: HG3DClass -> IO Int
- setLightMask :: HG3DClass -> Int -> IO ()
- hasEdgeList :: HG3DClass -> IO Bool
- setCastShadows :: HG3DClass -> Bool -> IO ()
- getCastShadows :: HG3DClass -> IO Bool
- getReceivesShadows :: HG3DClass -> IO Bool
- getPointExtrusionDistance :: HG3DClass -> HG3DClass -> IO Float
- getTypeFlags :: HG3DClass -> IO Int
- setDebugDisplayEnabled :: HG3DClass -> Bool -> IO ()
- isDebugDisplayEnabled :: HG3DClass -> IO Bool
- setDefaultQueryFlags :: Int -> IO ()
- getDefaultQueryFlags :: IO Int
- setDefaultVisibilityFlags :: Int -> IO ()
- getDefaultVisibilityFlags :: IO Int
- delete'_ :: HG3DClassPtr -> IO ()
- getName'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- getMovableType'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- getParentNode'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- getParentSceneNode'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- isParentTagPoint'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isAttached'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- detachFromParent'_ :: HG3DClassPtr -> IO ()
- isInScene'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getBoundingRadius'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- setVisible'_ :: HG3DClassPtr -> CInt -> IO ()
- getVisible'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isVisible'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setRenderingDistance'_ :: HG3DClassPtr -> CFloat -> IO ()
- getRenderingDistance'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- setRenderingMinPixelSize'_ :: HG3DClassPtr -> CFloat -> IO ()
- getRenderingMinPixelSize'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- setQueryFlags'_ :: HG3DClassPtr -> CUInt -> IO ()
- addQueryFlags'_ :: HG3DClassPtr -> CUInt -> IO ()
- removeQueryFlags'_ :: HG3DClassPtr -> CUInt -> IO ()
- getQueryFlags'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()
- setVisibilityFlags'_ :: HG3DClassPtr -> CUInt -> IO ()
- addVisibilityFlags'_ :: HG3DClassPtr -> CUInt -> IO ()
- removeVisibilityFlags'_ :: HG3DClassPtr -> CUInt -> IO ()
- getVisibilityFlags'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()
- getLightMask'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()
- setLightMask'_ :: HG3DClassPtr -> CUInt -> IO ()
- hasEdgeList'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setCastShadows'_ :: HG3DClassPtr -> CInt -> IO ()
- getCastShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getReceivesShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getPointExtrusionDistance'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CFloat -> IO ()
- getTypeFlags'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()
- setDebugDisplayEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- isDebugDisplayEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setDefaultQueryFlags'_ :: CUInt -> IO ()
- getDefaultQueryFlags'_ :: Ptr CUInt -> IO ()
- setDefaultVisibilityFlags'_ :: CUInt -> IO ()
- getDefaultVisibilityFlags'_ :: Ptr CUInt -> IO ()
Documentation
Virtual destructor - read Scott Meyers if you don't know why this is needed.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO String |
Returns the name of this object.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO String |
Returns the type name of this object.
:: 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
Returns the node to which this object is attached. A MovableObjectSceneNodeNode
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO HG3DClass |
Gets whether the parent node is a TagPoint (or a SceneNode
Returns true if this object is attached to a SceneNode
Returns true if this object is attached to a SceneNodeSceneNode
Detaches an object from a parent SceneNode
Retrieves the radius of the origin-centered bounding sphere for this object.
:: 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
Returns whether or not this object is supposed to be visible or not. Takes into account both upper rendering distance and visible flag.
Sets the distance at which the object is no longer rendered. Camera::setUseRenderingDistance()
:: 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.
setRenderingMinPixelSizeSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | pixelSize - Number of minimum pixels (the default is 0, which means objects are always rendered). |
-> IO () |
Returns the minimum pixel size an object needs to be in both screen axes in order to be rendered
Sets the minimum pixel size an object needs to be in both screen axes in order to be rendered Camera::setUseMinPixelSize()
:: 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
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.
:: 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
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | flags |
-> IO () |
Returns the query flags relevant for this object.
:: 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
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 and
ed with the SceneManager
:: 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
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | flags |
-> IO () |
Returns the visibility flags relevant for this object.
Set a bitwise mask which will filter the lights affecting this object This mask will be compared against the mask held against Light
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
:: 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.
:: 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
Returns whether the MaterialRenderableMovableObject
getPointExtrusionDistanceSource
:: 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
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.
Get the 'type flags' for this MovableObject. A type flag identifies the type of the MovableObjectMovableObjectFactoryMovableObjectFactoryMovableObjectFactory
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | enabled |
-> IO () |
Gets whether debug display of this object is enabled.
Get the default query flags for all future MovableObject
Set the default query flags for all future MovableObject
setDefaultVisibilityFlagsSource
Get the default visibility flags for all future MovableObject
Set the default visibility flags for all future MovableObject
delete'_ :: HG3DClassPtr -> IO ()Source
getMovableType'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
getParentNode'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
getParentSceneNode'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
isParentTagPoint'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isAttached'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
detachFromParent'_ :: HG3DClassPtr -> IO ()Source
isInScene'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getBoundingRadius'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
setVisible'_ :: HG3DClassPtr -> CInt -> IO ()Source
getVisible'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isVisible'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setRenderingDistance'_ :: HG3DClassPtr -> CFloat -> IO ()Source
getRenderingDistance'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
setRenderingMinPixelSize'_ :: HG3DClassPtr -> CFloat -> IO ()Source
getRenderingMinPixelSize'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
setQueryFlags'_ :: HG3DClassPtr -> CUInt -> IO ()Source
addQueryFlags'_ :: HG3DClassPtr -> CUInt -> IO ()Source
removeQueryFlags'_ :: HG3DClassPtr -> CUInt -> IO ()Source
getQueryFlags'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()Source
setVisibilityFlags'_ :: HG3DClassPtr -> CUInt -> IO ()Source
addVisibilityFlags'_ :: HG3DClassPtr -> CUInt -> IO ()Source
removeVisibilityFlags'_ :: HG3DClassPtr -> CUInt -> IO ()Source
getVisibilityFlags'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()Source
getLightMask'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()Source
setLightMask'_ :: HG3DClassPtr -> CUInt -> IO ()Source
hasEdgeList'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setCastShadows'_ :: HG3DClassPtr -> CInt -> IO ()Source
getCastShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getReceivesShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getPointExtrusionDistance'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CFloat -> IO ()Source
getTypeFlags'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()Source
setDebugDisplayEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
isDebugDisplayEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setDefaultQueryFlags'_ :: CUInt -> IO ()Source
getDefaultQueryFlags'_ :: Ptr CUInt -> IO ()Source
setDefaultVisibilityFlags'_ :: CUInt -> IO ()Source
getDefaultVisibilityFlags'_ :: Ptr CUInt -> IO ()Source