Local Compute Avatar SDK  2.0.9
To generate Head 2.0 avatars
avatar_sdk_2::AvatarModifications Struct Reference

#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 AvatarSdkColorRgbgetEyeIrisColor ()
 Getter method for iris color.
 
DllExport const AvatarSdkColorRgbgetEyeScleraColor ()
 Getter method for eye sclera color.
 
DllExport const AvatarSdkColorRgbgetHairColor ()
 Getter method for hair color.
 
DllExport const AvatarSdkColorRgbgetTeethColor ()
 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.
 

Detailed Description

Parameters for managing avatar modifications.

Definition at line 153 of file avatar_sdk_structures.hpp.


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