Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


QueryBlock

A query block is the visual element of a query node in a query.
Read time 8 minutesLast updated 5 days ago

Definition

public abstract class QueryBlock : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle

Remarks

In example,
shader=lit
will be a query filter block with QueryBlock.name equal to
shader
, QueryBlock.value equal to
lit
and the QueryBlock.op equal to
=
.

Properties

Property

Description

contextSearch context that composed this query block.
nameName of the block.
opFilter operator (i.e. :, =, <, >, etc.) of the block if any.
sourceQuery builder source that compose this block.
valueValue of the block.

Methods

Method

Description

ToStringReturns the text filter of the block.

Inheritance

Inherited Members