Local Compute Avatar SDK
2.0.9
To generate Head 2.0 avatars
|
#include <avatar_sdk_structures.hpp>
Public Member Functions | |
DllExport void | setEyeIrisColor (unsigned char r, unsigned char g, unsigned char b) |
Set eye iris color. | |
DllExport void | setEyeScleraColor (unsigned char r, unsigned char g, unsigned char b) |
Set eye sclera color. | |
DllExport void | setHairColor (unsigned char r, unsigned char g, unsigned char b) |
Set hair color. | |
DllExport void | setTeethColor (unsigned char r, unsigned char g, unsigned char b) |
Set teeth color. | |
DllExport const AvatarSdkColorRgb * | getEyeIrisColor () |
Getter method for iris color. | |
DllExport const AvatarSdkColorRgb * | getEyeScleraColor () |
Getter method for eye sclera color. | |
DllExport const AvatarSdkColorRgb * | getHairColor () |
Getter method for hair color. | |
DllExport const AvatarSdkColorRgb * | getTeethColor () |
Getter method for teeth color. | |
Data Fields | |
bool | allowModifyNeck |
If false, the neck mesh will be the same size for all models. (Parameter is applicable to head/mobile models only). | |
bool | curvedBottom |
Make the bottom of model bust slightly curved. (Parameter is applicable to bust/mobile models only). | |
bool | parametricEyesTexture |
Replace eye texture from submitted photo to generated one with sclera and iris colors match the photo version. | |
bool | addGlare |
Add a glare directly into parametric eye texture Works only when parametricEyesTexture is set. | |
bool | addEyelidShadow |
Add an eyelid shadow on top of eye texture. Works only when parametricEyesTexture is set. | |
bool | slightlyCartoonishTexture |
Make the model texture looking with a slightly cartoonish effect. | |
bool | removeSmile |
Remove smile in case it is detected on the source photo. | |
bool | enhanceLighting |
Attempt to make lighting more uniform. | |
bool | removeGlasses |
Attempt to remove glasses on the submitted photo before the actual avatar computation start. | |
int | textureWidth |
Width of the model texture. | |
int | textureHeight |
Height of the model texture. | |
int | generatedHaircutTextureWidth |
Width of the generated haircut texture. | |
int | generatedHaircutTextureHeight |
Height of the generated haircut texture. | |
int | generatedHaircutFacesCount |
Number of faces in the generated haircut. | |
Parameters for managing avatar modifications.
Definition at line 153 of file avatar_sdk_structures.hpp.