private void RasterBindTarget(WaterDynamics.Target target)
 {
     this.targetDesc          = target.Desc;
     this.targetPixels        = target.Pixels;
     this.targetDrawTileTable = target.DrawTileTable;
     this.targetDrawTileList  = target.DrawTileList;
 }
 public void Shutdown()
 {
     if (this.target != null)
     {
         this.target.Destroy();
         this.target = null;
     }
     this.IsInitialized = false;
 }
Exemple #3
0
 public void Shutdown()
 {
     if (this.target != null)
     {
         this.target.Destroy();
         this.target = (WaterDynamics.Target)null;
     }
     this.IsInitialized = false;
 }
 public void Initialize(Vector3 areaPosition, Vector3 areaSize)
 {
     this.target        = new WaterDynamics.Target(this, areaPosition, areaSize);
     this.useNativePath = this.SupportsNativePath();
     this.IsInitialized = true;
 }