@dcl/playground-assets 7.31.1-40370968977.commit-10922ec → 7.31.1-40604676255.commit-cb3ed84
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.
- package/dist/alpha.d.ts +772 -124
- package/dist/beta.d.ts +772 -124
- package/dist/index.bundled.d.ts +772 -124
- package/dist/index.js +9 -9
- package/dist/playground/sdk/apis.d.ts +37 -2
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +772 -124
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +11894 -5065
- package/etc/playground-assets.api.md +503 -84
- package/package.json +5 -6
|
@@ -136,29 +136,6 @@ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElem
|
|
|
136
136
|
getAudioState(entity: Entity): PBAudioEvent | undefined;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
// @public (undocumented)
|
|
140
|
-
export type AuthoritativePutComponentMessage = CrdtMessageHeader & AuthoritativePutComponentMessageBody;
|
|
141
|
-
|
|
142
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
143
|
-
//
|
|
144
|
-
// @public
|
|
145
|
-
export type AuthoritativePutComponentMessageBody = {
|
|
146
|
-
type: CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT;
|
|
147
|
-
entityId: Entity;
|
|
148
|
-
componentId: number;
|
|
149
|
-
timestamp: number;
|
|
150
|
-
data: Uint8Array;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
// @public (undocumented)
|
|
154
|
-
export namespace AuthoritativePutComponentOperation {
|
|
155
|
-
const // (undocumented)
|
|
156
|
-
MESSAGE_HEADER_LENGTH = 16;
|
|
157
|
-
// (undocumented)
|
|
158
|
-
export function read(buf: ByteBuffer): AuthoritativePutComponentMessage | null;
|
|
159
|
-
export function write(entity: Entity, timestamp: number, componentId: number, data: Uint8Array, buf: ByteBuffer): void;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
139
|
// @public (undocumented)
|
|
163
140
|
export const enum AvatarAnchorPointType {
|
|
164
141
|
// (undocumented)
|
|
@@ -215,6 +192,25 @@ export const enum AvatarAnchorPointType {
|
|
|
215
192
|
AAPT_SPINE2 = 8
|
|
216
193
|
}
|
|
217
194
|
|
|
195
|
+
// @public (undocumented)
|
|
196
|
+
export interface AvatarAnimationState {
|
|
197
|
+
duration: number;
|
|
198
|
+
idle: boolean;
|
|
199
|
+
loop: boolean;
|
|
200
|
+
loopCount: number;
|
|
201
|
+
playbackTime: number;
|
|
202
|
+
speed: number;
|
|
203
|
+
src: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// @public (undocumented)
|
|
207
|
+
export namespace AvatarAnimationState {
|
|
208
|
+
// (undocumented)
|
|
209
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarAnimationState;
|
|
210
|
+
// (undocumented)
|
|
211
|
+
export function encode(message: AvatarAnimationState, writer?: _m0.Writer): _m0.Writer;
|
|
212
|
+
}
|
|
213
|
+
|
|
218
214
|
// @public (undocumented)
|
|
219
215
|
export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
|
220
216
|
|
|
@@ -224,8 +220,18 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
|
|
|
224
220
|
// @public (undocumented)
|
|
225
221
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
226
222
|
|
|
223
|
+
// Warning: (ae-missing-release-tag) "AvatarEquippedData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
224
|
+
//
|
|
225
|
+
// @public (undocumented)
|
|
226
|
+
export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
|
|
227
|
+
|
|
227
228
|
// @public (undocumented)
|
|
228
|
-
export
|
|
229
|
+
export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
230
|
+
|
|
231
|
+
// @public
|
|
232
|
+
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
233
|
+
forceRender?: string[] | undefined;
|
|
234
|
+
};
|
|
229
235
|
|
|
230
236
|
// @public (undocumented)
|
|
231
237
|
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
@@ -246,11 +252,27 @@ export const enum AvatarModifierType {
|
|
|
246
252
|
AMT_HIDE_NAMETAGS = 2
|
|
247
253
|
}
|
|
248
254
|
|
|
255
|
+
// @public (undocumented)
|
|
256
|
+
export const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
|
|
257
|
+
|
|
258
|
+
// @public (undocumented)
|
|
259
|
+
export const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
|
|
260
|
+
|
|
249
261
|
// @public (undocumented)
|
|
250
262
|
export const AvatarNametag: LastWriteWinElementSetComponentDefinition<PBAvatarNametag>;
|
|
251
263
|
|
|
264
|
+
// Warning: (ae-missing-release-tag) "AvatarShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
265
|
+
//
|
|
266
|
+
// @public (undocumented)
|
|
267
|
+
export const AvatarShape: AvatarShapeComponentDefinitionExtended;
|
|
268
|
+
|
|
252
269
|
// @public (undocumented)
|
|
253
|
-
export
|
|
270
|
+
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
271
|
+
|
|
272
|
+
// @public
|
|
273
|
+
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
274
|
+
forceRender?: string[] | undefined;
|
|
275
|
+
};
|
|
254
276
|
|
|
255
277
|
// @public (undocumented)
|
|
256
278
|
export interface AvatarTexture {
|
|
@@ -286,20 +308,12 @@ export interface BaseComponent<T> {
|
|
|
286
308
|
dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
|
|
287
309
|
entityDeleted(entity: Entity, markAsDirty: boolean): void;
|
|
288
310
|
get(entity: Entity): any;
|
|
289
|
-
getCrdtState(entity: Entity): {
|
|
290
|
-
data: Uint8Array;
|
|
291
|
-
timestamp: number;
|
|
292
|
-
} | null;
|
|
293
311
|
getCrdtUpdates(): Iterable<CrdtMessageBody>;
|
|
294
312
|
has(entity: Entity): boolean;
|
|
295
313
|
onChange(entity: Entity, cb: (value: T | undefined) => void): void;
|
|
296
314
|
// (undocumented)
|
|
297
315
|
readonly schema: ISchema<T>;
|
|
298
316
|
updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
|
|
299
|
-
// (undocumented)
|
|
300
|
-
validateBeforeChange(entity: Entity, cb: ValidateCallback<T>): void;
|
|
301
|
-
// (undocumented)
|
|
302
|
-
validateBeforeChange(cb: ValidateCallback<T>): void;
|
|
303
317
|
}
|
|
304
318
|
|
|
305
319
|
// @public (undocumented)
|
|
@@ -463,7 +477,13 @@ export interface ByteBuffer {
|
|
|
463
477
|
}
|
|
464
478
|
|
|
465
479
|
// @public
|
|
466
|
-
export type Callback = () => void;
|
|
480
|
+
export type Callback = (event: PBPointerEventsResult) => void;
|
|
481
|
+
|
|
482
|
+
// @public (undocumented)
|
|
483
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
484
|
+
|
|
485
|
+
// @public (undocumented)
|
|
486
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
467
487
|
|
|
468
488
|
// @public (undocumented)
|
|
469
489
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
@@ -755,17 +775,24 @@ export const componentDefinitionByName: {
|
|
|
755
775
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
756
776
|
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
757
777
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
778
|
+
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
779
|
+
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
758
780
|
"core::AvatarNametag": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarNametag>>;
|
|
759
781
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
760
782
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
783
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
784
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
761
785
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
762
786
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
763
787
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
764
788
|
"core::ExplorerItemPurchaseResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerItemPurchaseResult>>;
|
|
765
789
|
"core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
|
|
790
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
766
791
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
767
792
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
793
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
768
794
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
795
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
769
796
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
770
797
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
771
798
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -786,6 +813,7 @@ export const componentDefinitionByName: {
|
|
|
786
813
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
787
814
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
788
815
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
816
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
789
817
|
"core::TouchScreenControls": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>>;
|
|
790
818
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
791
819
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
@@ -793,12 +821,14 @@ export const componentDefinitionByName: {
|
|
|
793
821
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
794
822
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
795
823
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
824
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
796
825
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
797
826
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
798
827
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
799
828
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
800
829
|
"core::UiInputBinding": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputBinding>>;
|
|
801
830
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
831
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
802
832
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
803
833
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
804
834
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -940,10 +970,10 @@ export type Coords = {
|
|
|
940
970
|
export const CRDT_MESSAGE_HEADER_LENGTH = 8;
|
|
941
971
|
|
|
942
972
|
// @public (undocumented)
|
|
943
|
-
export type CrdtMessage = PutComponentMessage |
|
|
973
|
+
export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
944
974
|
|
|
945
975
|
// @public (undocumented)
|
|
946
|
-
export type CrdtMessageBody = PutComponentMessageBody |
|
|
976
|
+
export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
947
977
|
|
|
948
978
|
// @public
|
|
949
979
|
export type CrdtMessageHeader = {
|
|
@@ -964,8 +994,6 @@ export enum CrdtMessageType {
|
|
|
964
994
|
// (undocumented)
|
|
965
995
|
APPEND_VALUE = 4,
|
|
966
996
|
// (undocumented)
|
|
967
|
-
AUTHORITATIVE_PUT_COMPONENT = 8,
|
|
968
|
-
// (undocumented)
|
|
969
997
|
DELETE_COMPONENT = 2,
|
|
970
998
|
// (undocumented)
|
|
971
999
|
DELETE_COMPONENT_NETWORK = 6,
|
|
@@ -974,7 +1002,7 @@ export enum CrdtMessageType {
|
|
|
974
1002
|
// (undocumented)
|
|
975
1003
|
DELETE_ENTITY_NETWORK = 7,
|
|
976
1004
|
// (undocumented)
|
|
977
|
-
MAX_MESSAGE_TYPE =
|
|
1005
|
+
MAX_MESSAGE_TYPE = 8,
|
|
978
1006
|
// (undocumented)
|
|
979
1007
|
PUT_COMPONENT = 1,
|
|
980
1008
|
// (undocumented)
|
|
@@ -986,11 +1014,6 @@ export enum CrdtMessageType {
|
|
|
986
1014
|
// @public (undocumented)
|
|
987
1015
|
export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
|
|
988
1016
|
|
|
989
|
-
// Warning: (ae-missing-release-tag) "CreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
990
|
-
//
|
|
991
|
-
// @public (undocumented)
|
|
992
|
-
export const CreatedBy: ICreatedBy;
|
|
993
|
-
|
|
994
1017
|
// @public (undocumented)
|
|
995
1018
|
export function createEntityContainer(opts?: {
|
|
996
1019
|
reservedStaticEntities: number;
|
|
@@ -1260,6 +1283,9 @@ export type EntityComponents = {
|
|
|
1260
1283
|
onMouseUp: Callback;
|
|
1261
1284
|
onMouseEnter: Callback;
|
|
1262
1285
|
onMouseLeave: Callback;
|
|
1286
|
+
onMouseDrag: Callback;
|
|
1287
|
+
onMouseDragLocked: Callback;
|
|
1288
|
+
onMouseDragEnd: Callback;
|
|
1263
1289
|
};
|
|
1264
1290
|
|
|
1265
1291
|
// @public (undocumented)
|
|
@@ -1450,6 +1476,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1450
1476
|
direction?: PBVector3;
|
|
1451
1477
|
};
|
|
1452
1478
|
|
|
1479
|
+
// @public (undocumented)
|
|
1480
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1481
|
+
|
|
1453
1482
|
// Warning: (ae-missing-release-tag) "GlobalTargetRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1454
1483
|
//
|
|
1455
1484
|
// @public (undocumented)
|
|
@@ -1468,9 +1497,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1468
1497
|
// @public (undocumented)
|
|
1469
1498
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1470
1499
|
|
|
1500
|
+
// @public (undocumented)
|
|
1501
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1502
|
+
|
|
1471
1503
|
// @public (undocumented)
|
|
1472
1504
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1473
1505
|
|
|
1506
|
+
// @public (undocumented)
|
|
1507
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1508
|
+
|
|
1509
|
+
// @public (undocumented)
|
|
1510
|
+
export const enum GltfNodeStateValue {
|
|
1511
|
+
// (undocumented)
|
|
1512
|
+
GNSV_FAILED = 1,
|
|
1513
|
+
// (undocumented)
|
|
1514
|
+
GNSV_PENDING = 0,
|
|
1515
|
+
// (undocumented)
|
|
1516
|
+
GNSV_READY = 2
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1474
1519
|
// @public (undocumented)
|
|
1475
1520
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1476
1521
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1484,19 +1529,6 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
|
|
|
1484
1529
|
// @public (undocumented)
|
|
1485
1530
|
export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
|
|
1486
1531
|
|
|
1487
|
-
// Warning: (ae-missing-release-tag) "ICreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1488
|
-
//
|
|
1489
|
-
// @public (undocumented)
|
|
1490
|
-
export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
|
|
1491
|
-
|
|
1492
|
-
// Warning: (ae-missing-release-tag) "ICreatedByType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1493
|
-
//
|
|
1494
|
-
// @public (undocumented)
|
|
1495
|
-
export interface ICreatedByType {
|
|
1496
|
-
// (undocumented)
|
|
1497
|
-
address: string;
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
1532
|
// @public (undocumented)
|
|
1501
1533
|
export interface IEngine {
|
|
1502
1534
|
addEntity(): Entity;
|
|
@@ -1753,20 +1785,6 @@ export const enum InteractionType {
|
|
|
1753
1785
|
PROXIMITY = 1
|
|
1754
1786
|
}
|
|
1755
1787
|
|
|
1756
|
-
// Warning: (ae-missing-release-tag) "InternalBaseComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1757
|
-
//
|
|
1758
|
-
// @public
|
|
1759
|
-
export interface InternalBaseComponent<T> extends BaseComponent<T> {
|
|
1760
|
-
__dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
|
|
1761
|
-
// (undocumented)
|
|
1762
|
-
__onChangeCallbacks(entity: Entity, value: T): void;
|
|
1763
|
-
// (undocumented)
|
|
1764
|
-
__run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
|
|
1765
|
-
// (undocumented)
|
|
1766
|
-
dirtyIterator(): Iterable<Entity>;
|
|
1767
|
-
iterator(): Iterable<[Entity, any]>;
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
1788
|
// @public (undocumented)
|
|
1771
1789
|
export interface ISchema<T = any> {
|
|
1772
1790
|
// (undocumented)
|
|
@@ -1899,6 +1917,9 @@ export type Listeners = {
|
|
|
1899
1917
|
onMouseUp?: Callback;
|
|
1900
1918
|
onMouseEnter?: Callback;
|
|
1901
1919
|
onMouseLeave?: Callback;
|
|
1920
|
+
onMouseDrag?: Callback;
|
|
1921
|
+
onMouseDragLocked?: Callback;
|
|
1922
|
+
onMouseDragEnd?: Callback;
|
|
1902
1923
|
};
|
|
1903
1924
|
|
|
1904
1925
|
// @public (undocumented)
|
|
@@ -2142,6 +2163,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
2142
2163
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
2143
2164
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2144
2165
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2166
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2145
2167
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2146
2168
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2147
2169
|
}
|
|
@@ -2155,6 +2177,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
2155
2177
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
2156
2178
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
2157
2179
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2180
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
2158
2181
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
2159
2182
|
setSphere(entity: Entity): void;
|
|
2160
2183
|
}
|
|
@@ -2202,6 +2225,25 @@ export namespace MoveContinuous {
|
|
|
2202
2225
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2203
2226
|
}
|
|
2204
2227
|
|
|
2228
|
+
// @public (undocumented)
|
|
2229
|
+
export interface MovementAnimation {
|
|
2230
|
+
idle: boolean;
|
|
2231
|
+
loop: boolean;
|
|
2232
|
+
playbackTime?: number | undefined;
|
|
2233
|
+
sounds: string[];
|
|
2234
|
+
speed: number;
|
|
2235
|
+
src: string;
|
|
2236
|
+
transitionSeconds?: number | undefined;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
// @public (undocumented)
|
|
2240
|
+
export namespace MovementAnimation {
|
|
2241
|
+
// (undocumented)
|
|
2242
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MovementAnimation;
|
|
2243
|
+
// (undocumented)
|
|
2244
|
+
export function encode(message: MovementAnimation, writer?: _m0.Writer): _m0.Writer;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2205
2247
|
// @public (undocumented)
|
|
2206
2248
|
export interface MoveRotateScale {
|
|
2207
2249
|
// (undocumented)
|
|
@@ -2448,6 +2490,19 @@ export const onVideoEvent: Observable<{
|
|
|
2448
2490
|
totalVideoLength: number;
|
|
2449
2491
|
}>;
|
|
2450
2492
|
|
|
2493
|
+
// @public (undocumented)
|
|
2494
|
+
export interface Orthographic {
|
|
2495
|
+
verticalRange?: number | undefined;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
// @public (undocumented)
|
|
2499
|
+
export namespace Orthographic {
|
|
2500
|
+
// (undocumented)
|
|
2501
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2502
|
+
// (undocumented)
|
|
2503
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2451
2506
|
// @public
|
|
2452
2507
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2453
2508
|
|
|
@@ -2682,6 +2737,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2682
2737
|
export interface PBAvatarEquippedData {
|
|
2683
2738
|
// (undocumented)
|
|
2684
2739
|
emoteUrns: string[];
|
|
2740
|
+
forceRender: string[];
|
|
2685
2741
|
// (undocumented)
|
|
2686
2742
|
wearableUrns: string[];
|
|
2687
2743
|
}
|
|
@@ -2720,6 +2776,7 @@ export interface PBAvatarModifierArea {
|
|
|
2720
2776
|
area: PBVector3 | undefined;
|
|
2721
2777
|
excludeIds: string[];
|
|
2722
2778
|
modifiers: AvatarModifierType[];
|
|
2779
|
+
useColliderRange?: boolean | undefined;
|
|
2723
2780
|
}
|
|
2724
2781
|
|
|
2725
2782
|
// @public (undocumented)
|
|
@@ -2730,6 +2787,51 @@ export namespace PBAvatarModifierArea {
|
|
|
2730
2787
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2731
2788
|
}
|
|
2732
2789
|
|
|
2790
|
+
// @public (undocumented)
|
|
2791
|
+
export interface PBAvatarMovement {
|
|
2792
|
+
animation?: MovementAnimation | undefined;
|
|
2793
|
+
// (undocumented)
|
|
2794
|
+
groundDirection?: PBVector3 | undefined;
|
|
2795
|
+
orientation: number;
|
|
2796
|
+
tiltPitch?: number | undefined;
|
|
2797
|
+
tiltRoll?: number | undefined;
|
|
2798
|
+
// (undocumented)
|
|
2799
|
+
velocity: PBVector3 | undefined;
|
|
2800
|
+
walkSuccess?: boolean | undefined;
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
// @public (undocumented)
|
|
2804
|
+
export namespace PBAvatarMovement {
|
|
2805
|
+
// (undocumented)
|
|
2806
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
|
|
2807
|
+
// (undocumented)
|
|
2808
|
+
export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
// @public (undocumented)
|
|
2812
|
+
export interface PBAvatarMovementInfo {
|
|
2813
|
+
activeAnimationState?: AvatarAnimationState | undefined;
|
|
2814
|
+
// (undocumented)
|
|
2815
|
+
activeAvatarLocomotionSettings: PBAvatarLocomotionSettings | undefined;
|
|
2816
|
+
// (undocumented)
|
|
2817
|
+
activeInputModifier: PBInputModifier | undefined;
|
|
2818
|
+
actualVelocity: PBVector3 | undefined;
|
|
2819
|
+
externalVelocity: PBVector3 | undefined;
|
|
2820
|
+
previousStepTime: number;
|
|
2821
|
+
requestedVelocity: PBVector3 | undefined;
|
|
2822
|
+
stepTime: number;
|
|
2823
|
+
walkTarget?: PBVector3 | undefined;
|
|
2824
|
+
walkThreshold?: number | undefined;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
// @public (undocumented)
|
|
2828
|
+
export namespace PBAvatarMovementInfo {
|
|
2829
|
+
// (undocumented)
|
|
2830
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
|
|
2831
|
+
// (undocumented)
|
|
2832
|
+
export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2733
2835
|
// @public (undocumented)
|
|
2734
2836
|
export interface PBAvatarNametag {
|
|
2735
2837
|
backgroundColor?: PBColor3 | undefined;
|
|
@@ -2753,6 +2855,7 @@ export interface PBAvatarShape {
|
|
|
2753
2855
|
expressionTriggerId?: string | undefined;
|
|
2754
2856
|
expressionTriggerTimestamp?: number | undefined;
|
|
2755
2857
|
eyeColor?: PBColor3 | undefined;
|
|
2858
|
+
forceRender: string[];
|
|
2756
2859
|
hairColor?: PBColor3 | undefined;
|
|
2757
2860
|
id: string;
|
|
2758
2861
|
name?: string | undefined;
|
|
@@ -2784,6 +2887,42 @@ export namespace PBBillboard {
|
|
|
2784
2887
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2785
2888
|
}
|
|
2786
2889
|
|
|
2890
|
+
// @public (undocumented)
|
|
2891
|
+
export interface PBCameraLayer {
|
|
2892
|
+
// (undocumented)
|
|
2893
|
+
ambientBrightnessOverride?: number | undefined;
|
|
2894
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2895
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
2896
|
+
directionalLight?: boolean | undefined;
|
|
2897
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2898
|
+
layer: number;
|
|
2899
|
+
showAvatars?: boolean | undefined;
|
|
2900
|
+
showFog?: boolean | undefined;
|
|
2901
|
+
showSkybox?: boolean | undefined;
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
// @public (undocumented)
|
|
2905
|
+
export namespace PBCameraLayer {
|
|
2906
|
+
// (undocumented)
|
|
2907
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2908
|
+
// (undocumented)
|
|
2909
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
// @public (undocumented)
|
|
2913
|
+
export interface PBCameraLayers {
|
|
2914
|
+
// (undocumented)
|
|
2915
|
+
layers: number[];
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
// @public (undocumented)
|
|
2919
|
+
export namespace PBCameraLayers {
|
|
2920
|
+
// (undocumented)
|
|
2921
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2922
|
+
// (undocumented)
|
|
2923
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2787
2926
|
// @public (undocumented)
|
|
2788
2927
|
export interface PBCameraMode {
|
|
2789
2928
|
mode: CameraType;
|
|
@@ -2801,6 +2940,7 @@ export namespace PBCameraMode {
|
|
|
2801
2940
|
export interface PBCameraModeArea {
|
|
2802
2941
|
area: PBVector3 | undefined;
|
|
2803
2942
|
mode: CameraType;
|
|
2943
|
+
useColliderRange?: boolean | undefined;
|
|
2804
2944
|
}
|
|
2805
2945
|
|
|
2806
2946
|
// @public (undocumented)
|
|
@@ -2975,6 +3115,21 @@ export namespace PBExplorerUiEventsResult_UiOpened {
|
|
|
2975
3115
|
export function encode(_: PBExplorerUiEventsResult_UiOpened, writer?: _m0.Writer): _m0.Writer;
|
|
2976
3116
|
}
|
|
2977
3117
|
|
|
3118
|
+
// @public (undocumented)
|
|
3119
|
+
export interface PBGlobalLight {
|
|
3120
|
+
ambientBrightness?: number | undefined;
|
|
3121
|
+
ambientColor?: PBColor3 | undefined;
|
|
3122
|
+
direction?: PBVector3 | undefined;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
// @public (undocumented)
|
|
3126
|
+
export namespace PBGlobalLight {
|
|
3127
|
+
// (undocumented)
|
|
3128
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
3129
|
+
// (undocumented)
|
|
3130
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
3131
|
+
}
|
|
3132
|
+
|
|
2978
3133
|
// @public (undocumented)
|
|
2979
3134
|
export interface PBGltfContainer {
|
|
2980
3135
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2992,8 +3147,13 @@ export namespace PBGltfContainer {
|
|
|
2992
3147
|
|
|
2993
3148
|
// @public (undocumented)
|
|
2994
3149
|
export interface PBGltfContainerLoadingState {
|
|
3150
|
+
animationNames: string[];
|
|
2995
3151
|
// (undocumented)
|
|
2996
3152
|
currentState: LoadingState;
|
|
3153
|
+
materialNames: string[];
|
|
3154
|
+
meshNames: string[];
|
|
3155
|
+
nodePaths: string[];
|
|
3156
|
+
skinNames: string[];
|
|
2997
3157
|
}
|
|
2998
3158
|
|
|
2999
3159
|
// @public (undocumented)
|
|
@@ -3004,6 +3164,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
3004
3164
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
3005
3165
|
}
|
|
3006
3166
|
|
|
3167
|
+
// @public (undocumented)
|
|
3168
|
+
export interface PBGltfNode {
|
|
3169
|
+
path: string;
|
|
3170
|
+
}
|
|
3171
|
+
|
|
3172
|
+
// @public (undocumented)
|
|
3173
|
+
export namespace PBGltfNode {
|
|
3174
|
+
// (undocumented)
|
|
3175
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
3176
|
+
// (undocumented)
|
|
3177
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3007
3180
|
// @public (undocumented)
|
|
3008
3181
|
export interface PBGltfNodeModifiers {
|
|
3009
3182
|
// (undocumented)
|
|
@@ -3033,6 +3206,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
3033
3206
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
3034
3207
|
}
|
|
3035
3208
|
|
|
3209
|
+
// @public (undocumented)
|
|
3210
|
+
export interface PBGltfNodeState {
|
|
3211
|
+
// (undocumented)
|
|
3212
|
+
error?: string | undefined;
|
|
3213
|
+
// (undocumented)
|
|
3214
|
+
state: GltfNodeStateValue;
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3217
|
+
// @public (undocumented)
|
|
3218
|
+
export namespace PBGltfNodeState {
|
|
3219
|
+
// (undocumented)
|
|
3220
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
3221
|
+
// (undocumented)
|
|
3222
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3036
3225
|
// @public (undocumented)
|
|
3037
3226
|
export interface PBInputModifier {
|
|
3038
3227
|
// (undocumented)
|
|
@@ -3145,6 +3334,7 @@ export namespace PBMainCamera {
|
|
|
3145
3334
|
|
|
3146
3335
|
// @public (undocumented)
|
|
3147
3336
|
export interface PBMaterial {
|
|
3337
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
3148
3338
|
// (undocumented)
|
|
3149
3339
|
material?: {
|
|
3150
3340
|
$case: "unlit";
|
|
@@ -3163,6 +3353,22 @@ export namespace PBMaterial {
|
|
|
3163
3353
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3164
3354
|
}
|
|
3165
3355
|
|
|
3356
|
+
// @public (undocumented)
|
|
3357
|
+
export interface PBMaterial_GltfMaterial {
|
|
3358
|
+
// (undocumented)
|
|
3359
|
+
gltfSrc: string;
|
|
3360
|
+
// (undocumented)
|
|
3361
|
+
name: string;
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3364
|
+
// @public (undocumented)
|
|
3365
|
+
export namespace PBMaterial_GltfMaterial {
|
|
3366
|
+
// (undocumented)
|
|
3367
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
3368
|
+
// (undocumented)
|
|
3369
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3370
|
+
}
|
|
3371
|
+
|
|
3166
3372
|
// @public (undocumented)
|
|
3167
3373
|
export interface PBMaterial_PbrMaterial {
|
|
3168
3374
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -3224,6 +3430,9 @@ export interface PBMeshCollider {
|
|
|
3224
3430
|
} | {
|
|
3225
3431
|
$case: "plane";
|
|
3226
3432
|
plane: PBMeshCollider_PlaneMesh;
|
|
3433
|
+
} | {
|
|
3434
|
+
$case: "gltf";
|
|
3435
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
3227
3436
|
} | undefined;
|
|
3228
3437
|
}
|
|
3229
3438
|
|
|
@@ -3261,6 +3470,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
3261
3470
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3262
3471
|
}
|
|
3263
3472
|
|
|
3473
|
+
// @public (undocumented)
|
|
3474
|
+
export interface PBMeshCollider_GltfMesh {
|
|
3475
|
+
gltfSrc: string;
|
|
3476
|
+
name: string;
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3479
|
+
// @public (undocumented)
|
|
3480
|
+
export namespace PBMeshCollider_GltfMesh {
|
|
3481
|
+
// (undocumented)
|
|
3482
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
3483
|
+
// (undocumented)
|
|
3484
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3264
3487
|
// @public (undocumented)
|
|
3265
3488
|
export interface PBMeshCollider_PlaneMesh {
|
|
3266
3489
|
}
|
|
@@ -3300,6 +3523,9 @@ export interface PBMeshRenderer {
|
|
|
3300
3523
|
} | {
|
|
3301
3524
|
$case: "plane";
|
|
3302
3525
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3526
|
+
} | {
|
|
3527
|
+
$case: "gltf";
|
|
3528
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
3303
3529
|
} | undefined;
|
|
3304
3530
|
}
|
|
3305
3531
|
|
|
@@ -3338,6 +3564,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
3338
3564
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3339
3565
|
}
|
|
3340
3566
|
|
|
3567
|
+
// @public (undocumented)
|
|
3568
|
+
export interface PBMeshRenderer_GltfMesh {
|
|
3569
|
+
gltfSrc: string;
|
|
3570
|
+
name: string;
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
// @public (undocumented)
|
|
3574
|
+
export namespace PBMeshRenderer_GltfMesh {
|
|
3575
|
+
// (undocumented)
|
|
3576
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3577
|
+
// (undocumented)
|
|
3578
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3341
3581
|
// @public (undocumented)
|
|
3342
3582
|
export interface PBMeshRenderer_PlaneMesh {
|
|
3343
3583
|
uvs: number[];
|
|
@@ -3766,9 +4006,11 @@ export interface PBRaycast {
|
|
|
3766
4006
|
$case: "targetEntity";
|
|
3767
4007
|
targetEntity: number;
|
|
3768
4008
|
} | undefined;
|
|
4009
|
+
includeWorld?: boolean | undefined;
|
|
3769
4010
|
maxDistance: number;
|
|
3770
4011
|
originOffset?: PBVector3 | undefined;
|
|
3771
4012
|
queryType: RaycastQueryType;
|
|
4013
|
+
shape?: RaycastShape | undefined;
|
|
3772
4014
|
timestamp?: number | undefined;
|
|
3773
4015
|
}
|
|
3774
4016
|
|
|
@@ -3864,6 +4106,32 @@ export namespace PBTextShape {
|
|
|
3864
4106
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3865
4107
|
}
|
|
3866
4108
|
|
|
4109
|
+
// @public (undocumented)
|
|
4110
|
+
export interface PBTextureCamera {
|
|
4111
|
+
clearColor?: PBColor4 | undefined;
|
|
4112
|
+
farPlane?: number | undefined;
|
|
4113
|
+
height?: number | undefined;
|
|
4114
|
+
layer?: number | undefined;
|
|
4115
|
+
// (undocumented)
|
|
4116
|
+
mode?: {
|
|
4117
|
+
$case: "perspective";
|
|
4118
|
+
perspective: Perspective;
|
|
4119
|
+
} | {
|
|
4120
|
+
$case: "orthographic";
|
|
4121
|
+
orthographic: Orthographic;
|
|
4122
|
+
} | undefined;
|
|
4123
|
+
volume?: number | undefined;
|
|
4124
|
+
width?: number | undefined;
|
|
4125
|
+
}
|
|
4126
|
+
|
|
4127
|
+
// @public (undocumented)
|
|
4128
|
+
export namespace PBTextureCamera {
|
|
4129
|
+
// (undocumented)
|
|
4130
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
4131
|
+
// (undocumented)
|
|
4132
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
4133
|
+
}
|
|
4134
|
+
|
|
3867
4135
|
// @public (undocumented)
|
|
3868
4136
|
export interface PBTouchScreenControls {
|
|
3869
4137
|
hideCrosshair: boolean;
|
|
@@ -4039,6 +4307,23 @@ export namespace PBUiBackground {
|
|
|
4039
4307
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
4040
4308
|
}
|
|
4041
4309
|
|
|
4310
|
+
// @public (undocumented)
|
|
4311
|
+
export interface PBUiCanvas {
|
|
4312
|
+
color?: PBColor4 | undefined;
|
|
4313
|
+
// (undocumented)
|
|
4314
|
+
height: number;
|
|
4315
|
+
// (undocumented)
|
|
4316
|
+
width: number;
|
|
4317
|
+
}
|
|
4318
|
+
|
|
4319
|
+
// @public (undocumented)
|
|
4320
|
+
export namespace PBUiCanvas {
|
|
4321
|
+
// (undocumented)
|
|
4322
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
4323
|
+
// (undocumented)
|
|
4324
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
4325
|
+
}
|
|
4326
|
+
|
|
4042
4327
|
// @public (undocumented)
|
|
4043
4328
|
export interface PBUiCanvasInformation {
|
|
4044
4329
|
devicePixelRatio: number;
|
|
@@ -4098,12 +4383,14 @@ export namespace PBUiDropdownResult {
|
|
|
4098
4383
|
|
|
4099
4384
|
// @public (undocumented)
|
|
4100
4385
|
export interface PBUiInput {
|
|
4386
|
+
clearOnSubmit?: boolean | undefined;
|
|
4101
4387
|
color?: PBColor4 | undefined;
|
|
4102
4388
|
// (undocumented)
|
|
4103
4389
|
disabled: boolean;
|
|
4104
4390
|
font?: Font | undefined;
|
|
4105
4391
|
fontSize?: number | undefined;
|
|
4106
4392
|
fontSrc?: string | undefined;
|
|
4393
|
+
multiLine?: boolean | undefined;
|
|
4107
4394
|
// (undocumented)
|
|
4108
4395
|
placeholder: string;
|
|
4109
4396
|
placeholderColor?: PBColor4 | undefined;
|
|
@@ -4148,6 +4435,20 @@ export namespace PBUiInputResult {
|
|
|
4148
4435
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
4149
4436
|
}
|
|
4150
4437
|
|
|
4438
|
+
// @public (undocumented)
|
|
4439
|
+
export interface PBUiScrollResult {
|
|
4440
|
+
// (undocumented)
|
|
4441
|
+
value: PBVector2 | undefined;
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4444
|
+
// @public (undocumented)
|
|
4445
|
+
export namespace PBUiScrollResult {
|
|
4446
|
+
// (undocumented)
|
|
4447
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
4448
|
+
// (undocumented)
|
|
4449
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
4450
|
+
}
|
|
4451
|
+
|
|
4151
4452
|
// @public (undocumented)
|
|
4152
4453
|
export interface PBUiText {
|
|
4153
4454
|
color?: PBColor4 | undefined;
|
|
@@ -4204,6 +4505,7 @@ export interface PBUiTransform {
|
|
|
4204
4505
|
borderTopWidth?: number | undefined;
|
|
4205
4506
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
4206
4507
|
display: YGDisplay;
|
|
4508
|
+
elementId?: string | undefined;
|
|
4207
4509
|
// (undocumented)
|
|
4208
4510
|
flexBasis: number;
|
|
4209
4511
|
flexBasisUnit: YGUnit;
|
|
@@ -4272,6 +4574,8 @@ export interface PBUiTransform {
|
|
|
4272
4574
|
positionType: YGPositionType;
|
|
4273
4575
|
// (undocumented)
|
|
4274
4576
|
rightOf: number;
|
|
4577
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
4578
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
4275
4579
|
// (undocumented)
|
|
4276
4580
|
width: number;
|
|
4277
4581
|
widthUnit: YGUnit;
|
|
@@ -4392,6 +4696,19 @@ export namespace PBVisibilityComponent {
|
|
|
4392
4696
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
4393
4697
|
}
|
|
4394
4698
|
|
|
4699
|
+
// @public (undocumented)
|
|
4700
|
+
export interface Perspective {
|
|
4701
|
+
fieldOfView?: number | undefined;
|
|
4702
|
+
}
|
|
4703
|
+
|
|
4704
|
+
// @public (undocumented)
|
|
4705
|
+
export namespace Perspective {
|
|
4706
|
+
// (undocumented)
|
|
4707
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
4708
|
+
// (undocumented)
|
|
4709
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4395
4712
|
// @public
|
|
4396
4713
|
export const Physics: PhysicsSystem;
|
|
4397
4714
|
|
|
@@ -4468,6 +4785,18 @@ export interface PointerEventsSystem {
|
|
|
4468
4785
|
}, cb: EventSystemCallback): void;
|
|
4469
4786
|
// @deprecated (undocumented)
|
|
4470
4787
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4788
|
+
onPointerDrag(pointerData: {
|
|
4789
|
+
entity: Entity;
|
|
4790
|
+
opts?: Partial<EventSystemOptions>;
|
|
4791
|
+
}, cb: EventSystemCallback): void;
|
|
4792
|
+
onPointerDragEnd(pointerData: {
|
|
4793
|
+
entity: Entity;
|
|
4794
|
+
opts?: Partial<EventSystemOptions>;
|
|
4795
|
+
}, cb: EventSystemCallback): void;
|
|
4796
|
+
onPointerDragLocked(pointerData: {
|
|
4797
|
+
entity: Entity;
|
|
4798
|
+
opts?: Partial<EventSystemOptions>;
|
|
4799
|
+
}, cb: EventSystemCallback): void;
|
|
4471
4800
|
onPointerHoverEnter(pointerData: {
|
|
4472
4801
|
entity: Entity;
|
|
4473
4802
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -4499,6 +4828,9 @@ export interface PointerEventsSystem {
|
|
|
4499
4828
|
opts?: Partial<EventSystemOptions>;
|
|
4500
4829
|
}, cb: EventSystemCallback): void;
|
|
4501
4830
|
removeOnPointerDown(entity: Entity): void;
|
|
4831
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
4832
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
4833
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
4502
4834
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
4503
4835
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
4504
4836
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -4516,6 +4848,12 @@ export const enum PointerEventType {
|
|
|
4516
4848
|
// (undocumented)
|
|
4517
4849
|
PET_DOWN = 1,
|
|
4518
4850
|
// (undocumented)
|
|
4851
|
+
PET_DRAG = 7,
|
|
4852
|
+
// (undocumented)
|
|
4853
|
+
PET_DRAG_END = 8,
|
|
4854
|
+
// (undocumented)
|
|
4855
|
+
PET_DRAG_LOCKED = 6,
|
|
4856
|
+
// (undocumented)
|
|
4519
4857
|
PET_HOVER_ENTER = 2,
|
|
4520
4858
|
// (undocumented)
|
|
4521
4859
|
PET_HOVER_LEAVE = 3,
|
|
@@ -4544,7 +4882,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
4544
4882
|
// @public (undocumented)
|
|
4545
4883
|
export const enum PointerType {
|
|
4546
4884
|
POT_MOUSE = 1,
|
|
4547
|
-
POT_NONE = 0
|
|
4885
|
+
POT_NONE = 0,
|
|
4886
|
+
// (undocumented)
|
|
4887
|
+
POT_PAD = 2,
|
|
4888
|
+
// (undocumented)
|
|
4889
|
+
POT_TOUCH = 3,
|
|
4890
|
+
// (undocumented)
|
|
4891
|
+
POT_WAND = 4
|
|
4548
4892
|
}
|
|
4549
4893
|
|
|
4550
4894
|
// @public
|
|
@@ -4735,6 +5079,12 @@ export const enum RaycastQueryType {
|
|
|
4735
5079
|
// @public (undocumented)
|
|
4736
5080
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
4737
5081
|
|
|
5082
|
+
// @public (undocumented)
|
|
5083
|
+
export const enum RaycastShape {
|
|
5084
|
+
RS_AVATAR = 1,
|
|
5085
|
+
RS_RAY = 0
|
|
5086
|
+
}
|
|
5087
|
+
|
|
4738
5088
|
// @public (undocumented)
|
|
4739
5089
|
export interface RaycastSystem {
|
|
4740
5090
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -4782,13 +5132,17 @@ export type RaycastSystemOptions = {
|
|
|
4782
5132
|
queryType: RaycastQueryType;
|
|
4783
5133
|
continuous?: boolean | undefined;
|
|
4784
5134
|
collisionMask?: number | undefined;
|
|
5135
|
+
shape?: RaycastShape | undefined;
|
|
5136
|
+
includeWorld?: boolean | undefined;
|
|
4785
5137
|
};
|
|
4786
5138
|
|
|
4787
5139
|
// @public (undocumented)
|
|
4788
5140
|
export interface ReactBasedUiSystem {
|
|
4789
5141
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
4790
5142
|
destroy(): void;
|
|
5143
|
+
removeTextureRenderer(entity: Entity): void;
|
|
4791
5144
|
removeUiRenderer(entity: Entity): void;
|
|
5145
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4792
5146
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
4793
5147
|
}
|
|
4794
5148
|
|
|
@@ -5096,6 +5450,29 @@ export namespace Schemas {
|
|
|
5096
5450
|
// @public
|
|
5097
5451
|
export function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
|
|
5098
5452
|
|
|
5453
|
+
// @public (undocumented)
|
|
5454
|
+
export interface ScrollPositionValue {
|
|
5455
|
+
// (undocumented)
|
|
5456
|
+
value?: {
|
|
5457
|
+
$case: "position";
|
|
5458
|
+
position: PBVector2;
|
|
5459
|
+
} | {
|
|
5460
|
+
$case: "reference";
|
|
5461
|
+
reference: string;
|
|
5462
|
+
} | undefined;
|
|
5463
|
+
}
|
|
5464
|
+
|
|
5465
|
+
// @public (undocumented)
|
|
5466
|
+
export namespace ScrollPositionValue {
|
|
5467
|
+
// (undocumented)
|
|
5468
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
5469
|
+
// (undocumented)
|
|
5470
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
5471
|
+
}
|
|
5472
|
+
|
|
5473
|
+
// @public
|
|
5474
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
5475
|
+
|
|
5099
5476
|
// @public
|
|
5100
5477
|
export function setCompositeProvider(engine: IEngine, provider: CompositeProvider): void;
|
|
5101
5478
|
|
|
@@ -5108,6 +5485,18 @@ export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
|
|
|
5108
5485
|
easingFunction?: EasingFunction;
|
|
5109
5486
|
}
|
|
5110
5487
|
|
|
5488
|
+
// @public (undocumented)
|
|
5489
|
+
export const enum ShowScrollBar {
|
|
5490
|
+
// (undocumented)
|
|
5491
|
+
SSB_BOTH = 0,
|
|
5492
|
+
// (undocumented)
|
|
5493
|
+
SSB_HIDDEN = 3,
|
|
5494
|
+
// (undocumented)
|
|
5495
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
5496
|
+
// (undocumented)
|
|
5497
|
+
SSB_ONLY_VERTICAL = 1
|
|
5498
|
+
}
|
|
5499
|
+
|
|
5111
5500
|
// @public (undocumented)
|
|
5112
5501
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
5113
5502
|
|
|
@@ -5221,6 +5610,9 @@ export namespace Texture {
|
|
|
5221
5610
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
5222
5611
|
}
|
|
5223
5612
|
|
|
5613
|
+
// @public (undocumented)
|
|
5614
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
5615
|
+
|
|
5224
5616
|
// @public (undocumented)
|
|
5225
5617
|
export const enum TextureFilterMode {
|
|
5226
5618
|
// (undocumented)
|
|
@@ -5300,6 +5692,9 @@ export interface TextureUnion {
|
|
|
5300
5692
|
} | {
|
|
5301
5693
|
$case: "videoTexture";
|
|
5302
5694
|
videoTexture: VideoTexture;
|
|
5695
|
+
} | {
|
|
5696
|
+
$case: "uiTexture";
|
|
5697
|
+
uiTexture: UiCanvasTexture;
|
|
5303
5698
|
} | undefined;
|
|
5304
5699
|
}
|
|
5305
5700
|
|
|
@@ -5434,7 +5829,6 @@ export type Transport = {
|
|
|
5434
5829
|
onmessage?(message: Uint8Array): void;
|
|
5435
5830
|
filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
|
|
5436
5831
|
type?: string;
|
|
5437
|
-
allowReservedEntities?: boolean;
|
|
5438
5832
|
};
|
|
5439
5833
|
|
|
5440
5834
|
// @public (undocumented)
|
|
@@ -5582,6 +5976,7 @@ export interface UiBackgroundProps {
|
|
|
5582
5976
|
textureMode?: TextureMode;
|
|
5583
5977
|
textureSlices?: BorderRect | undefined;
|
|
5584
5978
|
uvs?: number[];
|
|
5979
|
+
videoTexture?: UiVideoTexture;
|
|
5585
5980
|
}
|
|
5586
5981
|
|
|
5587
5982
|
// @public
|
|
@@ -5590,9 +5985,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
5590
5985
|
variant?: 'primary' | 'secondary';
|
|
5591
5986
|
}
|
|
5592
5987
|
|
|
5988
|
+
// @public (undocumented)
|
|
5989
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5990
|
+
|
|
5593
5991
|
// @public (undocumented)
|
|
5594
5992
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
5595
5993
|
|
|
5994
|
+
// @public (undocumented)
|
|
5995
|
+
export interface UiCanvasTexture {
|
|
5996
|
+
filterMode?: TextureFilterMode | undefined;
|
|
5997
|
+
// (undocumented)
|
|
5998
|
+
uiCanvasEntity: number;
|
|
5999
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
6000
|
+
}
|
|
6001
|
+
|
|
6002
|
+
// @public (undocumented)
|
|
6003
|
+
export namespace UiCanvasTexture {
|
|
6004
|
+
// (undocumented)
|
|
6005
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
6006
|
+
// (undocumented)
|
|
6007
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
6008
|
+
}
|
|
6009
|
+
|
|
5596
6010
|
// @public (undocumented)
|
|
5597
6011
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
5598
6012
|
|
|
@@ -5680,6 +6094,9 @@ export type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
|
|
|
5680
6094
|
uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
|
|
5681
6095
|
};
|
|
5682
6096
|
|
|
6097
|
+
// @public (undocumented)
|
|
6098
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
6099
|
+
|
|
5683
6100
|
// @public (undocumented)
|
|
5684
6101
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
5685
6102
|
|
|
@@ -5708,6 +6125,7 @@ export interface UiTransformProps {
|
|
|
5708
6125
|
// (undocumented)
|
|
5709
6126
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
5710
6127
|
display?: DisplayType;
|
|
6128
|
+
elementId?: string;
|
|
5711
6129
|
flex?: number;
|
|
5712
6130
|
flexBasis?: number;
|
|
5713
6131
|
flexDirection?: FlexDirectionType;
|
|
@@ -5727,23 +6145,24 @@ export interface UiTransformProps {
|
|
|
5727
6145
|
pointerFilter?: PointerFilterType;
|
|
5728
6146
|
position?: Partial<Position> | PositionShorthand;
|
|
5729
6147
|
positionType?: PositionType;
|
|
6148
|
+
scrollPosition?: PBVector2 | string;
|
|
6149
|
+
scrollVisible?: ScrollVisibleType;
|
|
5730
6150
|
width?: PositionUnit | 'auto';
|
|
5731
6151
|
zIndex?: number;
|
|
5732
6152
|
}
|
|
5733
6153
|
|
|
5734
|
-
// @public
|
|
5735
|
-
export
|
|
6154
|
+
// @public
|
|
6155
|
+
export interface UiVideoTexture {
|
|
6156
|
+
// (undocumented)
|
|
6157
|
+
filterMode?: TextureFilterType;
|
|
6158
|
+
// (undocumented)
|
|
6159
|
+
videoPlayerEntity: Entity;
|
|
6160
|
+
// (undocumented)
|
|
6161
|
+
wrapMode?: TextureWrapType;
|
|
6162
|
+
}
|
|
5736
6163
|
|
|
5737
|
-
// Warning: (ae-missing-release-tag) "ValidateCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
5738
|
-
//
|
|
5739
6164
|
// @public (undocumented)
|
|
5740
|
-
export type
|
|
5741
|
-
entity: Entity;
|
|
5742
|
-
currentValue: T | undefined;
|
|
5743
|
-
newValue: T | undefined;
|
|
5744
|
-
senderAddress: string;
|
|
5745
|
-
createdBy: string;
|
|
5746
|
-
}) => boolean;
|
|
6165
|
+
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5747
6166
|
|
|
5748
6167
|
// @public (undocumented)
|
|
5749
6168
|
export type ValueSetOptions<T> = {
|