Download

Rendering image using FMatrix

Hello,

Having general FMatrix, which transforms [0-0] - [1-1] rectangle into screen space coordinates, is there an API to DrawTexture (on screen, HUD or alike) but without disassembling the matrix onto scale, rotation components?

Or if decomposition is unavoidable, what would be the most effective approach to do so?

Thank you.

I actually found, using AHUD :: DrawItem and (if I remember correctly) feeding UTriangleItem into it.
It’s cheaper and I believe better way to render if your matrix has more than just scale/rotation.