iDecalAnimationControl Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
iDecalAnimationControl Struct Reference
Geometry utilities

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:

  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

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

- ivaria/decal.h