![]() |
Public API Reference |
![]() |
Interface for mesh objects to use to build decals for their mesh object. More...
#include <ivaria/decal.h>
Public Member Functions | |
virtual void | AddStaticPoly (const csPoly3D &polygon, csArray< size_t > *indices=0)=0 |
Adds a static polygon to the decal. | |
virtual void | SetDecalAnimationControl (iDecalAnimationControl *animationControl)=0 |
Set the animation controller for this decal. |
Interface for mesh objects to use to build decals for their mesh object.
virtual void iDecalBuilder::AddStaticPoly | ( | const csPoly3D & | polygon, |
csArray< size_t > * | indices = 0 |
||
) | [pure virtual] |
Adds a static polygon to the decal.
The decal builder will build geometry for this polygon and append it to the mesh's extra rendermesh list.
polygon | The polygon to add to the decal. |
indices | The indices of the vertices of the iMeshObject corresponding to the vertices of the given polygon. This has to be provided only if you use an iDecalAnimationControl. |
virtual void iDecalBuilder::SetDecalAnimationControl | ( | iDecalAnimationControl * | animationControl | ) | [pure virtual] |
Set the animation controller for this decal.