# ENTITY:GetShadowCastDirection

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

```lua
Vector ENTITY:GetShadowCastDirection( number type )
```

## Açıklama

Gölgenin yeniden hesaplanması gerektiğinde çağrılır. Gölge açılarının özelleştirilmesine olanak tanır. Bu yalnızca `anim` türündeki entity'ler için çalışır.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **type**: Bu entity'nin kullandığı gölgenin türü. Olası değerler: - 0 - Gölge yok - 1 - Basit 'leke' gölgesi - 2 - Render To Texture (Dokuya İşleme) gölgesi (sadece gerektiğinde güncellenir) - 3 - Dinamik RTT - her zaman güncellenir - 4 - Derinlik Dokusuna İşleme (Render to Depth Texture)

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

1. [Vector](https://gmod.tr/wiki/Vector) **dir**: Kullanılacak yeni gölge yönü.

- [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/ENTITY:GetShadowCastDirection
