Options
All
  • Public
  • Public/Protected
  • All
Menu

Structure for describing an entity mask.

Hierarchy

  • EntityMask

Index

Constructors

Properties

Methods

Constructors

constructor

  • new EntityMask(all?: number[], any?: number[], sub?: number[]): EntityMask
  • Parameters

    • Optional all: number[]
    • Optional any: number[]
    • Optional sub: number[]

    Returns EntityMask

Properties

all

all: number[]

List of component ids where all of the components must be set

any

any: number[]

List of component ids where at least one of the components must be set

sub

sub: number[]

List of component ids that must not be set

Static _size

_size: number

Methods

Static _fromPtr

Static _tempHeapPtr

  • Parameters

    Returns number

Static _toPtr

  • Parameters

    Returns void

Generated using TypeDoc