CrystalSpace

Public API Reference

iDecalBuilder Struct Reference
[Geometry utilities]

Interface for mesh objects to use to build decals for their mesh object. More...

#include <ivaria/decal.h>

List of all members.

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.

Detailed Description

Interface for mesh objects to use to build decals for their mesh object.

Definition at line 363 of file decal.h.


Member Function Documentation

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.

Parameters:
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.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1