Class EntityIdTileBase
Base abstract class for all Entity Id Tiles used by a Tilemap. In order for a custom Tile to use Unity Jobs and Burst by a Tilemap, the custom Tile must be derived from EntityIdTileBase or other Tiles which derive from EntityIdTileBase.
Inherited Members
Namespace: Unity.Tilemaps.Experimental
Assembly: Unity.2D.Tilemap.Experimental.dll
Syntax
[DefaultExecutionOrder(-100)]
public abstract class EntityIdTileBase : TileBase
Properties
getTileAnimationDataJobDelegate
Returns the delegate function called by Tilemap using Unity Jobs to get Tile Animation Data from Tiles of this type
Declaration
protected abstract EntityIdTileBase.GetTileAnimationDataJobDelegate getTileAnimationDataJobDelegate { get; }
Property Value
| Type | Description |
|---|---|
| EntityIdTileBase.GetTileAnimationDataJobDelegate |
getTileAnimationDataJobFunction
Returns the Burst Compiler compiled function pointer for the Tile's getTileAnimationDataJobDelegate
Declaration
public FunctionPointer<EntityIdTileBase.GetTileAnimationDataJobDelegate> getTileAnimationDataJobFunction { get; }
Property Value
| Type | Description |
|---|---|
| FunctionPointer<EntityIdTileBase.GetTileAnimationDataJobDelegate> |
getTileDataJobDelegate
Returns the delegate function called by Tilemap using Unity Jobs to get Tile Data from Tiles of this type
Declaration
protected abstract EntityIdTileBase.GetTileDataJobDelegate getTileDataJobDelegate { get; }
Property Value
| Type | Description |
|---|---|
| EntityIdTileBase.GetTileDataJobDelegate |
getTileDataJobFunction
Returns the Burst Compiler compiled function pointer for the Tile's getTileDataJobDelegate
Declaration
public FunctionPointer<EntityIdTileBase.GetTileDataJobDelegate> getTileDataJobFunction { get; }
Property Value
| Type | Description |
|---|---|
| FunctionPointer<EntityIdTileBase.GetTileDataJobDelegate> |
refreshTileJobDelegate
Returns the delegate function called by Tilemap using Unity Jobs to refresh Tiles of this type
Declaration
protected abstract EntityIdTileBase.RefreshTileJobDelegate refreshTileJobDelegate { get; }
Property Value
| Type | Description |
|---|---|
| EntityIdTileBase.RefreshTileJobDelegate |
refreshTileJobFunction
Returns the Burst Compiler compiled function pointer for the Tile's refreshTileJobDelegate
Declaration
public FunctionPointer<EntityIdTileBase.RefreshTileJobDelegate> refreshTileJobFunction { get; }
Property Value
| Type | Description |
|---|---|
| FunctionPointer<EntityIdTileBase.RefreshTileJobDelegate> |
structType
Returns the type of data struct used for this EntityIdTileBase
Declaration
public abstract Type structType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
CopyDataStruct(void*)
Copies the data struct used for this EntityIdTileBase to the outPtr buffer for use in Unity Jobs.
Declaration
public abstract void CopyDataStruct(void* outPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | outPtr | Data buffer to copy data struct from EntityIdTileBase to. |
OnEnable()
Initialises the EntityIdTileBase. If a Tile is derived from EntityIdTileBase and overrides OnEnable, it must call base.OnEnable in the overriden OnEnable
Declaration
public override void OnEnable()