@rbxts/types 1.0.563 → 1.0.567
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.
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
interface Services {
|
|
8
8
|
AnalyticsService: AnalyticsService;
|
|
9
9
|
AnimationClipProvider: AnimationClipProvider;
|
|
10
|
+
AnimationFromVideoCreatorService: AnimationFromVideoCreatorService;
|
|
11
|
+
AnimationFromVideoCreatorStudioService: AnimationFromVideoCreatorStudioService;
|
|
10
12
|
AppUpdateService: AppUpdateService;
|
|
11
13
|
AssetCounterService: AssetCounterService;
|
|
12
14
|
AssetDeliveryProxy: AssetDeliveryProxy;
|
|
@@ -1639,6 +1641,28 @@ interface AnimationController extends Instance {
|
|
|
1639
1641
|
readonly AnimationPlayed: RBXScriptSignal<(animationTrack: AnimationTrack) => void>;
|
|
1640
1642
|
}
|
|
1641
1643
|
|
|
1644
|
+
interface AnimationFromVideoCreatorService extends Instance {
|
|
1645
|
+
/**
|
|
1646
|
+
* **DO NOT USE!**
|
|
1647
|
+
*
|
|
1648
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1649
|
+
* @hidden
|
|
1650
|
+
* @deprecated
|
|
1651
|
+
*/
|
|
1652
|
+
readonly _nominal_AnimationFromVideoCreatorService: unique symbol;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
interface AnimationFromVideoCreatorStudioService extends Instance {
|
|
1656
|
+
/**
|
|
1657
|
+
* **DO NOT USE!**
|
|
1658
|
+
*
|
|
1659
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
1660
|
+
* @hidden
|
|
1661
|
+
* @deprecated
|
|
1662
|
+
*/
|
|
1663
|
+
readonly _nominal_AnimationFromVideoCreatorStudioService: unique symbol;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1642
1666
|
interface AnimationRigData extends Instance {
|
|
1643
1667
|
/**
|
|
1644
1668
|
* **DO NOT USE!**
|
|
@@ -9196,6 +9220,7 @@ interface Explosion extends Instance {
|
|
|
9196
9220
|
* For this reason a new Explosion should be created if the developer wants an explosion to appear at a different position.
|
|
9197
9221
|
*/
|
|
9198
9222
|
Position: Vector3;
|
|
9223
|
+
TimeScale: number;
|
|
9199
9224
|
/**
|
|
9200
9225
|
* This property determines whether or not the visual effect of an [Explosion](https://developer.roblox.com/en-us/api-reference/class/Explosion) is shown or not.
|
|
9201
9226
|
*
|
|
@@ -9578,6 +9603,7 @@ interface Fire extends Instance {
|
|
|
9578
9603
|
* Tags: NotReplicated
|
|
9579
9604
|
*/
|
|
9580
9605
|
Size: number;
|
|
9606
|
+
TimeScale: number;
|
|
9581
9607
|
}
|
|
9582
9608
|
|
|
9583
9609
|
/** An instance representing a 1D float curve encoded via a sorted list of [FloatCurveKeys](https://developer.roblox.com/en-us/api-reference/datatype/FloatCurveKey).
|
|
@@ -13385,6 +13411,7 @@ interface Highlight extends Instance {
|
|
|
13385
13411
|
* @deprecated
|
|
13386
13412
|
*/
|
|
13387
13413
|
readonly _nominal_Highlight: unique symbol;
|
|
13414
|
+
Adornee: Instance | undefined;
|
|
13388
13415
|
DepthMode: Enum.HighlightDepthMode;
|
|
13389
13416
|
Enabled: boolean;
|
|
13390
13417
|
FillColor: Color3;
|
|
@@ -13459,7 +13486,7 @@ interface HttpService extends Instance {
|
|
|
13459
13486
|
*
|
|
13460
13487
|
* This method can be used regardless of whether HTTP Requests are [enabled](https://developer.roblox.com/en-us/api-reference/property/HttpService/HttpEnabled).
|
|
13461
13488
|
*/
|
|
13462
|
-
JSONDecode
|
|
13489
|
+
JSONDecode(this: HttpService, input: string): unknown;
|
|
13463
13490
|
/**
|
|
13464
13491
|
* The JSONEncode function transforms a Lua [table](http://robloxdev.com/articles/Table) into a [JSON object or array](http://robloxdev.com/articles/JSON-Storage-Format) based on the following guidelines:
|
|
13465
13492
|
*
|
|
@@ -27879,6 +27906,7 @@ interface Smoke extends Instance {
|
|
|
27879
27906
|
* Tags: NotReplicated
|
|
27880
27907
|
*/
|
|
27881
27908
|
Size: number;
|
|
27909
|
+
TimeScale: number;
|
|
27882
27910
|
}
|
|
27883
27911
|
|
|
27884
27912
|
/** SocialService facilitates social functions that impact relationships made on the Roblox platform.
|
|
@@ -29030,6 +29058,7 @@ interface Sparkles extends Instance {
|
|
|
29030
29058
|
* It should be noted that sparkles have a partial [ParticleEmitter.LightEmission](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/LightEmission) effect, so dark colors tend to render more transparent and white colors look very bright.
|
|
29031
29059
|
*/
|
|
29032
29060
|
SparkleColor: Color3;
|
|
29061
|
+
TimeScale: number;
|
|
29033
29062
|
}
|
|
29034
29063
|
|
|
29035
29064
|
interface Speaker extends Instance {
|
|
@@ -5866,17 +5866,17 @@ declare namespace Enum {
|
|
|
5866
5866
|
|
|
5867
5867
|
export const AlwaysOnTop: AlwaysOnTop;
|
|
5868
5868
|
|
|
5869
|
-
export interface
|
|
5870
|
-
Name: "
|
|
5869
|
+
export interface Occluded {
|
|
5870
|
+
Name: "Occluded";
|
|
5871
5871
|
Value: 1;
|
|
5872
5872
|
EnumType: EnumType<HighlightDepthMode>;
|
|
5873
5873
|
}
|
|
5874
5874
|
|
|
5875
|
-
export const
|
|
5875
|
+
export const Occluded: Occluded;
|
|
5876
5876
|
|
|
5877
5877
|
export function GetEnumItems(this: defined): Array<HighlightDepthMode>
|
|
5878
5878
|
}
|
|
5879
|
-
export type HighlightDepthMode = HighlightDepthMode.AlwaysOnTop | HighlightDepthMode.
|
|
5879
|
+
export type HighlightDepthMode = HighlightDepthMode.AlwaysOnTop | HighlightDepthMode.Occluded;
|
|
5880
5880
|
export namespace HorizontalAlignment {
|
|
5881
5881
|
export interface Center {
|
|
5882
5882
|
Name: "Center";
|
package/include/roblox.d.ts
CHANGED
|
@@ -1182,6 +1182,17 @@ interface Color3 {
|
|
|
1182
1182
|
Lerp(this: Color3, goal: Color3, alpha: number): Color3;
|
|
1183
1183
|
/** Returns the [hue, saturation, and value](https://en.wikipedia.org/wiki/HSL_and_HSV) of a Color3. This function is the inverse operation of the `Color3.fromHSV` constructor. */
|
|
1184
1184
|
ToHSV(): LuaTuple<[number, number, number]>;
|
|
1185
|
+
/**
|
|
1186
|
+
* Converts the color to a six-character hexadecimal string representing the color in the format RRGGBB. It is not
|
|
1187
|
+
* prefixed with an octothorpe (#), although this can be concatenated easily.
|
|
1188
|
+
*
|
|
1189
|
+
* The returned string can be provided to `Color3.fromHex` to produce the original color.
|
|
1190
|
+
* ```lua
|
|
1191
|
+
* print(Color3.new(0, 1, 0):ToHex()) --> "00FF00"
|
|
1192
|
+
* print(BrickColor.new("Really red").Color:ToHex()) --> "FF0000"
|
|
1193
|
+
* ```
|
|
1194
|
+
*/
|
|
1195
|
+
ToHex(): string;
|
|
1185
1196
|
}
|
|
1186
1197
|
|
|
1187
1198
|
interface Color3Constructor {
|
|
@@ -1191,6 +1202,19 @@ interface Color3Constructor {
|
|
|
1191
1202
|
fromHSV: (hue: number, sat: number, val: number) => Color3;
|
|
1192
1203
|
/** Returns the hue, saturation, and value of a Color3. */
|
|
1193
1204
|
toHSV: (color: Color3) => LuaTuple<[number, number, number]>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Returns a new Color3 from a six- or three-character [hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal)
|
|
1207
|
+
* format. A preceding octothorpe (#) is ignored, if present. This function interprets the given string as a typical
|
|
1208
|
+
* web hex color in the format RRGGBB or RGB (shorthand for RRGGBB). For example, #FFAA00 produces an orange color,
|
|
1209
|
+
* and is the same as #FA0.
|
|
1210
|
+
*
|
|
1211
|
+
* The color returned can be converted back into hex using `Color3:toHex`, although it is not guaranteed to return
|
|
1212
|
+
* the exact same string as passed to this function.
|
|
1213
|
+
* ```lua
|
|
1214
|
+
* print(Color3.fromHex("#FF0000")) --> 1, 0, 0
|
|
1215
|
+
* ```
|
|
1216
|
+
*/
|
|
1217
|
+
fromHex: (hex: string) => Color3;
|
|
1194
1218
|
/** Returns a Color3 with the given red, green, and blue values. The numbers can range from 0 to 1, defaulting to 0 */
|
|
1195
1219
|
new (red?: number, green?: number, blue?: number): Color3;
|
|
1196
1220
|
}
|