Method | Description | |
---|---|---|
Bisect ( Vector3 pt1, Vector3 pt2, float variation ) : Vector3 | ||
GenerateCoast ( Vector3 corner1, Vector3 corner2, int iterations, float variation ) : Vector3[] | ||
GenerateGrid ( int xsize, int ysize ) : Vector3[] | ||
GenerateGrid ( int xsize, int ysize, float width, float height ) : Vector3[] | ||
GetGridRegions ( Vector3 points, int xsize, int ysize ) : List |
||
MakeCorners ( Vector3 origin, float islandRadius, float bordersize ) : Vector3[] | ||
Midpoint ( Vector3 pt1, Vector3 pt2 ) : Vector3 | ||
PerturbPoints ( Vector3 points, float perturbation ) : Vector3[] |
public static Bisect ( Vector3 pt1, Vector3 pt2, float variation ) : Vector3 | ||
pt1 | Vector3 | |
pt2 | Vector3 | |
variation | float | |
return | Vector3 |
public static GenerateCoast ( Vector3 corner1, Vector3 corner2, int iterations, float variation ) : Vector3[] | ||
corner1 | Vector3 | |
corner2 | Vector3 | |
iterations | int | |
variation | float | |
return | Vector3[] |
public static GenerateGrid ( int xsize, int ysize ) : Vector3[] | ||
xsize | int | |
ysize | int | |
return | Vector3[] |
public static GenerateGrid ( int xsize, int ysize, float width, float height ) : Vector3[] | ||
xsize | int | |
ysize | int | |
width | float | |
height | float | |
return | Vector3[] |
public static GetGridRegions ( Vector3 points, int xsize, int ysize ) : List |
||
points | Vector3 | |
xsize | int | |
ysize | int | |
return | List |
public static MakeCorners ( Vector3 origin, float islandRadius, float bordersize ) : Vector3[] | ||
origin | Vector3 | |
islandRadius | float | |
bordersize | float | |
return | Vector3[] |
public static Midpoint ( Vector3 pt1, Vector3 pt2 ) : Vector3 | ||
pt1 | Vector3 | |
pt2 | Vector3 | |
return | Vector3 |
public static PerturbPoints ( Vector3 points, float perturbation ) : Vector3[] | ||
points | Vector3 | |
perturbation | float | |
return | Vector3[] |