# Panel:RebuildSpawnIconEx

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

```lua
Panel:RebuildSpawnIconEx( table data )
```

## Açıklama

Bir doğma simgesini (spawn icon) özelleştirilmiş kamera verileriyle yeniden oluşturur.

Gerekli kamera parametrelerini kolayca hesaplamak için [PositionSpawnIcon](https://gmod.tr/wiki/Global.PositionSpawnIcon) kullanılabilir.

> **NOT:** Bu fonksiyon standart [CamData yapısını](https://gmod.tr/wiki/Structures/CamData) kabul **etmez**.

## Argümanlar

1. [table](https://gmod.tr/wiki/table) **data**: Yeniden oluşturma için gereken bilgileri içeren dört üyeli bir tablo: - [Vector](https://gmod.tr/wiki/Vector) cam_pos - Modelin görüntülendiği göreceli kamera pozisyonu. - [Angle](https://gmod.tr/wiki/Angle) cam_ang - Modelin görüntülendiği kamera açısı. - [number](https://gmod.tr/wiki/number) cam_fov - Kameranın görüş alanı (FOV). - [Entity](https://gmod.tr/wiki/Entity) ent - Modelin entity nesnesi. Bu değerlerin nasıl alınacağını görmek için aşağıdaki örneğe bakın.

### Örnek

[IconEditor](https://gmod.tr/wiki/IconEditor) tarafından kullanılan `RenderIcon` metodu. `SpawnIcon` bir [SpawnIcon](https://gmod.tr/wiki/SpawnIcon)'dur ve `ModelPanel` bir [DAdjustableModelPanel](https://gmod.tr/wiki/DAdjustableModelPanel)'dir.

```lua
function PANEL:RenderIcon()

	local ent = self.ModelPanel:GetEntity()

	local tab = {}
	tab.ent		= ent
	tab.cam_pos = self.ModelPanel:GetCamPos()
	tab.cam_ang = self.ModelPanel:GetLookAng()
	tab.cam_fov = self.ModelPanel:GetFOV()

	self.SpawnIcon:RebuildSpawnIconEx( tab )
end
```

- [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/Panel:RebuildSpawnIconEx
