# IconEditor:SetFromEntity

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/IconEditor:SetFromEntity
- **Çeviri tarihi:** 2025-09-08

```lua
IconEditor:SetFromEntity( Entity ent )
```

## Açıklama

Düzenleyicinin modelini ve ikonunu bir varlıktan ayarlar. Bu fonksiyon, bir [SpawnIcon](https://gmod.tr/wiki/SpawnIcon) kullanan [IconEditor:SetIcon](https://gmod.tr/wiki/IconEditor:SetIcon) fonksiyonuna bir alternatiftir.

Bu işlemden sonra [IconEditor:Refresh](https://gmod.tr/wiki/IconEditor:Refresh) fonksiyonunu çağırmanıza gerek yoktur.

## Argümanlar

1. [Entity](https://gmod.tr/wiki/Entity) **ent**: Modelin ve skin'in alınacağı varlık.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/IconEditor:SetFromEntity
