コード例 #1
0
        private void LoadShouldPadInfo()
        {
            ShouldPadInfoManager shouldPadImfoManager = new ShouldPadInfoManager();
            ClothClampManager    clothClampManager    = new ClothClampManager();

            Point[] shapePoints = shouldPadImfoManager.GetShouldPadPoints();
            shouldPadShapeInfo = new ShouldPadShapeInfo(shapePoints, clothClampManager.LoadClothClamps());
        }
コード例 #2
0
 public void SetShouldPadShapeInfo(ShouldPadShapeInfo shouldPadShapeInfo, bool savePoints)
 {
     this.shouldPadShapeInfo = shouldPadShapeInfo;
     if (savePoints)
     {
         ShouldPadInfoManager shouldPadInfoManager = new ShouldPadInfoManager();
         shouldPadInfoManager.SetShouldPadPoints(shouldPadShapeInfo.ShapePoints);
     }
 }