Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration AccessMode

Describes how a component type is accessed during {@link World.ForEach} iteration.

Index

Enumeration members

AnyOfReadOnly

AnyOfReadOnly: = 4

At least one of the components flagged AnyOfReadWrite or AnyOfReadOnly must be present. If present, the component type will be read only.

AnyOfReadWrite

AnyOfReadWrite: = 3

At least one of the components flagged AnyOfReadWrite or AnyOfReadOnly must be present. If present, the component type is read and/or written.

OptionalReadOnly

OptionalReadOnly: = 6

The component is not required, but if present it is read only. If not present, it is null.

OptionalReadWrite

OptionalReadWrite: = 5

The component is not required, but if present it is read and/or written. If not present, it is null.

ReadOnly

ReadOnly: = 1

The component type is read only.

ReadWrite

ReadWrite: = 0

The component type is read and/or written.

Subtractive

Subtractive: = 2

The component type must not be present on the entity.

Generated using TypeDoc