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

#include <avatar_sdk_structures.hpp>

Public Member Functions

DllExport void setOutfits (const char *outfitsList, int size)
 Set outfits to be generated. More...
 
DllExport void clearOutfits ()
 Clear a list of outfits.
 
 AvatarSdkOutfitsParams (AvatarSdkOutfitsParams &other)=delete
 

Data Fields

AvatarSdkFormat format
 File format for the outfits 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 outfits 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).
 
AvatarSdkSize textureSize
 Outfit textures size.
 
bool normalMap
 Generate normal map texture for an outfit.
 
bool roughnessMap
 Generate roughness map texture for an outfit.
 
bool metallicMap
 Generate metallic map texture for an outfit.
 
bool bodyVisibilityMask
 Mask that indicates which parts of the body are hidden under the outfit.
 
char ** names = nullptr
 List of outfits to be calculate for the avatar (should be initialized through setOutfits method).
 
unsigned int outfitsCount
 Outfits count in the list.
 

Detailed Description

Outfits export parameters

Definition at line 245 of file avatar_sdk_structures.hpp.

Member Function Documentation

◆ setOutfits()

DllExport void avatar_sdk_full_body::AvatarSdkOutfitsParams::setOutfits ( const char *  outfitsList,
int  size 
)

Set outfits to be generated.

Parameters
outfitsListPointer to the outfits names separated by the ';'
sizeNumber of characters in the list.

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