UEVR icon indicating copy to clipboard operation
UEVR copied to clipboard

[FEATURE REQUEST] [UESDK] get access to FVector2D for Widget usage

Open Rebel40 opened this issue 1 year ago • 3 comments

Hello,

I'm working on a proof of concept; let enduser be able to adjust widget position and scale within uevr. Got this working, but i need access to FVector2D.

Atm doing a object->proces_event() passing function SetRenderTranslation, with a simple struct containing only float x,y.

However when testing with a game, initially it works, but after a while the game crashes... I think i need to pass a FVector2d as a parameter.

Can this be added to UESDK?

Rebel40 avatar Jan 26 '24 12:01 Rebel40

FVector2D is a very simple structure you can make yourself and just insert it inside of the structure parameters. It should quite literally be a float[2] if I recall correctly.

praydog avatar Jan 26 '24 17:01 praydog

You can try padding a char[0x100] onto the end of the parameters. This might fix it.

praydog avatar Jan 26 '24 17:01 praydog

Hello PrayDog,

Thank you very much for the explanation. I already made a simple struct, so will try padding.

Best regards

Rebel40 avatar Jan 26 '24 17:01 Rebel40