Ejemplo n.º 1
0
        public void Start()
        {
            MeshAnimator animroot = _meshAnimRoot;

            if (animroot != null)
            {
                animroot.Enable(Engine.ACTIVE);
                animroot.Start();
            }
        }
Ejemplo n.º 2
0
        public void Record(bool record)
        {
            Scene        scene    = SharedWorld.MainScene;
            MeshAnimator animroot = _meshAnimRoot;

            if (animroot != null)
            {
                animroot.Stop();
                if (record)
                {
                    if (TimeInc > 0)
                    {
                        scene.TimeInc = TimeInc;
                    }
                    animroot.Enable(MeshAnimator.RECORD);
                }
                else
                {
                    animroot.Disable(MeshAnimator.RECORD);
                    scene.TimeInc = 0.0f;
                }
            }
        }