Skip to main content

Genies iOS SDK v0.1.10

Updated: May 3, 2026

What's New

  • NAFAvatarSession.tick(deltaTime:renderer:) — single per-frame call replacing the update + uploadAnimationState pair.
  • NAFDefaultAssets — public, overridable defaults for idle / talking / breathing clips.
  • loadAvatarProgressive(definition:slug:lods:) — slug-based convenience on both NAFView and NAFAvatarSession. Defaults clips to NAFDefaultAssets.
  • NAFLodUpgrade struct on onLodUpgrade — replaces the unlabeled (Int, [String]) tuple.

What's Updated

  • NAFAnimationRefNAFAssetRef. Same struct; reused for avatar / wearable / animation refs uniformly.
  • loadAvatar / equip take NAFAssetRef instead of (assetId, version) pairs.
  • lod is Int everywhere (was String on some methods).
  • NAFBehaviorConfig.talking and .breathing are now symmetric optional overrides — nil disables that layer.
  • NAFAvatarController: availableGestureTagsgestureTags, availableEmotionTagsemotionTags; idleTime is writable; autoBoredomEnabled / faceScanEnabled get isXxx getters.

What's Fixed

  • morphTargetWeights(forMeshAt:) no longer triggers a per-frame COW allocation.