Options
All
  • Public
  • Public/Protected
  • All
Menu

A SpriteMesh which visualizes a Token object in the PrimaryCanvasGroup.

Hierarchy

  • any
    • TokenMesh

Index

Constructors

  • Returns TokenMesh

Methods

  • refresh(): void
  • inheritdoc

    Returns void

  • setPosition(x: any, y: any): void
  • inheritdoc

    Parameters

    • x: any
    • y: any

    Returns void

  • updateBounds(): void
  • inheritdoc

    Returns void

  • _getTextureCoordinate(testX: any, testY: any): { x: any; y: any }
  • override

    Parameters

    • testX: any
    • testY: any

    Returns { x: any; y: any }

    • x: any
    • y: any
  • Get the attributes for this TokenMesh which configure the display of this TokenMesh and are compatible with CanvasAnimation.

    Returns TokenMeshDisplayAttributes

Properties

alpha: number
tint: typeof utils.Color
angle: any
zIndex: any
#tokenGridDimensions: Rectangle

The dimensions of this token mesh grid bounds.

PRIMARY_SORT_ORDER: number = 750

Sorting values to deal with ties.

Accessors

  • get defaultData(): any
  • property

    {boolean} lockRotation Is this TokenMesh rotation locked?

    Returns any