API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceTextureRegionOptions

@codexo/exojs / rendering / stable

Options passed to the TextureRegion constructor.

5
props
0
methods
0
events
Import
import { TextureRegionOptions } from '@codexo/exojs'

Options passed to the TextureRegion constructor.

Properties5
Number of duplicated/extruded source texels available outside each logical edge for safe linear filtering. A uniform number sets all four sides equally. Provide a TextureRegionInsets for per-side control. Defaults to { left: 0, top: 0, right: 0, bottom: 0 }.
height: number
Height of the region in texture pixels.
width: number
Width of the region in texture pixels.
x: number
Left pixel coordinate of the region within the texture.
y: number
Top pixel coordinate of the region within the texture.
Source