Options
All
  • Public
  • Public/Protected
  • All
Menu

Add this component to an entity with a Camera2D component to change the default sorting axis.

Hierarchy

Index

Constructors

constructor

Properties

axis

axis: Vector3

A sorting axis selector that uses the dot product of the camera-space position and this vector as a sorting value. The default z axis sorting uses (0,0,1). For negative y sorting, required for some 2D setups, use (0,-1,0). Isometric perspectives may require unusual combinations such as (1,1,0).

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static axis

Static cid

cid: number

Methods

Static _dtorFn

Static _fromPtr

Static _tempHeapPtr

Static _toPtr

  • Parameters

    Returns void

Generated using TypeDoc