Open topic with navigation
<texture>.getSize
Returns the dimensions of the texture
Remarks
This command will return the width, height, and depth of the texture. The depth value is only relevant with 3D textures.
Return Value
[width,height,depth]
Example
tex = viz.addTexture('image.jpg')
size = tex.getSize()
print('The texture is',size[0],'x',size[1])