@rbxts/types 1.0.892 → 1.0.893
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 +29 -0
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -2515,6 +2515,35 @@ interface UDim2Constructor {
|
|
|
2515
2515
|
|
|
2516
2516
|
declare const UDim2: UDim2Constructor;
|
|
2517
2517
|
|
|
2518
|
+
// ValueCurveKey
|
|
2519
|
+
interface ValueCurveKey {
|
|
2520
|
+
/**
|
|
2521
|
+
* **DO NOT USE!**
|
|
2522
|
+
*
|
|
2523
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2524
|
+
* @hidden
|
|
2525
|
+
* @deprecated
|
|
2526
|
+
*/
|
|
2527
|
+
readonly _nominal_ValueCurveKey: unique symbol;
|
|
2528
|
+
/** The key interpolation mode for the segment started by this `ValueCurveKey`. */
|
|
2529
|
+
Interpolation: Enum.KeyInterpolationMode;
|
|
2530
|
+
/** The time position of this ValueCurveKey. */
|
|
2531
|
+
Time: number;
|
|
2532
|
+
/** The value of this ValueCurveKey. */
|
|
2533
|
+
Value: unknown;
|
|
2534
|
+
/** The tangent to the right of this ValueCurveKey. */
|
|
2535
|
+
RightTangent: number | undefined;
|
|
2536
|
+
/** The tangent to the left of this ValueCurveKey. */
|
|
2537
|
+
LeftTangent: number | undefined;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
interface ValueCurveKeyConstructor {
|
|
2541
|
+
/** Returns a new `ValueCurveKey` from the given time and value. */
|
|
2542
|
+
new (time: number, value: unknown, interpolation?: Enum.KeyInterpolationMode): ValueCurveKey;
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2545
|
+
declare const ValueCurveKey: ValueCurveKeyConstructor;
|
|
2546
|
+
|
|
2518
2547
|
// Vector2
|
|
2519
2548
|
interface Vector2 {
|
|
2520
2549
|
/**
|