@dcl/playground-assets 7.20.4-22492765829.commit-3a83d2f → 7.20.4-22576263908.commit-9ddd8ad
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/etc/playground-assets.api.md +592 -11
- package/package.json +4 -4
- package/dist/alpha.d.ts +0 -9585
- package/dist/beta.d.ts +0 -9552
- package/dist/index.bundled.d.ts +0 -9552
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -47
- package/dist/index.js.map +0 -8
- package/dist/playground/sdk/apis.d.ts +0 -1666
- package/dist/playground/sdk/dcl-sdk.package.json +0 -39
- package/dist/playground/snippets/billboard.ts +0 -111
- package/dist/playground/snippets/cube-spawner.ts +0 -38
- package/dist/playground/snippets/info.json +0 -1
- package/dist/playground/snippets/material.ts +0 -50
- package/dist/playground/snippets/mesh.ts +0 -63
- package/dist/playground/snippets/pointer-events.ts +0 -59
- package/dist/playground/snippets/raycast-hit-many.ts +0 -64
- package/dist/playground/snippets/raycast-hit.ts +0 -65
- package/dist/playground/snippets/ui-backgrounds.tsx +0 -170
- package/dist/playground/snippets/ui-dropdown.tsx +0 -28
- package/dist/playground/snippets/ui.tsx +0 -132
- package/dist/playground-assets.d.ts +0 -9585
- package/dist/tsdoc-metadata.json +0 -11
- package/etc/playground-assets.api.json +0 -89656
|
@@ -156,12 +156,32 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
|
156
156
|
// @public (undocumented)
|
|
157
157
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
158
158
|
|
|
159
|
+
// @public (undocumented)
|
|
160
|
+
export const enum AvatarControlType {
|
|
161
|
+
CCT_NONE = 0,
|
|
162
|
+
CCT_RELATIVE = 1,
|
|
163
|
+
CCT_TANK = 2
|
|
164
|
+
}
|
|
165
|
+
|
|
159
166
|
// @public (undocumented)
|
|
160
167
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
161
168
|
|
|
162
169
|
// @public (undocumented)
|
|
163
170
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
164
171
|
|
|
172
|
+
// @public (undocumented)
|
|
173
|
+
export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
174
|
+
|
|
175
|
+
// Warning: (ae-missing-release-tag) "AvatarEquippedDataType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
176
|
+
//
|
|
177
|
+
// @public (undocumented)
|
|
178
|
+
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
179
|
+
forceRender?: string[] | undefined;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
// @public (undocumented)
|
|
183
|
+
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
184
|
+
|
|
165
185
|
// @public (undocumented)
|
|
166
186
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
167
187
|
|
|
@@ -171,9 +191,47 @@ export const enum AvatarModifierType {
|
|
|
171
191
|
AMT_HIDE_AVATARS = 0
|
|
172
192
|
}
|
|
173
193
|
|
|
194
|
+
// @public (undocumented)
|
|
195
|
+
export const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
|
|
196
|
+
|
|
197
|
+
// @public (undocumented)
|
|
198
|
+
export const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
|
|
199
|
+
|
|
200
|
+
// @public (undocumented)
|
|
201
|
+
export interface AvatarMovementSettings {
|
|
202
|
+
allowWeightedMovement?: boolean | undefined;
|
|
203
|
+
// (undocumented)
|
|
204
|
+
controlMode?: AvatarControlType | undefined;
|
|
205
|
+
friction?: number | undefined;
|
|
206
|
+
gravity?: number | undefined;
|
|
207
|
+
jumpHeight?: number | undefined;
|
|
208
|
+
maxFallSpeed?: number | undefined;
|
|
209
|
+
runSpeed?: number | undefined;
|
|
210
|
+
turnSpeed?: number | undefined;
|
|
211
|
+
walkSpeed?: number | undefined;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// @public (undocumented)
|
|
215
|
+
export namespace AvatarMovementSettings {
|
|
216
|
+
// (undocumented)
|
|
217
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
218
|
+
// (undocumented)
|
|
219
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
220
|
+
}
|
|
221
|
+
|
|
174
222
|
// @public (undocumented)
|
|
175
223
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
176
224
|
|
|
225
|
+
// @public (undocumented)
|
|
226
|
+
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
227
|
+
|
|
228
|
+
// Warning: (ae-missing-release-tag) "AvatarShapeType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
229
|
+
//
|
|
230
|
+
// @public (undocumented)
|
|
231
|
+
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
232
|
+
forceRender?: string[] | undefined;
|
|
233
|
+
};
|
|
234
|
+
|
|
177
235
|
// @public (undocumented)
|
|
178
236
|
export interface AvatarTexture {
|
|
179
237
|
filterMode?: TextureFilterMode | undefined;
|
|
@@ -376,9 +434,15 @@ export interface ByteBuffer {
|
|
|
376
434
|
writeUtf8String(value: string, writeLength?: boolean): void;
|
|
377
435
|
}
|
|
378
436
|
|
|
379
|
-
// @public
|
|
437
|
+
// @public @deprecated
|
|
380
438
|
export type Callback = () => void;
|
|
381
439
|
|
|
440
|
+
// @public (undocumented)
|
|
441
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
442
|
+
|
|
443
|
+
// @public (undocumented)
|
|
444
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
445
|
+
|
|
382
446
|
// @public (undocumented)
|
|
383
447
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
384
448
|
|
|
@@ -427,6 +491,29 @@ export const enum CameraType {
|
|
|
427
491
|
// @public (undocumented)
|
|
428
492
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
429
493
|
|
|
494
|
+
// @public (undocumented)
|
|
495
|
+
export interface CinematicSettings {
|
|
496
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
497
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
498
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
499
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
500
|
+
allowManualRotation?: boolean | undefined;
|
|
501
|
+
cameraEntity: number;
|
|
502
|
+
pitchRange?: number | undefined;
|
|
503
|
+
rollRange?: number | undefined;
|
|
504
|
+
yawRange?: number | undefined;
|
|
505
|
+
zoomMax?: number | undefined;
|
|
506
|
+
zoomMin?: number | undefined;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
// @public (undocumented)
|
|
510
|
+
export namespace CinematicSettings {
|
|
511
|
+
// (undocumented)
|
|
512
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
513
|
+
// (undocumented)
|
|
514
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
515
|
+
}
|
|
516
|
+
|
|
430
517
|
// @public (undocumented)
|
|
431
518
|
export const enum ColliderLayer {
|
|
432
519
|
// (undocumented)
|
|
@@ -651,15 +738,23 @@ export const componentDefinitionByName: {
|
|
|
651
738
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
652
739
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
653
740
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
741
|
+
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
654
742
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
743
|
+
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
744
|
+
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
655
745
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
656
746
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
747
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
748
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
657
749
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
658
750
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
659
751
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
752
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
660
753
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
661
754
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
755
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
662
756
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
757
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
663
758
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
664
759
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
665
760
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -677,17 +772,20 @@ export const componentDefinitionByName: {
|
|
|
677
772
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
678
773
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
679
774
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
775
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
680
776
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
681
777
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
682
778
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
683
779
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
684
780
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
685
781
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
782
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
686
783
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
687
784
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
688
785
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
689
786
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
690
787
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
788
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
691
789
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
692
790
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
693
791
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1125,10 +1223,18 @@ export type EntityComponents = {
|
|
|
1125
1223
|
uiBackground: PBUiBackground;
|
|
1126
1224
|
uiInput: PBUiInput;
|
|
1127
1225
|
uiDropdown: PBUiDropdown;
|
|
1128
|
-
onMouseDown:
|
|
1129
|
-
onMouseUp:
|
|
1130
|
-
onMouseEnter:
|
|
1131
|
-
onMouseLeave:
|
|
1226
|
+
onMouseDown: EventSystemCallback;
|
|
1227
|
+
onMouseUp: EventSystemCallback;
|
|
1228
|
+
onMouseEnter: EventSystemCallback;
|
|
1229
|
+
onMouseLeave: EventSystemCallback;
|
|
1230
|
+
onMouseDrag: EventSystemCallback;
|
|
1231
|
+
onMouseDragLocked: EventSystemCallback;
|
|
1232
|
+
onMouseDragEnd: EventSystemCallback;
|
|
1233
|
+
onInputDown: MultiCallback;
|
|
1234
|
+
onInputUp: MultiCallback;
|
|
1235
|
+
onInputDrag: MultiCallback;
|
|
1236
|
+
onInputDragLocked: MultiCallback;
|
|
1237
|
+
onInputDragEnd: MultiCallback;
|
|
1132
1238
|
};
|
|
1133
1239
|
|
|
1134
1240
|
// @public (undocumented)
|
|
@@ -1181,6 +1287,11 @@ export type EventSystemOptions = {
|
|
|
1181
1287
|
maxPlayerDistance?: number;
|
|
1182
1288
|
};
|
|
1183
1289
|
|
|
1290
|
+
// @public (undocumented)
|
|
1291
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1292
|
+
cb: EventSystemCallback;
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1184
1295
|
// @public
|
|
1185
1296
|
export type ExcludeUndefined<T> = {
|
|
1186
1297
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
@@ -1251,6 +1362,9 @@ export const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystem
|
|
|
1251
1362
|
// @public
|
|
1252
1363
|
export function getEntitiesWithParent(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema'>, parent: Entity): Entity[];
|
|
1253
1364
|
|
|
1365
|
+
// @public
|
|
1366
|
+
export function getGlobal<T>(key: string): T | undefined;
|
|
1367
|
+
|
|
1254
1368
|
// @public
|
|
1255
1369
|
export function getWorldPosition(engine: WorldTransformEngine, entity: Entity): Vector3Type;
|
|
1256
1370
|
|
|
@@ -1269,6 +1383,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1269
1383
|
direction?: PBVector3;
|
|
1270
1384
|
};
|
|
1271
1385
|
|
|
1386
|
+
// @public (undocumented)
|
|
1387
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1388
|
+
|
|
1272
1389
|
// 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)
|
|
1273
1390
|
//
|
|
1274
1391
|
// @public (undocumented)
|
|
@@ -1287,9 +1404,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1287
1404
|
// @public (undocumented)
|
|
1288
1405
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1289
1406
|
|
|
1407
|
+
// @public (undocumented)
|
|
1408
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1409
|
+
|
|
1290
1410
|
// @public (undocumented)
|
|
1291
1411
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1292
1412
|
|
|
1413
|
+
// @public (undocumented)
|
|
1414
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1415
|
+
|
|
1416
|
+
// @public (undocumented)
|
|
1417
|
+
export const enum GltfNodeStateValue {
|
|
1418
|
+
// (undocumented)
|
|
1419
|
+
GNSV_FAILED = 1,
|
|
1420
|
+
// (undocumented)
|
|
1421
|
+
GNSV_PENDING = 0,
|
|
1422
|
+
// (undocumented)
|
|
1423
|
+
GNSV_READY = 2
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1293
1426
|
// @public (undocumented)
|
|
1294
1427
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1295
1428
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1414,6 +1547,7 @@ export type IInputSystem = {
|
|
|
1414
1547
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1415
1548
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1416
1549
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1550
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1417
1551
|
};
|
|
1418
1552
|
|
|
1419
1553
|
// @public
|
|
@@ -1663,10 +1797,18 @@ export interface LightSourceHelper {
|
|
|
1663
1797
|
|
|
1664
1798
|
// @public
|
|
1665
1799
|
export type Listeners = {
|
|
1666
|
-
onMouseDown?:
|
|
1667
|
-
onMouseUp?:
|
|
1668
|
-
onMouseEnter?:
|
|
1669
|
-
onMouseLeave?:
|
|
1800
|
+
onMouseDown?: EventSystemCallback;
|
|
1801
|
+
onMouseUp?: EventSystemCallback;
|
|
1802
|
+
onMouseEnter?: EventSystemCallback;
|
|
1803
|
+
onMouseLeave?: EventSystemCallback;
|
|
1804
|
+
onMouseDrag?: EventSystemCallback;
|
|
1805
|
+
onMouseDragLocked?: EventSystemCallback;
|
|
1806
|
+
onMouseDragEnd?: EventSystemCallback;
|
|
1807
|
+
onInputDown?: MultiCallback;
|
|
1808
|
+
onInputUp?: MultiCallback;
|
|
1809
|
+
onInputDrag?: MultiCallback;
|
|
1810
|
+
onInputDragLocked?: MultiCallback;
|
|
1811
|
+
onInputDragEnd?: MultiCallback;
|
|
1670
1812
|
};
|
|
1671
1813
|
|
|
1672
1814
|
// @public (undocumented)
|
|
@@ -1910,6 +2052,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
1910
2052
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
1911
2053
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1912
2054
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2055
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1913
2056
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1914
2057
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1915
2058
|
}
|
|
@@ -1923,6 +2066,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
1923
2066
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
1924
2067
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
1925
2068
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2069
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
1926
2070
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
1927
2071
|
setSphere(entity: Entity): void;
|
|
1928
2072
|
}
|
|
@@ -1970,6 +2114,20 @@ export namespace MoveContinuous {
|
|
|
1970
2114
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
1971
2115
|
}
|
|
1972
2116
|
|
|
2117
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2118
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2119
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2120
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2121
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2122
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2123
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2124
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2125
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2126
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2127
|
+
//
|
|
2128
|
+
// @public
|
|
2129
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
|
2130
|
+
|
|
1973
2131
|
// Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1974
2132
|
//
|
|
1975
2133
|
// @public (undocumented)
|
|
@@ -2176,6 +2334,19 @@ export const onVideoEvent: Observable<{
|
|
|
2176
2334
|
totalVideoLength: number;
|
|
2177
2335
|
}>;
|
|
2178
2336
|
|
|
2337
|
+
// @public (undocumented)
|
|
2338
|
+
export interface Orthographic {
|
|
2339
|
+
verticalRange?: number | undefined;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
// @public (undocumented)
|
|
2343
|
+
export namespace Orthographic {
|
|
2344
|
+
// (undocumented)
|
|
2345
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2346
|
+
// (undocumented)
|
|
2347
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2179
2350
|
// @public
|
|
2180
2351
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2181
2352
|
|
|
@@ -2348,6 +2519,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2348
2519
|
export interface PBAvatarEquippedData {
|
|
2349
2520
|
// (undocumented)
|
|
2350
2521
|
emoteUrns: string[];
|
|
2522
|
+
forceRender: string[];
|
|
2351
2523
|
// (undocumented)
|
|
2352
2524
|
wearableUrns: string[];
|
|
2353
2525
|
}
|
|
@@ -2360,11 +2532,32 @@ export namespace PBAvatarEquippedData {
|
|
|
2360
2532
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2361
2533
|
}
|
|
2362
2534
|
|
|
2535
|
+
// @public (undocumented)
|
|
2536
|
+
export interface PBAvatarLocomotionSettings {
|
|
2537
|
+
hardLandingCooldown?: number | undefined;
|
|
2538
|
+
jogSpeed?: number | undefined;
|
|
2539
|
+
jumpHeight?: number | undefined;
|
|
2540
|
+
runJumpHeight?: number | undefined;
|
|
2541
|
+
runSpeed?: number | undefined;
|
|
2542
|
+
walkSpeed?: number | undefined;
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2545
|
+
// @public (undocumented)
|
|
2546
|
+
export namespace PBAvatarLocomotionSettings {
|
|
2547
|
+
// (undocumented)
|
|
2548
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
2549
|
+
// (undocumented)
|
|
2550
|
+
export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2363
2553
|
// @public (undocumented)
|
|
2364
2554
|
export interface PBAvatarModifierArea {
|
|
2365
2555
|
area: PBVector3 | undefined;
|
|
2366
2556
|
excludeIds: string[];
|
|
2367
2557
|
modifiers: AvatarModifierType[];
|
|
2558
|
+
// (undocumented)
|
|
2559
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
2560
|
+
useColliderRange?: boolean | undefined;
|
|
2368
2561
|
}
|
|
2369
2562
|
|
|
2370
2563
|
// @public (undocumented)
|
|
@@ -2375,6 +2568,40 @@ export namespace PBAvatarModifierArea {
|
|
|
2375
2568
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2376
2569
|
}
|
|
2377
2570
|
|
|
2571
|
+
// @public (undocumented)
|
|
2572
|
+
export interface PBAvatarMovement {
|
|
2573
|
+
// (undocumented)
|
|
2574
|
+
groundDirection?: PBVector3 | undefined;
|
|
2575
|
+
orientation: number;
|
|
2576
|
+
// (undocumented)
|
|
2577
|
+
velocity: PBVector3 | undefined;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
// @public (undocumented)
|
|
2581
|
+
export namespace PBAvatarMovement {
|
|
2582
|
+
// (undocumented)
|
|
2583
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
|
|
2584
|
+
// (undocumented)
|
|
2585
|
+
export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
// @public (undocumented)
|
|
2589
|
+
export interface PBAvatarMovementInfo {
|
|
2590
|
+
actualVelocity: PBVector3 | undefined;
|
|
2591
|
+
externalVelocity: PBVector3 | undefined;
|
|
2592
|
+
previousStepTime: number;
|
|
2593
|
+
requestedVelocity: PBVector3 | undefined;
|
|
2594
|
+
stepTime: number;
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
// @public (undocumented)
|
|
2598
|
+
export namespace PBAvatarMovementInfo {
|
|
2599
|
+
// (undocumented)
|
|
2600
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
|
|
2601
|
+
// (undocumented)
|
|
2602
|
+
export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2378
2605
|
// @public (undocumented)
|
|
2379
2606
|
export interface PBAvatarShape {
|
|
2380
2607
|
bodyShape?: string | undefined;
|
|
@@ -2382,6 +2609,7 @@ export interface PBAvatarShape {
|
|
|
2382
2609
|
expressionTriggerId?: string | undefined;
|
|
2383
2610
|
expressionTriggerTimestamp?: number | undefined;
|
|
2384
2611
|
eyeColor?: PBColor3 | undefined;
|
|
2612
|
+
forceRender: string[];
|
|
2385
2613
|
hairColor?: PBColor3 | undefined;
|
|
2386
2614
|
id: string;
|
|
2387
2615
|
name?: string | undefined;
|
|
@@ -2412,6 +2640,42 @@ export namespace PBBillboard {
|
|
|
2412
2640
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2413
2641
|
}
|
|
2414
2642
|
|
|
2643
|
+
// @public (undocumented)
|
|
2644
|
+
export interface PBCameraLayer {
|
|
2645
|
+
// (undocumented)
|
|
2646
|
+
ambientBrightnessOverride?: number | undefined;
|
|
2647
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2648
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
2649
|
+
directionalLight?: boolean | undefined;
|
|
2650
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2651
|
+
layer: number;
|
|
2652
|
+
showAvatars?: boolean | undefined;
|
|
2653
|
+
showFog?: boolean | undefined;
|
|
2654
|
+
showSkybox?: boolean | undefined;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
// @public (undocumented)
|
|
2658
|
+
export namespace PBCameraLayer {
|
|
2659
|
+
// (undocumented)
|
|
2660
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2661
|
+
// (undocumented)
|
|
2662
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
// @public (undocumented)
|
|
2666
|
+
export interface PBCameraLayers {
|
|
2667
|
+
// (undocumented)
|
|
2668
|
+
layers: number[];
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
// @public (undocumented)
|
|
2672
|
+
export namespace PBCameraLayers {
|
|
2673
|
+
// (undocumented)
|
|
2674
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2675
|
+
// (undocumented)
|
|
2676
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2415
2679
|
// @public (undocumented)
|
|
2416
2680
|
export interface PBCameraMode {
|
|
2417
2681
|
mode: CameraType;
|
|
@@ -2428,7 +2692,10 @@ export namespace PBCameraMode {
|
|
|
2428
2692
|
// @public (undocumented)
|
|
2429
2693
|
export interface PBCameraModeArea {
|
|
2430
2694
|
area: PBVector3 | undefined;
|
|
2695
|
+
// (undocumented)
|
|
2696
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
2431
2697
|
mode: CameraType;
|
|
2698
|
+
useColliderRange?: boolean | undefined;
|
|
2432
2699
|
}
|
|
2433
2700
|
|
|
2434
2701
|
// @public (undocumented)
|
|
@@ -2492,6 +2759,21 @@ export namespace PBEngineInfo {
|
|
|
2492
2759
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2493
2760
|
}
|
|
2494
2761
|
|
|
2762
|
+
// @public (undocumented)
|
|
2763
|
+
export interface PBGlobalLight {
|
|
2764
|
+
ambientBrightness?: number | undefined;
|
|
2765
|
+
ambientColor?: PBColor3 | undefined;
|
|
2766
|
+
direction?: PBVector3 | undefined;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
// @public (undocumented)
|
|
2770
|
+
export namespace PBGlobalLight {
|
|
2771
|
+
// (undocumented)
|
|
2772
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
2773
|
+
// (undocumented)
|
|
2774
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2495
2777
|
// @public (undocumented)
|
|
2496
2778
|
export interface PBGltfContainer {
|
|
2497
2779
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2509,8 +2791,13 @@ export namespace PBGltfContainer {
|
|
|
2509
2791
|
|
|
2510
2792
|
// @public (undocumented)
|
|
2511
2793
|
export interface PBGltfContainerLoadingState {
|
|
2794
|
+
animationNames: string[];
|
|
2512
2795
|
// (undocumented)
|
|
2513
2796
|
currentState: LoadingState;
|
|
2797
|
+
materialNames: string[];
|
|
2798
|
+
meshNames: string[];
|
|
2799
|
+
nodePaths: string[];
|
|
2800
|
+
skinNames: string[];
|
|
2514
2801
|
}
|
|
2515
2802
|
|
|
2516
2803
|
// @public (undocumented)
|
|
@@ -2521,6 +2808,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2521
2808
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2522
2809
|
}
|
|
2523
2810
|
|
|
2811
|
+
// @public (undocumented)
|
|
2812
|
+
export interface PBGltfNode {
|
|
2813
|
+
path: string;
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
// @public (undocumented)
|
|
2817
|
+
export namespace PBGltfNode {
|
|
2818
|
+
// (undocumented)
|
|
2819
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
2820
|
+
// (undocumented)
|
|
2821
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2524
2824
|
// @public (undocumented)
|
|
2525
2825
|
export interface PBGltfNodeModifiers {
|
|
2526
2826
|
// (undocumented)
|
|
@@ -2550,6 +2850,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2550
2850
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2551
2851
|
}
|
|
2552
2852
|
|
|
2853
|
+
// @public (undocumented)
|
|
2854
|
+
export interface PBGltfNodeState {
|
|
2855
|
+
// (undocumented)
|
|
2856
|
+
error?: string | undefined;
|
|
2857
|
+
// (undocumented)
|
|
2858
|
+
state: GltfNodeStateValue;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
// @public (undocumented)
|
|
2862
|
+
export namespace PBGltfNodeState {
|
|
2863
|
+
// (undocumented)
|
|
2864
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
2865
|
+
// (undocumented)
|
|
2866
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2553
2869
|
// @public (undocumented)
|
|
2554
2870
|
export interface PBInputModifier {
|
|
2555
2871
|
// (undocumented)
|
|
@@ -2658,6 +2974,7 @@ export namespace PBMainCamera {
|
|
|
2658
2974
|
|
|
2659
2975
|
// @public (undocumented)
|
|
2660
2976
|
export interface PBMaterial {
|
|
2977
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2661
2978
|
// (undocumented)
|
|
2662
2979
|
material?: {
|
|
2663
2980
|
$case: "unlit";
|
|
@@ -2676,6 +2993,22 @@ export namespace PBMaterial {
|
|
|
2676
2993
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2677
2994
|
}
|
|
2678
2995
|
|
|
2996
|
+
// @public (undocumented)
|
|
2997
|
+
export interface PBMaterial_GltfMaterial {
|
|
2998
|
+
// (undocumented)
|
|
2999
|
+
gltfSrc: string;
|
|
3000
|
+
// (undocumented)
|
|
3001
|
+
name: string;
|
|
3002
|
+
}
|
|
3003
|
+
|
|
3004
|
+
// @public (undocumented)
|
|
3005
|
+
export namespace PBMaterial_GltfMaterial {
|
|
3006
|
+
// (undocumented)
|
|
3007
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
3008
|
+
// (undocumented)
|
|
3009
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
2679
3012
|
// @public (undocumented)
|
|
2680
3013
|
export interface PBMaterial_PbrMaterial {
|
|
2681
3014
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -2737,6 +3070,9 @@ export interface PBMeshCollider {
|
|
|
2737
3070
|
} | {
|
|
2738
3071
|
$case: "plane";
|
|
2739
3072
|
plane: PBMeshCollider_PlaneMesh;
|
|
3073
|
+
} | {
|
|
3074
|
+
$case: "gltf";
|
|
3075
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
2740
3076
|
} | undefined;
|
|
2741
3077
|
}
|
|
2742
3078
|
|
|
@@ -2774,6 +3110,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
2774
3110
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2775
3111
|
}
|
|
2776
3112
|
|
|
3113
|
+
// @public (undocumented)
|
|
3114
|
+
export interface PBMeshCollider_GltfMesh {
|
|
3115
|
+
gltfSrc: string;
|
|
3116
|
+
name: string;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
// @public (undocumented)
|
|
3120
|
+
export namespace PBMeshCollider_GltfMesh {
|
|
3121
|
+
// (undocumented)
|
|
3122
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
3123
|
+
// (undocumented)
|
|
3124
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3125
|
+
}
|
|
3126
|
+
|
|
2777
3127
|
// @public (undocumented)
|
|
2778
3128
|
export interface PBMeshCollider_PlaneMesh {
|
|
2779
3129
|
}
|
|
@@ -2813,6 +3163,9 @@ export interface PBMeshRenderer {
|
|
|
2813
3163
|
} | {
|
|
2814
3164
|
$case: "plane";
|
|
2815
3165
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3166
|
+
} | {
|
|
3167
|
+
$case: "gltf";
|
|
3168
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
2816
3169
|
} | undefined;
|
|
2817
3170
|
}
|
|
2818
3171
|
|
|
@@ -2851,6 +3204,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
2851
3204
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2852
3205
|
}
|
|
2853
3206
|
|
|
3207
|
+
// @public (undocumented)
|
|
3208
|
+
export interface PBMeshRenderer_GltfMesh {
|
|
3209
|
+
gltfSrc: string;
|
|
3210
|
+
name: string;
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
// @public (undocumented)
|
|
3214
|
+
export namespace PBMeshRenderer_GltfMesh {
|
|
3215
|
+
// (undocumented)
|
|
3216
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3217
|
+
// (undocumented)
|
|
3218
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3219
|
+
}
|
|
3220
|
+
|
|
2854
3221
|
// @public (undocumented)
|
|
2855
3222
|
export interface PBMeshRenderer_PlaneMesh {
|
|
2856
3223
|
uvs: number[];
|
|
@@ -3056,9 +3423,11 @@ export interface PBRaycast {
|
|
|
3056
3423
|
$case: "targetEntity";
|
|
3057
3424
|
targetEntity: number;
|
|
3058
3425
|
} | undefined;
|
|
3426
|
+
includeWorld?: boolean | undefined;
|
|
3059
3427
|
maxDistance: number;
|
|
3060
3428
|
originOffset?: PBVector3 | undefined;
|
|
3061
3429
|
queryType: RaycastQueryType;
|
|
3430
|
+
shape?: RaycastShape | undefined;
|
|
3062
3431
|
timestamp?: number | undefined;
|
|
3063
3432
|
}
|
|
3064
3433
|
|
|
@@ -3153,6 +3522,32 @@ export namespace PBTextShape {
|
|
|
3153
3522
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3154
3523
|
}
|
|
3155
3524
|
|
|
3525
|
+
// @public (undocumented)
|
|
3526
|
+
export interface PBTextureCamera {
|
|
3527
|
+
clearColor?: PBColor4 | undefined;
|
|
3528
|
+
farPlane?: number | undefined;
|
|
3529
|
+
height?: number | undefined;
|
|
3530
|
+
layer?: number | undefined;
|
|
3531
|
+
// (undocumented)
|
|
3532
|
+
mode?: {
|
|
3533
|
+
$case: "perspective";
|
|
3534
|
+
perspective: Perspective;
|
|
3535
|
+
} | {
|
|
3536
|
+
$case: "orthographic";
|
|
3537
|
+
orthographic: Orthographic;
|
|
3538
|
+
} | undefined;
|
|
3539
|
+
volume?: number | undefined;
|
|
3540
|
+
width?: number | undefined;
|
|
3541
|
+
}
|
|
3542
|
+
|
|
3543
|
+
// @public (undocumented)
|
|
3544
|
+
export namespace PBTextureCamera {
|
|
3545
|
+
// (undocumented)
|
|
3546
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
3547
|
+
// (undocumented)
|
|
3548
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
3549
|
+
}
|
|
3550
|
+
|
|
3156
3551
|
// @public (undocumented)
|
|
3157
3552
|
export interface PBTriggerArea {
|
|
3158
3553
|
collisionMask?: number | undefined;
|
|
@@ -3293,6 +3688,23 @@ export namespace PBUiBackground {
|
|
|
3293
3688
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3294
3689
|
}
|
|
3295
3690
|
|
|
3691
|
+
// @public (undocumented)
|
|
3692
|
+
export interface PBUiCanvas {
|
|
3693
|
+
color?: PBColor4 | undefined;
|
|
3694
|
+
// (undocumented)
|
|
3695
|
+
height: number;
|
|
3696
|
+
// (undocumented)
|
|
3697
|
+
width: number;
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
// @public (undocumented)
|
|
3701
|
+
export namespace PBUiCanvas {
|
|
3702
|
+
// (undocumented)
|
|
3703
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
3704
|
+
// (undocumented)
|
|
3705
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3296
3708
|
// @public (undocumented)
|
|
3297
3709
|
export interface PBUiCanvasInformation {
|
|
3298
3710
|
devicePixelRatio: number;
|
|
@@ -3386,11 +3798,27 @@ export namespace PBUiInputResult {
|
|
|
3386
3798
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3387
3799
|
}
|
|
3388
3800
|
|
|
3801
|
+
// @public (undocumented)
|
|
3802
|
+
export interface PBUiScrollResult {
|
|
3803
|
+
// (undocumented)
|
|
3804
|
+
value: PBVector2 | undefined;
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
// @public (undocumented)
|
|
3808
|
+
export namespace PBUiScrollResult {
|
|
3809
|
+
// (undocumented)
|
|
3810
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
3811
|
+
// (undocumented)
|
|
3812
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
3813
|
+
}
|
|
3814
|
+
|
|
3389
3815
|
// @public (undocumented)
|
|
3390
3816
|
export interface PBUiText {
|
|
3391
3817
|
color?: PBColor4 | undefined;
|
|
3392
3818
|
font?: Font | undefined;
|
|
3393
3819
|
fontSize?: number | undefined;
|
|
3820
|
+
outlineColor?: PBColor4 | undefined;
|
|
3821
|
+
outlineWidth?: number | undefined;
|
|
3394
3822
|
textAlign?: TextAlignMode | undefined;
|
|
3395
3823
|
textWrap?: TextWrap | undefined;
|
|
3396
3824
|
value: string;
|
|
@@ -3441,6 +3869,7 @@ export interface PBUiTransform {
|
|
|
3441
3869
|
borderTopWidth?: number | undefined;
|
|
3442
3870
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3443
3871
|
display: YGDisplay;
|
|
3872
|
+
elementId?: string | undefined;
|
|
3444
3873
|
// (undocumented)
|
|
3445
3874
|
flexBasis: number;
|
|
3446
3875
|
flexBasisUnit: YGUnit;
|
|
@@ -3509,6 +3938,8 @@ export interface PBUiTransform {
|
|
|
3509
3938
|
positionType: YGPositionType;
|
|
3510
3939
|
// (undocumented)
|
|
3511
3940
|
rightOf: number;
|
|
3941
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
3942
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
3512
3943
|
// (undocumented)
|
|
3513
3944
|
width: number;
|
|
3514
3945
|
widthUnit: YGUnit;
|
|
@@ -3628,6 +4059,19 @@ export namespace PBVisibilityComponent {
|
|
|
3628
4059
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
3629
4060
|
}
|
|
3630
4061
|
|
|
4062
|
+
// @public (undocumented)
|
|
4063
|
+
export interface Perspective {
|
|
4064
|
+
fieldOfView?: number | undefined;
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
// @public (undocumented)
|
|
4068
|
+
export namespace Perspective {
|
|
4069
|
+
// (undocumented)
|
|
4070
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
4071
|
+
// (undocumented)
|
|
4072
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
4073
|
+
}
|
|
4074
|
+
|
|
3631
4075
|
// @public
|
|
3632
4076
|
export namespace Plane {
|
|
3633
4077
|
// (undocumented)
|
|
@@ -3673,12 +4117,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
3673
4117
|
|
|
3674
4118
|
// @public (undocumented)
|
|
3675
4119
|
export interface PointerEventsSystem {
|
|
4120
|
+
onPointerDown(pointerData: {
|
|
4121
|
+
entity: Entity;
|
|
4122
|
+
optsList: EventSystemOptionsCallback[];
|
|
4123
|
+
}): void;
|
|
3676
4124
|
onPointerDown(pointerData: {
|
|
3677
4125
|
entity: Entity;
|
|
3678
4126
|
opts?: Partial<EventSystemOptions>;
|
|
3679
4127
|
}, cb: EventSystemCallback): void;
|
|
3680
4128
|
// @deprecated (undocumented)
|
|
3681
4129
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4130
|
+
onPointerDrag(pointerData: {
|
|
4131
|
+
entity: Entity;
|
|
4132
|
+
optsList: EventSystemOptionsCallback[];
|
|
4133
|
+
}): void;
|
|
4134
|
+
onPointerDrag(pointerData: {
|
|
4135
|
+
entity: Entity;
|
|
4136
|
+
opts?: Partial<EventSystemOptions>;
|
|
4137
|
+
}, cb: EventSystemCallback): void;
|
|
4138
|
+
onPointerDragEnd(pointerData: {
|
|
4139
|
+
entity: Entity;
|
|
4140
|
+
optsList: EventSystemOptionsCallback[];
|
|
4141
|
+
}): void;
|
|
4142
|
+
onPointerDragEnd(pointerData: {
|
|
4143
|
+
entity: Entity;
|
|
4144
|
+
opts?: Partial<EventSystemOptions>;
|
|
4145
|
+
}, cb: EventSystemCallback): void;
|
|
4146
|
+
onPointerDragLocked(pointerData: {
|
|
4147
|
+
entity: Entity;
|
|
4148
|
+
optsList: EventSystemOptionsCallback[];
|
|
4149
|
+
}): void;
|
|
4150
|
+
onPointerDragLocked(pointerData: {
|
|
4151
|
+
entity: Entity;
|
|
4152
|
+
opts?: Partial<EventSystemOptions>;
|
|
4153
|
+
}, cb: EventSystemCallback): void;
|
|
3682
4154
|
onPointerHoverEnter(pointerData: {
|
|
3683
4155
|
entity: Entity;
|
|
3684
4156
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3687,6 +4159,10 @@ export interface PointerEventsSystem {
|
|
|
3687
4159
|
entity: Entity;
|
|
3688
4160
|
opts?: Partial<EventSystemOptions>;
|
|
3689
4161
|
}, cb: EventSystemCallback): void;
|
|
4162
|
+
onPointerUp(pointerData: {
|
|
4163
|
+
entity: Entity;
|
|
4164
|
+
optsList: EventSystemOptionsCallback[];
|
|
4165
|
+
}): void;
|
|
3690
4166
|
onPointerUp(pointerData: {
|
|
3691
4167
|
entity: Entity;
|
|
3692
4168
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3694,6 +4170,9 @@ export interface PointerEventsSystem {
|
|
|
3694
4170
|
// @deprecated (undocumented)
|
|
3695
4171
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3696
4172
|
removeOnPointerDown(entity: Entity): void;
|
|
4173
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
4174
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
4175
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
3697
4176
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3698
4177
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3699
4178
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -3707,6 +4186,12 @@ export const enum PointerEventType {
|
|
|
3707
4186
|
// (undocumented)
|
|
3708
4187
|
PET_DOWN = 1,
|
|
3709
4188
|
// (undocumented)
|
|
4189
|
+
PET_DRAG = 5,
|
|
4190
|
+
// (undocumented)
|
|
4191
|
+
PET_DRAG_END = 6,
|
|
4192
|
+
// (undocumented)
|
|
4193
|
+
PET_DRAG_LOCKED = 4,
|
|
4194
|
+
// (undocumented)
|
|
3710
4195
|
PET_HOVER_ENTER = 2,
|
|
3711
4196
|
// (undocumented)
|
|
3712
4197
|
PET_HOVER_LEAVE = 3,
|
|
@@ -3731,7 +4216,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
3731
4216
|
// @public (undocumented)
|
|
3732
4217
|
export const enum PointerType {
|
|
3733
4218
|
POT_MOUSE = 1,
|
|
3734
|
-
POT_NONE = 0
|
|
4219
|
+
POT_NONE = 0,
|
|
4220
|
+
// (undocumented)
|
|
4221
|
+
POT_PAD = 2,
|
|
4222
|
+
// (undocumented)
|
|
4223
|
+
POT_TOUCH = 3,
|
|
4224
|
+
// (undocumented)
|
|
4225
|
+
POT_WAND = 4
|
|
3735
4226
|
}
|
|
3736
4227
|
|
|
3737
4228
|
// @public
|
|
@@ -3922,6 +4413,12 @@ export const enum RaycastQueryType {
|
|
|
3922
4413
|
// @public (undocumented)
|
|
3923
4414
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
3924
4415
|
|
|
4416
|
+
// @public (undocumented)
|
|
4417
|
+
export const enum RaycastShape {
|
|
4418
|
+
RS_AVATAR = 1,
|
|
4419
|
+
RS_RAY = 0
|
|
4420
|
+
}
|
|
4421
|
+
|
|
3925
4422
|
// @public (undocumented)
|
|
3926
4423
|
export interface RaycastSystem {
|
|
3927
4424
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -3976,6 +4473,8 @@ export interface ReactBasedUiSystem {
|
|
|
3976
4473
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
3977
4474
|
destroy(): void;
|
|
3978
4475
|
removeUiRenderer(entity: Entity): void;
|
|
4476
|
+
// @deprecated
|
|
4477
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
3979
4478
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
3980
4479
|
}
|
|
3981
4480
|
|
|
@@ -4011,7 +4510,7 @@ export namespace ReactEcs {
|
|
|
4011
4510
|
useEffect: EffectHook;
|
|
4012
4511
|
const // (undocumented)
|
|
4013
4512
|
useState: StateHook;
|
|
4014
|
-
|
|
4513
|
+
{};
|
|
4015
4514
|
}
|
|
4016
4515
|
|
|
4017
4516
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
|
@@ -4275,6 +4774,44 @@ export namespace Schemas {
|
|
|
4275
4774
|
}) => void;
|
|
4276
4775
|
}
|
|
4277
4776
|
|
|
4777
|
+
// @public (undocumented)
|
|
4778
|
+
export interface ScrollPositionValue {
|
|
4779
|
+
// (undocumented)
|
|
4780
|
+
value?: {
|
|
4781
|
+
$case: "position";
|
|
4782
|
+
position: PBVector2;
|
|
4783
|
+
} | {
|
|
4784
|
+
$case: "reference";
|
|
4785
|
+
reference: string;
|
|
4786
|
+
} | undefined;
|
|
4787
|
+
}
|
|
4788
|
+
|
|
4789
|
+
// @public (undocumented)
|
|
4790
|
+
export namespace ScrollPositionValue {
|
|
4791
|
+
// (undocumented)
|
|
4792
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
4793
|
+
// (undocumented)
|
|
4794
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
4795
|
+
}
|
|
4796
|
+
|
|
4797
|
+
// @public
|
|
4798
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4799
|
+
|
|
4800
|
+
// @public
|
|
4801
|
+
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4802
|
+
|
|
4803
|
+
// @public (undocumented)
|
|
4804
|
+
export const enum ShowScrollBar {
|
|
4805
|
+
// (undocumented)
|
|
4806
|
+
SSB_BOTH = 0,
|
|
4807
|
+
// (undocumented)
|
|
4808
|
+
SSB_HIDDEN = 3,
|
|
4809
|
+
// (undocumented)
|
|
4810
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
4811
|
+
// (undocumented)
|
|
4812
|
+
SSB_ONLY_VERTICAL = 1
|
|
4813
|
+
}
|
|
4814
|
+
|
|
4278
4815
|
// @public (undocumented)
|
|
4279
4816
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
4280
4817
|
|
|
@@ -4388,6 +4925,9 @@ export namespace Texture {
|
|
|
4388
4925
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4389
4926
|
}
|
|
4390
4927
|
|
|
4928
|
+
// @public (undocumented)
|
|
4929
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4930
|
+
|
|
4391
4931
|
// @public (undocumented)
|
|
4392
4932
|
export const enum TextureFilterMode {
|
|
4393
4933
|
// (undocumented)
|
|
@@ -4467,6 +5007,9 @@ export interface TextureUnion {
|
|
|
4467
5007
|
} | {
|
|
4468
5008
|
$case: "videoTexture";
|
|
4469
5009
|
videoTexture: VideoTexture;
|
|
5010
|
+
} | {
|
|
5011
|
+
$case: "uiTexture";
|
|
5012
|
+
uiTexture: UiCanvasTexture;
|
|
4470
5013
|
} | undefined;
|
|
4471
5014
|
}
|
|
4472
5015
|
|
|
@@ -4727,6 +5270,7 @@ export interface UiBackgroundProps {
|
|
|
4727
5270
|
textureMode?: TextureMode;
|
|
4728
5271
|
textureSlices?: BorderRect | undefined;
|
|
4729
5272
|
uvs?: number[];
|
|
5273
|
+
videoTexture?: UiVideoTexture;
|
|
4730
5274
|
}
|
|
4731
5275
|
|
|
4732
5276
|
// @public
|
|
@@ -4735,9 +5279,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4735
5279
|
variant?: 'primary' | 'secondary';
|
|
4736
5280
|
}
|
|
4737
5281
|
|
|
5282
|
+
// @public (undocumented)
|
|
5283
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5284
|
+
|
|
4738
5285
|
// @public (undocumented)
|
|
4739
5286
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
4740
5287
|
|
|
5288
|
+
// @public (undocumented)
|
|
5289
|
+
export interface UiCanvasTexture {
|
|
5290
|
+
filterMode?: TextureFilterMode | undefined;
|
|
5291
|
+
// (undocumented)
|
|
5292
|
+
uiCanvasEntity: number;
|
|
5293
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
5294
|
+
}
|
|
5295
|
+
|
|
5296
|
+
// @public (undocumented)
|
|
5297
|
+
export namespace UiCanvasTexture {
|
|
5298
|
+
// (undocumented)
|
|
5299
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
5300
|
+
// (undocumented)
|
|
5301
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
5302
|
+
}
|
|
5303
|
+
|
|
4741
5304
|
// @public (undocumented)
|
|
4742
5305
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
4743
5306
|
|
|
@@ -4792,6 +5355,8 @@ export interface UiLabelProps {
|
|
|
4792
5355
|
color?: PBColor4 | undefined;
|
|
4793
5356
|
font?: UiFontType | undefined;
|
|
4794
5357
|
fontSize?: ScaleUnit | undefined;
|
|
5358
|
+
outlineColor?: PBColor4 | undefined;
|
|
5359
|
+
outlineWidth?: number | undefined;
|
|
4795
5360
|
textAlign?: TextAlignType | undefined;
|
|
4796
5361
|
textWrap?: UiTextWrapType | undefined;
|
|
4797
5362
|
value: string;
|
|
@@ -4806,6 +5371,9 @@ export type UiRendererOptions = {
|
|
|
4806
5371
|
virtualHeight: number;
|
|
4807
5372
|
};
|
|
4808
5373
|
|
|
5374
|
+
// @public (undocumented)
|
|
5375
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5376
|
+
|
|
4809
5377
|
// @public (undocumented)
|
|
4810
5378
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
4811
5379
|
|
|
@@ -4834,6 +5402,7 @@ export interface UiTransformProps {
|
|
|
4834
5402
|
// (undocumented)
|
|
4835
5403
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
4836
5404
|
display?: DisplayType;
|
|
5405
|
+
elementId?: string;
|
|
4837
5406
|
flex?: number;
|
|
4838
5407
|
flexBasis?: number;
|
|
4839
5408
|
flexDirection?: FlexDirectionType;
|
|
@@ -4853,10 +5422,22 @@ export interface UiTransformProps {
|
|
|
4853
5422
|
pointerFilter?: PointerFilterType;
|
|
4854
5423
|
position?: Partial<Position> | PositionShorthand;
|
|
4855
5424
|
positionType?: PositionType;
|
|
5425
|
+
scrollPosition?: PBVector2 | string;
|
|
5426
|
+
scrollVisible?: ScrollVisibleType;
|
|
4856
5427
|
width?: PositionUnit | 'auto';
|
|
4857
5428
|
zIndex?: number;
|
|
4858
5429
|
}
|
|
4859
5430
|
|
|
5431
|
+
// @public
|
|
5432
|
+
export interface UiVideoTexture {
|
|
5433
|
+
// (undocumented)
|
|
5434
|
+
filterMode?: TextureFilterType;
|
|
5435
|
+
// (undocumented)
|
|
5436
|
+
videoPlayerEntity: Entity;
|
|
5437
|
+
// (undocumented)
|
|
5438
|
+
wrapMode?: TextureWrapType;
|
|
5439
|
+
}
|
|
5440
|
+
|
|
4860
5441
|
// @public (undocumented)
|
|
4861
5442
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
4862
5443
|
|