@rbxts/types 1.0.615 → 1.0.616
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.
|
@@ -24240,7 +24240,7 @@ interface WorldRoot extends Model {
|
|
|
24240
24240
|
*
|
|
24241
24241
|
* This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
|
|
24242
24242
|
*/
|
|
24243
|
-
GetPartBoundsInBox(cframe: CFrame, size: Vector3, overlapParams?: OverlapParams): Array<BasePart>;
|
|
24243
|
+
GetPartBoundsInBox(this: WorldRoot, cframe: CFrame, size: Vector3, overlapParams?: OverlapParams): Array<BasePart>;
|
|
24244
24244
|
/**
|
|
24245
24245
|
* **GetPartBoundsInRadius** returns an array of parts whose _bounding boxes_ overlap a sphere whose volume is described using the given center (Vector3) and radius (number).
|
|
24246
24246
|
*
|
|
@@ -24250,7 +24250,12 @@ interface WorldRoot extends Model {
|
|
|
24250
24250
|
*
|
|
24251
24251
|
* This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
|
|
24252
24252
|
*/
|
|
24253
|
-
GetPartBoundsInRadius(
|
|
24253
|
+
GetPartBoundsInRadius(
|
|
24254
|
+
this: WorldRoot,
|
|
24255
|
+
position: Vector3,
|
|
24256
|
+
radius: number,
|
|
24257
|
+
overlapParams?: OverlapParams,
|
|
24258
|
+
): Array<BasePart>;
|
|
24254
24259
|
/**
|
|
24255
24260
|
* **GetPartsInPart** returns an array of parts whose occupied space is shared with the given part, which must exist in the same WorldRoot ([Workspace](https://developer.roblox.com/en-us/api-reference/class/Workspace)) as the parts to be queried.
|
|
24256
24261
|
*
|
|
@@ -24262,7 +24267,7 @@ interface WorldRoot extends Model {
|
|
|
24262
24267
|
*
|
|
24263
24268
|
* This and other spatial query functions do not consider parts' [CanCollide](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanCollide) or [CanTouch](https://developer.roblox.com/en-us/api-reference/property/BasePart/CanTouch) properties. However, it will consider parts' collision group if specified by the given OverlapParams.
|
|
24264
24269
|
*/
|
|
24265
|
-
GetPartsInPart(part: BasePart, overlapParams?: OverlapParams): Array<BasePart>;
|
|
24270
|
+
GetPartsInPart(this: WorldRoot, part: BasePart, overlapParams?: OverlapParams): Array<BasePart>;
|
|
24266
24271
|
/**
|
|
24267
24272
|
* **IsRegion3Empty** returns a bool indicating whether there are no [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart)s within the given [Region3](https://developer.roblox.com/en-us/api-reference/datatype/Region3).
|
|
24268
24273
|
*
|