Skip to content

Commit

Permalink
RaycastParams & OverlapParams docs updated (#1196)
Browse files Browse the repository at this point in the history
Since `Whitelist` and `Blacklist` are deprecated, the document has been
updated to write `Exclude` and `Include`
  • Loading branch information
leonbee0 authored Mar 11, 2024
1 parent dbf4e2a commit b43091d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/roblox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1872,8 +1872,8 @@ interface OverlapParams {
*/
FilterDescendantsInstances: Array<Instance>;
/**
* `RaycastFilterType.Whitelist` or `RaycastFilterType.Blacklist`. Determines how the `FilterDescendantInstances` is
* used. `Blacklist` will skip the `FilterDescendantInstances`, and `Whitelist` will exclusively include them.
* `RaycastFilterType.Include` or `RaycastFilterType.Exclude`. Determines how the `FilterDescendantInstances` is
* used. `Exclude` will skip the `FilterDescendantInstances`, and `Include` will exclusively include them.
*/
FilterType: Enum.RaycastFilterType;
/**
Expand Down Expand Up @@ -2055,9 +2055,9 @@ interface RaycastParams {
* Determines how the `FilterDescendantsInstances` list will be used, depending on the
* [RaycastFilterType](https://developer.roblox.com/api-reference/enum/RaycastFilterType) provided.
*
* - `Enum.RaycastFilterType.Whitelist` — Only [BaseParts](https://developer.roblox.com/api-reference/class/BasePart)
* - `Enum.RaycastFilterType.Include` — Only [BaseParts](https://developer.roblox.com/api-reference/class/BasePart)
* which are descendants of objects in the filter list will be considered in the raycast operation.
* - `Enum.RaycastFilterType.Blacklist` — Every [BasePart](https://developer.roblox.com/api-reference/class/BasePart)
* - `Enum.RaycastFilterType.Exclude` — Every [BasePart](https://developer.roblox.com/api-reference/class/BasePart)
* in the game will be considered except those that are descendants of objects in the filter list.
*/
FilterType: Enum.RaycastFilterType;
Expand Down

0 comments on commit b43091d

Please sign in to comment.