How to get UV Map from TopUI.tex? In other words how to map different portion of texture and apply in pTextureStock->Ob
#1

Hello.

I'd like to take from topUI Mana bar.

From code and various example I can see clearly that:

//rett HP
Rectangle.SetUV(550, 108, 679, 119, fTexWidth, fTexHeight);
//inside recatngle
RectangleFill.SetUV(286, 220, 289, 227, fTexWidth, fTexHeight);

these two vars of type: UIRectUV map HP bar of topUI (second one from the top left).

What I can not understand is, where is the tool to get such informations?

If i want to grab or swap texture with another one, how to map coordinates in here?

Hope that I explained myself.

Best Regards



Messages In This Thread
[No subject] - by Andrein95 - 05-01-2023, 10:18 PM
[No subject] - by nicolasg - 05-01-2023, 10:44 PM
[No subject] - by Veni - 05-02-2023, 05:24 AM
[No subject] - by Andrein95 - 05-02-2023, 08:21 AM
[No subject] - by Andrein95 - 05-02-2023, 08:39 AM
[No subject] - by Andrein95 - 05-02-2023, 09:56 AM
[No subject] - by dethunter12 - 05-02-2023, 07:28 PM
[No subject] - by nicolasg - 05-02-2023, 08:10 PM
[No subject] - by Andrein95 - 05-02-2023, 08:24 PM
[No subject] - by dethunter12 - 05-02-2023, 08:28 PM
[No subject] - by Andrein95 - 05-02-2023, 08:46 PM
[No subject] - by nicolasg - 05-02-2023, 09:20 PM
[No subject] - by Veni - 05-03-2023, 04:11 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)