@rbxts/types 1.0.764 → 1.0.765
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/roblox.d.ts +5 -0
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -1894,6 +1894,11 @@ interface OverlapParams {
|
|
|
1894
1894
|
* This property, if true, finds all parts that inserect the region even if they have CanQuery set to false.
|
|
1895
1895
|
*/
|
|
1896
1896
|
BruteForceAllSlow: boolean;
|
|
1897
|
+
/**
|
|
1898
|
+
* For efficiency and simplicity, this method is the preferred way to add instances to the filter.
|
|
1899
|
+
* It has the additional advantage that it allows FilterDescendantsInstances to be updated from a parallel context.
|
|
1900
|
+
*/
|
|
1901
|
+
AddToFilter(this: OverlapParams, instances: Instance | Array<Instance>): void;
|
|
1897
1902
|
}
|
|
1898
1903
|
type OverlapParamsConstructor = new () => OverlapParams;
|
|
1899
1904
|
declare const OverlapParams: OverlapParamsConstructor;
|