Navigation
API > API/Plugins > API/Plugins/Paper2D > API/Plugins/Paper2D/PAPER2UPaperTileMapComponent
References
| Module | Paper2D |
| Header | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTileMapComponent.h |
| Include | #include "PaperTileMapComponent.h" |
UFUNCTION&40;BlueprintCallable, Category&61;"Sprite", Meta&61;&40;Layer&61;"0"&41;&41;
void SetTile
&40;
int32 X,
int32 Y,
int32 Layer,
FPaperTileInfo NewValue
&41;
Remarks
Modifies the contents of a specified tile cell (Note: This will only work on components that own their own tile map (OwnsTileMap returns true), you cannot modify standalone tile map assets) Note: Does not update collision by default, call RebuildCollision after all edits have been done in a frame if necessary