@rbxts/types 1.0.953 → 1.0.955
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.
|
@@ -212,7 +212,6 @@ interface Services {
|
|
|
212
212
|
SlimReplicationService: SlimReplicationService;
|
|
213
213
|
SlimService: SlimService;
|
|
214
214
|
SmoothVoxelsUpgraderService: SmoothVoxelsUpgraderService;
|
|
215
|
-
SnippetService: SnippetService;
|
|
216
215
|
SocialService: SocialService;
|
|
217
216
|
SoundService: SoundService;
|
|
218
217
|
SoundShimService: SoundShimService;
|
|
@@ -1250,7 +1249,7 @@ interface EditableImage extends RBXObject {
|
|
|
1250
1249
|
* - `ColorBlendType` (`ImageCombineType`) which determines how the sampled color values are blended.
|
|
1251
1250
|
* - `FadeAngle` (number) as the angle in degrees at which the projection begins to fade based on the surface normal. A value of `180` applies no normal-angle fade.
|
|
1252
1251
|
*/
|
|
1253
|
-
SampleImageProjected(this: EditableImage,
|
|
1252
|
+
SampleImageProjected(this: EditableImage, projectionSource: RBXObject, sourceTexture: EditableImage, projectionConfig: object, brushConfig: object): void;
|
|
1254
1253
|
/**
|
|
1255
1254
|
* Writes a rectangular region of pixels into the image.
|
|
1256
1255
|
*
|
|
@@ -4831,10 +4830,20 @@ interface AssetService extends Instance {
|
|
|
4831
4830
|
*/
|
|
4832
4831
|
CreateDataModelContentAsync(this: AssetService, content: Content, options?: object): unknown;
|
|
4833
4832
|
/**
|
|
4833
|
+
* Creates a new `Decal` object using the provided `EditableImage` content maps.
|
|
4834
|
+
*
|
|
4834
4835
|
* - **ThreadSafety**: Unsafe
|
|
4835
4836
|
* - **Tags**: Yields
|
|
4836
4837
|
*
|
|
4837
4838
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetService#CreateDecalAsync)
|
|
4839
|
+
* @param this A non-replicated service that handles asset-related queries to the Roblox web API.
|
|
4840
|
+
* @param content Dictionary containing one or more of the following key-value pairs. Each value must be a `Content` object containing a `EditableImage`: - `TextureContent` — The decal's color texture.
|
|
4841
|
+
* - `NormalMapContent` — The decal's normal map.
|
|
4842
|
+
* - `MetalnessMapContent` — The decal's metalness map.
|
|
4843
|
+
* - `RoughnessMapContent` — The decal's roughness map.
|
|
4844
|
+
*
|
|
4845
|
+
*
|
|
4846
|
+
* @returns A new `Decal` instance with the given maps from the `content` parameter.
|
|
4838
4847
|
*/
|
|
4839
4848
|
CreateDecalAsync(this: AssetService, content: object): Decal;
|
|
4840
4849
|
/**
|
|
@@ -7890,6 +7899,12 @@ interface AudioTextToSpeech extends Instance {
|
|
|
7890
7899
|
* @deprecated
|
|
7891
7900
|
*/
|
|
7892
7901
|
readonly _nominal_AudioTextToSpeech: unique symbol;
|
|
7902
|
+
/**
|
|
7903
|
+
* - **ThreadSafety**: ReadSafe
|
|
7904
|
+
*
|
|
7905
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTextToSpeech#AutoLocalize)
|
|
7906
|
+
*/
|
|
7907
|
+
AutoLocalize: boolean;
|
|
7893
7908
|
/**
|
|
7894
7909
|
* Denotes whether the `AudioTextToSpeech` object is loaded, buffered, and ready to play.
|
|
7895
7910
|
*
|
|
@@ -10825,17 +10840,32 @@ interface WrapTarget extends BaseWrap {
|
|
|
10825
10840
|
*/
|
|
10826
10841
|
get Stiffness(): number;
|
|
10827
10842
|
/**
|
|
10843
|
+
* Creates a new `EditableImage` in cage UV space from a texture in the parent `MeshPart`'s UV space.
|
|
10844
|
+
*
|
|
10828
10845
|
* - **ThreadSafety**: Unsafe
|
|
10829
10846
|
* - **Tags**: Yields
|
|
10830
10847
|
*
|
|
10831
10848
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WrapTarget#CreateTextureInCageSpaceAsync)
|
|
10849
|
+
* @param this The WrapTarget object defines a target. A target is the 3D body with only an outer surface, or an Outer Cage.
|
|
10850
|
+
* @param texture The `EditableImage` in the UV space of this `WrapTarget`'s parent `MeshPart`.
|
|
10851
|
+
* @param options Optional dictionary containing controls for the transfer: - `MinUVBounds` – A `Vector2` specifying the minimum cage UV bound.
|
|
10852
|
+
* - `MaxUVBounds` – A `Vector2` specifying the maximum cage UV bound.
|
|
10853
|
+
*
|
|
10854
|
+
* Each omitted bound is calculated from the cage mesh. If neither is specified, the bounds include the entire cage.
|
|
10855
|
+
* @returns A new `EditableImage` in cage UV space, or `nil` if the device-specific editable memory budget is exhausted.
|
|
10832
10856
|
*/
|
|
10833
10857
|
CreateTextureInCageSpaceAsync(this: WrapTarget, texture: EditableImage, options?: object): EditableImage;
|
|
10834
10858
|
/**
|
|
10859
|
+
* Creates a new `EditableImage` in the parent `MeshPart`'s UV space from a texture in cage UV space.
|
|
10860
|
+
*
|
|
10835
10861
|
* - **ThreadSafety**: Unsafe
|
|
10836
10862
|
* - **Tags**: Yields
|
|
10837
10863
|
*
|
|
10838
10864
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WrapTarget#CreateTextureInTargetSpaceAsync)
|
|
10865
|
+
* @param this The WrapTarget object defines a target. A target is the 3D body with only an outer surface, or an Outer Cage.
|
|
10866
|
+
* @param texture The `EditableImage` in cage UV space.
|
|
10867
|
+
* @param wrapTextureTransfer The `WrapTextureTransfer` associated with the same parent `MeshPart` as this `WrapTarget`.
|
|
10868
|
+
* @returns A new `EditableImage` in the parent `MeshPart`'s UV space, or `nil` if the device-specific editable memory budget is exhausted.
|
|
10839
10869
|
*/
|
|
10840
10870
|
CreateTextureInTargetSpaceAsync(this: WrapTarget, texture: EditableImage, wrapTextureTransfer: WrapTextureTransfer): EditableImage;
|
|
10841
10871
|
}
|
|
@@ -28305,6 +28335,12 @@ interface InputAction extends Instance {
|
|
|
28305
28335
|
* @deprecated
|
|
28306
28336
|
*/
|
|
28307
28337
|
readonly _nominal_InputAction: unique symbol;
|
|
28338
|
+
/**
|
|
28339
|
+
* - **ThreadSafety**: ReadSafe
|
|
28340
|
+
*
|
|
28341
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/InputAction#DisplayName)
|
|
28342
|
+
*/
|
|
28343
|
+
DisplayName: string;
|
|
28308
28344
|
/**
|
|
28309
28345
|
* Determines if the `InputAction` is enabled or not.
|
|
28310
28346
|
*
|
|
@@ -30047,7 +30083,7 @@ interface Lighting extends Instance {
|
|
|
30047
30083
|
*
|
|
30048
30084
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Lighting#LightingStyle)
|
|
30049
30085
|
*/
|
|
30050
|
-
|
|
30086
|
+
LightingStyle: Enum.LightingStyle;
|
|
30051
30087
|
/**
|
|
30052
30088
|
* The lighting hue applied to outdoor areas.
|
|
30053
30089
|
*
|
|
@@ -30076,7 +30112,7 @@ interface Lighting extends Instance {
|
|
|
30076
30112
|
*
|
|
30077
30113
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Lighting#PrioritizeLightingQuality)
|
|
30078
30114
|
*/
|
|
30079
|
-
|
|
30115
|
+
PrioritizeLightingQuality: boolean;
|
|
30080
30116
|
/**
|
|
30081
30117
|
* **Deprecated:** This item is deprecated and has no current functionality. Do not use it for new work.
|
|
30082
30118
|
*
|
|
@@ -30287,11 +30323,14 @@ interface LocalizationService extends Instance {
|
|
|
30287
30323
|
* Returns a `Translator` to be used for translations using the locale data loaded.
|
|
30288
30324
|
*
|
|
30289
30325
|
* - **ThreadSafety**: Unsafe
|
|
30326
|
+
* - **Tags**:
|
|
30290
30327
|
*
|
|
30291
30328
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/LocalizationService#GetTranslatorForPlayer)
|
|
30292
30329
|
* @param this Handles automated translation.
|
|
30293
30330
|
* @param player The `Player` that you are getting the `Translator` for.
|
|
30294
30331
|
* @returns The `Translator` instance for the specified locale.
|
|
30332
|
+
*
|
|
30333
|
+
* @deprecated GetTranslatorForPlayerAsync
|
|
30295
30334
|
*/
|
|
30296
30335
|
GetTranslatorForPlayer(this: LocalizationService, player: Player): Translator;
|
|
30297
30336
|
/**
|
|
@@ -31243,9 +31282,13 @@ interface MarketplaceService extends Instance {
|
|
|
31243
31282
|
*/
|
|
31244
31283
|
BindReceiptHandler(this: MarketplaceService, transactionType: CastsToEnum<Enum.ReceiptType>, handler: Callback, filter?: Array<unknown>): RBXScriptConnection;
|
|
31245
31284
|
/**
|
|
31285
|
+
* Opens a personalized in-game Shop for the given player.
|
|
31286
|
+
*
|
|
31246
31287
|
* - **ThreadSafety**: Unsafe
|
|
31247
31288
|
*
|
|
31248
31289
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MarketplaceService#OpenShop)
|
|
31290
|
+
* @param this The service responsible for in-experience transactions.
|
|
31291
|
+
* @param player The `Player` for whom to open the shop. If called from a `LocalScript`, this must be the local player.
|
|
31249
31292
|
*/
|
|
31250
31293
|
OpenShop(this: MarketplaceService, player: Player): void;
|
|
31251
31294
|
/**
|
|
@@ -34916,7 +34959,7 @@ interface TriangleMeshPart extends BasePart {
|
|
|
34916
34959
|
*
|
|
34917
34960
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TriangleMeshPart#CollisionFidelity)
|
|
34918
34961
|
*/
|
|
34919
|
-
|
|
34962
|
+
CollisionFidelity: Enum.CollisionFidelity;
|
|
34920
34963
|
/**
|
|
34921
34964
|
* - **ThreadSafety**: ReadSafe
|
|
34922
34965
|
* - **Tags**: NotReplicated
|
|
@@ -34932,7 +34975,7 @@ interface TriangleMeshPart extends BasePart {
|
|
|
34932
34975
|
*
|
|
34933
34976
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TriangleMeshPart#FluidFidelity)
|
|
34934
34977
|
*/
|
|
34935
|
-
|
|
34978
|
+
FluidFidelity: Enum.FluidFidelity;
|
|
34936
34979
|
/**
|
|
34937
34980
|
* The original size of the part's source mesh geometry, before any scaling applied through `BasePart.Size`.
|
|
34938
34981
|
*
|
|
@@ -35073,7 +35116,7 @@ interface PartOperation extends TriangleMeshPart {
|
|
|
35073
35116
|
*
|
|
35074
35117
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PartOperation#RenderFidelity)
|
|
35075
35118
|
*/
|
|
35076
|
-
|
|
35119
|
+
RenderFidelity: Enum.RenderFidelity;
|
|
35077
35120
|
/**
|
|
35078
35121
|
* An angle in degrees which affects the smooth shading of a solid modeled part.
|
|
35079
35122
|
*
|
|
@@ -35081,7 +35124,7 @@ interface PartOperation extends TriangleMeshPart {
|
|
|
35081
35124
|
*
|
|
35082
35125
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PartOperation#SmoothingAngle)
|
|
35083
35126
|
*/
|
|
35084
|
-
|
|
35127
|
+
SmoothingAngle: number;
|
|
35085
35128
|
/**
|
|
35086
35129
|
* The number of polygons in this solid model.
|
|
35087
35130
|
*
|
|
@@ -43067,23 +43110,23 @@ interface DataModel extends ServiceProvider<Services> {
|
|
|
43067
43110
|
*/
|
|
43068
43111
|
readonly VIPServerOwnerId: number;
|
|
43069
43112
|
/**
|
|
43070
|
-
* A reference to the `
|
|
43113
|
+
* A reference to the `Workspace` service.
|
|
43071
43114
|
*
|
|
43072
43115
|
* - **ThreadSafety**: ReadSafe
|
|
43073
43116
|
* - **Tags**: NotReplicated
|
|
43074
43117
|
*
|
|
43075
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#
|
|
43118
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#Workspace)
|
|
43076
43119
|
*/
|
|
43077
|
-
readonly
|
|
43120
|
+
readonly Workspace: Workspace;
|
|
43078
43121
|
/**
|
|
43079
|
-
* A reference to the `
|
|
43122
|
+
* A reference to the `RunService` service.
|
|
43080
43123
|
*
|
|
43081
43124
|
* - **ThreadSafety**: ReadSafe
|
|
43082
43125
|
* - **Tags**: NotReplicated
|
|
43083
43126
|
*
|
|
43084
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#
|
|
43127
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#RunService)
|
|
43085
43128
|
*/
|
|
43086
|
-
readonly
|
|
43129
|
+
readonly RunService: RunService | undefined;
|
|
43087
43130
|
/**
|
|
43088
43131
|
* Binds a function to be called before the server shuts down.
|
|
43089
43132
|
*
|
|
@@ -43725,21 +43768,6 @@ interface SmoothVoxelsUpgraderService extends Instance {
|
|
|
43725
43768
|
*/
|
|
43726
43769
|
readonly _nominal_SmoothVoxelsUpgraderService: unique symbol;
|
|
43727
43770
|
}
|
|
43728
|
-
/**
|
|
43729
|
-
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
43730
|
-
*
|
|
43731
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SnippetService)
|
|
43732
|
-
*/
|
|
43733
|
-
interface SnippetService extends Instance {
|
|
43734
|
-
/**
|
|
43735
|
-
* **DO NOT USE!**
|
|
43736
|
-
*
|
|
43737
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
43738
|
-
* @hidden
|
|
43739
|
-
* @deprecated
|
|
43740
|
-
*/
|
|
43741
|
-
readonly _nominal_SnippetService: unique symbol;
|
|
43742
|
-
}
|
|
43743
43771
|
/**
|
|
43744
43772
|
* Facilitates social functions that impact relationships made on the Roblox platform.
|
|
43745
43773
|
*
|
|
@@ -46794,6 +46822,12 @@ interface TeleportOptions extends Instance {
|
|
|
46794
46822
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TeleportOptions#ReservedServerAccessCode)
|
|
46795
46823
|
*/
|
|
46796
46824
|
ReservedServerAccessCode: string;
|
|
46825
|
+
/**
|
|
46826
|
+
* - **ThreadSafety**: ReadSafe
|
|
46827
|
+
*
|
|
46828
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TeleportOptions#ReservedServerId)
|
|
46829
|
+
*/
|
|
46830
|
+
ReservedServerId: string;
|
|
46797
46831
|
/**
|
|
46798
46832
|
* The `DataModel.JobId` of the server instance to teleport to.
|
|
46799
46833
|
*
|
|
@@ -46810,6 +46844,12 @@ interface TeleportOptions extends Instance {
|
|
|
46810
46844
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TeleportOptions#ShouldReserveServer)
|
|
46811
46845
|
*/
|
|
46812
46846
|
ShouldReserveServer: boolean;
|
|
46847
|
+
/**
|
|
46848
|
+
* - **ThreadSafety**: ReadSafe
|
|
46849
|
+
*
|
|
46850
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TeleportOptions#VipServerId)
|
|
46851
|
+
*/
|
|
46852
|
+
VipServerId: string;
|
|
46813
46853
|
/**
|
|
46814
46854
|
* Returns the teleport data stored in the `TeleportOptions` instance by `TeleportOptions:SetTeleportData()`.
|
|
46815
46855
|
*
|
|
@@ -47479,14 +47519,9 @@ interface TestService extends Instance {
|
|
|
47479
47519
|
*/
|
|
47480
47520
|
Message(this: TestService, text: string, source?: Instance, line?: number): void;
|
|
47481
47521
|
/**
|
|
47482
|
-
* Registers a test case with the service and returns the resulting `TestCase`.
|
|
47483
|
-
*
|
|
47484
47522
|
* - **ThreadSafety**: Unsafe
|
|
47485
47523
|
*
|
|
47486
47524
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#RegisterTest)
|
|
47487
|
-
* @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
|
|
47488
|
-
* @param testOptions A dictionary describing the test, requiring the string fields `SuiteName` and `TestCaseName` and optionally a numeric `Timeout` field.
|
|
47489
|
-
* @returns The registered `TestCase`, or no value when registration isn't supported in the current context.
|
|
47490
47525
|
*/
|
|
47491
47526
|
RegisterTest(this: TestService, testOptions: object): TestCase;
|
|
47492
47527
|
/**
|
|
@@ -47561,14 +47596,9 @@ interface TestService extends Instance {
|
|
|
47561
47596
|
*/
|
|
47562
47597
|
StopTestSession(this: TestService): void;
|
|
47563
47598
|
/**
|
|
47564
|
-
* Captures a named screenshot snapshot during a test run.
|
|
47565
|
-
*
|
|
47566
47599
|
* - **ThreadSafety**: Unsafe
|
|
47567
47600
|
*
|
|
47568
47601
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#TakeSnapshot)
|
|
47569
|
-
* @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
|
|
47570
|
-
* @param snapshotname The name to associate with the captured snapshot.
|
|
47571
|
-
* @param source An optional script instance whose `Suite` and `TestName` attributes name the snapshot; defaults to `nil`.
|
|
47572
47602
|
*/
|
|
47573
47603
|
TakeSnapshot(this: TestService, snapshotname: string, source?: Instance): void;
|
|
47574
47604
|
/**
|
|
@@ -53671,6 +53701,13 @@ interface WrapTextureTransfer extends Instance {
|
|
|
53671
53701
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WrapTextureTransfer#UVMinBound)
|
|
53672
53702
|
*/
|
|
53673
53703
|
UVMinBound: Vector2;
|
|
53704
|
+
/**
|
|
53705
|
+
* - **ThreadSafety**: Unsafe
|
|
53706
|
+
* - **Tags**: Yields
|
|
53707
|
+
*
|
|
53708
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WrapTextureTransfer#PrepareProjectionMeshDataAsync)
|
|
53709
|
+
*/
|
|
53710
|
+
PrepareProjectionMeshDataAsync(this: WrapTextureTransfer): void;
|
|
53674
53711
|
}
|
|
53675
53712
|
/**
|
|
53676
53713
|
* - **Tags**: NotCreatable, NotReplicated
|
|
@@ -229,7 +229,6 @@ interface Services {
|
|
|
229
229
|
SlimReplicationService: SlimReplicationService;
|
|
230
230
|
SlimService: SlimService;
|
|
231
231
|
SmoothVoxelsUpgraderService: SmoothVoxelsUpgraderService;
|
|
232
|
-
SnippetService: SnippetService;
|
|
233
232
|
SocialService: SocialService;
|
|
234
233
|
SoundService: SoundService;
|
|
235
234
|
SoundShimService: SoundShimService;
|
|
@@ -9468,15 +9467,6 @@ interface TriangleMeshPart extends BasePart {
|
|
|
9468
9467
|
* @deprecated
|
|
9469
9468
|
*/
|
|
9470
9469
|
readonly _nominal_TriangleMeshPart: unique symbol;
|
|
9471
|
-
/**
|
|
9472
|
-
* Determines the level of detail the part's physics will adhere to its mesh.
|
|
9473
|
-
*
|
|
9474
|
-
* - **ThreadSafety**: ReadSafe
|
|
9475
|
-
* - **Tags**: NotReplicated
|
|
9476
|
-
*
|
|
9477
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TriangleMeshPart#CollisionFidelity)
|
|
9478
|
-
*/
|
|
9479
|
-
set CollisionFidelity(value: Enum.CollisionFidelity);
|
|
9480
9470
|
/**
|
|
9481
9471
|
* - **ThreadSafety**: ReadSafe
|
|
9482
9472
|
* - **Tags**: NotReplicated
|
|
@@ -9484,15 +9474,6 @@ interface TriangleMeshPart extends BasePart {
|
|
|
9484
9474
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TriangleMeshPart#CollisionPrecision)
|
|
9485
9475
|
*/
|
|
9486
9476
|
set CollisionPrecision(value: number);
|
|
9487
|
-
/**
|
|
9488
|
-
* Determines the geometric representation used to compute aerodynamic forces and torques.
|
|
9489
|
-
*
|
|
9490
|
-
* - **ThreadSafety**: ReadSafe
|
|
9491
|
-
* - **Tags**: NotReplicated
|
|
9492
|
-
*
|
|
9493
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TriangleMeshPart#FluidFidelity)
|
|
9494
|
-
*/
|
|
9495
|
-
set FluidFidelity(value: Enum.FluidFidelity);
|
|
9496
9477
|
}
|
|
9497
9478
|
/**
|
|
9498
9479
|
* A form of `BasePart` that includes a physically simulated custom mesh.
|
|
@@ -9532,22 +9513,6 @@ interface PartOperation extends TriangleMeshPart {
|
|
|
9532
9513
|
* @deprecated
|
|
9533
9514
|
*/
|
|
9534
9515
|
readonly _nominal_PartOperation: unique symbol;
|
|
9535
|
-
/**
|
|
9536
|
-
* The level of detail used to render the solid modeled part.
|
|
9537
|
-
*
|
|
9538
|
-
* - **ThreadSafety**: ReadSafe
|
|
9539
|
-
*
|
|
9540
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PartOperation#RenderFidelity)
|
|
9541
|
-
*/
|
|
9542
|
-
set RenderFidelity(value: Enum.RenderFidelity);
|
|
9543
|
-
/**
|
|
9544
|
-
* An angle in degrees which affects the smooth shading of a solid modeled part.
|
|
9545
|
-
*
|
|
9546
|
-
* - **ThreadSafety**: ReadSafe
|
|
9547
|
-
*
|
|
9548
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/PartOperation#SmoothingAngle)
|
|
9549
|
-
*/
|
|
9550
|
-
set SmoothingAngle(value: number);
|
|
9551
9516
|
}
|
|
9552
9517
|
/**
|
|
9553
9518
|
* Result of parts that have been intersected into a single solid model.
|
|
@@ -13746,46 +13711,46 @@ interface DataModel extends ServiceProvider<Services> {
|
|
|
13746
13711
|
*/
|
|
13747
13712
|
readonly _nominal_DataModel: unique symbol;
|
|
13748
13713
|
/**
|
|
13749
|
-
*
|
|
13714
|
+
* Returns a table containing basic information about the jobs performed by the task scheduler.
|
|
13750
13715
|
*
|
|
13751
13716
|
* - **ThreadSafety**: Unsafe
|
|
13752
13717
|
*
|
|
13753
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#
|
|
13718
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#GetJobsInfo)
|
|
13754
13719
|
* @param this The root of Roblox's parent-child hierarchy. Its direct children are services, such as `Workspace` and `Lighting`, that act as the fundamental components of a Roblox game.
|
|
13755
|
-
* @
|
|
13720
|
+
* @returns A table containing information about the jobs performed by the task scheduler, see above for the format.
|
|
13756
13721
|
*/
|
|
13757
|
-
|
|
13722
|
+
GetJobsInfo(this: DataModel): Array<unknown>;
|
|
13758
13723
|
/**
|
|
13759
|
-
*
|
|
13724
|
+
* Returns an array of `Instances` associated with the given content URL.
|
|
13760
13725
|
*
|
|
13761
13726
|
* - **ThreadSafety**: Unsafe
|
|
13762
13727
|
*
|
|
13763
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#
|
|
13728
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#GetObjects)
|
|
13764
13729
|
* @param this The root of Roblox's parent-child hierarchy. Its direct children are services, such as `Workspace` and `Lighting`, that act as the fundamental components of a Roblox game.
|
|
13765
|
-
* @param
|
|
13730
|
+
* @param url The given content URL.
|
|
13731
|
+
* @returns An array of `Instances` associated with the content URL.
|
|
13766
13732
|
*/
|
|
13767
|
-
|
|
13733
|
+
GetObjects(this: DataModel, url: ContentId): Array<Instance>;
|
|
13768
13734
|
/**
|
|
13769
|
-
*
|
|
13735
|
+
* Sets the `DataModel.PlaceId` of the current game instance.
|
|
13770
13736
|
*
|
|
13771
13737
|
* - **ThreadSafety**: Unsafe
|
|
13772
13738
|
*
|
|
13773
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#
|
|
13739
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#SetPlaceId)
|
|
13774
13740
|
* @param this The root of Roblox's parent-child hierarchy. Its direct children are services, such as `Workspace` and `Lighting`, that act as the fundamental components of a Roblox game.
|
|
13775
|
-
* @
|
|
13741
|
+
* @param placeId The ID to set the `DataModel.PlaceId` to.
|
|
13776
13742
|
*/
|
|
13777
|
-
|
|
13743
|
+
SetPlaceId(this: DataModel, placeId: number): void;
|
|
13778
13744
|
/**
|
|
13779
|
-
*
|
|
13745
|
+
* Sets the `DataModel.GameId` of the current game instance to the given `universeId`.
|
|
13780
13746
|
*
|
|
13781
13747
|
* - **ThreadSafety**: Unsafe
|
|
13782
13748
|
*
|
|
13783
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#
|
|
13749
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DataModel#SetUniverseId)
|
|
13784
13750
|
* @param this The root of Roblox's parent-child hierarchy. Its direct children are services, such as `Workspace` and `Lighting`, that act as the fundamental components of a Roblox game.
|
|
13785
|
-
* @param
|
|
13786
|
-
* @returns An array of `Instances` associated with the content URL.
|
|
13751
|
+
* @param universeId The ID to set the `DataModel.GameId` to.
|
|
13787
13752
|
*/
|
|
13788
|
-
|
|
13753
|
+
SetUniverseId(this: DataModel, universeId: number): void;
|
|
13789
13754
|
}
|
|
13790
13755
|
/**
|
|
13791
13756
|
* The abstract class for settings database classes.
|
|
@@ -14022,21 +13987,6 @@ interface SmoothVoxelsUpgraderService extends Instance {
|
|
|
14022
13987
|
*/
|
|
14023
13988
|
readonly _nominal_SmoothVoxelsUpgraderService: unique symbol;
|
|
14024
13989
|
}
|
|
14025
|
-
/**
|
|
14026
|
-
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
14027
|
-
*
|
|
14028
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SnippetService)
|
|
14029
|
-
*/
|
|
14030
|
-
interface SnippetService extends Instance {
|
|
14031
|
-
/**
|
|
14032
|
-
* **DO NOT USE!**
|
|
14033
|
-
*
|
|
14034
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
14035
|
-
* @hidden
|
|
14036
|
-
* @deprecated
|
|
14037
|
-
*/
|
|
14038
|
-
readonly _nominal_SnippetService: unique symbol;
|
|
14039
|
-
}
|
|
14040
13990
|
/**
|
|
14041
13991
|
* Facilitates social functions that impact relationships made on the Roblox platform.
|
|
14042
13992
|
*
|
|
@@ -1962,10 +1962,14 @@ declare namespace Enum {
|
|
|
1962
1962
|
}
|
|
1963
1963
|
export type AnimationNodeBlend2DInputMode = AnimationNodeBlend2DInputMode.Cartesian | AnimationNodeBlend2DInputMode.Polar;
|
|
1964
1964
|
/**
|
|
1965
|
+
* Specifies how an `AnimationNodeType.OneShotNode` combines its one-shot pose with its base pose.
|
|
1966
|
+
*
|
|
1965
1967
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AnimationNodeBlendMode)
|
|
1966
1968
|
*/
|
|
1967
1969
|
export namespace AnimationNodeBlendMode {
|
|
1968
1970
|
/**
|
|
1971
|
+
* Composites the one-shot pose on top of the base pose, replacing it by the current blend weight.
|
|
1972
|
+
*
|
|
1969
1973
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AnimationNodeBlendMode#Over)
|
|
1970
1974
|
*/
|
|
1971
1975
|
export interface Over extends globalThis.EnumItem {
|
|
@@ -1975,6 +1979,8 @@ declare namespace Enum {
|
|
|
1975
1979
|
}
|
|
1976
1980
|
export const Over: Over;
|
|
1977
1981
|
/**
|
|
1982
|
+
* Adds the one-shot pose to the base pose as an additive layer scaled by the current blend weight.
|
|
1983
|
+
*
|
|
1978
1984
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AnimationNodeBlendMode#Add)
|
|
1979
1985
|
*/
|
|
1980
1986
|
export interface Add extends globalThis.EnumItem {
|
|
@@ -1984,6 +1990,8 @@ declare namespace Enum {
|
|
|
1984
1990
|
}
|
|
1985
1991
|
export const Add: Add;
|
|
1986
1992
|
/**
|
|
1993
|
+
* Subtracts the one-shot pose from the base pose scaled by the current blend weight.
|
|
1994
|
+
*
|
|
1987
1995
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AnimationNodeBlendMode#Subtract)
|
|
1988
1996
|
*/
|
|
1989
1997
|
export interface Subtract extends globalThis.EnumItem {
|
|
@@ -2329,6 +2337,8 @@ declare namespace Enum {
|
|
|
2329
2337
|
}
|
|
2330
2338
|
export const SubtractNode: SubtractNode;
|
|
2331
2339
|
/**
|
|
2340
|
+
* A layering node that plays a one-shot pose over a looping base pose on trigger, blending it in and back out.
|
|
2341
|
+
*
|
|
2332
2342
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/AnimationNodeType#OneShotNode)
|
|
2333
2343
|
*/
|
|
2334
2344
|
export interface OneShotNode extends globalThis.EnumItem {
|
|
@@ -23637,28 +23647,6 @@ declare namespace Enum {
|
|
|
23637
23647
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.KnownWindow | undefined;
|
|
23638
23648
|
}
|
|
23639
23649
|
export type KnownWindow = KnownWindow.Main;
|
|
23640
|
-
/**
|
|
23641
|
-
* An enumeration embedded in `LocalizationService` that specifies a language context for localization operations; currently defines only `Default`.
|
|
23642
|
-
*
|
|
23643
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/Language)
|
|
23644
|
-
*/
|
|
23645
|
-
export namespace Language {
|
|
23646
|
-
/**
|
|
23647
|
-
* Instructs the engine to use the player's system-determined locale for language resolution rather than a fixed override.
|
|
23648
|
-
*
|
|
23649
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/Language#Default)
|
|
23650
|
-
*/
|
|
23651
|
-
export interface Default extends globalThis.EnumItem {
|
|
23652
|
-
Name: "Default";
|
|
23653
|
-
Value: 0;
|
|
23654
|
-
EnumType: typeof globalThis.Enum.Language;
|
|
23655
|
-
}
|
|
23656
|
-
export const Default: Default;
|
|
23657
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.Language>;
|
|
23658
|
-
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.Language | undefined;
|
|
23659
|
-
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.Language | undefined;
|
|
23660
|
-
}
|
|
23661
|
-
export type Language = Language.Default;
|
|
23662
23650
|
/**
|
|
23663
23651
|
* The LeftRight Enum is used to set where the object is on the side of its parent.
|
|
23664
23652
|
*
|
|
@@ -39848,11 +39836,20 @@ declare namespace Enum {
|
|
|
39848
39836
|
EnumType: typeof globalThis.Enum.TeleportMethod;
|
|
39849
39837
|
}
|
|
39850
39838
|
export const Teleport: Teleport;
|
|
39839
|
+
/**
|
|
39840
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/TeleportMethod#TeleportSwitchServer)
|
|
39841
|
+
*/
|
|
39842
|
+
export interface TeleportSwitchServer extends globalThis.EnumItem {
|
|
39843
|
+
Name: "TeleportSwitchServer";
|
|
39844
|
+
Value: 8;
|
|
39845
|
+
EnumType: typeof globalThis.Enum.TeleportMethod;
|
|
39846
|
+
}
|
|
39847
|
+
export const TeleportSwitchServer: TeleportSwitchServer;
|
|
39851
39848
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TeleportMethod>;
|
|
39852
39849
|
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.TeleportMethod | undefined;
|
|
39853
39850
|
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.TeleportMethod | undefined;
|
|
39854
39851
|
}
|
|
39855
|
-
export type TeleportMethod = TeleportMethod.TeleportToSpawnByName | TeleportMethod.TeleportToPlaceInstance | TeleportMethod.TeleportToPrivateServer | TeleportMethod.TeleportPartyAsync | TeleportMethod.TeleportToVIPServer | TeleportMethod.TeleportToInstanceBack | TeleportMethod.TeleportUnknown | TeleportMethod.Teleport;
|
|
39852
|
+
export type TeleportMethod = TeleportMethod.TeleportToSpawnByName | TeleportMethod.TeleportToPlaceInstance | TeleportMethod.TeleportToPrivateServer | TeleportMethod.TeleportPartyAsync | TeleportMethod.TeleportToVIPServer | TeleportMethod.TeleportToInstanceBack | TeleportMethod.TeleportUnknown | TeleportMethod.Teleport | TeleportMethod.TeleportSwitchServer;
|
|
39856
39853
|
/**
|
|
39857
39854
|
* Describes the result of a teleport.
|
|
39858
39855
|
*
|