Пример #1
0
        private void LoadAnim(ResU.SceneAnim scn)
        {
            Text = scn.Name;

            SceneAnimU = scn;

            foreach (var cameraAnim in scn.CameraAnims.Values)
            {
                BfresCameraAnim anim = new BfresCameraAnim();
                anim.LoadAnim(cameraAnim);
                Nodes.Add(anim);
            }
            foreach (var lightAnim in scn.LightAnims.Values)
            {
                BfresLightAnim anim = new BfresLightAnim();
                anim.LoadAnim(lightAnim);
                Nodes.Add(anim);
            }
            foreach (var fogAnim in scn.FogAnims.Values)
            {
                BfresFogAnim anim = new BfresFogAnim();
                anim.LoadAnim(fogAnim);
                Nodes.Add(anim);
            }
        }
Пример #2
0
 public FSCN(ResU.SceneAnim scn)
 {
     Initialize(); LoadAnim(scn);
 }