public Animation3DInstance(Animation3D animation)
        {
            if (animation == null)
                return;

            this.animation = animation;

            // 트랙개수 만큼 인스턴스 생성
            tracks = new ArrayList();
            for (int i = 0; i < animation.TrackCount; ++i)
            {
                // 트랙 인스턴스 생성
                tracks.Add(new TrackInstance(animation.getTrack(i)));
            }
        }
Esempio n. 2
0
 public void setCurAnimation(Animation3D animation)
 {
     curAnimation = new Animation3DInstance(animation);
 }