Class Texture

A texture that can be rendered.

Hierarchy

  • Texture

Constructors

Properties

partition?: Rect2

The portion of the ImageBitmap for the Texture to use. Usually used for getting a single texture from a spritesheet.

src: ImageBitmap

The ImageBitmap for the Texture to use.

Methods

Generated using TypeDoc