MeshlessGrid Class |
[Missing <summary> documentation for "T:BrydenWoodUnity.Grid.MeshlessGrid"]
Namespace: BrydenWoodUnity.Grid
The MeshlessGrid type exposes the following members.
| Name | Description | |
|---|---|---|
| MeshlessGrid | Initializes a new instance of the MeshlessGrid class |
| Name | Description | |
|---|---|---|
| additionalElementPrefab | ||
| clusterIndex | ||
| currentAdditional | ||
| currentObject | ||
| hasSelected | ||
| index | ||
| initDiff | ||
| level | ||
| placedClusters | ||
| placing | ||
| placingAdditional | ||
| raycastingCamera |
| Name | Description | |
|---|---|---|
| AbortPlacing |
Quits placing process
| |
| AddPrefab |
Adds a cluster to a position on grid
| |
| FindCenter |
Finds position on a tile
| |
| FindTile | ||
| GetInitDiff |
Finds the difference in position between gameobject's position and mouse raycast
| |
| GetPanelPoints | ||
| Initialize |
Creates the grid
| |
| Initialize(Polygon, Int32) |
Creates the grid on a polygon
| |
| MirrorObject |
Mirrors the selected gameobject
| |
| OnFinishedInitializing |
Called when a grid id initialized
| |
| PlaceAdditional |
places additional in a coroutine
| |
| PlaceAdditional(Vector3, GameObject) |
places an additional cluster on the grid
| |
| PlaceCluster(Vector3) |
Places selected cluster on the grid
| |
| PlaceCluster(Vector3, GameObject) |
Places a cluster on the grid
| |
| Raycast | ||
| Raycast(Ray) |
Returns an array of coordinates with raycast
| |
| RecalculateInclusion |
Recalculates if this grid is within the site polygon
| |
| RemovePrefab |
Removes a deleted cluster from the recorded list of placed
| |
| ReorientGrid |
Rotates grid based on polygon
| |
| RotateCluster |
Rotates a cluster around itself
| |
| SetCurrentAdditional |
Creates Additional cluster
| |
| SetCurrentCluster(Int32) |
Create cluster
| |
| SetCurrentCluster(GameObject) |
Creates cluster based on prefab
| |
| SetCurrentCluster(Int32, Cluster) |
Loads cluster
| |
| SetCurrentCluster(Int32, DataRow, Material) |
Creates cluster based on data
| |
| SetGridHeight |
Changes the height of the grid
| |
| SetPrefabNewPosition |
Positions oblect on grid
| |
| StartPlacing |
Sets the cluster to be placed and starts placing process
| |
| StartPlacing(Cluster) |
Loads cluster to be placed and starts placing process
| |
| StartPlacing(ListDataRow, Material) |
Creates cluster to be placed and starts placing process
| |
| StartPlacingAdditional |
Sets additional cluster to be placed and starts placing process
| |
| StopPlacing |
Ends placing process
| |
| UpdateCentre |
Updates the position of a given cluster
| |
| UpdateGrid |
Updates the grid when polygon changes
|
| Name | Description | |
|---|---|---|
| clusterAdded | ||
| gridCalculated |