# render.DrawBeam

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

```lua
render.DrawBeam( Vector startPos, Vector endPos, number width, number textureStart, number textureEnd, Color color = Color( 255, 255, 255 ) )
```

## Açıklama

> **NOT:** Bu, 3 boyutlu bir işleme (rendering) bağlamı gerektiren bir işleme fonksiyonudur.
>
> Bu, yalnızca [3D İşleme Kancaları (Hook)](https://gmod.tr/wiki/3D_Rendering_Hooks) içinde çalışacağı anlamına gelir.

İki nokta arasında uzanan, dokulu, billboard'lu bir dörtgenden (quad) yapılmış tek segmentli bir Işın (Beam) çizer.

Kullanım örnekleri de dahil olmak üzere daha ayrıntılı bilgi için [Işın İşleme Referansı (Beams Render Reference)](https://gmod.tr/wiki/render_beams)'na bakın.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **startPos**: Işının (Beam) başlangıç pozisyonu.
2. [Vector](https://gmod.tr/wiki/Vector) **endPos**: Işının (Beam) bitiş pozisyonu.
3. [number](https://gmod.tr/wiki/number) **width**: Işının (Beam) genişliği.
4. [number](https://gmod.tr/wiki/number) **textureStart**: Işının dokusunun başlangıç koordinatı.
5. [number](https://gmod.tr/wiki/number) **textureEnd**: Işının dokusunun bitiş koordinatı.
6. [Color](https://gmod.tr/wiki/Color) **color** = Color( 255, 255, 255 ): Işını (Beam) renklendirmek için kullanılacak [Renk](https://gmod.tr/wiki/Color).

- [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/render.DrawBeam
