Open Asterune
OverlapParams

OverlapParams

Configures filtering and result limits for spatial overlap queries.

Behavior

OverlapParams configures filtering and result limits for spatial overlap queries.

Summary

Constructors1
Functions1
  • OverlapParams.new(): OverlapParams

    Creates a mutable set of spatial-query options.

Members7
Properties6
Methods1

Constructors

new

OverlapParams.new(): OverlapParams

Creates a mutable set of spatial-query options.

Properties

BruteForceAllSlow

OverlapParams.BruteForceAllSlow: boolean

Whether to use the slower exhaustive query path instead of the normal spatial acceleration structure.

CollisionGroup

OverlapParams.CollisionGroup: string

The collision group used to filter query candidates.

FilterDescendantsInstances

OverlapParams.FilterDescendantsInstances: table

The Instances whose descendants are included or excluded by FilterType.

FilterType

OverlapParams.FilterType: EnumItem

Whether the descendant filter includes or excludes the specified hierarchies.

MaxParts

OverlapParams.MaxParts: number

The maximum number of overlap results. Zero permits an unlimited result count.

RespectCanCollide

OverlapParams.RespectCanCollide: boolean

Whether the query uses collision eligibility rather than query eligibility.

Methods

AddToFilter

OverlapParams:AddToFilter(instances: Instance | { Instance }): ()

Appends an Instance or array of Instances to the descendant filter.

Operators

__tostring · __type