API reference
API reference
Select your platform
No SDKs available
No versions available

QueryNodeType

QueryNodeType

enum QueryNodeType : Enum<QueryNodeType>
An enumeration representing the node type of a query.

Entries

NameSummary
CHILDREN_OF

A query node that represents a query that returns all child entities of an entity
CHANGED

A query node that represents a query that checks if a component has changed in the last tick.
CHANGED_SINCE

A query node that represents a query that checks if a component has changed since a datamodel version number.
AND

A query node that represents a logical AND operation.
HAS

A query node that represents a query that checks if an entity has a specific component.
OR

A query node that represents a logical OR operation.

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): QueryNodeType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<QueryNodeType>

Returns an array containing the constants of this enum type, in the order they’re declared.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon