AvatarConfig

Scriptable object for defining avatar parameters.

Properties

PropertyTypeDescription

MeshLod

MeshLod

Choose level of detail. High, Medium, or Low.

Pose

Pose

Choose A Pose or T Pose.

TextureAtlas

TextureAtlas

Turn on texture atlasing and choose the atlas size. None, Low (256), Medium (512), or High(1024).

TextureSizeLimit

int

Set an upper limit on texture size from 256 to 1024.

UseHands

bool

Whether to include hands with half-body avatars.

MorphTargets

List<string>

List of individual morph targets or morph target standard groups to include on the avatar.

Avatar Configuration templates are included in the SDK with recommended settings for High, Medium, and Low quality avatars at/Packages/Ready Player Me Core/Configurations/

Example

It is recommended that you create your own configuration inside the Assets folder and place it inside a "Resources" folder to easily load using the Resources.Load() function as shown in the example below passing the name of the file e.g "CustomAvatarConfig".

avatarObjectLoader.AvatarConfig = 
    Resources.Load<AvatarConfig>("CustomAvatarConfig");

Last updated

#130: Asset API

Change request updated