DI-Guy SDK Documentation  13.1
diguy_module_facefx.h File Reference
#include <declspec_diguy.h>
#include "bdiFaceFxInit.h"

Go to the source code of this file.

Functions

Functions

Link against: libdiguy_module_facefx

int diguy_facefx_get_defaults (bdiFaceFxInit *init)
 Fills out the init structure with default values. More...
 
int diguy_facefx_initialize (bdiFaceFxInit *init)
 This function tells DI-Guy that it should make use of expressive face software for animating character faces. More...
 
int diguy_facefx_deinitialize ()
 This function tells DI-Guy that it should shut down the expressive face software extensions. More...
 

Function Documentation

int diguy_facefx_get_defaults ( bdiFaceFxInit init)

Fills out the init structure with default values.

Selected entries can then be changed before calling diguy_facefx_initialize().

The bdiFaceFxInit init structure has the following entries:

Parameters
intplaceholder a placeholder value; ignored

Returns:

0 on success, -1 on failure

int diguy_facefx_initialize ( bdiFaceFxInit init)

This function tells DI-Guy that it should make use of expressive face software for animating character faces.

It should be called along with the other diguy_initialize_* calls.

Parameters
initinitial settings for the expressive face software; passing NULL for the init structure will cause defaults to be used for all values

Use diguy_facefx_get_defaults() to fill out the init structure before changing specific entries.

Returns:

0 on success, -1 on failure

Example:

1 diguy_ogl_initialize(NULL);
2 diguy_facefx_initialize(NULL);
int diguy_facefx_deinitialize ( )

This function tells DI-Guy that it should shut down the expressive face software extensions.

It should be called along with the other diguy_deinitialize_* calls.

Returns:

0 on success, -1 on failure

Example:

1 diguy_deinitialize();
2 diguy_facefx_deinitialize();