Delegate EntityIdTileBase.GetTileAnimationDataJobDelegate
The delegate called by Tilemap using Unity Jobs to get Tile Animation Data from Tiles
Namespace: Unity.Tilemaps.Experimental
Assembly: Unity.2D.Tilemap.Experimental.dll
Syntax
public delegate void EntityIdTileBase.GetTileAnimationDataJobDelegate(int count, int3* position, void* data, ref TilemapDataStruct tilemapDataStruct, TileAnimationEntityIdData* outTileAnimationEntityIdData)
Parameters
| Type | Name | Description |
|---|---|---|
| int | count | The number of positions on the Tilemap where this Tile is set |
| int3* | position | A pointer containing an array of positions on the Tilemap where this Tile is set with the size count |
| void* | data | A data pointer containing a copy of this Tile's data (from CopyDataStruct) |
| TilemapDataStruct | tilemapDataStruct | Contains data for the Tilemap where the Tile is placed and functions to retrieve Tile data from the Tilemap |
| TileAnimationEntityIdData* | outTileAnimationEntityIdData | A pointer containing an array of TileAnimationEntityIdData on the Tilemap which should be filled by this delegate function with the size count |