Esempio n. 1
0
 public IKElement(int APIversion, EventHandler handler, RigResource owner,
                  IntList bones,
                  int infoNode0Index, int infoNode1Index,
                  int infoNode2Index, int infoNode3Index,
                  int infoNode4Index, int infoNode5Index, int infoNode6Index,
                  int infoNode7Index, int infoNode8Index,
                  int infoNode9Index, int infoNodeAIndex,
                  int poleVectorIndex, int slotInfoIndex, int slotOffsetIndex, int rootIndex)
     : base(APIversion, handler)
 {
     this.bones           = new IntList(handler, bones);
     this.infoNode0Index  = infoNode0Index;
     this.infoNode1Index  = infoNode1Index;
     this.infoNode2Index  = infoNode2Index;
     this.infoNode3Index  = infoNode3Index;
     this.infoNode4Index  = infoNode4Index;
     this.infoNode5Index  = infoNode5Index;
     this.infoNode6Index  = infoNode6Index;
     this.infoNode7Index  = infoNode7Index;
     this.infoNode8Index  = infoNode8Index;
     this.infoNode9Index  = infoNode9Index;
     this.infoNodeAIndex  = infoNodeAIndex;
     this.poleVectorIndex = poleVectorIndex;
     this.slotInfoIndex   = slotInfoIndex;
     this.slotOffsetIndex = slotOffsetIndex;
     this.rootIndex       = rootIndex;
 }
Esempio n. 2
0
 public IKChainList(EventHandler handler, RigResource owner, IEnumerable <IKElement> lb) : base(null)
 {
     elementHandler = handler;
     this.owner     = owner;
     foreach (var b in lb)
     {
         this.Add(new IKElement(0, elementHandler, owner, b));
     }
     this.handler = handler;
 }
Esempio n. 3
0
 public IKElement(int APIversion, EventHandler handler, RigResource owner, IKElement basis)
     : this(APIversion, handler, owner, basis.bones,
            basis.infoNode0Index, basis.infoNode1Index,
            basis.infoNode2Index, basis.infoNode3Index,
            basis.infoNode4Index, basis.infoNode5Index, basis.infoNode6Index,
            basis.infoNode7Index, basis.infoNode8Index,
            basis.infoNode9Index, basis.infoNodeAIndex,
            basis.poleVectorIndex, basis.slotInfoIndex, basis.slotOffsetIndex, basis.rootIndex)
 {
 }
Esempio n. 4
0
 public IKChainList(EventHandler handler, RigResource owner, Stream s) : base(null)
 {
     elementHandler = handler; this.owner = owner; Parse(s); this.handler = handler;
 }
Esempio n. 5
0
 public IKChainList(EventHandler handler, RigResource owner) : base(handler)
 {
     this.owner = owner;
 }
Esempio n. 6
0
 public IKElement(int APIversion, EventHandler handler, RigResource owner, Stream s) : base(APIversion, handler)
 {
     this.owner = owner; Parse(s);
 }
Esempio n. 7
0
 public IKElement(int APIversion, EventHandler handler, RigResource owner) : base(APIversion, handler)
 {
     this.owner = owner;
     this.bones = new IntList(handler);
 }