@rbxts/types 1.0.668 → 1.0.670
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.
|
@@ -503,6 +503,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
503
503
|
ScreenshotHud: ScreenshotHud;
|
|
504
504
|
ScriptBuilder: ScriptBuilder;
|
|
505
505
|
ScriptDocument: ScriptDocument;
|
|
506
|
+
ScriptRuntime: ScriptRuntime;
|
|
506
507
|
SensorBase: SensorBase;
|
|
507
508
|
Speaker: Speaker;
|
|
508
509
|
StackFrame: StackFrame;
|
|
@@ -6832,6 +6833,7 @@ interface AnimationConstraint extends Constraint {
|
|
|
6832
6833
|
* @deprecated
|
|
6833
6834
|
*/
|
|
6834
6835
|
readonly _nominal_AnimationConstraint: unique symbol;
|
|
6836
|
+
IsKinematic: boolean;
|
|
6835
6837
|
MaxForce: number;
|
|
6836
6838
|
MaxTorque: number;
|
|
6837
6839
|
Transform: CFrame;
|
|
@@ -16524,6 +16526,7 @@ interface IncrementalPatchBuilder extends Instance {
|
|
|
16524
16526
|
*/
|
|
16525
16527
|
readonly _nominal_IncrementalPatchBuilder: unique symbol;
|
|
16526
16528
|
AddPathsToBundle: boolean;
|
|
16529
|
+
BuildDebouncePeriod: number;
|
|
16527
16530
|
HighCompression: boolean;
|
|
16528
16531
|
SerializePatch: boolean;
|
|
16529
16532
|
ZstdCompression: boolean;
|
|
@@ -24737,6 +24740,7 @@ interface WorldRoot extends Model {
|
|
|
24737
24740
|
* If no parts are provided, false is returned.
|
|
24738
24741
|
*/
|
|
24739
24742
|
ArePartsTouchingOthers(this: WorldRoot, partList: Array<Instance>, overlapIgnored?: number): boolean;
|
|
24743
|
+
Blockcast(this: WorldRoot, cframe: CFrame, size: Vector3, direction: Vector3, params?: RaycastParams): RaycastResult;
|
|
24740
24744
|
/**
|
|
24741
24745
|
* **Warning!**
|
|
24742
24746
|
* You should only use this function if you are sure that part movement is a bottleneck in your code, simply setting the CFrame property of the individual parts / welded models you want to move will be fast enough in the vast majority of cases.
|
|
@@ -25043,6 +25047,7 @@ interface WorldRoot extends Model {
|
|
|
25043
25047
|
direction: Vector3,
|
|
25044
25048
|
raycastParams?: RaycastParams,
|
|
25045
25049
|
): RaycastResult | undefined;
|
|
25050
|
+
Spherecast(this: WorldRoot, position: Vector3, radius: number, direction: Vector3, params?: RaycastParams): RaycastResult;
|
|
25046
25051
|
}
|
|
25047
25052
|
|
|
25048
25053
|
/** The Workspace is the service in which any objects that are to be rendered in the 3D world exist. Objects not descending from Workspace will not be rendered or physically interact with the world.
|
|
@@ -29038,6 +29043,17 @@ interface ScriptRegistrationService extends Instance {
|
|
|
29038
29043
|
readonly _nominal_ScriptRegistrationService: unique symbol;
|
|
29039
29044
|
}
|
|
29040
29045
|
|
|
29046
|
+
interface ScriptRuntime extends Instance {
|
|
29047
|
+
/**
|
|
29048
|
+
* **DO NOT USE!**
|
|
29049
|
+
*
|
|
29050
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
29051
|
+
* @hidden
|
|
29052
|
+
* @deprecated
|
|
29053
|
+
*/
|
|
29054
|
+
readonly _nominal_ScriptRuntime: unique symbol;
|
|
29055
|
+
}
|
|
29056
|
+
|
|
29041
29057
|
interface SelectionHighlightManager extends Instance {
|
|
29042
29058
|
/**
|
|
29043
29059
|
* **DO NOT USE!**
|
|
@@ -17437,9 +17437,17 @@ declare namespace Enum {
|
|
|
17437
17437
|
|
|
17438
17438
|
export const VideoNoPermission: VideoNoPermission;
|
|
17439
17439
|
|
|
17440
|
+
export interface VideoUnsupported extends globalThis.EnumItem {
|
|
17441
|
+
Name: "VideoUnsupported";
|
|
17442
|
+
Value: 6;
|
|
17443
|
+
EnumType: typeof globalThis.Enum.TrackerError;
|
|
17444
|
+
}
|
|
17445
|
+
|
|
17446
|
+
export const VideoUnsupported: VideoUnsupported;
|
|
17447
|
+
|
|
17440
17448
|
export interface NoAudio extends globalThis.EnumItem {
|
|
17441
17449
|
Name: "NoAudio";
|
|
17442
|
-
Value:
|
|
17450
|
+
Value: 7;
|
|
17443
17451
|
EnumType: typeof globalThis.Enum.TrackerError;
|
|
17444
17452
|
}
|
|
17445
17453
|
|
|
@@ -17447,7 +17455,7 @@ declare namespace Enum {
|
|
|
17447
17455
|
|
|
17448
17456
|
export interface AudioError extends globalThis.EnumItem {
|
|
17449
17457
|
Name: "AudioError";
|
|
17450
|
-
Value:
|
|
17458
|
+
Value: 8;
|
|
17451
17459
|
EnumType: typeof globalThis.Enum.TrackerError;
|
|
17452
17460
|
}
|
|
17453
17461
|
|
|
@@ -17455,7 +17463,7 @@ declare namespace Enum {
|
|
|
17455
17463
|
|
|
17456
17464
|
export interface AudioNoPermission extends globalThis.EnumItem {
|
|
17457
17465
|
Name: "AudioNoPermission";
|
|
17458
|
-
Value:
|
|
17466
|
+
Value: 9;
|
|
17459
17467
|
EnumType: typeof globalThis.Enum.TrackerError;
|
|
17460
17468
|
}
|
|
17461
17469
|
|
|
@@ -17463,7 +17471,7 @@ declare namespace Enum {
|
|
|
17463
17471
|
|
|
17464
17472
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TrackerError>;
|
|
17465
17473
|
}
|
|
17466
|
-
export type TrackerError = TrackerError.Ok | TrackerError.NoService | TrackerError.InitFailed | TrackerError.NoVideo | TrackerError.VideoError | TrackerError.VideoNoPermission | TrackerError.NoAudio | TrackerError.AudioError | TrackerError.AudioNoPermission;
|
|
17474
|
+
export type TrackerError = TrackerError.Ok | TrackerError.NoService | TrackerError.InitFailed | TrackerError.NoVideo | TrackerError.VideoError | TrackerError.VideoNoPermission | TrackerError.VideoUnsupported | TrackerError.NoAudio | TrackerError.AudioError | TrackerError.AudioNoPermission;
|
|
17467
17475
|
|
|
17468
17476
|
export namespace TrackerExtrapolationFlagMode {
|
|
17469
17477
|
export interface Auto extends globalThis.EnumItem {
|
package/include/roblox.d.ts
CHANGED
|
@@ -1094,6 +1094,11 @@ interface CFrame {
|
|
|
1094
1094
|
Inverse(this: CFrame): CFrame;
|
|
1095
1095
|
/** Returns a CFrame interpolated between this CFrame and the goal by the fraction alpha */
|
|
1096
1096
|
Lerp(this: CFrame, goal: CFrame, alpha: number): CFrame;
|
|
1097
|
+
/**
|
|
1098
|
+
* Returns an orthonormalized copy of the CFrame. The BasePart.CFrame property automatically applies orthonormalization,
|
|
1099
|
+
* but other APIs which take CFrames do not, so this method is occasionally necessary when incrementally updating a CFrame and using it with them.
|
|
1100
|
+
*/
|
|
1101
|
+
Orthonormalize(this: CFrame): CFrame;
|
|
1097
1102
|
/** Returns a CFrame transformed from Object to World space. Equivalent to `[CFrame * cf]` */
|
|
1098
1103
|
ToWorldSpace(this: CFrame, cf: CFrame): CFrame;
|
|
1099
1104
|
/** Returns a CFrame transformed from World to Object space. Equivalent to `[CFrame:inverse() * cf]` */
|