示例#1
0
 public CameraInterpolator(ICamera actualCamera, ICamera destinyCamera, InterpolationType type, float data)
 {
     if (type == InterpolationType.BYSTEP)
     {
         cii = new cameraStepInterpol(data);
     }
     else
     {
         cii = new cameraTimeInterpol(data);
     }
     Reset(actualCamera, destinyCamera);
 }
 public CameraInterpolator(ICamera actualCamera,ICamera destinyCamera ,InterpolationType type , float data)
 {
     if (type == InterpolationType.BYSTEP)
     {
         cii = new cameraStepInterpol(data);                
     }
     else
     {
         cii = new cameraTimeInterpol(data);                
     }
     Reset(actualCamera, destinyCamera);
 }