How can I get the width and height of a texture in pixels?

You can cast a Texture variable into a Texture2D variable.

2 Likes