IWebGLTexture interface

The IWebGLTexture interface represents a texture in the WebGL renderer.

This interface cannot be directly constructed. It is only available through other APIs.

Methods

GetWidth()
GetHeight()
Return the width or height of the texture. Note this refers to the source texture. Construct's in-editor spritesheeting engine means the texture could be significantly larger than an object's image to be rendered from it.
Addon SDK Manual 2017-11-14

On this page