@idosgames/characters 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -378,7 +378,15 @@ interface CharacterViewOptions {
378
378
  layer?: number;
379
379
  /** Своё лицо вместо пиксельного лица рецепта. */
380
380
  facePainter?: FacePainter | null;
381
+ /**
382
+ * Мягкий блик на коже и одежде (MeshStandardMaterial, шероховатый: объём и живость без «пластика», владелец 25.11.2026).
383
+ * Для витрин и аватара аккаунта (AvatarActor включает сам); сцене нужен свет аватара (`createAvatarLighting`).
384
+ * По умолчанию матовый Lambert: мобы и NPC в мире, игра освещает их своим светом клетки.
385
+ */
386
+ gloss?: boolean;
381
387
  }
388
+ /** Материал фигуры: матовый (мир игры) или глянцевый (аватар). У обоих color, emissive, map. */
389
+ type CharacterMaterial = THREE.MeshLambertMaterial | THREE.MeshStandardMaterial;
382
390
  /**
383
391
  * Принт: рисованная картинка на грани тела (логотип на груди футболки). Как рисованное лицо: своя
384
392
  * текстура высокого разрешения поверх коробки, а не пиксели атласа. Координаты: пиксели модели.
@@ -405,6 +413,7 @@ declare class CharacterView {
405
413
  private meshes;
406
414
  private readonly material;
407
415
  private readonly decalMat;
416
+ private readonly gloss;
408
417
  private decal;
409
418
  private expression;
410
419
  private readonly sockets;
@@ -444,7 +453,7 @@ declare class CharacterView {
444
453
  * Оба материала фигуры (тело и лицо): для игры, которая освещает её по-своему (voxelcraft: свет
445
454
  * клетки, где стоит персонаж, той же формулой, что блоки). Живут, пока жив вид: build их не меняет.
446
455
  */
447
- materials(): readonly THREE.MeshLambertMaterial[];
456
+ materials(): readonly CharacterMaterial[];
448
457
  /** Свет места (как у мобов: пещера темнее). */
449
458
  setBrightness(b: number): void;
450
459
  /** Вспышка урона и прочие подсветки: 0 — без подсветки. */
