ITexture script interface

The ITexture interface represents a texture for use with the renderer.

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

ITexture APIs

width
height
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.
Construct Animate Manual 2024-05-15

On this page