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

Method get_texture_margin

scene/resources/style_box_texture.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81float StyleBoxTexture::get_texture_margin(Side p_side) const {
82 ERR_FAIL_INDEX_V((int)p_side, 4, 0.0);
83
84 return texture_margin[p_side];
85}
86
87void StyleBoxTexture::set_expand_margin(Side p_side, float p_size) {
88 ERR_FAIL_INDEX((int)p_side, 4);

Callers 3

_texture_overlay_drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected