Example #1
0
 internal void Refresh(DevPos pos)
 {
     this.PosX      = pos.PosX;
     this.PosY      = pos.PosY;
     this.PosZ      = pos.PosZ;
     this.RotationX = pos.RotationX;
     this.RotationY = pos.RotationY;
     this.RotationZ = pos.RotationZ;
     this.ScaleX    = pos.ScaleX;
     this.ScaleY    = pos.ScaleY;
     this.ScaleZ    = pos.ScaleZ;
 }
Example #2
0
 public void SetPos(DevPos pos)
 {
     this.Pos       = pos.CloneObjectByBinary();
     this.Pos.DevID = this.DevID;
     //this.PosX = pos.PosX;
     //this.PosY = pos.PosY;
     //this.PosZ = pos.PosZ;
     //this.ScaleX = pos.ScaleX;
     //this.ScaleY = pos.ScaleY;
     //this.ScaleZ = pos.PosZ;
     //this.RotationX = pos.RotationX;
     //this.RotationY = pos.RotationY;
     //this.RotationZ = pos.RotationZ;
 }