HelixToolkit.Wpf.CombinedManipulator.OnChildrenChanged C# (CSharp) Method

OnChildrenChanged() protected method

The on children changed.
protected OnChildrenChanged ( ) : void
return void
        protected virtual void OnChildrenChanged()
        {
            this.Children.Clear();
            if (this.CanTranslateX)
            {
                this.Children.Add(this.translateXManipulator);
            }

            if (this.CanTranslateY)
            {
                this.Children.Add(this.translateYManipulator);
            }

            if (this.CanTranslateZ)
            {
                this.Children.Add(this.translateZManipulator);
            }

            if (this.CanRotateX)
            {
                this.Children.Add(this.rotateXManipulator);
            }

            if (this.CanRotateY)
            {
                this.Children.Add(this.rotateYManipulator);
            }

            if (this.CanRotateZ)
            {
                this.Children.Add(this.rotateZManipulator);
            }
        }