@rbxts/types 1.0.759 → 1.0.761
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.
|
@@ -171,6 +171,7 @@ interface Services {
|
|
|
171
171
|
VideoCaptureService: VideoCaptureService;
|
|
172
172
|
VideoService: VideoService;
|
|
173
173
|
VisibilityCheckDispatcher: VisibilityCheckDispatcher;
|
|
174
|
+
VisualizationModeService: VisualizationModeService;
|
|
174
175
|
VoiceChatInternal: VoiceChatInternal;
|
|
175
176
|
VoiceChatService: VoiceChatService;
|
|
176
177
|
VRService: VRService;
|
|
@@ -429,19 +430,17 @@ interface CreatableInstances {
|
|
|
429
430
|
UnionOperation: UnionOperation;
|
|
430
431
|
UniversalConstraint: UniversalConstraint;
|
|
431
432
|
UnreliableRemoteEvent: UnreliableRemoteEvent;
|
|
432
|
-
UserNotification: UserNotification;
|
|
433
|
-
UserNotificationPayload: UserNotificationPayload;
|
|
434
|
-
UserNotificationPayloadAnalyticsData: UserNotificationPayloadAnalyticsData;
|
|
435
|
-
UserNotificationPayloadJoinExperience: UserNotificationPayloadJoinExperience;
|
|
436
|
-
UserNotificationPayloadParameterValue: UserNotificationPayloadParameterValue;
|
|
437
433
|
Vector3Curve: Vector3Curve;
|
|
438
434
|
Vector3Value: Vector3Value;
|
|
439
435
|
VectorForce: VectorForce;
|
|
440
436
|
VehicleController: VehicleController;
|
|
441
437
|
VehicleSeat: VehicleSeat;
|
|
442
438
|
VelocityMotor: VelocityMotor;
|
|
439
|
+
VideoDeviceInput: VideoDeviceInput;
|
|
443
440
|
VideoFrame: VideoFrame;
|
|
444
441
|
ViewportFrame: ViewportFrame;
|
|
442
|
+
VisualizationMode: VisualizationMode;
|
|
443
|
+
VisualizationModeCategory: VisualizationModeCategory;
|
|
445
444
|
WedgePart: WedgePart;
|
|
446
445
|
Weld: Weld;
|
|
447
446
|
WeldConstraint: WeldConstraint;
|
|
@@ -1015,7 +1014,7 @@ interface Instance {
|
|
|
1015
1014
|
this: T,
|
|
1016
1015
|
propertyName: InstancePropertyNames<T>,
|
|
1017
1016
|
): RBXScriptSignal<() => void>;
|
|
1018
|
-
GetTags(this: Instance):
|
|
1017
|
+
GetTags(this: Instance): Array<string>;
|
|
1019
1018
|
HasTag(this: Instance, tag: string): boolean;
|
|
1020
1019
|
/**
|
|
1021
1020
|
* IsA returns true if the [Instance](https://developer.roblox.com/en-us/api-reference/class/Instance)'s class is **equivalent to** or a **subclass** of a given class. This function is similar to the **instanceof** operators in other languages, and is a form of [type introspection](https://en.wikipedia.org/wiki/Type_introspection). To ignore class inheritance, test the [ClassName](https://developer.roblox.com/en-us/api-reference/property/Instance/ClassName) property directly instead. For checking native Lua data types (number, string, etc) use the functions `type` and `typeof`.
|
|
@@ -2970,6 +2969,8 @@ interface AudioPlayer extends Instance {
|
|
|
2970
2969
|
TimePosition: number;
|
|
2971
2970
|
Play(this: AudioPlayer): void;
|
|
2972
2971
|
Stop(this: AudioPlayer): void;
|
|
2972
|
+
readonly Ended: RBXScriptSignal<() => void>;
|
|
2973
|
+
readonly Looped: RBXScriptSignal<() => void>;
|
|
2973
2974
|
}
|
|
2974
2975
|
|
|
2975
2976
|
interface AudioReverb extends Instance {
|
|
@@ -6675,12 +6676,22 @@ interface CaptureService extends Instance {
|
|
|
6675
6676
|
* @deprecated
|
|
6676
6677
|
*/
|
|
6677
6678
|
readonly _nominal_CaptureService: unique symbol;
|
|
6678
|
-
CaptureScreenshot(this: CaptureService, onCaptureReady:
|
|
6679
|
-
PromptSaveCapturesToGallery
|
|
6680
|
-
|
|
6679
|
+
CaptureScreenshot(this: CaptureService, onCaptureReady: (captureContentId: string) => void): void;
|
|
6680
|
+
PromptSaveCapturesToGallery<T extends string>(
|
|
6681
|
+
this: CaptureService,
|
|
6682
|
+
contentIds: Array<T>,
|
|
6683
|
+
resultCallback: (results: Record<T, boolean>) => void,
|
|
6684
|
+
): void;
|
|
6685
|
+
PromptShareCapture(
|
|
6686
|
+
this: CaptureService,
|
|
6687
|
+
contentId: string,
|
|
6688
|
+
launchData: string,
|
|
6689
|
+
onAcceptedCallback: () => void,
|
|
6690
|
+
onDeniedCallback: () => void,
|
|
6691
|
+
): void;
|
|
6681
6692
|
readonly CaptureBegan: RBXScriptSignal<() => void>;
|
|
6682
6693
|
readonly CaptureEnded: RBXScriptSignal<() => void>;
|
|
6683
|
-
readonly CaptureSaved: RBXScriptSignal<(captureInfo:
|
|
6694
|
+
readonly CaptureSaved: RBXScriptSignal<(captureInfo: Record<string, unknown>) => void>;
|
|
6684
6695
|
readonly UserCaptureSaved: RBXScriptSignal<(captureContentId: string) => void>;
|
|
6685
6696
|
}
|
|
6686
6697
|
|
|
@@ -7252,8 +7263,20 @@ interface DragDetector extends ClickDetector {
|
|
|
7252
7263
|
SetDragStyleFunction(this: DragDetector, callback: Callback): void;
|
|
7253
7264
|
SetPermissionPolicyFunction(this: DragDetector, callback: Callback): void;
|
|
7254
7265
|
readonly DragContinue: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
7266
|
+
/**
|
|
7267
|
+
* Tags: Hidden
|
|
7268
|
+
*/
|
|
7269
|
+
readonly DragContinueReplicate: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
7255
7270
|
readonly DragEnd: RBXScriptSignal<(playerWhoDragged: Player) => void>;
|
|
7271
|
+
/**
|
|
7272
|
+
* Tags: Hidden
|
|
7273
|
+
*/
|
|
7274
|
+
readonly DragEndReplicate: RBXScriptSignal<(playerWhoDragged: Player) => void>;
|
|
7256
7275
|
readonly DragStart: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, hitFrame: CFrame, clickedPart: BasePart, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
7276
|
+
/**
|
|
7277
|
+
* Tags: Hidden
|
|
7278
|
+
*/
|
|
7279
|
+
readonly DragStartReplicate: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, hitFrame: CFrame, clickedPart: BasePart, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
|
|
7257
7280
|
}
|
|
7258
7281
|
|
|
7259
7282
|
/** The **Clouds** object renders realistic clouds that drift slowly across the sky. Both cloud cover and density can be adjusted, as well as cloud color to achieve atmospheres like stormy skies, moody sunsets, alien worlds, etc.
|
|
@@ -7308,8 +7331,13 @@ interface Collaborator extends Instance {
|
|
|
7308
7331
|
CFrame: CFrame;
|
|
7309
7332
|
/**
|
|
7310
7333
|
* Tags: Hidden
|
|
7334
|
+
* @deprecated Use `CollaboratorColor3` instead
|
|
7311
7335
|
*/
|
|
7312
7336
|
CollaboratorColor: number;
|
|
7337
|
+
/**
|
|
7338
|
+
* Tags: Hidden
|
|
7339
|
+
*/
|
|
7340
|
+
CollaboratorColor3: Color3;
|
|
7313
7341
|
/**
|
|
7314
7342
|
* Tags: Hidden
|
|
7315
7343
|
*/
|
|
@@ -9677,20 +9705,20 @@ interface EditableMesh extends DataModelMesh {
|
|
|
9677
9705
|
readonly _nominal_EditableMesh: unique symbol;
|
|
9678
9706
|
AddTriangle(this: EditableMesh, vertexId0: number, vertexId1: number, vertexId2: number): number;
|
|
9679
9707
|
AddVertex(this: EditableMesh, p: Vector3): number;
|
|
9680
|
-
FindClosestPointOnSurface(this: EditableMesh, point: Vector3):
|
|
9708
|
+
FindClosestPointOnSurface(this: EditableMesh, point: Vector3): LuaTuple<[number, Vector3, Vector3]>;
|
|
9681
9709
|
FindClosestVertex(this: EditableMesh, toThisPoint: Vector3): number;
|
|
9682
|
-
FindVerticesWithinSphere(this: EditableMesh, center: Vector3, radius: number):
|
|
9683
|
-
GetAdjacentTriangles(this: EditableMesh, triangleId: number):
|
|
9684
|
-
GetAdjacentVertices(this: EditableMesh, vertexId: number):
|
|
9710
|
+
FindVerticesWithinSphere(this: EditableMesh, center: Vector3, radius: number): Array<number>;
|
|
9711
|
+
GetAdjacentTriangles(this: EditableMesh, triangleId: number): Array<number>;
|
|
9712
|
+
GetAdjacentVertices(this: EditableMesh, vertexId: number): Array<number>;
|
|
9685
9713
|
GetPosition(this: EditableMesh, vertexId: number): Vector3;
|
|
9686
|
-
GetTriangleVertices(this: EditableMesh, triangleId: number):
|
|
9687
|
-
GetTriangles(this: EditableMesh):
|
|
9714
|
+
GetTriangleVertices(this: EditableMesh, triangleId: number): LuaTuple<[number, number, number]>;
|
|
9715
|
+
GetTriangles(this: EditableMesh): Array<number>;
|
|
9688
9716
|
GetUV(this: EditableMesh, vertexId: number): Vector2;
|
|
9689
9717
|
GetVertexColor(this: EditableMesh, vertexId: number): Color3;
|
|
9690
9718
|
GetVertexColorAlpha(this: EditableMesh, vertexId: number): number;
|
|
9691
9719
|
GetVertexNormal(this: EditableMesh, vertexId: number): Vector3;
|
|
9692
|
-
GetVertices(this: EditableMesh):
|
|
9693
|
-
RaycastLocal(this: EditableMesh, origin: Vector3, direction: Vector3):
|
|
9720
|
+
GetVertices(this: EditableMesh): Array<number>;
|
|
9721
|
+
RaycastLocal(this: EditableMesh, origin: Vector3, direction: Vector3): LuaTuple<[number, Vector3, Vector3]>;
|
|
9694
9722
|
RemoveTriangle(this: EditableMesh, triangleId: number): void;
|
|
9695
9723
|
RemoveVertex(this: EditableMesh, vertexId: number): void;
|
|
9696
9724
|
SetPosition(this: EditableMesh, vertexId: number, p: Vector3): void;
|
|
@@ -10610,11 +10638,12 @@ interface EditableImage extends Instance {
|
|
|
10610
10638
|
DrawCircle(this: EditableImage, center: Vector2, radius: number, color: Color3, transparency: number): void;
|
|
10611
10639
|
DrawImage(this: EditableImage, position: Vector2, image: EditableImage, combineType: CastsToEnum<Enum.ImageCombineType>): void;
|
|
10612
10640
|
DrawLine(this: EditableImage, p1: Vector2, p2: Vector2, color: Color3, transparency: number): void;
|
|
10641
|
+
DrawProjectionImage(this: EditableImage, mesh: EditableMesh, projection: object, brushConfig: object): void;
|
|
10613
10642
|
DrawRectangle(this: EditableImage, position: Vector2, size: Vector2, color: Color3, transparency: number): void;
|
|
10614
10643
|
/**
|
|
10615
10644
|
* Tags: CustomLuaState
|
|
10616
10645
|
*/
|
|
10617
|
-
ReadPixels(this: EditableImage, position: Vector2, size: Vector2):
|
|
10646
|
+
ReadPixels(this: EditableImage, position: Vector2, size: Vector2): Array<number>;
|
|
10618
10647
|
Resize(this: EditableImage, size: Vector2): void;
|
|
10619
10648
|
Rotate(this: EditableImage, degrees: number, changeSize: boolean): void;
|
|
10620
10649
|
/**
|
|
@@ -10732,10 +10761,6 @@ interface ExperienceNotificationService extends Instance {
|
|
|
10732
10761
|
* Tags: Yields
|
|
10733
10762
|
*/
|
|
10734
10763
|
CanPromptOptInAsync(this: ExperienceNotificationService): boolean;
|
|
10735
|
-
/**
|
|
10736
|
-
* Tags: Yields
|
|
10737
|
-
*/
|
|
10738
|
-
CreateUserNotificationAsync(this: ExperienceNotificationService, userId: string, userNotification: UserNotification): Instance | undefined;
|
|
10739
10764
|
readonly OptInPromptClosed: RBXScriptSignal<() => void>;
|
|
10740
10765
|
}
|
|
10741
10766
|
|
|
@@ -22171,18 +22196,6 @@ interface LuaSourceContainer extends Instance {
|
|
|
22171
22196
|
* @deprecated
|
|
22172
22197
|
*/
|
|
22173
22198
|
readonly _nominal_LuaSourceContainer: unique symbol;
|
|
22174
|
-
/**
|
|
22175
|
-
* Tags: Hidden
|
|
22176
|
-
*/
|
|
22177
|
-
readonly LockGrantedOrNot: RBXScriptSignal<(granted: boolean) => void>;
|
|
22178
|
-
/**
|
|
22179
|
-
* Tags: Hidden
|
|
22180
|
-
*/
|
|
22181
|
-
readonly LostLock: RBXScriptSignal<() => void>;
|
|
22182
|
-
/**
|
|
22183
|
-
* Tags: Hidden
|
|
22184
|
-
*/
|
|
22185
|
-
readonly RequestLock: RBXScriptSignal<() => void>;
|
|
22186
22199
|
}
|
|
22187
22200
|
|
|
22188
22201
|
/** The base class for all script objects which run automatically. */
|
|
@@ -22922,7 +22935,7 @@ interface MemoryStoreSortedMap extends Instance {
|
|
|
22922
22935
|
*
|
|
22923
22936
|
* Tags: Yields
|
|
22924
22937
|
*/
|
|
22925
|
-
GetAsync(this: MemoryStoreSortedMap, key: string):
|
|
22938
|
+
GetAsync(this: MemoryStoreSortedMap, key: string): LuaTuple<[key?: string, sortKey?: string | number]>;
|
|
22926
22939
|
/**
|
|
22927
22940
|
* Gets items within a sorted range of keys.
|
|
22928
22941
|
*
|
|
@@ -22930,7 +22943,13 @@ interface MemoryStoreSortedMap extends Instance {
|
|
|
22930
22943
|
*
|
|
22931
22944
|
* Tags: Yields
|
|
22932
22945
|
*/
|
|
22933
|
-
GetRangeAsync(
|
|
22946
|
+
GetRangeAsync(
|
|
22947
|
+
this: MemoryStoreSortedMap,
|
|
22948
|
+
direction: CastsToEnum<Enum.SortDirection>,
|
|
22949
|
+
count: number,
|
|
22950
|
+
exclusiveLowerBound?: { key?: string; sortKey?: string | number },
|
|
22951
|
+
exclusiveUpperBound?: { key?: string; sortKey?: string | number },
|
|
22952
|
+
): Array<{ key: string; value: unknown; sortKey?: string | number }>;
|
|
22934
22953
|
/**
|
|
22935
22954
|
* Removes the provided key from the sorted map.
|
|
22936
22955
|
*
|
|
@@ -25242,6 +25261,9 @@ interface Terrain extends BasePart {
|
|
|
25242
25261
|
* Applies a chunk of terrain to the Terrain object. Note: [TerrainRegion](https://developer.roblox.com/en-us/api-reference/class/TerrainRegion) data does not replicate between server and client.
|
|
25243
25262
|
*/
|
|
25244
25263
|
PasteRegion(this: Terrain, region: TerrainRegion, corner: Vector3int16, pasteEmptyCells: boolean): void;
|
|
25264
|
+
/**
|
|
25265
|
+
* Tags: CustomLuaState
|
|
25266
|
+
*/
|
|
25245
25267
|
ReadVoxelChannels(this: Terrain, region: Region3, resolution: number, channelIds: Array<any>): object;
|
|
25246
25268
|
/**
|
|
25247
25269
|
* Returns a certain region of [smooth terrain](https://developer.roblox.com/articles/Intro-To-Terrain) in [table format](https://developer.roblox.com/articles/Scripting-With-Terrain#reading-and-writing-voxels). Both of the returned arrays have an additional `Size` property, a [Vector3](https://developer.roblox.com/en-us/api-reference/datatype/Vector3).
|
|
@@ -25299,6 +25321,9 @@ interface Terrain extends BasePart {
|
|
|
25299
25321
|
* Returns the grid cell location that contains the point position, preferring non-empty grid cells when position is on a grid edge.
|
|
25300
25322
|
*/
|
|
25301
25323
|
WorldToCellPreferSolid(this: Terrain, position: Vector3): Vector3;
|
|
25324
|
+
/**
|
|
25325
|
+
* Tags: CustomLuaState
|
|
25326
|
+
*/
|
|
25302
25327
|
WriteVoxelChannels(this: Terrain, region: Region3, resolution: number, channels: object): void;
|
|
25303
25328
|
/**
|
|
25304
25329
|
* Sets a certain region of [smooth terrain](https://developer.roblox.com/articles/Intro-To-Terrain "Smooth terrain") using the [table format](https://developer.roblox.com/articles/Intro-To-Terrain#Reading_and_writing_voxels "Smooth terrain")
|
|
@@ -37711,76 +37736,6 @@ interface UserInputService extends Instance {
|
|
|
37711
37736
|
readonly WindowFocused: RBXScriptSignal<() => void>;
|
|
37712
37737
|
}
|
|
37713
37738
|
|
|
37714
|
-
interface UserNotification extends Instance {
|
|
37715
|
-
/**
|
|
37716
|
-
* **DO NOT USE!**
|
|
37717
|
-
*
|
|
37718
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37719
|
-
* @hidden
|
|
37720
|
-
* @deprecated
|
|
37721
|
-
*/
|
|
37722
|
-
readonly _nominal_UserNotification: unique symbol;
|
|
37723
|
-
/**
|
|
37724
|
-
* Tags: NotReplicated
|
|
37725
|
-
*/
|
|
37726
|
-
readonly Id: string;
|
|
37727
|
-
Payload: UserNotificationPayload | undefined;
|
|
37728
|
-
}
|
|
37729
|
-
|
|
37730
|
-
interface UserNotificationPayload extends Instance {
|
|
37731
|
-
/**
|
|
37732
|
-
* **DO NOT USE!**
|
|
37733
|
-
*
|
|
37734
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37735
|
-
* @hidden
|
|
37736
|
-
* @deprecated
|
|
37737
|
-
*/
|
|
37738
|
-
readonly _nominal_UserNotificationPayload: unique symbol;
|
|
37739
|
-
AnalyticsData: UserNotificationPayloadAnalyticsData | undefined;
|
|
37740
|
-
JoinExperience: UserNotificationPayloadJoinExperience | undefined;
|
|
37741
|
-
MessageId: string;
|
|
37742
|
-
Type: string;
|
|
37743
|
-
GetParameters(this: UserNotificationPayload): unknown;
|
|
37744
|
-
SetParameters(this: UserNotificationPayload, parameters: unknown): void;
|
|
37745
|
-
}
|
|
37746
|
-
|
|
37747
|
-
interface UserNotificationPayloadAnalyticsData extends Instance {
|
|
37748
|
-
/**
|
|
37749
|
-
* **DO NOT USE!**
|
|
37750
|
-
*
|
|
37751
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37752
|
-
* @hidden
|
|
37753
|
-
* @deprecated
|
|
37754
|
-
*/
|
|
37755
|
-
readonly _nominal_UserNotificationPayloadAnalyticsData: unique symbol;
|
|
37756
|
-
Category: string;
|
|
37757
|
-
}
|
|
37758
|
-
|
|
37759
|
-
interface UserNotificationPayloadJoinExperience extends Instance {
|
|
37760
|
-
/**
|
|
37761
|
-
* **DO NOT USE!**
|
|
37762
|
-
*
|
|
37763
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37764
|
-
* @hidden
|
|
37765
|
-
* @deprecated
|
|
37766
|
-
*/
|
|
37767
|
-
readonly _nominal_UserNotificationPayloadJoinExperience: unique symbol;
|
|
37768
|
-
LaunchData: string;
|
|
37769
|
-
}
|
|
37770
|
-
|
|
37771
|
-
interface UserNotificationPayloadParameterValue extends Instance {
|
|
37772
|
-
/**
|
|
37773
|
-
* **DO NOT USE!**
|
|
37774
|
-
*
|
|
37775
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
37776
|
-
* @hidden
|
|
37777
|
-
* @deprecated
|
|
37778
|
-
*/
|
|
37779
|
-
readonly _nominal_UserNotificationPayloadParameterValue: unique symbol;
|
|
37780
|
-
Int64Value: number;
|
|
37781
|
-
StringValue: string;
|
|
37782
|
-
}
|
|
37783
|
-
|
|
37784
37739
|
/** A service that handles queries regarding users on the Roblox platform. */
|
|
37785
37740
|
interface UserService extends Instance {
|
|
37786
37741
|
/**
|
|
@@ -38423,6 +38378,24 @@ interface VideoCaptureService extends Instance {
|
|
|
38423
38378
|
readonly _nominal_VideoCaptureService: unique symbol;
|
|
38424
38379
|
}
|
|
38425
38380
|
|
|
38381
|
+
interface VideoDeviceInput extends Instance {
|
|
38382
|
+
/**
|
|
38383
|
+
* **DO NOT USE!**
|
|
38384
|
+
*
|
|
38385
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
38386
|
+
* @hidden
|
|
38387
|
+
* @deprecated
|
|
38388
|
+
*/
|
|
38389
|
+
readonly _nominal_VideoDeviceInput: unique symbol;
|
|
38390
|
+
Active: boolean;
|
|
38391
|
+
CameraId: string;
|
|
38392
|
+
CaptureQuality: Enum.VideoDeviceCaptureQuality;
|
|
38393
|
+
/**
|
|
38394
|
+
* Tags: NotReplicated
|
|
38395
|
+
*/
|
|
38396
|
+
readonly IsReady: boolean;
|
|
38397
|
+
}
|
|
38398
|
+
|
|
38426
38399
|
interface VideoService extends Instance {
|
|
38427
38400
|
/**
|
|
38428
38401
|
* **DO NOT USE!**
|
|
@@ -38445,6 +38418,39 @@ interface VisibilityCheckDispatcher extends Instance {
|
|
|
38445
38418
|
readonly _nominal_VisibilityCheckDispatcher: unique symbol;
|
|
38446
38419
|
}
|
|
38447
38420
|
|
|
38421
|
+
interface VisualizationMode extends Instance {
|
|
38422
|
+
/**
|
|
38423
|
+
* **DO NOT USE!**
|
|
38424
|
+
*
|
|
38425
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
38426
|
+
* @hidden
|
|
38427
|
+
* @deprecated
|
|
38428
|
+
*/
|
|
38429
|
+
readonly _nominal_VisualizationMode: unique symbol;
|
|
38430
|
+
}
|
|
38431
|
+
|
|
38432
|
+
interface VisualizationModeCategory extends Instance {
|
|
38433
|
+
/**
|
|
38434
|
+
* **DO NOT USE!**
|
|
38435
|
+
*
|
|
38436
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
38437
|
+
* @hidden
|
|
38438
|
+
* @deprecated
|
|
38439
|
+
*/
|
|
38440
|
+
readonly _nominal_VisualizationModeCategory: unique symbol;
|
|
38441
|
+
}
|
|
38442
|
+
|
|
38443
|
+
interface VisualizationModeService extends Instance {
|
|
38444
|
+
/**
|
|
38445
|
+
* **DO NOT USE!**
|
|
38446
|
+
*
|
|
38447
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
38448
|
+
* @hidden
|
|
38449
|
+
* @deprecated
|
|
38450
|
+
*/
|
|
38451
|
+
readonly _nominal_VisualizationModeService: unique symbol;
|
|
38452
|
+
}
|
|
38453
|
+
|
|
38448
38454
|
interface VoiceChatInternal extends Instance {
|
|
38449
38455
|
/**
|
|
38450
38456
|
* **DO NOT USE!**
|
|
@@ -1790,6 +1790,7 @@ interface WorldRoot extends Model {
|
|
|
1790
1790
|
* * If translate stiffness and rotate stiffness are both equal to 0, then the target CFrame will be ignored and physical constraints will be solved for the object at the position where it was.
|
|
1791
1791
|
*/
|
|
1792
1792
|
IKMoveTo(this: WorldRoot, part: BasePart, target: CFrame, translateStiffness?: number, rotateStiffness?: number, collisionsMode?: CastsToEnum<Enum.IKCollisionsMode>): void;
|
|
1793
|
+
StepPhysics(this: WorldRoot, dt: number, parts?: Array<Instance>): void;
|
|
1793
1794
|
}
|
|
1794
1795
|
|
|
1795
1796
|
interface Workspace extends WorldRoot {
|
|
@@ -3032,6 +3033,7 @@ interface RenderingTest extends Instance {
|
|
|
3032
3033
|
*/
|
|
3033
3034
|
Position: Vector3;
|
|
3034
3035
|
QualityLevel: number;
|
|
3036
|
+
RenderingTestFrameCount: number;
|
|
3035
3037
|
ShouldSkip: boolean;
|
|
3036
3038
|
Ticket: string;
|
|
3037
3039
|
Timeout: number;
|
|
@@ -11,7 +11,7 @@ interface EnumItem {
|
|
|
11
11
|
Name: string;
|
|
12
12
|
Value: number;
|
|
13
13
|
EnumType: Enum;
|
|
14
|
-
IsA<T extends keyof typeof Enum
|
|
14
|
+
IsA<T extends Exclude<keyof typeof Enum, "GetEnums">>(name: T): this is typeof Enum[T][Exclude<keyof typeof Enum[T], "GetEnumItems">];
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
interface Enum {
|
|
@@ -8828,6 +8828,35 @@ declare namespace Enum {
|
|
|
8828
8828
|
}
|
|
8829
8829
|
export type IXPLoadingStatus = IXPLoadingStatus.None | IXPLoadingStatus.Pending | IXPLoadingStatus.Initialized | IXPLoadingStatus.ErrorInvalidUser | IXPLoadingStatus.ErrorConnection | IXPLoadingStatus.ErrorJsonParse | IXPLoadingStatus.ErrorTimedOut;
|
|
8830
8830
|
|
|
8831
|
+
export namespace ImageAlphaType {
|
|
8832
|
+
export interface Default extends globalThis.EnumItem {
|
|
8833
|
+
Name: "Default";
|
|
8834
|
+
Value: 1;
|
|
8835
|
+
EnumType: typeof globalThis.Enum.ImageAlphaType;
|
|
8836
|
+
}
|
|
8837
|
+
|
|
8838
|
+
export const Default: Default;
|
|
8839
|
+
|
|
8840
|
+
export interface LockCanvasAlpha extends globalThis.EnumItem {
|
|
8841
|
+
Name: "LockCanvasAlpha";
|
|
8842
|
+
Value: 2;
|
|
8843
|
+
EnumType: typeof globalThis.Enum.ImageAlphaType;
|
|
8844
|
+
}
|
|
8845
|
+
|
|
8846
|
+
export const LockCanvasAlpha: LockCanvasAlpha;
|
|
8847
|
+
|
|
8848
|
+
export interface LockCanvasColor extends globalThis.EnumItem {
|
|
8849
|
+
Name: "LockCanvasColor";
|
|
8850
|
+
Value: 3;
|
|
8851
|
+
EnumType: typeof globalThis.Enum.ImageAlphaType;
|
|
8852
|
+
}
|
|
8853
|
+
|
|
8854
|
+
export const LockCanvasColor: LockCanvasColor;
|
|
8855
|
+
|
|
8856
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ImageAlphaType>;
|
|
8857
|
+
}
|
|
8858
|
+
export type ImageAlphaType = ImageAlphaType.Default | ImageAlphaType.LockCanvasAlpha | ImageAlphaType.LockCanvasColor;
|
|
8859
|
+
|
|
8831
8860
|
export namespace ImageCombineType {
|
|
8832
8861
|
export interface BlendSourceOver extends globalThis.EnumItem {
|
|
8833
8862
|
Name: "BlendSourceOver";
|
|
@@ -8845,9 +8874,33 @@ declare namespace Enum {
|
|
|
8845
8874
|
|
|
8846
8875
|
export const Overwrite: Overwrite;
|
|
8847
8876
|
|
|
8877
|
+
export interface Add extends globalThis.EnumItem {
|
|
8878
|
+
Name: "Add";
|
|
8879
|
+
Value: 3;
|
|
8880
|
+
EnumType: typeof globalThis.Enum.ImageCombineType;
|
|
8881
|
+
}
|
|
8882
|
+
|
|
8883
|
+
export const Add: Add;
|
|
8884
|
+
|
|
8885
|
+
export interface Multiply extends globalThis.EnumItem {
|
|
8886
|
+
Name: "Multiply";
|
|
8887
|
+
Value: 4;
|
|
8888
|
+
EnumType: typeof globalThis.Enum.ImageCombineType;
|
|
8889
|
+
}
|
|
8890
|
+
|
|
8891
|
+
export const Multiply: Multiply;
|
|
8892
|
+
|
|
8893
|
+
export interface AlphaBlend extends globalThis.EnumItem {
|
|
8894
|
+
Name: "AlphaBlend";
|
|
8895
|
+
Value: 5;
|
|
8896
|
+
EnumType: typeof globalThis.Enum.ImageCombineType;
|
|
8897
|
+
}
|
|
8898
|
+
|
|
8899
|
+
export const AlphaBlend: AlphaBlend;
|
|
8900
|
+
|
|
8848
8901
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ImageCombineType>;
|
|
8849
8902
|
}
|
|
8850
|
-
export type ImageCombineType = ImageCombineType.BlendSourceOver | ImageCombineType.Overwrite;
|
|
8903
|
+
export type ImageCombineType = ImageCombineType.BlendSourceOver | ImageCombineType.Overwrite | ImageCombineType.Add | ImageCombineType.Multiply | ImageCombineType.AlphaBlend;
|
|
8851
8904
|
|
|
8852
8905
|
export namespace InOut {
|
|
8853
8906
|
export interface Edge extends globalThis.EnumItem {
|
|
@@ -20648,6 +20701,200 @@ declare namespace Enum {
|
|
|
20648
20701
|
}
|
|
20649
20702
|
export type VibrationMotor = VibrationMotor.Large | VibrationMotor.Small | VibrationMotor.LeftTrigger | VibrationMotor.RightTrigger | VibrationMotor.LeftHand | VibrationMotor.RightHand;
|
|
20650
20703
|
|
|
20704
|
+
export namespace VideoDeviceCaptureQuality {
|
|
20705
|
+
export interface Default extends globalThis.EnumItem {
|
|
20706
|
+
Name: "Default";
|
|
20707
|
+
Value: 0;
|
|
20708
|
+
EnumType: typeof globalThis.Enum.VideoDeviceCaptureQuality;
|
|
20709
|
+
}
|
|
20710
|
+
|
|
20711
|
+
export const Default: Default;
|
|
20712
|
+
|
|
20713
|
+
export interface Low extends globalThis.EnumItem {
|
|
20714
|
+
Name: "Low";
|
|
20715
|
+
Value: 1;
|
|
20716
|
+
EnumType: typeof globalThis.Enum.VideoDeviceCaptureQuality;
|
|
20717
|
+
}
|
|
20718
|
+
|
|
20719
|
+
export const Low: Low;
|
|
20720
|
+
|
|
20721
|
+
export interface Medium extends globalThis.EnumItem {
|
|
20722
|
+
Name: "Medium";
|
|
20723
|
+
Value: 2;
|
|
20724
|
+
EnumType: typeof globalThis.Enum.VideoDeviceCaptureQuality;
|
|
20725
|
+
}
|
|
20726
|
+
|
|
20727
|
+
export const Medium: Medium;
|
|
20728
|
+
|
|
20729
|
+
export interface High extends globalThis.EnumItem {
|
|
20730
|
+
Name: "High";
|
|
20731
|
+
Value: 3;
|
|
20732
|
+
EnumType: typeof globalThis.Enum.VideoDeviceCaptureQuality;
|
|
20733
|
+
}
|
|
20734
|
+
|
|
20735
|
+
export const High: High;
|
|
20736
|
+
|
|
20737
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VideoDeviceCaptureQuality>;
|
|
20738
|
+
}
|
|
20739
|
+
export type VideoDeviceCaptureQuality = VideoDeviceCaptureQuality.Default | VideoDeviceCaptureQuality.Low | VideoDeviceCaptureQuality.Medium | VideoDeviceCaptureQuality.High;
|
|
20740
|
+
|
|
20741
|
+
export namespace VideoError {
|
|
20742
|
+
export interface Ok extends globalThis.EnumItem {
|
|
20743
|
+
Name: "Ok";
|
|
20744
|
+
Value: 0;
|
|
20745
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20746
|
+
}
|
|
20747
|
+
|
|
20748
|
+
export const Ok: Ok;
|
|
20749
|
+
|
|
20750
|
+
export interface Eof extends globalThis.EnumItem {
|
|
20751
|
+
Name: "Eof";
|
|
20752
|
+
Value: 1;
|
|
20753
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20754
|
+
}
|
|
20755
|
+
|
|
20756
|
+
export const Eof: Eof;
|
|
20757
|
+
|
|
20758
|
+
export interface EAgain extends globalThis.EnumItem {
|
|
20759
|
+
Name: "EAgain";
|
|
20760
|
+
Value: 2;
|
|
20761
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20762
|
+
}
|
|
20763
|
+
|
|
20764
|
+
export const EAgain: EAgain;
|
|
20765
|
+
|
|
20766
|
+
export interface BadParameter extends globalThis.EnumItem {
|
|
20767
|
+
Name: "BadParameter";
|
|
20768
|
+
Value: 3;
|
|
20769
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20770
|
+
}
|
|
20771
|
+
|
|
20772
|
+
export const BadParameter: BadParameter;
|
|
20773
|
+
|
|
20774
|
+
export interface AllocFailed extends globalThis.EnumItem {
|
|
20775
|
+
Name: "AllocFailed";
|
|
20776
|
+
Value: 4;
|
|
20777
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20778
|
+
}
|
|
20779
|
+
|
|
20780
|
+
export const AllocFailed: AllocFailed;
|
|
20781
|
+
|
|
20782
|
+
export interface CodecInitFailed extends globalThis.EnumItem {
|
|
20783
|
+
Name: "CodecInitFailed";
|
|
20784
|
+
Value: 5;
|
|
20785
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20786
|
+
}
|
|
20787
|
+
|
|
20788
|
+
export const CodecInitFailed: CodecInitFailed;
|
|
20789
|
+
|
|
20790
|
+
export interface CodecCloseFailed extends globalThis.EnumItem {
|
|
20791
|
+
Name: "CodecCloseFailed";
|
|
20792
|
+
Value: 6;
|
|
20793
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20794
|
+
}
|
|
20795
|
+
|
|
20796
|
+
export const CodecCloseFailed: CodecCloseFailed;
|
|
20797
|
+
|
|
20798
|
+
export interface DecodeFailed extends globalThis.EnumItem {
|
|
20799
|
+
Name: "DecodeFailed";
|
|
20800
|
+
Value: 7;
|
|
20801
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20802
|
+
}
|
|
20803
|
+
|
|
20804
|
+
export const DecodeFailed: DecodeFailed;
|
|
20805
|
+
|
|
20806
|
+
export interface ParsingFailed extends globalThis.EnumItem {
|
|
20807
|
+
Name: "ParsingFailed";
|
|
20808
|
+
Value: 8;
|
|
20809
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20810
|
+
}
|
|
20811
|
+
|
|
20812
|
+
export const ParsingFailed: ParsingFailed;
|
|
20813
|
+
|
|
20814
|
+
export interface Unsupported extends globalThis.EnumItem {
|
|
20815
|
+
Name: "Unsupported";
|
|
20816
|
+
Value: 9;
|
|
20817
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20818
|
+
}
|
|
20819
|
+
|
|
20820
|
+
export const Unsupported: Unsupported;
|
|
20821
|
+
|
|
20822
|
+
export interface Generic extends globalThis.EnumItem {
|
|
20823
|
+
Name: "Generic";
|
|
20824
|
+
Value: 10;
|
|
20825
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20826
|
+
}
|
|
20827
|
+
|
|
20828
|
+
export const Generic: Generic;
|
|
20829
|
+
|
|
20830
|
+
export interface DownloadFailed extends globalThis.EnumItem {
|
|
20831
|
+
Name: "DownloadFailed";
|
|
20832
|
+
Value: 11;
|
|
20833
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20834
|
+
}
|
|
20835
|
+
|
|
20836
|
+
export const DownloadFailed: DownloadFailed;
|
|
20837
|
+
|
|
20838
|
+
export interface StreamNotFound extends globalThis.EnumItem {
|
|
20839
|
+
Name: "StreamNotFound";
|
|
20840
|
+
Value: 12;
|
|
20841
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20842
|
+
}
|
|
20843
|
+
|
|
20844
|
+
export const StreamNotFound: StreamNotFound;
|
|
20845
|
+
|
|
20846
|
+
export interface EncodeFailed extends globalThis.EnumItem {
|
|
20847
|
+
Name: "EncodeFailed";
|
|
20848
|
+
Value: 13;
|
|
20849
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20850
|
+
}
|
|
20851
|
+
|
|
20852
|
+
export const EncodeFailed: EncodeFailed;
|
|
20853
|
+
|
|
20854
|
+
export interface CreateFailed extends globalThis.EnumItem {
|
|
20855
|
+
Name: "CreateFailed";
|
|
20856
|
+
Value: 14;
|
|
20857
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20858
|
+
}
|
|
20859
|
+
|
|
20860
|
+
export const CreateFailed: CreateFailed;
|
|
20861
|
+
|
|
20862
|
+
export interface NoPermission extends globalThis.EnumItem {
|
|
20863
|
+
Name: "NoPermission";
|
|
20864
|
+
Value: 15;
|
|
20865
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20866
|
+
}
|
|
20867
|
+
|
|
20868
|
+
export const NoPermission: NoPermission;
|
|
20869
|
+
|
|
20870
|
+
export interface NoService extends globalThis.EnumItem {
|
|
20871
|
+
Name: "NoService";
|
|
20872
|
+
Value: 16;
|
|
20873
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20874
|
+
}
|
|
20875
|
+
|
|
20876
|
+
export const NoService: NoService;
|
|
20877
|
+
|
|
20878
|
+
export interface ReleaseFailed extends globalThis.EnumItem {
|
|
20879
|
+
Name: "ReleaseFailed";
|
|
20880
|
+
Value: 17;
|
|
20881
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20882
|
+
}
|
|
20883
|
+
|
|
20884
|
+
export const ReleaseFailed: ReleaseFailed;
|
|
20885
|
+
|
|
20886
|
+
export interface Unknown extends globalThis.EnumItem {
|
|
20887
|
+
Name: "Unknown";
|
|
20888
|
+
Value: 18;
|
|
20889
|
+
EnumType: typeof globalThis.Enum.VideoError;
|
|
20890
|
+
}
|
|
20891
|
+
|
|
20892
|
+
export const Unknown: Unknown;
|
|
20893
|
+
|
|
20894
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VideoError>;
|
|
20895
|
+
}
|
|
20896
|
+
export type VideoError = VideoError.Ok | VideoError.Eof | VideoError.EAgain | VideoError.BadParameter | VideoError.AllocFailed | VideoError.CodecInitFailed | VideoError.CodecCloseFailed | VideoError.DecodeFailed | VideoError.ParsingFailed | VideoError.Unsupported | VideoError.Generic | VideoError.DownloadFailed | VideoError.StreamNotFound | VideoError.EncodeFailed | VideoError.CreateFailed | VideoError.NoPermission | VideoError.NoService | VideoError.ReleaseFailed | VideoError.Unknown;
|
|
20897
|
+
|
|
20651
20898
|
export namespace ViewMode {
|
|
20652
20899
|
export interface None extends globalThis.EnumItem {
|
|
20653
20900
|
Name: "None";
|
package/include/roblox.d.ts
CHANGED
|
@@ -1872,8 +1872,8 @@ interface OverlapParams {
|
|
|
1872
1872
|
*/
|
|
1873
1873
|
FilterDescendantsInstances: Array<Instance>;
|
|
1874
1874
|
/**
|
|
1875
|
-
* `RaycastFilterType.
|
|
1876
|
-
* used. `
|
|
1875
|
+
* `RaycastFilterType.Include` or `RaycastFilterType.Exclude`. Determines how the `FilterDescendantInstances` is
|
|
1876
|
+
* used. `Exclude` will skip the `FilterDescendantInstances`, and `Include` will exclusively include them.
|
|
1877
1877
|
*/
|
|
1878
1878
|
FilterType: Enum.RaycastFilterType;
|
|
1879
1879
|
/**
|
|
@@ -2055,9 +2055,9 @@ interface RaycastParams {
|
|
|
2055
2055
|
* Determines how the `FilterDescendantsInstances` list will be used, depending on the
|
|
2056
2056
|
* [RaycastFilterType](https://developer.roblox.com/api-reference/enum/RaycastFilterType) provided.
|
|
2057
2057
|
*
|
|
2058
|
-
* - `Enum.RaycastFilterType.
|
|
2058
|
+
* - `Enum.RaycastFilterType.Include` — Only [BaseParts](https://developer.roblox.com/api-reference/class/BasePart)
|
|
2059
2059
|
* which are descendants of objects in the filter list will be considered in the raycast operation.
|
|
2060
|
-
* - `Enum.RaycastFilterType.
|
|
2060
|
+
* - `Enum.RaycastFilterType.Exclude` — Every [BasePart](https://developer.roblox.com/api-reference/class/BasePart)
|
|
2061
2061
|
* in the game will be considered except those that are descendants of objects in the filter list.
|
|
2062
2062
|
*/
|
|
2063
2063
|
FilterType: Enum.RaycastFilterType;
|