Register a layer collection. A layer collection is a table containing information about the animations associated with a single animation ID. These animations must be pre-registered with the tdas library first.
Register a layer collection. A layer collection is a table containing information about the animations associated with a single animation ID. These animations must be pre-registered with the tdas library first.
1 table data
the data to register.
avatar.registerLayerCollection({ id = avatar.ANIM_WALK, layers = {legsAnim, hairAnim, headAnim, torsoAnim, handsAnim, shoesAnim}, colorMap = {"legColor", "hairColor", "skinColor", "torsoColor", "skinColor", "shoeColor"} -- each index corresponds to the value in the 'layers' table, this is necessary for picking the right colors })