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

Method has_source

scene/resources/2d/tile_set.cpp:554–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552}
553
554bool TileSet::has_source(int p_source_id) const {
555 return sources.has(p_source_id);
556}
557
558Ref<TileSetSource> TileSet::get_source(int p_source_id) const {
559 ERR_FAIL_COND_V_MSG(!sources.has(p_source_id), nullptr, vformat("No TileSet atlas source with id %d.", p_source_id));

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected