Property | Type | Description | |
---|---|---|---|
idMegatile | int | ||
idOwner | int | ||
oneHalfTreeSizeClassCount | int |
Method | Description | |
---|---|---|
Contains ( Vector3 p ) : bool |
Determine whether the microtile contains the specified point
|
|
GetCenterPoint ( ) : Vector3 |
Get the center point in world space
|
|
GetSimpleCenterPoint ( ) : Vector3 |
Gets the simple center point. Ignores height |
|
GetTreeCountsByGraphicType ( ) : int[] |
Gets the number of trees represented by each type of TreeGraphic.
|
|
ToClientZ ( int y ) : int |
Convert y coordinate to a z coordinate for the client, which starts from lower left
|
|
ToServerY ( int z ) : int |
Convert z coordinate to a y coordinate for the server, which starts from upper left
|
|
ToString ( ) : string |
Returns a System.String that represents the current ResourceTile.
|
Method | Description | |
---|---|---|
SetTreeDistributionFrequency ( int index, int frequency ) : void |
Sets the tree distribution frequency at index.
|
public GetTreeCountsByGraphicType ( ) : int[] | ||
return | int[] |