# DModelPanel:GetEntity

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

```lua
CSEnt DModelPanel:GetEntity()
```

## Açıklama

Model paneli tarafından işlenen (render edilen) varlığı döndürür.

## Döndürülen Değer

1. [CSEnt](https://gmod.tr/wiki/CSEnt): İşlenen varlık (istemci tarafı)

### Örnek

Bir antlion model paneli oluşturur ve antlion'un skin'ini 1 olarak ayarlar.

```lua
BGPanel = vgui.Create("DPanel")
BGPanel:SetPos(20, 20)
BGPanel:SetSize(200, 200)

local mdl = vgui.Create("DModelPanel", BGPanel)
mdl:SetSize(200, 200)
mdl:SetModel("models/antlion.mdl")
mdl:SetLookAt(Vector(0, 0, 20))

mdl:GetEntity():SetSkin(1)
```

**Çıktı:** ![](https://gmod.tr/api/uploads/wiki/15ed68e418fc71810d30.jpg)

- [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/DModelPanel:GetEntity
