예제 #1
0
파일: Node.cs 프로젝트: raizam/GeonBit
        /// <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);
        }
예제 #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);
        }