Options
All
  • Public
  • Public/Protected
  • All
Menu

A component for tilemap rendering. Specifies an Tilemap to draw, as well as and rendering modifiers, such as a color tint.

Hierarchy

Index

Constructors

constructor

Properties

blending

blending: BlendOp

Blending mode for rendering the sprite. The default and regular mode is Alpha.

color

color: Color

A color tint to apply to the sprite image. For normal rendering, this should be opaque white (1, 1, 1, 1).

tilemap

tilemap: Entity

Specifies the entity with the {@link UTiny.Tilemap Tilemap} component that describes the shape to render. If null, looks for the Tilemap on the same entity as the {@link Tilemap2DRenderer}.

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static cid

cid: number

Static color

Static tilemap

tilemap: EntityComponentFieldDesc

Methods

Static _dtorFn

  • Parameters

    Returns void

Static _fromPtr

Static _tempHeapPtr

  • Parameters

    Returns number

Static _toPtr

  • Parameters

    Returns void

Generated using TypeDoc