Ejemplo n.º 1
0
        /// <summary>
        /// Constructor
        /// </summary>
        public ResourceNode(Rcol parent) : base(parent)
        {
            sgres = new SGResource(null);
            ogn   = new ObjectGraphNode(null);
            ctn   = new CompositionTreeNode(null);
            items = new ResourceNodeItem[0];

            version  = 0x07;
            typecode = 0x01;
            BlockID  = 0xE519C933;
        }
Ejemplo n.º 2
0
 public override void Dispose()
 {
     if (this.tTransformNode != null)
     {
         this.tTransformNode.Dispose();
     }
     tTransformNode = null;
     ctn            = null;
     ogn            = null;
     items          = null;
     trans          = null;
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 4
0
 public override void Dispose()
 {
     if (this.tResourceNode != null)
     {
         this.tResourceNode.Dispose();
     }
     tResourceNode = null;
     if (tCres != null)
     {
         tCres.Dispose();
     }
     tCres = null;
     sgres = null;
     ogn   = null;
     ctn   = null;
     items = new ResourceNodeItem[0];
 }