@@ -1318,6 +1327,18 @@ declare function avatarFromServer(player: {
1318
1327
  items: Record<string, AvatarItem>;
1319
1328
  } | null;
1320
1329
 
1330
+ interface AvatarLighting {
1331
+ /** Поставить свет и окружение в сцену (сцен может быть много: снимки по одной на кадр). */
1332
+ light(scene: THREE.Scene): void;
1333
+ /** Освободить окружение (карту отражений на GPU). Свет в сценах уходит вместе со сценами. */
1334
+ dispose(): void;
1335
+ }
1336
+ /**
1337
+ * Свет аватара для рендерера: настраивает цвет и тени рендерера и один раз готовит карту отражений (её делит
1338
+ * каждая сцена этого рендерера). Модель смотрит в −z, камера витрины стоит перед ней (−z), аватар в начале координат.
1339
+ */
1340
+ declare function createAvatarLighting(renderer: THREE.WebGLRenderer): AvatarLighting;
1341
+
1321
1342
  /** Что снять: облик, вещи и кадр. */
1322
1343
  interface AvatarThumbJob {
1323
1344
  spec: AvatarSpec;
@@ -1442,4 +1463,4 @@ declare function pixelTextureFromImage(img: RgbaImage, opts: PixelTextureImportO
1442
1463
  declare const AVATAR_AUTHOR_ITEM_PREFIX = "ugc.";
1443
1464
  declare const isAuthorAvatarItem: (id: string) => boolean;
1444
1465
 
1445
- export { ACTION_TIME, ANIM_EVENTS, AVATAR_AUTHOR_ITEM_PREFIX, AVATAR_BASE_COLORS, AVATAR_FACE_RECT, AVATAR_HEIGHT, AVATAR_ITEMS, AVATAR_ITEM_LIMITS, AVATAR_ITEM_LIST, AVATAR_ITEM_PRINTS, AVATAR_ITEM_SHOTS, AVATAR_PORTRAIT_BACKGROUND, AVATAR_RIG_ID, AVATAR_SHOP_DEFAULT_PRICES, AVATAR_SHOP_ITEM_LIST, AVATAR_SLOTS, AVATAR_SPEC_VERSION, AVATAR_STANDARD_ID, AVATAR_STYLE, type AnimEvent, type AnimInput, Animator, Art, AvatarActor, type AvatarCatalogExport, type AvatarFace, type AvatarFrame, type AvatarImageOptions, type AvatarItem, type AvatarItemResult, type AvatarItemSource, type AvatarPaint, type AvatarSlot, type AvatarSnapshotter, type AvatarSpec, type AvatarThumbJob, type AvatarThumbQueue, type AvatarThumbShot, BODY_REGIONS, BONE_ROLES, BROW_STYLES, type BodyRegion, type BoneGeo, type BoneRole, type BrowStyle, CH, CHANNELS, CHARACTER_LIMITS, CHARACTER_SPEC_VERSION, CLEAR, CLIPS, CLOTH_COLORS, CREATURE_KINDS, type Channel, type CharFinish, type CharPart, type CharStyle, type CharacterAsset, type CharacterLayout, type CharacterParseResult, type CharacterSpec, CharacterView, type CharacterViewOptions, type ClipCtx, type ClipFn, type ClipId, type CreatureKind, type CreatureLook, type Ctx2D, DEFAULT_AVATAR, DEFAULT_AVATAR_FACE, DEFAULT_CHARACTER_SOURCE, DEFAULT_COLORS, DEFAULT_FINISH, DrawnFace, EMOTES, EMOTE_IDS, EMOTION_EVENTS, EXPRESSIONS, EXPRESSION_CHAIN, EXTRA_BONE_ROLES, EYE_COLORS, EYE_STYLES, type EmoteDef, type EmoteId, Emotion, type EmotionEvent, type Expression, type ExtraBone, type ExtraBoneRole, type EyeStyle, FACE_NAMES, FACE_TEXELS, type FaceDecal, type FaceName, type FacePainter, type FaceSpec, HAIR_COLORS, HELD_KINDS, HUMAN_BOTTOMS, HUMAN_HAIR, HUMAN_SHOES, HUMAN_TOPS, type HeldKind, type HumanLook, IDLE_STYLES, type IdleStyle, LOCOMOTION, type LocoState, type LookColors, MOUTH_STYLES, type MouthStyle, POSTURE, type PixelTex, type PixelTextureImport, type PixelTextureImportOptions, type Pose, type Posture, type PrintDecal, REGION_PAIRS, REST, RIGS, RIG_CLIPS, RIG_IDS, type RgbaImage, type RigBone, type RigId, type RigSocket, type RigTemplate, SKIN_COLOR, SKIN_TONES, SLOT_RULES, SOCKETS, type SlotRule, type SocketName, type StyleParams, type Track, type UseAction, type V3, VOXEL_CHARACTER_SYSTEM_PROMPT, VoxelActor, type VoxelActorOptions, WALK_STYLES, type WalkStyle, acquireCharacter, add, applyPosture, avatarCatalogExport, avatarFromServer, avatarItemShot, avatarItemsForSlot, avatarMannequinWith, avatarPrints, bandColors, bone, bonesOf, characterFromImage, characterOf, characterSpecs, clearPose, composeAvatar, copyPose, createAvatarSnapshotter, createAvatarThumbQueue, creatureCharacter, creatureSource, defaultCharacter, defaultCharacterName, disposeNameplate, drawAvatarFace, emotionFromText, freeAvatarItemsForSlot, humanSource, isAuthorAvatarItem, isAvatarShopItem, isDefaultCharacterName, isEmote, isObj, layoutCharacter, lerpPose, mirrorBone, nameplate, newAnimInput, normColor, npcCharacter, num, onCharacterKnown, parseAvatarSpec, parseCharacterSpec, pick, pixelTextureFromImage, randomAvatar, recolor, registerCharacter, releaseCharacter, renderAvatarCanvas, renderAvatarImage, rigOfSpec, sampleEmote, sampleTrack, setCh, specHash, stableStringify, standardFace, styleParams, validateAvatarItem, vec3 };
1466
+ export { ACTION_TIME, ANIM_EVENTS, AVATAR_AUTHOR_ITEM_PREFIX, AVATAR_BASE_COLORS, AVATAR_FACE_RECT, AVATAR_HEIGHT, AVATAR_ITEMS, AVATAR_ITEM_LIMITS, AVATAR_ITEM_LIST, AVATAR_ITEM_PRINTS, AVATAR_ITEM_SHOTS, AVATAR_PORTRAIT_BACKGROUND, AVATAR_RIG_ID, AVATAR_SHOP_DEFAULT_PRICES, AVATAR_SHOP_ITEM_LIST, AVATAR_SLOTS, AVATAR_SPEC_VERSION, AVATAR_STANDARD_ID, AVATAR_STYLE, type AnimEvent, type AnimInput, Animator, Art, AvatarActor, type AvatarCatalogExport, type AvatarFace, type AvatarFrame, type AvatarImageOptions, type AvatarItem, type AvatarItemResult, type AvatarItemSource, type AvatarLighting, type AvatarPaint, type AvatarSlot, type AvatarSnapshotter, type AvatarSpec, type AvatarThumbJob, type AvatarThumbQueue, type AvatarThumbShot, BODY_REGIONS, BONE_ROLES, BROW_STYLES, type BodyRegion, type BoneGeo, type BoneRole, type BrowStyle, CH, CHANNELS, CHARACTER_LIMITS, CHARACTER_SPEC_VERSION, CLEAR, CLIPS, CLOTH_COLORS, CREATURE_KINDS, type Channel, type CharFinish, type CharPart, type CharStyle, type CharacterAsset, type CharacterLayout, type CharacterMaterial, type CharacterParseResult, type CharacterSpec, CharacterView, type CharacterViewOptions, type ClipCtx, type ClipFn, type ClipId, type CreatureKind, type CreatureLook, type Ctx2D, DEFAULT_AVATAR, DEFAULT_AVATAR_FACE, DEFAULT_CHARACTER_SOURCE, DEFAULT_COLORS, DEFAULT_FINISH, DrawnFace, EMOTES, EMOTE_IDS, EMOTION_EVENTS, EXPRESSIONS, EXPRESSION_CHAIN, EXTRA_BONE_ROLES, EYE_COLORS, EYE_STYLES, type EmoteDef, type EmoteId, Emotion, type EmotionEvent, type Expression, type ExtraBone, type ExtraBoneRole, type EyeStyle, FACE_NAMES, FACE_TEXELS, type FaceDecal, type FaceName, type FacePainter, type FaceSpec, HAIR_COLORS, HELD_KINDS, HUMAN_BOTTOMS, HUMAN_HAIR, HUMAN_SHOES, HUMAN_TOPS, type HeldKind, type HumanLook, IDLE_STYLES, type IdleStyle, LOCOMOTION, type LocoState, type LookColors, MOUTH_STYLES, type MouthStyle, POSTURE, type PixelTex, type PixelTextureImport, type PixelTextureImportOptions, type Pose, type Posture, type PrintDecal, REGION_PAIRS, REST, RIGS, RIG_CLIPS, RIG_IDS, type RgbaImage, type RigBone, type RigId, type RigSocket, type RigTemplate, SKIN_COLOR, SKIN_TONES, SLOT_RULES, SOCKETS, type SlotRule, type SocketName, type StyleParams, type Track, type UseAction, type V3, VOXEL_CHARACTER_SYSTEM_PROMPT, VoxelActor, type VoxelActorOptions, WALK_STYLES, type WalkStyle, acquireCharacter, add, applyPosture, avatarCatalogExport, avatarFromServer, avatarItemShot, avatarItemsForSlot, avatarMannequinWith, avatarPrints, bandColors, bone, bonesOf, characterFromImage, characterOf, characterSpecs, clearPose, composeAvatar, copyPose, createAvatarLighting, createAvatarSnapshotter, createAvatarThumbQueue, creatureCharacter, creatureSource, defaultCharacter, defaultCharacterName, disposeNameplate, drawAvatarFace, emotionFromText, freeAvatarItemsForSlot, humanSource, isAuthorAvatarItem, isAvatarShopItem, isDefaultCharacterName, isEmote, isObj, layoutCharacter, lerpPose, mirrorBone, nameplate, newAnimInput, normColor, npcCharacter, num, onCharacterKnown, parseAvatarSpec, parseCharacterSpec, pick, pixelTextureFromImage, randomAvatar, recolor, registerCharacter, releaseCharacter, renderAvatarCanvas, renderAvatarImage, rigOfSpec, sampleEmote, sampleTrack, setCh, specHash, stableStringify, standardFace, styleParams, validateAvatarItem, vec3 };
@@ -378,7 +378,15 @@ interface CharacterViewOptions {
378
378
  layer?: number;
379
379
  /** Своё лицо вместо пиксельного лица рецепта. */
380
380
  facePainter?: FacePainter | null;
381
+ /**
382
+ * Мягкий блик на коже и одежде (MeshStandardMaterial, шероховатый: объём и живость без «пластика», владелец 25.11.2026).
383
+ * Для витрин и аватара аккаунта (AvatarActor включает сам); сцене нужен свет аватара (`createAvatarLighting`).
384
+ * По умолчанию матовый Lambert: мобы и NPC в мире, игра освещает их своим светом клетки.
385
+ */
386
+ gloss?: boolean;
381
387
  }
388
+ /** Материал фигуры: матовый (мир игры) или глянцевый (аватар). У обоих color, emissive, map. */
389
+ type CharacterMaterial = THREE.MeshLambertMaterial | THREE.MeshStandardMaterial;
382
390
  /**
383
391
  * Принт: рисованная картинка на грани тела (логотип на груди футболки). Как рисованное лицо: своя
384
392
  * текстура высокого разрешения поверх коробки, а не пиксели атласа. Координаты: пиксели модели.
@@ -405,6 +413,7 @@ declare class CharacterView {
405
413
  private meshes;
406
414
  private readonly material;
407
415
  private readonly decalMat;
416
+ private readonly gloss;
408
417
  private decal;
409
418
  private expression;
410
419
  private readonly sockets;
@@ -444,7 +453,7 @@ declare class CharacterView {
444
453
  * Оба материала фигуры (тело и лицо): для игры, которая освещает её по-своему (voxelcraft: свет
445
454
  * клетки, где стоит персонаж, той же формулой, что блоки). Живут, пока жив вид: build их не меняет.
446
455
  */
447
- materials(): readonly THREE.MeshLambertMaterial[];
456
+ materials(): readonly CharacterMaterial[];
448
457
  /** Свет места (как у мобов: пещера темнее). */
449
458
  setBrightness(b: number): void;
450
459
  /** Вспышка урона и прочие подсветки: 0 — без подсветки. */
@@ -1318,6 +1327,18 @@ declare function avatarFromServer(player: {
1318
1327
  items: Record<string, AvatarItem>;
1319
1328
  } | null;
1320
1329
 
1330
+ interface AvatarLighting {
1331
+ /** Поставить свет и окружение в сцену (сцен может быть много: снимки по одной на кадр). */
1332
+ light(scene: THREE.Scene): void;
1333
+ /** Освободить окружение (карту отражений на GPU). Свет в сценах уходит вместе со сценами. */
1334
+ dispose(): void;
1335
+ }
1336
+ /**
1337
+ * Свет аватара для рендерера: настраивает цвет и тени рендерера и один раз готовит карту отражений (её делит
1338
+ * каждая сцена этого рендерера). Модель смотрит в −z, камера витрины стоит перед ней (−z), аватар в начале координат.
1339
+ */
1340
+ declare function createAvatarLighting(renderer: THREE.WebGLRenderer): AvatarLighting;
1341
+
1321
1342
  /** Что снять: облик, вещи и кадр. */
1322
1343
  interface AvatarThumbJob {
1323
1344
  spec: AvatarSpec;
@@ -1442,4 +1463,4 @@ declare function pixelTextureFromImage(img: RgbaImage, opts: PixelTextureImportO
1442
1463
  declare const AVATAR_AUTHOR_ITEM_PREFIX = "ugc.";
1443
1464
  declare const isAuthorAvatarItem: (id: string) => boolean;
1444
1465
 
1445
- export { ACTION_TIME, ANIM_EVENTS, AVATAR_AUTHOR_ITEM_PREFIX, AVATAR_BASE_COLORS, AVATAR_FACE_RECT, AVATAR_HEIGHT, AVATAR_ITEMS, AVATAR_ITEM_LIMITS, AVATAR_ITEM_LIST, AVATAR_ITEM_PRINTS, AVATAR_ITEM_SHOTS, AVATAR_PORTRAIT_BACKGROUND, AVATAR_RIG_ID, AVATAR_SHOP_DEFAULT_PRICES, AVATAR_SHOP_ITEM_LIST, AVATAR_SLOTS, AVATAR_SPEC_VERSION, AVATAR_STANDARD_ID, AVATAR_STYLE, type AnimEvent, type AnimInput, Animator, Art, AvatarActor, type AvatarCatalogExport, type AvatarFace, type AvatarFrame, type AvatarImageOptions, type AvatarItem, type AvatarItemResult, type AvatarItemSource, type AvatarPaint, type AvatarSlot, type AvatarSnapshotter, type AvatarSpec, type AvatarThumbJob, type AvatarThumbQueue, type AvatarThumbShot, BODY_REGIONS, BONE_ROLES, BROW_STYLES, type BodyRegion, type BoneGeo, type BoneRole, type BrowStyle, CH, CHANNELS, CHARACTER_LIMITS, CHARACTER_SPEC_VERSION, CLEAR, CLIPS, CLOTH_COLORS, CREATURE_KINDS, type Channel, type CharFinish, type CharPart, type CharStyle, type CharacterAsset, type CharacterLayout, type CharacterParseResult, type CharacterSpec, CharacterView, type CharacterViewOptions, type ClipCtx, type ClipFn, type ClipId, type CreatureKind, type CreatureLook, type Ctx2D, DEFAULT_AVATAR, DEFAULT_AVATAR_FACE, DEFAULT_CHARACTER_SOURCE, DEFAULT_COLORS, DEFAULT_FINISH, DrawnFace, EMOTES, EMOTE_IDS, EMOTION_EVENTS, EXPRESSIONS, EXPRESSION_CHAIN, EXTRA_BONE_ROLES, EYE_COLORS, EYE_STYLES, type EmoteDef, type EmoteId, Emotion, type EmotionEvent, type Expression, type ExtraBone, type ExtraBoneRole, type EyeStyle, FACE_NAMES, FACE_TEXELS, type FaceDecal, type FaceName, type FacePainter, type FaceSpec, HAIR_COLORS, HELD_KINDS, HUMAN_BOTTOMS, HUMAN_HAIR, HUMAN_SHOES, HUMAN_TOPS, type HeldKind, type HumanLook, IDLE_STYLES, type IdleStyle, LOCOMOTION, type LocoState, type LookColors, MOUTH_STYLES, type MouthStyle, POSTURE, type PixelTex, type PixelTextureImport, type PixelTextureImportOptions, type Pose, type Posture, type PrintDecal, REGION_PAIRS, REST, RIGS, RIG_CLIPS, RIG_IDS, type RgbaImage, type RigBone, type RigId, type RigSocket, type RigTemplate, SKIN_COLOR, SKIN_TONES, SLOT_RULES, SOCKETS, type SlotRule, type SocketName, type StyleParams, type Track, type UseAction, type V3, VOXEL_CHARACTER_SYSTEM_PROMPT, VoxelActor, type VoxelActorOptions, WALK_STYLES, type WalkStyle, acquireCharacter, add, applyPosture, avatarCatalogExport, avatarFromServer, avatarItemShot, avatarItemsForSlot, avatarMannequinWith, avatarPrints, bandColors, bone, bonesOf, characterFromImage, characterOf, characterSpecs, clearPose, composeAvatar, copyPose, createAvatarSnapshotter, createAvatarThumbQueue, creatureCharacter, creatureSource, defaultCharacter, defaultCharacterName, disposeNameplate, drawAvatarFace, emotionFromText, freeAvatarItemsForSlot, humanSource, isAuthorAvatarItem, isAvatarShopItem, isDefaultCharacterName, isEmote, isObj, layoutCharacter, lerpPose, mirrorBone, nameplate, newAnimInput, normColor, npcCharacter, num, onCharacterKnown, parseAvatarSpec, parseCharacterSpec, pick, pixelTextureFromImage, randomAvatar, recolor, registerCharacter, releaseCharacter, renderAvatarCanvas, renderAvatarImage, rigOfSpec, sampleEmote, sampleTrack, setCh, specHash, stableStringify, standardFace, styleParams, validateAvatarItem, vec3 };
1466
+ export { ACTION_TIME, ANIM_EVENTS, AVATAR_AUTHOR_ITEM_PREFIX, AVATAR_BASE_COLORS, AVATAR_FACE_RECT, AVATAR_HEIGHT, AVATAR_ITEMS, AVATAR_ITEM_LIMITS, AVATAR_ITEM_LIST, AVATAR_ITEM_PRINTS, AVATAR_ITEM_SHOTS, AVATAR_PORTRAIT_BACKGROUND, AVATAR_RIG_ID, AVATAR_SHOP_DEFAULT_PRICES, AVATAR_SHOP_ITEM_LIST, AVATAR_SLOTS, AVATAR_SPEC_VERSION, AVATAR_STANDARD_ID, AVATAR_STYLE, type AnimEvent, type AnimInput, Animator, Art, AvatarActor, type AvatarCatalogExport, type AvatarFace, type AvatarFrame, type AvatarImageOptions, type AvatarItem, type AvatarItemResult, type AvatarItemSource, type AvatarLighting, type AvatarPaint, type AvatarSlot, type AvatarSnapshotter, type AvatarSpec, type AvatarThumbJob, type AvatarThumbQueue, type AvatarThumbShot, BODY_REGIONS, BONE_ROLES, BROW_STYLES, type BodyRegion, type BoneGeo, type BoneRole, type BrowStyle, CH, CHANNELS, CHARACTER_LIMITS, CHARACTER_SPEC_VERSION, CLEAR, CLIPS, CLOTH_COLORS, CREATURE_KINDS, type Channel, type CharFinish, type CharPart, type CharStyle, type CharacterAsset, type CharacterLayout, type CharacterMaterial, type CharacterParseResult, type CharacterSpec, CharacterView, type CharacterViewOptions, type ClipCtx, type ClipFn, type ClipId, type CreatureKind, type CreatureLook, type Ctx2D, DEFAULT_AVATAR, DEFAULT_AVATAR_FACE, DEFAULT_CHARACTER_SOURCE, DEFAULT_COLORS, DEFAULT_FINISH, DrawnFace, EMOTES, EMOTE_IDS, EMOTION_EVENTS, EXPRESSIONS, EXPRESSION_CHAIN, EXTRA_BONE_ROLES, EYE_COLORS, EYE_STYLES, type EmoteDef, type EmoteId, Emotion, type EmotionEvent, type Expression, type ExtraBone, type ExtraBoneRole, type EyeStyle, FACE_NAMES, FACE_TEXELS, type FaceDecal, type FaceName, type FacePainter, type FaceSpec, HAIR_COLORS, HELD_KINDS, HUMAN_BOTTOMS, HUMAN_HAIR, HUMAN_SHOES, HUMAN_TOPS, type HeldKind, type HumanLook, IDLE_STYLES, type IdleStyle, LOCOMOTION, type LocoState, type LookColors, MOUTH_STYLES, type MouthStyle, POSTURE, type PixelTex, type PixelTextureImport, type PixelTextureImportOptions, type Pose, type Posture, type PrintDecal, REGION_PAIRS, REST, RIGS, RIG_CLIPS, RIG_IDS, type RgbaImage, type RigBone, type RigId, type RigSocket, type RigTemplate, SKIN_COLOR, SKIN_TONES, SLOT_RULES, SOCKETS, type SlotRule, type SocketName, type StyleParams, type Track, type UseAction, type V3, VOXEL_CHARACTER_SYSTEM_PROMPT, VoxelActor, type VoxelActorOptions, WALK_STYLES, type WalkStyle, acquireCharacter, add, applyPosture, avatarCatalogExport, avatarFromServer, avatarItemShot, avatarItemsForSlot, avatarMannequinWith, avatarPrints, bandColors, bone, bonesOf, characterFromImage, characterOf, characterSpecs, clearPose, composeAvatar, copyPose, createAvatarLighting, createAvatarSnapshotter, createAvatarThumbQueue, creatureCharacter, creatureSource, defaultCharacter, defaultCharacterName, disposeNameplate, drawAvatarFace, emotionFromText, freeAvatarItemsForSlot, humanSource, isAuthorAvatarItem, isAvatarShopItem, isDefaultCharacterName, isEmote, isObj, layoutCharacter, lerpPose, mirrorBone, nameplate, newAnimInput, normColor, npcCharacter, num, onCharacterKnown, parseAvatarSpec, parseCharacterSpec, pick, pixelTextureFromImage, randomAvatar, recolor, registerCharacter, releaseCharacter, renderAvatarCanvas, renderAvatarImage, rigOfSpec, sampleEmote, sampleTrack, setCh, specHash, stableStringify, standardFace, styleParams, validateAvatarItem, vec3 };