iDecalBuilder 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
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 361 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:

- ivaria/decal.h