Texture:getDimensions
EditReturns the width, height, and depth of the Texture.
width, height, layers = Texture:getDimensions()
Arguments
None
Returns
Name | Type | Description |
width | number | The width of the Texture. |
height | number | The height of the Texture. |
layers | number | The number of layers in the Texture. |