Свойство | Тип | Описание | |
---|---|---|---|
idMegatile | int | ||
idOwner | int | ||
oneHalfTreeSizeClassCount | int |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
SetTreeDistributionFrequency ( int index, int frequency ) : void |
Sets the tree distribution frequency at index.
|
public GetTreeCountsByGraphicType ( ) : int[] | ||
Результат | int[] |
public static ToClientZ ( int y ) : int | ||
y | int |
/// A |
Результат | int |
public static ToServerY ( int z ) : int | ||
z | int |
/// A |
Результат | int |