# render.DrawQuadEasy

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/render.DrawQuadEasy
- **Çeviri tarihi:** 2026-05-14

```lua
render.DrawQuadEasy( Vector position, Vector normal, number width, number height, Color color, number rotation = 0 )
```

## Açıklama

Çeyreği çizer. [render. SetMaterial](https://gmod.tr/wiki/render.SetMaterial).

> **NOT:** Bu bir gösterimdir function that 3 boyutlu görüntüleme bağlamı gerektirir.
>
> Bu sadece çalışacak anlamına gelir. [3D Rendering Hooks](https://gmod.tr/wiki/3D_Rendering_Hooks).

## Argümanlar

1.. [Vektör](https://gmod.tr/wiki/Vector) **konumu**: Sprite'in kökeni.
2.. [Vektör](https://gmod.tr/wiki/Vector) **Normal**: Çarşının yüz yönü.
3.. [numara](https://gmod.tr/wiki/number) **genişliği**: Çarşının genişliği.
4.. [numara](https://gmod.tr/wiki/number) **Yükseklik**: Binanın yüksekliği.
5.. [Renk](https://gmod.tr/wiki/Color) **Renkli**: Bahçenin rengi.
Altı.. [numara](https://gmod.tr/wiki/number) **rotasyon** = 0: Dörtgenin normal eksen etrafında saat bağı doğrultusunda dereceyle döndürülmesi. Başka bir deyişle, dörtgen her zaman aynı yöne döner ama bu köşelerini çevirecektir.

### Örnek

Bu fonksiyonun örneği kullanımı.

```lua
local mat = Material( "sprites/sent_ball" )
local mat2 = Material( "models/wireframe" )
hook.Add("PostDrawTranslucentRenderables", "DrawQuadEasyExample", function()

	-- local player altında döner bir daire çizin
	render.SetMaterial( mat )
	local pos = LocalPlayer():GetPos()
	render.DrawQuadEasy( pos + Vector( 0, 0, 1 ), Vector( 0, 0, 1 ), 64, 64, Color( 255, 255, 255, 200 ), ( CurTime() * 50 ) % 360 )

	-- local player'un baktığı 3 döner tel çerçeve çeyreği çizin
	render.SetMaterial( mat2 )
	local tr = LocalPlayer():GetEyeTrace()
	render.DrawQuadEasy( tr.HitPos + tr.HitNormal, tr.HitNormal, 64, 64, Color( 255, 255, 255 ), ( CurTime() * 50 ) % 360 )

	local dir = tr.HitNormal:Angle()
	dir:RotateAroundAxis( tr.HitNormal, ( CurTime() * 50 ) % 360 )
	dir = dir:Up()

	-- Bunu function twice olarak adlandırmalıyız, her taraf için bir kez.
	render.DrawQuadEasy( tr.HitPos + tr.HitNormal * 32, dir, 64, 64, Color( 255, 255, 255 ), 0 )
	render.DrawQuadEasy( tr.HitPos + tr.HitNormal * 32, -dir, 64, 64, Color( 255, 255, 255 ), 0 )
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/render.DrawQuadEasy
