Working with 2D sprites, you can access the width and the height of the texture used calling the methods getwidth and getheight. Is there something similar to this but for 3D meshes? I need to stack blocks one on top of another in runtime and I need the height of the blocks to know where to put them.