/// <summary>
        /// Adds a model to the viewer.
        /// </summary>
        /// <param name="model">The model to add.</param>
        private void Add(Model model)
        {
            this.model = model;

            // Create an init the new controller
            animator         = new ModelAnimator(Game, model);
            animator.Enabled = true;
            animator.Visible = true;

            InitializeEffects(model);
        }
 public AnimatedModel(Game game, string assetName, Vector3 position, Vector3 rotation, Vector3 scale) : base(game, game.Content.Load<Model>(assetName), position, rotation, scale)
 {
     Animator = new ModelAnimator(Game, Model);
     Animator.InitializeEffectParams();
     Animator.Visible = false;
 }
        /// <summary>
        /// Adds a model to the viewer.
        /// </summary>
        /// <param name="model">The model to add.</param>
        private void Add(Model model)
        {
            this.model = model;

            // Create an init the new controller
            animator = new ModelAnimator(Game, model);
            animator.Enabled = true;
            animator.Visible = true;

            InitializeEffects(model);

        }