Property | Type | Description | |
---|---|---|---|
bottom | int | ||
left | int | ||
right | int | ||
status | TerrainManager.Status | ||
top | int |
Method | Description | |
---|---|---|
Contains ( Vector3 p ) : bool |
Tests whether the point is in the region
|
|
Encapsulate ( int x, int z ) : void |
Grow the region to include the specified point
|
|
EncapsulateMegatiles ( ) : void |
Encapsulates extents of all contained megatiles.
|
|
GetCenter ( Vector3 &pos ) : void | ||
GetCenter ( float &x, float &z ) : void |
Get the center of the region
|
|
GetCenter ( int &x, int &z ) : void |
Get the center of the region
|
|
GetOverlap ( Region, otherRegion ) : Region, | ||
Intersects ( Region, otherRegion ) : bool | ||
Region ( ) : UnityEngine | ||
Region ( ResourceTile, tiles ) : UnityEngine |
Create a region that includes all of the specified tiles
|
|
Region ( ResourceTileLite, tiles ) : UnityEngine | ||
Region ( int left, int right, int top, int bottom ) : UnityEngine |
Construct using specified bounds
|
|
ToString ( ) : string |
String reprensetation of the region
|
|
ToTerrainRegion ( Region, ® ) : void |
Convert to a region clamped in the space of the terrain
|
public Encapsulate ( int x, int z ) : void | ||
x | int |
/// A |
z | int |
/// A |
return | void |
public GetCenter ( float &x, float &z ) : void | ||
x | float |
/// A |
z | float |
/// A |
return | void |
public GetCenter ( int &x, int &z ) : void | ||
x | int |
/// A |
z | int |
/// A |
return | void |
public GetOverlap ( Region, otherRegion ) : Region, | ||
otherRegion | Region, | |
return | Region, |
public Intersects ( Region, otherRegion ) : bool | ||
otherRegion | Region, | |
return | bool |
public Region ( ResourceTile, tiles ) : UnityEngine | ||
tiles | ResourceTile, |
/// A |
return | UnityEngine |
public Region ( ResourceTileLite, tiles ) : UnityEngine | ||
tiles | ResourceTileLite, | |
return | UnityEngine |
public Region ( int left, int right, int top, int bottom ) : UnityEngine | ||
left | int |
/// A |
right | int |
/// A |
top | int |
/// A |
bottom | int |
/// A |
return | UnityEngine |
public ToTerrainRegion ( Region, ® ) : void | ||
reg | Region, | |
return | void |
public static TerrainManager.Status status | ||
return | TerrainManager.Status |