Beispiel #1
0
        /// <summary>
        /// Create a clone of this Object
        /// </summary>
        /// <returns>The clone</returns>
        public override object Clone()
        {
            TransformNodeItems list = new TransformNodeItems();

            foreach (TransformNodeItem item in this)
            {
                list.Add(item);
            }

            return(list);
        }
Beispiel #2
0
 public override void Dispose()
 {
     if (this.tTransformNode != null)
     {
         this.tTransformNode.Dispose();
     }
     tTransformNode = null;
     ctn            = null;
     ogn            = null;
     items          = null;
     trans          = null;
 }
Beispiel #3
0
        /// <summary>
        /// Constructor
        /// </summary>
        public TransformNode(Rcol parent) : base(parent)
        {
            ctn = new CompositionTreeNode(parent);
            ogn = new ObjectGraphNode(parent);

            items = new TransformNodeItems();

            trans = new VectorTransformation(VectorTransformation.TransformOrder.TranslateRotate);

            version = 0x07;
            BlockID = 0x65246462;

            unknown = NO_JOINT;
        }