API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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: numberHeight of the region in texture pixels.
width: numberWidth of the region in texture pixels.
x: numberLeft pixel coordinate of the region within the texture.
y: numberTop pixel coordinate of the region within the texture.
Source