Options
All
  • Public
  • Public/Protected
  • All
Menu

Add this component to an entity with a Text2DRenderer component to specify the font style.

Hierarchy

Index

Constructors

constructor

  • Parameters

    • Optional color: Color
    • Optional size: number

    Returns Text2DStyle

Properties

color

color: Color

The text Color

size

size: number

The Font size in World Units;

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static cid

cid: number

Static color

Static size

Methods

Static _dtorFn

  • Parameters

    Returns void

Static _fromPtr

Static _tempHeapPtr

  • Parameters

    Returns number

Static _toPtr

  • Parameters

    Returns void

Generated using TypeDoc