# util.AimVector

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/util.AimVector
- **Çeviri tarihi:** 2025-09-08

```lua
Vector util.AimVector( Angle ViewAngles, number ViewFOV, number x, number y, number scrWidth, number scrHeight )
```

## Açıklama

2B ekran pozisyonundan nişan vektörünü hesaplamak için kullanılan fonksiyondur. SuperDOF mesafe hesaplamasında kullanılır.

Esasen [gui.ScreenToVector](https://gmod.tr/wiki/gui.ScreenToVector) fonksiyonunun genel bir versiyonudur.

## Argümanlar

1. [Angle](https://gmod.tr/wiki/Angle) **ViewAngles**: Bakış açıları
2. [number](https://gmod.tr/wiki/number) **ViewFOV**: Görüş Alanı (FOV)
3. [number](https://gmod.tr/wiki/number) **x**: Fare X pozisyonu
4. [number](https://gmod.tr/wiki/number) **y**: Fare Y pozisyonu
5. [number](https://gmod.tr/wiki/number) **scrWidth**: Ekran genişliği
6. [number](https://gmod.tr/wiki/number) **scrHeight**: Ekran yüksekliği

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

1. [Vector](https://gmod.tr/wiki/Vector): Hesaplanan nişan vektörü

- [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/util.AimVector
