CrystalSpace

Public API Reference

Public Member Functions
iDecalAnimationControl Struct Reference

A decal animation control, to be used by the iMeshObject when the vertices of the decal have to be animated. More...

#include <ivaria/decal.h>

List of all members.

Public Member Functions

virtual void UpdateDecal (iDecalTemplate *decalTemplate, size_t baseIndex, csArray< size_t > &indices, csRenderBuffer &vertices, csRenderBuffer &normals)=0
 Update the vertices and normals of the decal.

Detailed Description

A decal animation control, to be used by the iMeshObject when the vertices of the decal have to be animated.

Definition at line 335 of file decal.h.


Member Function Documentation

virtual void iDecalAnimationControl::UpdateDecal ( iDecalTemplate decalTemplate,
size_t  baseIndex,
csArray< size_t > &  indices,
csRenderBuffer vertices,
csRenderBuffer normals 
) [pure virtual]

Update the vertices and normals of the decal.

Parameters:
decalTemplateThe template of the decal
baseIndexThe starting index of the vertices and normals that have to be updated in the render buffers provided.
indicesThe indices of the iMeshObject corresponding to the indices of the decal. These are the list of the indices provided in iDecalBuilder::AddStaticPoly().
verticesThe vertices of the decal that need to be updated
normalsThe normals of the decal that need to be updated

The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.7.6.1