Skip to main content

WebGL API

NovoRender.SearchPattern

Search pattern

Properties​

exact​

• Optional exact: boolean

Require exact match or not.


exclude​

• Optional exclude: boolean

Exclude this match from result. property name is mandatory


planes​

• Optional planes: vec4[]

Volume to include in search.

Remarks

We currently only use object axis alinged bounding boxes (AABB) for this search. Each plane defines a half-space, where the positive side of the plane is included in the search. If exact is true, the whole object AABB must be on the positive side. Else it must be at least partially on the positive side. If exclude is true, all objects that would have been excluded will now be included, and vice versa.


property​

• Optional property: string

Property name to find.


range​

• Optional range: Object

Range of values to search. property name is mandatory

Type declaration​

NameType
maxstring
minstring

value​

• Optional value: string | string[]

Value to find. if value is array of strings then search property value should match any ("or" function) of array values