Click or drag to resize

MeshlessGrid Methods

The MeshlessGrid type exposes the following members.

Methods
  NameDescription
Public methodAbortPlacing
Quits placing process
Public methodAddPrefab
Adds a cluster to a position on grid
Public methodFindCenter
Finds position on a tile
Public methodFindTile
Public methodGetInitDiff
Finds the difference in position between gameobject's position and mouse raycast
Public methodGetPanelPoints
Public methodInitialize
Creates the grid
Public methodInitialize(Polygon, Int32)
Creates the grid on a polygon
Public methodMirrorObject
Mirrors the selected gameobject
Public methodOnFinishedInitializing
Called when a grid id initialized
Public methodPlaceAdditional
places additional in a coroutine
Public methodPlaceAdditional(Vector3, GameObject)
places an additional cluster on the grid
Public methodPlaceCluster(Vector3)
Places selected cluster on the grid
Public methodPlaceCluster(Vector3, GameObject)
Places a cluster on the grid
Public methodRaycast
Public methodRaycast(Ray)
Returns an array of coordinates with raycast
Public methodRecalculateInclusion
Recalculates if this grid is within the site polygon
Public methodRemovePrefab
Removes a deleted cluster from the recorded list of placed
Public methodReorientGrid
Rotates grid based on polygon
Public methodRotateCluster
Rotates a cluster around itself
Public methodSetCurrentAdditional
Creates Additional cluster
Public methodSetCurrentCluster(Int32)
Create cluster
Public methodSetCurrentCluster(GameObject)
Creates cluster based on prefab
Public methodSetCurrentCluster(Int32, Cluster)
Loads cluster
Public methodSetCurrentCluster(Int32, DataRow, Material)
Creates cluster based on data
Public methodSetGridHeight
Changes the height of the grid
Public methodSetPrefabNewPosition
Positions oblect on grid
Public methodStartPlacing
Sets the cluster to be placed and starts placing process
Public methodStartPlacing(Cluster)
Loads cluster to be placed and starts placing process
Public methodStartPlacing(ListDataRow, Material)
Creates cluster to be placed and starts placing process
Public methodStartPlacingAdditional
Sets additional cluster to be placed and starts placing process
Public methodStopPlacing
Ends placing process
Public methodUpdateCentre
Updates the position of a given cluster
Public methodUpdateGrid
Updates the grid when polygon changes
Top
See Also