AnimationChangeDemo

Overview

This demo switches animations without recreating an animation evaluation class.

How to Use

Description

Using ChangeAnim to switch animation data is faster than destroying and creating animation evaluation classes to switch animations.

The value of MaxAnimMembers must be set correctly when creating an animation evaluation class to switch animations using ChangeAnim. The maximum number of members among all animations being switched must be set. This demo gets the number of members from all animation data and sets the largest value found.


CONFIDENTIAL