void TileSet::tile_set_modulate(int p_id, const Color &p_modulate) { ERR_FAIL_COND(!tile_map.has(p_id)); tile_map[p_id].modulate = p_modulate; emit_changed(); }
void StyleBoxTexture::set_modulate(const Color &p_modulate) { if (modulate == p_modulate) return; modulate = p_modulate; emit_changed(); }
void CircleShape2D::_update_shape() { Physics2DServer::get_singleton()->shape_set_data(get_rid(), radius); emit_changed(); }
void SpriteFrames::clear() { frames.clear(); emit_changed(); }
void StyleBoxTexture::set_draw_center(bool p_draw) { draw_center = p_draw; emit_changed(); }
void TileSet::tile_set_name(int p_id, const String &p_name) { ERR_FAIL_COND(!tile_map.has(p_id)); tile_map[p_id].name = p_name; emit_changed(); }
void TileSet::clear() { tile_map.clear(); _change_notify(""); emit_changed(); }
void StyleBox::set_default_margin(Margin p_margin, float p_value) { margin[p_margin]=p_value; emit_changed(); }
void BitmapFont::set_distance_field_hint(bool p_distance_field) { distance_field_hint = p_distance_field; emit_changed(); }
void StyleBoxFlat::set_border_blend(bool p_blend) { blend=p_blend; emit_changed(); }
void StyleBoxFlat::set_draw_center(bool p_draw) { draw_center=p_draw; emit_changed(); }
void StyleBoxFlat::set_border_size(int p_size) { border_size=p_size; emit_changed(); }
void ConcavePolygonShape2D::set_segments(const PoolVector<Vector2> &p_segments) { Physics2DServer::get_singleton()->shape_set_data(get_rid(), p_segments); emit_changed(); }
void RectangleShape2D::_update_shape() { Physics2DServer::get_singleton()->shape_set_data(get_rid(), extents); emit_changed(); }
void TileSet::tile_set_shape_offset(int p_id, const Vector2 &p_offset) { ERR_FAIL_COND(!tile_map.has(p_id)); tile_map[p_id].shape_offset = p_offset; emit_changed(); }
void Font::update_changes() { emit_changed(); }
void TileSet::tile_set_region(int p_id, const Rect2 &p_region) { ERR_FAIL_COND(!tile_map.has(p_id)); tile_map[p_id].region = p_region; emit_changed(); }
void ShortCut::set_shortcut(const Ref<InputEvent> &p_shortcut) { shortcut = p_shortcut; emit_changed(); }
void TileSet::tile_set_shapes(int p_id, const Vector<Ref<Shape2D> > &p_shapes) { ERR_FAIL_COND(!tile_map.has(p_id)); tile_map[p_id].shapes = p_shapes; emit_changed(); }
void ConvexPolygonShape::_update_shape() { PhysicsServer::get_singleton()->shape_set_data(get_shape(), points); emit_changed(); }
void SpriteFrames::remove_frame(int p_idx) { frames.remove(p_idx); emit_changed(); }
void CapsuleShape2D::_update_shape() { Physics2DServer::get_singleton()->shape_set_data(get_rid(), Vector2(radius, height)); emit_changed(); }
void StyleBoxTexture::set_margin_size(Margin p_margin, float p_size) { margin[p_margin] = p_size; emit_changed(); }
void TileSet::tile_set_texture(int p_id, const Ref<Texture> &p_texture) { ERR_FAIL_COND(!tile_map.has(p_id)); tile_map[p_id].texture = p_texture; emit_changed(); }
void StyleBoxTexture::set_expand_margin_size(Margin p_expand_margin, float p_size) { ERR_FAIL_INDEX(p_expand_margin, 4); expand_margin[p_expand_margin] = p_size; emit_changed(); }
void TileSet::tile_set_material(int p_id, const Ref<CanvasItemMaterial> &p_material) { ERR_FAIL_COND(!tile_map.has(p_id)); tile_map[p_id].material = p_material; emit_changed(); }
void StyleBoxFlat::set_bg_color(const Color &p_color) { bg_color = p_color; emit_changed(); }
void RayShape::_update_shape() { PhysicsServer::get_singleton()->shape_set_data(get_shape(), length); emit_changed(); }