MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_pattern

Method get_pattern

scene/2d/tile_map.cpp:568–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568Ref<TileMapPattern> TileMap::get_pattern(int p_layer, TypedArray<Vector2i> p_coords_array) {
569 TILEMAP_CALL_FOR_LAYER_V(p_layer, Ref<TileMapPattern>(), get_pattern, p_coords_array);
570}
571
572Vector2i TileMap::map_pattern(const Vector2i &p_position_in_tilemap, const Vector2i &p_coords_in_pattern, Ref<TileMapPattern> p_pattern) {
573 ERR_FAIL_COND_V(tile_set.is_null(), Vector2i());

Calls

no outgoing calls

Tested by

no test coverage detected