@rbxts/types 1.0.927 → 1.0.928
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/generated/None.d.ts +13 -2
- package/package.json +1 -1
|
@@ -22856,7 +22856,10 @@ interface HapticEffect extends Instance {
|
|
|
22856
22856
|
*/
|
|
22857
22857
|
Play(this: HapticEffect): void;
|
|
22858
22858
|
/**
|
|
22859
|
-
* Defines a custom waveform as a table and applies it to the haptic.
|
|
22859
|
+
* Defines a custom waveform as a table and applies it to the haptic.
|
|
22860
|
+
* ```
|
|
22861
|
+
* This method takes in an array of `FloatCurveKey` objects.
|
|
22862
|
+
* ```
|
|
22860
22863
|
*
|
|
22861
22864
|
* - **ThreadSafety**: Unsafe
|
|
22862
22865
|
*
|
|
@@ -31004,7 +31007,15 @@ interface BasePart extends PVInstance {
|
|
|
31004
31007
|
*/
|
|
31005
31008
|
SubtractAsync(this: BasePart, parts: Array<BasePart>, collisionfidelity?: CastsToEnum<Enum.CollisionFidelity>): UnionOperation | undefined;
|
|
31006
31009
|
/**
|
|
31007
|
-
* Note: It is highly recommended to use the newer
|
|
31010
|
+
* Note: It is highly recommended to use the newer `GeometryService:UnionAsync` instead of this function. As well as having better performance and more features, the new function differs as follows: - The output is an array of instances rather than a single instance.
|
|
31011
|
+
* - The input parts do not need to be parented to the scene, allowing for background operations.
|
|
31012
|
+
* - When the `SplitApart` option is set to `true` (default), each distinct body will be returned in its own `PartOperation`.
|
|
31013
|
+
* - All the returned parts are in the coordinate space of the main part, so their `PVInstance.Origin` positions are the same as the main part's. This keeps the vertices of the mesh in the same position relative to the object as before the operation, but it does also mean the `(0, 0, 0)` of a returned part is not necessarily at the center of its body.
|
|
31014
|
+
* ```
|
|
31015
|
+
* Creates a new `UnionOperation` from the part, plus the geometry
|
|
31016
|
+
* ```
|
|
31017
|
+
*
|
|
31018
|
+
* occupied by the parts in the given array.
|
|
31008
31019
|
*
|
|
31009
31020
|
* - **ThreadSafety**: Unsafe
|
|
31010
31021
|
* - **Tags**: Yields
|