@rbxts/types 1.0.732 → 1.0.733
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.
|
@@ -322,7 +322,7 @@ interface CreatableInstances {
|
|
|
322
322
|
NumberPose: NumberPose;
|
|
323
323
|
NumberValue: NumberValue;
|
|
324
324
|
ObjectValue: ObjectValue;
|
|
325
|
-
|
|
325
|
+
OperationGraph: OperationGraph;
|
|
326
326
|
Pants: Pants;
|
|
327
327
|
Part: Part;
|
|
328
328
|
ParticleEmitter: ParticleEmitter;
|
|
@@ -6631,6 +6631,8 @@ interface CaptureService extends Instance {
|
|
|
6631
6631
|
* @deprecated
|
|
6632
6632
|
*/
|
|
6633
6633
|
readonly _nominal_CaptureService: unique symbol;
|
|
6634
|
+
PromptShareCapture(this: CaptureService, contentId: string, launchData: object, onAcceptedCallback: Callback, onDeniedCallback: Callback): void;
|
|
6635
|
+
readonly UserCaptureSaved: RBXScriptSignal<(captureContentId: string) => void>;
|
|
6634
6636
|
}
|
|
6635
6637
|
|
|
6636
6638
|
/** Base class for objects that change a character's appearance. */
|
|
@@ -7496,6 +7498,14 @@ interface Constraint extends Instance {
|
|
|
7496
7498
|
* Toggles the visibility of this Constraint.
|
|
7497
7499
|
*/
|
|
7498
7500
|
Visible: boolean;
|
|
7501
|
+
/**
|
|
7502
|
+
* @deprecated
|
|
7503
|
+
*/
|
|
7504
|
+
GetDebugAppliedForce(this: Constraint, bodyId: number): Vector3;
|
|
7505
|
+
/**
|
|
7506
|
+
* @deprecated
|
|
7507
|
+
*/
|
|
7508
|
+
GetDebugAppliedTorque(this: Constraint, bodyId: number): Vector3;
|
|
7499
7509
|
}
|
|
7500
7510
|
|
|
7501
7511
|
/** An AlignOrientation attempts to constrain its [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0)'s orientation to the goal orientation, which is determined by [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1) or [CFrame](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/CFrame) depending on the [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode).
|
|
@@ -9575,7 +9585,7 @@ interface EditableMesh extends DataModelMesh {
|
|
|
9575
9585
|
GetVertexColorAlpha(this: EditableMesh, vertexId: number): number;
|
|
9576
9586
|
GetVertexNormal(this: EditableMesh, vertexId: number): Vector3;
|
|
9577
9587
|
GetVertices(this: EditableMesh): unknown;
|
|
9578
|
-
|
|
9588
|
+
RaycastLocal(this: EditableMesh, origin: Vector3, direction: Vector3): unknown;
|
|
9579
9589
|
RemoveTriangle(this: EditableMesh, triangleId: number): void;
|
|
9580
9590
|
RemoveVertex(this: EditableMesh, vertexId: number): void;
|
|
9581
9591
|
SetPosition(this: EditableMesh, vertexId: number, p: Vector3): void;
|
|
@@ -23509,7 +23519,7 @@ interface OpenCloudService extends Instance {
|
|
|
23509
23519
|
InvokeAsync(this: OpenCloudService, version: string, methodName: string, arguments: object): object;
|
|
23510
23520
|
}
|
|
23511
23521
|
|
|
23512
|
-
interface
|
|
23522
|
+
interface OperationGraph extends Instance {
|
|
23513
23523
|
/**
|
|
23514
23524
|
* **DO NOT USE!**
|
|
23515
23525
|
*
|
|
@@ -23517,7 +23527,7 @@ interface OperationTree extends Instance {
|
|
|
23517
23527
|
* @hidden
|
|
23518
23528
|
* @deprecated
|
|
23519
23529
|
*/
|
|
23520
|
-
readonly
|
|
23530
|
+
readonly _nominal_OperationGraph: unique symbol;
|
|
23521
23531
|
}
|
|
23522
23532
|
|
|
23523
23533
|
/** A [PVInstance](https://developer.roblox.com/en-us/api-reference/class/PVInstance) (“Position Velocity Instance”) is an abstract class that cannot be created. It is the base for all objects that have a physical location in the world, specifically [BaseParts](https://developer.roblox.com/en-us/api-reference/class/BasePart) and [Models](https://developer.roblox.com/en-us/api-reference/class/Model). */
|
|
@@ -25046,6 +25056,7 @@ interface Terrain extends BasePart {
|
|
|
25046
25056
|
* 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.
|
|
25047
25057
|
*/
|
|
25048
25058
|
PasteRegion(this: Terrain, region: TerrainRegion, corner: Vector3int16, pasteEmptyCells: boolean): void;
|
|
25059
|
+
ReadVoxelChannels(this: Terrain, region: Region3, resolution: number, channelIds: Array<any>): object;
|
|
25049
25060
|
/**
|
|
25050
25061
|
* 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).
|
|
25051
25062
|
*
|
|
@@ -25102,6 +25113,7 @@ interface Terrain extends BasePart {
|
|
|
25102
25113
|
* Returns the grid cell location that contains the point position, preferring non-empty grid cells when position is on a grid edge.
|
|
25103
25114
|
*/
|
|
25104
25115
|
WorldToCellPreferSolid(this: Terrain, position: Vector3): Vector3;
|
|
25116
|
+
WriteVoxelChannels(this: Terrain, region: Region3, resolution: number, channels: object): void;
|
|
25105
25117
|
/**
|
|
25106
25118
|
* 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")
|
|
25107
25119
|
*
|
|
@@ -1671,6 +1671,35 @@ declare namespace Enum {
|
|
|
1671
1671
|
}
|
|
1672
1672
|
export type AssetTypeVerification = AssetTypeVerification.Default | AssetTypeVerification.ClientOnly | AssetTypeVerification.Always;
|
|
1673
1673
|
|
|
1674
|
+
export namespace AudioApiRollout {
|
|
1675
|
+
export interface Disabled extends globalThis.EnumItem {
|
|
1676
|
+
Name: "Disabled";
|
|
1677
|
+
Value: 0;
|
|
1678
|
+
EnumType: typeof globalThis.Enum.AudioApiRollout;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
export const Disabled: Disabled;
|
|
1682
|
+
|
|
1683
|
+
export interface Automatic extends globalThis.EnumItem {
|
|
1684
|
+
Name: "Automatic";
|
|
1685
|
+
Value: 1;
|
|
1686
|
+
EnumType: typeof globalThis.Enum.AudioApiRollout;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
export const Automatic: Automatic;
|
|
1690
|
+
|
|
1691
|
+
export interface Enabled extends globalThis.EnumItem {
|
|
1692
|
+
Name: "Enabled";
|
|
1693
|
+
Value: 2;
|
|
1694
|
+
EnumType: typeof globalThis.Enum.AudioApiRollout;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
export const Enabled: Enabled;
|
|
1698
|
+
|
|
1699
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AudioApiRollout>;
|
|
1700
|
+
}
|
|
1701
|
+
export type AudioApiRollout = AudioApiRollout.Disabled | AudioApiRollout.Automatic | AudioApiRollout.Enabled;
|
|
1702
|
+
|
|
1674
1703
|
export namespace AudioSubType {
|
|
1675
1704
|
export interface Music extends globalThis.EnumItem {
|
|
1676
1705
|
Name: "Music";
|