Local Compute Avatar SDK  3.0.1
To generate Full Body avatars
avatar_sdk_full_body::AvatarSdkHaircutsParams Struct Reference

#include <avatar_sdk_structures.hpp>

Public Member Functions

DllExport void setHaircuts (const char *haircutsList, int size)
 Set haircuts to be generated. More...
 
DllExport void clearHaircuts ()
 Clear a list of haircuts.
 
 AvatarSdkHaircutsParams (AvatarSdkHaircutsParams &other)=delete
 

Data Fields

AvatarSdkFormat format
 File format for the haircut meshes. If FORMAT_NOT_DEFINED, format will be used the same as specified for the body mesh.
 
bool embed
 If body format supports sub-meshes (i.e. fbx, gltf, glb) this flag indicates whether to embed haircuts meshes into the avatar or store these meshes as separate files.
 
bool embedTextures
 If format supports textures embedding (i.e. fbx or glb), this flag indicates whether to embed textures or store them as separate files.
 
bool pointclouds
 If set to true, then the resulting model file will not contain mesh faces and UV-mapping (i.e. it will contain only mesh vertices).
 
AvatarSdkColorRgb color
 Color of the haircuts (except generated).
 
AvatarSdkSize textureSize
 Haircut textures size.
 
char ** names = nullptr
 List of haircuts to be calculate for the avatar (should be initialized through setHaircuts method).
 
unsigned int haircutsCount
 Haircuts count in the list.
 

Detailed Description

Haircuts export parameters

Definition at line 214 of file avatar_sdk_structures.hpp.

Member Function Documentation

◆ setHaircuts()

DllExport void avatar_sdk_full_body::AvatarSdkHaircutsParams::setHaircuts ( const char *  haircutsList,
int  size 
)

Set haircuts to be generated.

Parameters
haircutsListPointer to the haircuts names separated by the ';'
sizeNumber of characters in the list.

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