Example #1
0
        /// <summary>
        /// Clone this scene node.
        /// </summary>
        /// <returns>Node copy.</returns>
        public virtual Node Clone()
        {
            Node ret = new Node();

            ret.Transformations            = Transformations.Clone();
            ret.Visible                    = Visible;
            ret.UseExternalTransformations = UseExternalTransformations;
            return(ret);
        }
Example #2
0
        /// <summary>
        /// Clone this scene node.
        /// </summary>
        /// <returns>Node copy.</returns>
        public override Node Clone()
        {
            BoundingBoxCullingNode ret = new BoundingBoxCullingNode();

            ret.Transformations = Transformations.Clone();
            ret.LastBoundingBox = LastBoundingBox;
            ret.Visible         = Visible;
            return(ret);
        }