For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/PrimitiveShapeQueryOptions.md.

Interface: PrimitiveShapeQueryOptions experimental

Beta

Contains optional filters that control which primitive shapes are returned from a primitive shapes query.

Properties

attachedTo?

optional attachedTo?: Entity

Beta

Remarks

If specified, only returns shapes attached to this entity.


location?

optional location?: Vector3

Beta

Remarks

Adds a seed location to the query that is used in conjunction with distance properties.


maxDistance?

optional maxDistance?: number

Beta

Remarks

If specified, only includes shapes that are less than this distance away from the location specified in the location property.


minDistance?

optional minDistance?: number

Beta

Remarks

If specified, only includes shapes that are at least this distance away from the location specified in the location property.