docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate EntityIdTileBase.GetTileDataJobDelegate

    The delegate called by Tilemap using Unity Jobs to get Tile Data from Tiles

    Namespace: Unity.Tilemaps.Experimental
    Assembly: Unity.2D.Tilemap.Experimental.dll
    Syntax
    public delegate void EntityIdTileBase.GetTileDataJobDelegate(int count, int3* position, void* data, ref TilemapDataStruct tilemapDataStruct, TileData* outTileData)
    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

    TileData* outTileData

    A pointer containing an array of TileData on the Tilemap which should be filled by this delegate function with the size count

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)