AllegroFlare/TileMaps/AutoTile/Filters/Base
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
type |
std::string |
input_matrix |
AllegroFlare::TileMaps::AutoTile::FilterMatrix |
result_matrix |
AllegroFlare::TileMaps::AutoTile::FilterMatrix |
OUT_OF_BOUNDS_MATCH_TYPE_POSITIVE |
char* |
OUT_OF_BOUNDS_MATCH_TYPE_NEGATIVE |
char* |
OUT_OF_BOUNDS_MATCH_TYPE_EXTRUDED_EDGE |
char* |
DEFAULT_OUT_OF_BOUNDS_MATCH_TYPE |
char* |
TYPE |
char* |
Methods
process() |
iterate_through_input_and_apply_to_result_if_match(std::vector<std::vector<int>> match_matrix={}, std::vector<std::vector<int>> apply_matrix={}, int match_matrix_offset_x=0, int match_matrix_offset_y=0, int apply_matrix_offset_x=0, int apply_matrix_offset_y=0, std::string out_of_bounds_match_type=DEFAULT_OUT_OF_BOUNDS_MATCH_TYPE, bool ignore_if_negative_tile_value_on_match_matrix=true, bool ignore_write_if_negative_tile_value_on_stamp_tile=true, bool ignore_if_stamp_tile_is_out_of_bounds_on_result_matrix=true) |
matrix_matches(std::vector<std::vector<int>> match_matrix={}, int at_coord_x=0, int at_coord_y=0, int match_matrix_offset_x=0, int match_matrix_offset_y=0, bool ignore_if_negative_tile_value_on_match_matrix=true, std::string out_of_bounds_match_type=DEFAULT_OUT_OF_BOUNDS_MATCH_TYPE) |
stamp_to_result(std::vector<std::vector<int>> stamp_matrix={}, int at_coord_x=0, int at_coord_y=0, int apply_matrix_offset_x=0, int apply_matrix_offset_y=0, bool ignore_write_if_negative_tile_value_on_stamp_tile=true, bool ignore_if_stamp_tile_is_out_of_bounds_on_result_matrix=true) |
tile_coord_to_contiguous(int tile_x=0, int tile_y=0, int tile_atlas_num_columns=0) |
Dependencies
{"symbol"=>"AllegroFlare::TileMaps::AutoTile::FilterMatrix", "headers"=>["AllegroFlare/TileMaps/AutoTile/FilterMatrix.hpp"]} |
Sponsor
Learn about cats at the Cat Encyclopedia