Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ue] Fill mode for Spine widget #2416

Open
badlogic opened this issue Nov 13, 2023 · 1 comment
Open

[ue] Fill mode for Spine widget #2416

badlogic opened this issue Nov 13, 2023 · 1 comment
Assignees

Comments

@badlogic
Copy link
Collaborator

See discussion here: https://esotericsoftware.com/forum/d/25082--fullscreen-on-mobile-ue4/2

@badlogic badlogic self-assigned this Nov 13, 2023
@ElviraZ
Copy link

ElviraZ commented Nov 14, 2023

float setupScaleX = sizeScale.X; float setupScaleY = sizeScale.Y; for (int i = 0; i < Vertices.Num(); i++) { Vertices[i].X = (Vertices[i].X + (-boundsMin.X - boundsSize.X / 2)) * setupScaleX + (widgetSize.X / 2); Vertices[i].Y = (Vertices[i].Y + (boundsMin.Y + boundsSize.Y / 2)) * setupScaleY + (widgetSize.Y / 2); }

image

does not use the widget->scale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants