cal3d-0.1: Haskell binding to the Cal3D animation library.Source codeContentsIndex
Graphics.Animation.Cal3D.Model
Synopsis
newModel :: CoreModel -> IO Model
deleteModel :: Model -> IO ()
attachMesh :: Model -> MeshId -> IO (Either String ())
setLodLevel :: Model -> Float -> IO ()
setMaterialSet :: Model -> MaterialSetId -> IO ()
getMixer :: Model -> IO Mixer
update :: Model -> Float -> IO ()
getRenderer :: Model -> IO Renderer
Documentation
newModel :: CoreModel -> IO ModelSource
Create a new Model instance from a CoreModel.
deleteModel :: Model -> IO ()Source
Destroy a Model.
attachMesh :: Model -> MeshId -> IO (Either String ())Source
Attach a mesh to a Model.
setLodLevel :: Model -> Float -> IO ()Source
Set the level of detail for a Model (between 0 and 1).
setMaterialSet :: Model -> MaterialSetId -> IO ()Source
Apply a material set to a Model.
getMixer :: Model -> IO MixerSource
Get a Mixer which can animate the Model.
updateSource
:: Model
-> Floatelapsed time in seconds
-> IO ()
Let the current animations of a Model run for a specified time.
getRenderer :: Model -> IO RendererSource
Get a Renderer for the Model, which can provide information needed for a graphics API.
Produced by Haddock version 2.4.2