Skip to main content

Metadata

Metadata

To tell our system how to combine different garments and wich parts of the body should be visible or wich not, we use a json file as extra info for each garment.

The metadata file has the following structure:

"source type"

This section define the type of garment, could be "default", "exclusive" or "payable".

"place"

Body will be the main place to position assets.

"body"

"True" means that part of the body is visible with this garment, "false" that can be hidden:

"UnionAvatars_Neck": true,

"UnionAvatars_Chest": true,

"UnionAvatars_Belly": true,

"UnionAvatars_Hips": true,

"UnionAvatars_Arms_bottom": true,

"UnionAvatars_Arms_top": true,

"UnionAvatars_Hands": true,

"UnionAvatars_Legs_bottom": true,

"UnionAvatars_Legs_top": true,

"UnionAvatars_Feet": true

"version"

Version of the bodies that you are using.

"style"

Defines the avatar style defined as "phr" for realistic and "crt" for cartoon.

"gender"

Either male or female.

"position"

When creating a garment you can choose between this categories. Choose the one that fits your garment:

  • top: everything that goes in the upper half of the avatar. If you garment includes also the bottom part (for example a dress) it is also considered a top garment. Other examples: hoodies, shirts.
  • bottom: everything that goes in the bottom half of the avatar. Examples: pants, skirts.
  • shoes: everything that goes in the feet of the avatar. Examples: sneakers, sandals.
  • accesories: every other garment that does not fit any of the three previous categories. Examples: glasses, gloves.

"description"

Descriptive name for the garment. Check the naming rules in the naming convention guidelines.. It should be the same as the name of the file.