@rbxts/types 1.0.769 → 1.0.770
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 +17 -0
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -1944,8 +1944,25 @@ interface Path2DControlPoint {
|
|
|
1944
1944
|
* @deprecated
|
|
1945
1945
|
*/
|
|
1946
1946
|
readonly _nominal_Path2DControlPoint: unique symbol;
|
|
1947
|
+
/** The position of the `Path2DControlPoint`. */
|
|
1948
|
+
Position: UDim2;
|
|
1949
|
+
/** The left tangent of the `Path2DControlPoint`. */
|
|
1950
|
+
LeftTangent: UDim2;
|
|
1951
|
+
/** The right tangent of the `Path2DControlPoint`. */
|
|
1952
|
+
RightTangent: UDim2;
|
|
1947
1953
|
}
|
|
1948
1954
|
|
|
1955
|
+
interface Path2DControlPointConstructor {
|
|
1956
|
+
/** Returns an empty `Path2DControlPoint`. */
|
|
1957
|
+
new (): Path2DControlPoint;
|
|
1958
|
+
/** Returns a `Path2DControlPoint` with only the position set. */
|
|
1959
|
+
new (position: UDim2): Path2DControlPoint;
|
|
1960
|
+
/** Returns a `Path2DControlPoint` with the position, left tangent, and right tangent set. */
|
|
1961
|
+
new (position: UDim2, leftTangent: UDim2, rightTangent: UDim2): Path2DControlPoint;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
declare const Path2DControlPoint: Path2DControlPointConstructor;
|
|
1965
|
+
|
|
1949
1966
|
// PhysicalProperties
|
|
1950
1967
|
interface PhysicalProperties {
|
|
1951
1968
|
/**
|