![]() |
Public API 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>
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. | |
A decal animation control, to be used by the iMeshObject when the vertices of the decal have to be animated.
| 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.
| decalTemplate | The template of the decal |
| baseIndex | The starting index of the vertices and normals that have to be updated in the render buffers provided. |
| indices | The indices of the iMeshObject corresponding to the indices of the decal. These are the list of the indices provided in iDecalBuilder::AddStaticPoly(). |
| vertices | The vertices of the decal that need to be updated |
| normals | The normals of the decal that need to be updated |