API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTextureRegionInsets
@codexo/exojs / rendering / stable
Per-edge extrusion/padding metadata for a TextureRegion. Describes the number of duplicated/extruded source texels available outside each logical edge so that linear filtering can sample safely without bleeding from neighbouring atlas regions.
4
props
0
methods
0
events
Import
import { TextureRegionInsets } from '@codexo/exojs'Per-edge extrusion/padding metadata for a TextureRegion.
Describes the number of duplicated/extruded source texels available outside each logical edge so that linear filtering can sample safely without bleeding from neighbouring atlas regions.
Properties4
bottom: numberExtrusion texels on the bottom edge (outside y + height).
left: numberExtrusion texels on the left edge (outside x).
right: numberExtrusion texels on the right edge (outside x + width).
top: numberExtrusion texels on the top edge (outside y).
Source