Options
All
  • Public
  • Public/Protected
  • All
Menu

Modifier component. Add alongside a Sprite2D to add a border. The border is used for sliced tiling modes

Hierarchy

Index

Constructors

constructor

Properties

bottomLeft

bottomLeft: Vector2

Bottom left slice inset point, normalized [0..1] to sprite (not image) Defaults to (0,0) for no border.

topRight

topRight: Vector2

Top right slice inset point, normalized [0..1] to sprite (not image) Defaults to (1,1) for no border.

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static bottomLeft

Static cid

cid: number

Static topRight

Methods

Static _dtorFn

  • Parameters

    Returns void

Static _fromPtr

Static _tempHeapPtr

  • Parameters

    Returns number

Static _toPtr

  • Parameters

    Returns void

Generated using TypeDoc