@rbxts/types 1.0.731 → 1.0.732
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.
|
@@ -152,6 +152,7 @@ interface Services {
|
|
|
152
152
|
TextBoxService: TextBoxService;
|
|
153
153
|
TextChatService: TextChatService;
|
|
154
154
|
TextService: TextService;
|
|
155
|
+
TextureGenerationMeshHandler: TextureGenerationMeshHandler;
|
|
155
156
|
ToastNotificationService: ToastNotificationService;
|
|
156
157
|
TracerService: TracerService;
|
|
157
158
|
TutorialService: TutorialService;
|
|
@@ -19216,6 +19217,7 @@ interface InsertService extends Instance {
|
|
|
19216
19217
|
* Returns an array of dictionaries, containing information about various Roblox approved sets.
|
|
19217
19218
|
*
|
|
19218
19219
|
* Tags: Yields
|
|
19220
|
+
* @deprecated
|
|
19219
19221
|
*/
|
|
19220
19222
|
GetBaseSets(this: InsertService): Array<SetInfo>;
|
|
19221
19223
|
/**
|
|
@@ -24304,6 +24306,7 @@ interface BasePart extends PVInstance {
|
|
|
24304
24306
|
* @deprecated Use `AssemblyLinearVelocity` instead
|
|
24305
24307
|
*/
|
|
24306
24308
|
Velocity: Vector3;
|
|
24309
|
+
AngularAccelerationToTorque(this: BasePart, angAcceleration: Vector3, angVelocity?: Vector3): Vector3;
|
|
24307
24310
|
/**
|
|
24308
24311
|
* Applies an instant angular force impulse to this [part's](https://developer.roblox.com/en-us/api-reference/class/BasePart) assembly, causing the assembly to spin.
|
|
24309
24312
|
*
|
|
@@ -24468,6 +24471,7 @@ interface BasePart extends PVInstance {
|
|
|
24468
24471
|
* Lets the game engine dynamically decide who will handle the part's physics (one of the clients or the server).
|
|
24469
24472
|
*/
|
|
24470
24473
|
SetNetworkOwnershipAuto(this: BasePart): void;
|
|
24474
|
+
TorqueToAngularAcceleration(this: BasePart, torque: Vector3, angVelocity?: Vector3): Vector3;
|
|
24471
24475
|
/**
|
|
24472
24476
|
* Tags: Yields
|
|
24473
24477
|
*/
|
|
@@ -26229,6 +26233,7 @@ interface WorldRoot extends Model {
|
|
|
26229
26233
|
direction: Vector3,
|
|
26230
26234
|
raycastParams?: RaycastParams,
|
|
26231
26235
|
): RaycastResult | undefined;
|
|
26236
|
+
Shapecast(this: WorldRoot, part: BasePart, direction: Vector3, params?: RaycastParams): RaycastResult;
|
|
26232
26237
|
Spherecast(
|
|
26233
26238
|
this: WorldRoot,
|
|
26234
26239
|
position: Vector3,
|
|
@@ -32515,6 +32520,10 @@ interface StarterPlayer extends Instance {
|
|
|
32515
32520
|
* Setting this to _true_ results in the player loading the appearance corresponding to the player's [Player.CharacterAppearanceId](https://developer.roblox.com/en-us/api-reference/property/Player/CharacterAppearanceId).
|
|
32516
32521
|
*/
|
|
32517
32522
|
LoadCharacterAppearance: boolean;
|
|
32523
|
+
/**
|
|
32524
|
+
* Tags: NotBrowsable
|
|
32525
|
+
*/
|
|
32526
|
+
LuaCharacterController: Enum.CharacterControlMode;
|
|
32518
32527
|
/**
|
|
32519
32528
|
* Sets the distance at which this player will see other Humanoid's names. If set to 0, names are hidden.
|
|
32520
32529
|
*
|
|
@@ -34408,6 +34417,17 @@ interface TextSource extends Instance {
|
|
|
34408
34417
|
readonly UserId: number;
|
|
34409
34418
|
}
|
|
34410
34419
|
|
|
34420
|
+
interface TextureGenerationMeshHandler extends Instance {
|
|
34421
|
+
/**
|
|
34422
|
+
* **DO NOT USE!**
|
|
34423
|
+
*
|
|
34424
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
34425
|
+
* @hidden
|
|
34426
|
+
* @deprecated
|
|
34427
|
+
*/
|
|
34428
|
+
readonly _nominal_TextureGenerationMeshHandler: unique symbol;
|
|
34429
|
+
}
|
|
34430
|
+
|
|
34411
34431
|
interface ThreadState extends Instance {
|
|
34412
34432
|
/**
|
|
34413
34433
|
* **DO NOT USE!**
|
|
@@ -3476,6 +3476,43 @@ declare namespace Enum {
|
|
|
3476
3476
|
}
|
|
3477
3477
|
export type CenterDialogType = CenterDialogType.UnsolicitedDialog | CenterDialogType.PlayerInitiatedDialog | CenterDialogType.ModalDialog | CenterDialogType.QuitDialog;
|
|
3478
3478
|
|
|
3479
|
+
export namespace CharacterControlMode {
|
|
3480
|
+
export interface Default extends globalThis.EnumItem {
|
|
3481
|
+
Name: "Default";
|
|
3482
|
+
Value: 0;
|
|
3483
|
+
EnumType: typeof globalThis.Enum.CharacterControlMode;
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
export const Default: Default;
|
|
3487
|
+
|
|
3488
|
+
export interface Legacy extends globalThis.EnumItem {
|
|
3489
|
+
Name: "Legacy";
|
|
3490
|
+
Value: 1;
|
|
3491
|
+
EnumType: typeof globalThis.Enum.CharacterControlMode;
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3494
|
+
export const Legacy: Legacy;
|
|
3495
|
+
|
|
3496
|
+
export interface NoCharacterController extends globalThis.EnumItem {
|
|
3497
|
+
Name: "NoCharacterController";
|
|
3498
|
+
Value: 2;
|
|
3499
|
+
EnumType: typeof globalThis.Enum.CharacterControlMode;
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
export const NoCharacterController: NoCharacterController;
|
|
3503
|
+
|
|
3504
|
+
export interface LuaCharacterController extends globalThis.EnumItem {
|
|
3505
|
+
Name: "LuaCharacterController";
|
|
3506
|
+
Value: 3;
|
|
3507
|
+
EnumType: typeof globalThis.Enum.CharacterControlMode;
|
|
3508
|
+
}
|
|
3509
|
+
|
|
3510
|
+
export const LuaCharacterController: LuaCharacterController;
|
|
3511
|
+
|
|
3512
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CharacterControlMode>;
|
|
3513
|
+
}
|
|
3514
|
+
export type CharacterControlMode = CharacterControlMode.Default | CharacterControlMode.Legacy | CharacterControlMode.NoCharacterController | CharacterControlMode.LuaCharacterController;
|
|
3515
|
+
|
|
3479
3516
|
export namespace ChatCallbackType {
|
|
3480
3517
|
export interface OnCreatingChatWindow extends globalThis.EnumItem {
|
|
3481
3518
|
Name: "OnCreatingChatWindow";
|
|
@@ -13448,6 +13485,35 @@ declare namespace Enum {
|
|
|
13448
13485
|
}
|
|
13449
13486
|
export type PlayerActions = PlayerActions.CharacterForward | PlayerActions.CharacterBackward | PlayerActions.CharacterLeft | PlayerActions.CharacterRight | PlayerActions.CharacterJump;
|
|
13450
13487
|
|
|
13488
|
+
export namespace PlayerCharacterDestroyBehavior {
|
|
13489
|
+
export interface Default extends globalThis.EnumItem {
|
|
13490
|
+
Name: "Default";
|
|
13491
|
+
Value: 0;
|
|
13492
|
+
EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
|
|
13493
|
+
}
|
|
13494
|
+
|
|
13495
|
+
export const Default: Default;
|
|
13496
|
+
|
|
13497
|
+
export interface Disabled extends globalThis.EnumItem {
|
|
13498
|
+
Name: "Disabled";
|
|
13499
|
+
Value: 1;
|
|
13500
|
+
EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
|
|
13501
|
+
}
|
|
13502
|
+
|
|
13503
|
+
export const Disabled: Disabled;
|
|
13504
|
+
|
|
13505
|
+
export interface Enabled extends globalThis.EnumItem {
|
|
13506
|
+
Name: "Enabled";
|
|
13507
|
+
Value: 2;
|
|
13508
|
+
EnumType: typeof globalThis.Enum.PlayerCharacterDestroyBehavior;
|
|
13509
|
+
}
|
|
13510
|
+
|
|
13511
|
+
export const Enabled: Enabled;
|
|
13512
|
+
|
|
13513
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PlayerCharacterDestroyBehavior>;
|
|
13514
|
+
}
|
|
13515
|
+
export type PlayerCharacterDestroyBehavior = PlayerCharacterDestroyBehavior.Default | PlayerCharacterDestroyBehavior.Disabled | PlayerCharacterDestroyBehavior.Enabled;
|
|
13516
|
+
|
|
13451
13517
|
export namespace PlayerChatType {
|
|
13452
13518
|
export interface All extends globalThis.EnumItem {
|
|
13453
13519
|
Name: "All";
|
|
@@ -18758,6 +18824,35 @@ declare namespace Enum {
|
|
|
18758
18824
|
}
|
|
18759
18825
|
export type TextYAlignment = TextYAlignment.Top | TextYAlignment.Center | TextYAlignment.Bottom;
|
|
18760
18826
|
|
|
18827
|
+
export namespace TextureGenerationMeshHandlerUnwrapMode {
|
|
18828
|
+
export interface Never extends globalThis.EnumItem {
|
|
18829
|
+
Name: "Never";
|
|
18830
|
+
Value: 0;
|
|
18831
|
+
EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
|
|
18832
|
+
}
|
|
18833
|
+
|
|
18834
|
+
export const Never: Never;
|
|
18835
|
+
|
|
18836
|
+
export interface Always extends globalThis.EnumItem {
|
|
18837
|
+
Name: "Always";
|
|
18838
|
+
Value: 1;
|
|
18839
|
+
EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
|
|
18840
|
+
}
|
|
18841
|
+
|
|
18842
|
+
export const Always: Always;
|
|
18843
|
+
|
|
18844
|
+
export interface WhenInvalidUVsDetected extends globalThis.EnumItem {
|
|
18845
|
+
Name: "WhenInvalidUVsDetected";
|
|
18846
|
+
Value: 2;
|
|
18847
|
+
EnumType: typeof globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode;
|
|
18848
|
+
}
|
|
18849
|
+
|
|
18850
|
+
export const WhenInvalidUVsDetected: WhenInvalidUVsDetected;
|
|
18851
|
+
|
|
18852
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TextureGenerationMeshHandlerUnwrapMode>;
|
|
18853
|
+
}
|
|
18854
|
+
export type TextureGenerationMeshHandlerUnwrapMode = TextureGenerationMeshHandlerUnwrapMode.Never | TextureGenerationMeshHandlerUnwrapMode.Always | TextureGenerationMeshHandlerUnwrapMode.WhenInvalidUVsDetected;
|
|
18855
|
+
|
|
18761
18856
|
export namespace TextureMode {
|
|
18762
18857
|
export interface Stretch extends globalThis.EnumItem {
|
|
18763
18858
|
Name: "Stretch";
|