Width and height of a texture #4747
Replies: 1 comment
-
You can access directly those variables, Texture2D texPlayer = LoadTexture("resources/player.png");
playerWidth = texPlayer.width; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What function should I use to know width and height of a texture?
Thx
Beta Was this translation helpful? Give feedback.
All reactions