@dcl/playground-assets 7.20.2-22309446491.commit-b942bde → 7.20.2-22311474582.commit-74a71bc
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 +9585 -0
- package/dist/beta.d.ts +9552 -0
- package/dist/index.bundled.d.ts +9552 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +47 -0
- package/dist/index.js.map +8 -0
- package/dist/playground/sdk/apis.d.ts +1666 -0
- package/dist/playground/sdk/dcl-sdk.package.json +39 -0
- package/dist/playground/snippets/billboard.ts +111 -0
- package/dist/playground/snippets/cube-spawner.ts +38 -0
- package/dist/playground/snippets/info.json +1 -0
- package/dist/playground/snippets/material.ts +50 -0
- package/dist/playground/snippets/mesh.ts +63 -0
- package/dist/playground/snippets/pointer-events.ts +59 -0
- package/dist/playground/snippets/raycast-hit-many.ts +64 -0
- package/dist/playground/snippets/raycast-hit.ts +65 -0
- package/dist/playground/snippets/ui-backgrounds.tsx +170 -0
- package/dist/playground/snippets/ui-dropdown.tsx +28 -0
- package/dist/playground/snippets/ui.tsx +132 -0
- package/dist/playground-assets.d.ts +9585 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/etc/playground-assets.api.json +89656 -0
- package/etc/playground-assets.api.md +11 -592
- package/package.json +4 -4
|
@@ -156,32 +156,12 @@ 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
|
-
|
|
166
159
|
// @public (undocumented)
|
|
167
160
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
168
161
|
|
|
169
162
|
// @public (undocumented)
|
|
170
163
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
171
164
|
|
|
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
|
-
|
|
185
165
|
// @public (undocumented)
|
|
186
166
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
187
167
|
|
|
@@ -191,47 +171,9 @@ export const enum AvatarModifierType {
|
|
|
191
171
|
AMT_HIDE_AVATARS = 0
|
|
192
172
|
}
|
|
193
173
|
|
|
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
|
-
|
|
222
174
|
// @public (undocumented)
|
|
223
175
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
224
176
|
|
|
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
|
-
|
|
235
177
|
// @public (undocumented)
|
|
236
178
|
export interface AvatarTexture {
|
|
237
179
|
filterMode?: TextureFilterMode | undefined;
|
|
@@ -434,15 +376,9 @@ export interface ByteBuffer {
|
|
|
434
376
|
writeUtf8String(value: string, writeLength?: boolean): void;
|
|
435
377
|
}
|
|
436
378
|
|
|
437
|
-
// @public
|
|
379
|
+
// @public
|
|
438
380
|
export type Callback = () => void;
|
|
439
381
|
|
|
440
|
-
// @public (undocumented)
|
|
441
|
-
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
442
|
-
|
|
443
|
-
// @public (undocumented)
|
|
444
|
-
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
445
|
-
|
|
446
382
|
// @public (undocumented)
|
|
447
383
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
448
384
|
|
|
@@ -491,29 +427,6 @@ export const enum CameraType {
|
|
|
491
427
|
// @public (undocumented)
|
|
492
428
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
493
429
|
|
|
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
|
-
|
|
517
430
|
// @public (undocumented)
|
|
518
431
|
export const enum ColliderLayer {
|
|
519
432
|
// (undocumented)
|
|
@@ -738,23 +651,15 @@ export const componentDefinitionByName: {
|
|
|
738
651
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
739
652
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
740
653
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
741
|
-
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
742
654
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
743
|
-
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
744
|
-
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
745
655
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
746
656
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
747
|
-
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
748
|
-
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
749
657
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
750
658
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
751
659
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
752
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
753
660
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
754
661
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
755
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
756
662
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
757
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
758
663
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
759
664
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
760
665
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -772,20 +677,17 @@ export const componentDefinitionByName: {
|
|
|
772
677
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
773
678
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
774
679
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
775
|
-
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
776
680
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
777
681
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
778
682
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
779
683
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
780
684
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
781
685
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
782
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
783
686
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
784
687
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
785
688
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
786
689
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
787
690
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
788
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
789
691
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
790
692
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
791
693
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1223,18 +1125,10 @@ export type EntityComponents = {
|
|
|
1223
1125
|
uiBackground: PBUiBackground;
|
|
1224
1126
|
uiInput: PBUiInput;
|
|
1225
1127
|
uiDropdown: PBUiDropdown;
|
|
1226
|
-
onMouseDown:
|
|
1227
|
-
onMouseUp:
|
|
1228
|
-
onMouseEnter:
|
|
1229
|
-
onMouseLeave:
|
|
1230
|
-
onMouseDrag: EventSystemCallback;
|
|
1231
|
-
onMouseDragLocked: EventSystemCallback;
|
|
1232
|
-
onMouseDragEnd: EventSystemCallback;
|
|
1233
|
-
onInputDown: MultiCallback;
|
|
1234
|
-
onInputUp: MultiCallback;
|
|
1235
|
-
onInputDrag: MultiCallback;
|
|
1236
|
-
onInputDragLocked: MultiCallback;
|
|
1237
|
-
onInputDragEnd: MultiCallback;
|
|
1128
|
+
onMouseDown: Callback;
|
|
1129
|
+
onMouseUp: Callback;
|
|
1130
|
+
onMouseEnter: Callback;
|
|
1131
|
+
onMouseLeave: Callback;
|
|
1238
1132
|
};
|
|
1239
1133
|
|
|
1240
1134
|
// @public (undocumented)
|
|
@@ -1287,11 +1181,6 @@ export type EventSystemOptions = {
|
|
|
1287
1181
|
maxPlayerDistance?: number;
|
|
1288
1182
|
};
|
|
1289
1183
|
|
|
1290
|
-
// @public (undocumented)
|
|
1291
|
-
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1292
|
-
cb: EventSystemCallback;
|
|
1293
|
-
};
|
|
1294
|
-
|
|
1295
1184
|
// @public
|
|
1296
1185
|
export type ExcludeUndefined<T> = {
|
|
1297
1186
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
@@ -1362,9 +1251,6 @@ export const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystem
|
|
|
1362
1251
|
// @public
|
|
1363
1252
|
export function getEntitiesWithParent(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema'>, parent: Entity): Entity[];
|
|
1364
1253
|
|
|
1365
|
-
// @public
|
|
1366
|
-
export function getGlobal<T>(key: string): T | undefined;
|
|
1367
|
-
|
|
1368
1254
|
// @public
|
|
1369
1255
|
export function getWorldPosition(engine: WorldTransformEngine, entity: Entity): Vector3Type;
|
|
1370
1256
|
|
|
@@ -1383,9 +1269,6 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1383
1269
|
direction?: PBVector3;
|
|
1384
1270
|
};
|
|
1385
1271
|
|
|
1386
|
-
// @public (undocumented)
|
|
1387
|
-
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1388
|
-
|
|
1389
1272
|
// 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)
|
|
1390
1273
|
//
|
|
1391
1274
|
// @public (undocumented)
|
|
@@ -1404,25 +1287,9 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1404
1287
|
// @public (undocumented)
|
|
1405
1288
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1406
1289
|
|
|
1407
|
-
// @public (undocumented)
|
|
1408
|
-
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1409
|
-
|
|
1410
1290
|
// @public (undocumented)
|
|
1411
1291
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1412
1292
|
|
|
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
|
-
|
|
1426
1293
|
// @public (undocumented)
|
|
1427
1294
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1428
1295
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1547,7 +1414,6 @@ export type IInputSystem = {
|
|
|
1547
1414
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1548
1415
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1549
1416
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1550
|
-
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1551
1417
|
};
|
|
1552
1418
|
|
|
1553
1419
|
// @public
|
|
@@ -1797,18 +1663,10 @@ export interface LightSourceHelper {
|
|
|
1797
1663
|
|
|
1798
1664
|
// @public
|
|
1799
1665
|
export type Listeners = {
|
|
1800
|
-
onMouseDown?:
|
|
1801
|
-
onMouseUp?:
|
|
1802
|
-
onMouseEnter?:
|
|
1803
|
-
onMouseLeave?:
|
|
1804
|
-
onMouseDrag?: EventSystemCallback;
|
|
1805
|
-
onMouseDragLocked?: EventSystemCallback;
|
|
1806
|
-
onMouseDragEnd?: EventSystemCallback;
|
|
1807
|
-
onInputDown?: MultiCallback;
|
|
1808
|
-
onInputUp?: MultiCallback;
|
|
1809
|
-
onInputDrag?: MultiCallback;
|
|
1810
|
-
onInputDragLocked?: MultiCallback;
|
|
1811
|
-
onInputDragEnd?: MultiCallback;
|
|
1666
|
+
onMouseDown?: Callback;
|
|
1667
|
+
onMouseUp?: Callback;
|
|
1668
|
+
onMouseEnter?: Callback;
|
|
1669
|
+
onMouseLeave?: Callback;
|
|
1812
1670
|
};
|
|
1813
1671
|
|
|
1814
1672
|
// @public (undocumented)
|
|
@@ -2052,7 +1910,6 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
2052
1910
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
2053
1911
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2054
1912
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2055
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2056
1913
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2057
1914
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2058
1915
|
}
|
|
@@ -2066,7 +1923,6 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
2066
1923
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
2067
1924
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
2068
1925
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2069
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
2070
1926
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
2071
1927
|
setSphere(entity: Entity): void;
|
|
2072
1928
|
}
|
|
@@ -2114,20 +1970,6 @@ export namespace MoveContinuous {
|
|
|
2114
1970
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2115
1971
|
}
|
|
2116
1972
|
|
|
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
|
-
|
|
2131
1973
|
// 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)
|
|
2132
1974
|
//
|
|
2133
1975
|
// @public (undocumented)
|
|
@@ -2334,19 +2176,6 @@ export const onVideoEvent: Observable<{
|
|
|
2334
2176
|
totalVideoLength: number;
|
|
2335
2177
|
}>;
|
|
2336
2178
|
|
|
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
|
-
|
|
2350
2179
|
// @public
|
|
2351
2180
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2352
2181
|
|
|
@@ -2519,7 +2348,6 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2519
2348
|
export interface PBAvatarEquippedData {
|
|
2520
2349
|
// (undocumented)
|
|
2521
2350
|
emoteUrns: string[];
|
|
2522
|
-
forceRender: string[];
|
|
2523
2351
|
// (undocumented)
|
|
2524
2352
|
wearableUrns: string[];
|
|
2525
2353
|
}
|
|
@@ -2532,32 +2360,11 @@ export namespace PBAvatarEquippedData {
|
|
|
2532
2360
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2533
2361
|
}
|
|
2534
2362
|
|
|
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
|
-
|
|
2553
2363
|
// @public (undocumented)
|
|
2554
2364
|
export interface PBAvatarModifierArea {
|
|
2555
2365
|
area: PBVector3 | undefined;
|
|
2556
2366
|
excludeIds: string[];
|
|
2557
2367
|
modifiers: AvatarModifierType[];
|
|
2558
|
-
// (undocumented)
|
|
2559
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
|
2560
|
-
useColliderRange?: boolean | undefined;
|
|
2561
2368
|
}
|
|
2562
2369
|
|
|
2563
2370
|
// @public (undocumented)
|
|
@@ -2568,40 +2375,6 @@ export namespace PBAvatarModifierArea {
|
|
|
2568
2375
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2569
2376
|
}
|
|
2570
2377
|
|
|
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
|
-
|
|
2605
2378
|
// @public (undocumented)
|
|
2606
2379
|
export interface PBAvatarShape {
|
|
2607
2380
|
bodyShape?: string | undefined;
|
|
@@ -2609,7 +2382,6 @@ export interface PBAvatarShape {
|
|
|
2609
2382
|
expressionTriggerId?: string | undefined;
|
|
2610
2383
|
expressionTriggerTimestamp?: number | undefined;
|
|
2611
2384
|
eyeColor?: PBColor3 | undefined;
|
|
2612
|
-
forceRender: string[];
|
|
2613
2385
|
hairColor?: PBColor3 | undefined;
|
|
2614
2386
|
id: string;
|
|
2615
2387
|
name?: string | undefined;
|
|
@@ -2640,42 +2412,6 @@ export namespace PBBillboard {
|
|
|
2640
2412
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2641
2413
|
}
|
|
2642
2414
|
|
|
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
|
-
|
|
2679
2415
|
// @public (undocumented)
|
|
2680
2416
|
export interface PBCameraMode {
|
|
2681
2417
|
mode: CameraType;
|
|
@@ -2692,10 +2428,7 @@ export namespace PBCameraMode {
|
|
|
2692
2428
|
// @public (undocumented)
|
|
2693
2429
|
export interface PBCameraModeArea {
|
|
2694
2430
|
area: PBVector3 | undefined;
|
|
2695
|
-
// (undocumented)
|
|
2696
|
-
cinematicSettings?: CinematicSettings | undefined;
|
|
2697
2431
|
mode: CameraType;
|
|
2698
|
-
useColliderRange?: boolean | undefined;
|
|
2699
2432
|
}
|
|
2700
2433
|
|
|
2701
2434
|
// @public (undocumented)
|
|
@@ -2759,21 +2492,6 @@ export namespace PBEngineInfo {
|
|
|
2759
2492
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2760
2493
|
}
|
|
2761
2494
|
|
|
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
|
-
|
|
2777
2495
|
// @public (undocumented)
|
|
2778
2496
|
export interface PBGltfContainer {
|
|
2779
2497
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2791,13 +2509,8 @@ export namespace PBGltfContainer {
|
|
|
2791
2509
|
|
|
2792
2510
|
// @public (undocumented)
|
|
2793
2511
|
export interface PBGltfContainerLoadingState {
|
|
2794
|
-
animationNames: string[];
|
|
2795
2512
|
// (undocumented)
|
|
2796
2513
|
currentState: LoadingState;
|
|
2797
|
-
materialNames: string[];
|
|
2798
|
-
meshNames: string[];
|
|
2799
|
-
nodePaths: string[];
|
|
2800
|
-
skinNames: string[];
|
|
2801
2514
|
}
|
|
2802
2515
|
|
|
2803
2516
|
// @public (undocumented)
|
|
@@ -2808,19 +2521,6 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2808
2521
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2809
2522
|
}
|
|
2810
2523
|
|
|
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
|
-
|
|
2824
2524
|
// @public (undocumented)
|
|
2825
2525
|
export interface PBGltfNodeModifiers {
|
|
2826
2526
|
// (undocumented)
|
|
@@ -2850,22 +2550,6 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2850
2550
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2851
2551
|
}
|
|
2852
2552
|
|
|
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
|
-
|
|
2869
2553
|
// @public (undocumented)
|
|
2870
2554
|
export interface PBInputModifier {
|
|
2871
2555
|
// (undocumented)
|
|
@@ -2974,7 +2658,6 @@ export namespace PBMainCamera {
|
|
|
2974
2658
|
|
|
2975
2659
|
// @public (undocumented)
|
|
2976
2660
|
export interface PBMaterial {
|
|
2977
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2978
2661
|
// (undocumented)
|
|
2979
2662
|
material?: {
|
|
2980
2663
|
$case: "unlit";
|
|
@@ -2993,22 +2676,6 @@ export namespace PBMaterial {
|
|
|
2993
2676
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2994
2677
|
}
|
|
2995
2678
|
|
|
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
|
-
|
|
3012
2679
|
// @public (undocumented)
|
|
3013
2680
|
export interface PBMaterial_PbrMaterial {
|
|
3014
2681
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -3070,9 +2737,6 @@ export interface PBMeshCollider {
|
|
|
3070
2737
|
} | {
|
|
3071
2738
|
$case: "plane";
|
|
3072
2739
|
plane: PBMeshCollider_PlaneMesh;
|
|
3073
|
-
} | {
|
|
3074
|
-
$case: "gltf";
|
|
3075
|
-
gltf: PBMeshCollider_GltfMesh;
|
|
3076
2740
|
} | undefined;
|
|
3077
2741
|
}
|
|
3078
2742
|
|
|
@@ -3110,20 +2774,6 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
3110
2774
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3111
2775
|
}
|
|
3112
2776
|
|
|
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
|
-
|
|
3127
2777
|
// @public (undocumented)
|
|
3128
2778
|
export interface PBMeshCollider_PlaneMesh {
|
|
3129
2779
|
}
|
|
@@ -3163,9 +2813,6 @@ export interface PBMeshRenderer {
|
|
|
3163
2813
|
} | {
|
|
3164
2814
|
$case: "plane";
|
|
3165
2815
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3166
|
-
} | {
|
|
3167
|
-
$case: "gltf";
|
|
3168
|
-
gltf: PBMeshRenderer_GltfMesh;
|
|
3169
2816
|
} | undefined;
|
|
3170
2817
|
}
|
|
3171
2818
|
|
|
@@ -3204,20 +2851,6 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
3204
2851
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3205
2852
|
}
|
|
3206
2853
|
|
|
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
|
-
|
|
3221
2854
|
// @public (undocumented)
|
|
3222
2855
|
export interface PBMeshRenderer_PlaneMesh {
|
|
3223
2856
|
uvs: number[];
|
|
@@ -3423,11 +3056,9 @@ export interface PBRaycast {
|
|
|
3423
3056
|
$case: "targetEntity";
|
|
3424
3057
|
targetEntity: number;
|
|
3425
3058
|
} | undefined;
|
|
3426
|
-
includeWorld?: boolean | undefined;
|
|
3427
3059
|
maxDistance: number;
|
|
3428
3060
|
originOffset?: PBVector3 | undefined;
|
|
3429
3061
|
queryType: RaycastQueryType;
|
|
3430
|
-
shape?: RaycastShape | undefined;
|
|
3431
3062
|
timestamp?: number | undefined;
|
|
3432
3063
|
}
|
|
3433
3064
|
|
|
@@ -3522,32 +3153,6 @@ export namespace PBTextShape {
|
|
|
3522
3153
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3523
3154
|
}
|
|
3524
3155
|
|
|
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
|
-
|
|
3551
3156
|
// @public (undocumented)
|
|
3552
3157
|
export interface PBTriggerArea {
|
|
3553
3158
|
collisionMask?: number | undefined;
|
|
@@ -3688,23 +3293,6 @@ export namespace PBUiBackground {
|
|
|
3688
3293
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3689
3294
|
}
|
|
3690
3295
|
|
|
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
|
-
|
|
3708
3296
|
// @public (undocumented)
|
|
3709
3297
|
export interface PBUiCanvasInformation {
|
|
3710
3298
|
devicePixelRatio: number;
|
|
@@ -3798,27 +3386,11 @@ export namespace PBUiInputResult {
|
|
|
3798
3386
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3799
3387
|
}
|
|
3800
3388
|
|
|
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
|
-
|
|
3815
3389
|
// @public (undocumented)
|
|
3816
3390
|
export interface PBUiText {
|
|
3817
3391
|
color?: PBColor4 | undefined;
|
|
3818
3392
|
font?: Font | undefined;
|
|
3819
3393
|
fontSize?: number | undefined;
|
|
3820
|
-
outlineColor?: PBColor4 | undefined;
|
|
3821
|
-
outlineWidth?: number | undefined;
|
|
3822
3394
|
textAlign?: TextAlignMode | undefined;
|
|
3823
3395
|
textWrap?: TextWrap | undefined;
|
|
3824
3396
|
value: string;
|
|
@@ -3869,7 +3441,6 @@ export interface PBUiTransform {
|
|
|
3869
3441
|
borderTopWidth?: number | undefined;
|
|
3870
3442
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3871
3443
|
display: YGDisplay;
|
|
3872
|
-
elementId?: string | undefined;
|
|
3873
3444
|
// (undocumented)
|
|
3874
3445
|
flexBasis: number;
|
|
3875
3446
|
flexBasisUnit: YGUnit;
|
|
@@ -3938,8 +3509,6 @@ export interface PBUiTransform {
|
|
|
3938
3509
|
positionType: YGPositionType;
|
|
3939
3510
|
// (undocumented)
|
|
3940
3511
|
rightOf: number;
|
|
3941
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
|
3942
|
-
scrollVisible?: ShowScrollBar | undefined;
|
|
3943
3512
|
// (undocumented)
|
|
3944
3513
|
width: number;
|
|
3945
3514
|
widthUnit: YGUnit;
|
|
@@ -4059,19 +3628,6 @@ export namespace PBVisibilityComponent {
|
|
|
4059
3628
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
4060
3629
|
}
|
|
4061
3630
|
|
|
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
|
-
|
|
4075
3631
|
// @public
|
|
4076
3632
|
export namespace Plane {
|
|
4077
3633
|
// (undocumented)
|
|
@@ -4117,40 +3673,12 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
4117
3673
|
|
|
4118
3674
|
// @public (undocumented)
|
|
4119
3675
|
export interface PointerEventsSystem {
|
|
4120
|
-
onPointerDown(pointerData: {
|
|
4121
|
-
entity: Entity;
|
|
4122
|
-
optsList: EventSystemOptionsCallback[];
|
|
4123
|
-
}): void;
|
|
4124
3676
|
onPointerDown(pointerData: {
|
|
4125
3677
|
entity: Entity;
|
|
4126
3678
|
opts?: Partial<EventSystemOptions>;
|
|
4127
3679
|
}, cb: EventSystemCallback): void;
|
|
4128
3680
|
// @deprecated (undocumented)
|
|
4129
3681
|
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;
|
|
4154
3682
|
onPointerHoverEnter(pointerData: {
|
|
4155
3683
|
entity: Entity;
|
|
4156
3684
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -4159,10 +3687,6 @@ export interface PointerEventsSystem {
|
|
|
4159
3687
|
entity: Entity;
|
|
4160
3688
|
opts?: Partial<EventSystemOptions>;
|
|
4161
3689
|
}, cb: EventSystemCallback): void;
|
|
4162
|
-
onPointerUp(pointerData: {
|
|
4163
|
-
entity: Entity;
|
|
4164
|
-
optsList: EventSystemOptionsCallback[];
|
|
4165
|
-
}): void;
|
|
4166
3690
|
onPointerUp(pointerData: {
|
|
4167
3691
|
entity: Entity;
|
|
4168
3692
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -4170,9 +3694,6 @@ export interface PointerEventsSystem {
|
|
|
4170
3694
|
// @deprecated (undocumented)
|
|
4171
3695
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4172
3696
|
removeOnPointerDown(entity: Entity): void;
|
|
4173
|
-
removeOnPointerDrag(entity: Entity): void;
|
|
4174
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
|
4175
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
|
4176
3697
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
4177
3698
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
4178
3699
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -4186,12 +3707,6 @@ export const enum PointerEventType {
|
|
|
4186
3707
|
// (undocumented)
|
|
4187
3708
|
PET_DOWN = 1,
|
|
4188
3709
|
// (undocumented)
|
|
4189
|
-
PET_DRAG = 5,
|
|
4190
|
-
// (undocumented)
|
|
4191
|
-
PET_DRAG_END = 6,
|
|
4192
|
-
// (undocumented)
|
|
4193
|
-
PET_DRAG_LOCKED = 4,
|
|
4194
|
-
// (undocumented)
|
|
4195
3710
|
PET_HOVER_ENTER = 2,
|
|
4196
3711
|
// (undocumented)
|
|
4197
3712
|
PET_HOVER_LEAVE = 3,
|
|
@@ -4216,13 +3731,7 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
4216
3731
|
// @public (undocumented)
|
|
4217
3732
|
export const enum PointerType {
|
|
4218
3733
|
POT_MOUSE = 1,
|
|
4219
|
-
POT_NONE = 0
|
|
4220
|
-
// (undocumented)
|
|
4221
|
-
POT_PAD = 2,
|
|
4222
|
-
// (undocumented)
|
|
4223
|
-
POT_TOUCH = 3,
|
|
4224
|
-
// (undocumented)
|
|
4225
|
-
POT_WAND = 4
|
|
3734
|
+
POT_NONE = 0
|
|
4226
3735
|
}
|
|
4227
3736
|
|
|
4228
3737
|
// @public
|
|
@@ -4413,12 +3922,6 @@ export const enum RaycastQueryType {
|
|
|
4413
3922
|
// @public (undocumented)
|
|
4414
3923
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
4415
3924
|
|
|
4416
|
-
// @public (undocumented)
|
|
4417
|
-
export const enum RaycastShape {
|
|
4418
|
-
RS_AVATAR = 1,
|
|
4419
|
-
RS_RAY = 0
|
|
4420
|
-
}
|
|
4421
|
-
|
|
4422
3925
|
// @public (undocumented)
|
|
4423
3926
|
export interface RaycastSystem {
|
|
4424
3927
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -4473,8 +3976,6 @@ export interface ReactBasedUiSystem {
|
|
|
4473
3976
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
4474
3977
|
destroy(): void;
|
|
4475
3978
|
removeUiRenderer(entity: Entity): void;
|
|
4476
|
-
// @deprecated
|
|
4477
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4478
3979
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
4479
3980
|
}
|
|
4480
3981
|
|
|
@@ -4510,7 +4011,7 @@ export namespace ReactEcs {
|
|
|
4510
4011
|
useEffect: EffectHook;
|
|
4511
4012
|
const // (undocumented)
|
|
4512
4013
|
useState: StateHook;
|
|
4513
|
-
|
|
4014
|
+
export {};
|
|
4514
4015
|
}
|
|
4515
4016
|
|
|
4516
4017
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
|
@@ -4774,44 +4275,6 @@ export namespace Schemas {
|
|
|
4774
4275
|
}) => void;
|
|
4775
4276
|
}
|
|
4776
4277
|
|
|
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
|
-
|
|
4815
4278
|
// @public (undocumented)
|
|
4816
4279
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
4817
4280
|
|
|
@@ -4925,9 +4388,6 @@ export namespace Texture {
|
|
|
4925
4388
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4926
4389
|
}
|
|
4927
4390
|
|
|
4928
|
-
// @public (undocumented)
|
|
4929
|
-
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4930
|
-
|
|
4931
4391
|
// @public (undocumented)
|
|
4932
4392
|
export const enum TextureFilterMode {
|
|
4933
4393
|
// (undocumented)
|
|
@@ -5007,9 +4467,6 @@ export interface TextureUnion {
|
|
|
5007
4467
|
} | {
|
|
5008
4468
|
$case: "videoTexture";
|
|
5009
4469
|
videoTexture: VideoTexture;
|
|
5010
|
-
} | {
|
|
5011
|
-
$case: "uiTexture";
|
|
5012
|
-
uiTexture: UiCanvasTexture;
|
|
5013
4470
|
} | undefined;
|
|
5014
4471
|
}
|
|
5015
4472
|
|
|
@@ -5270,7 +4727,6 @@ export interface UiBackgroundProps {
|
|
|
5270
4727
|
textureMode?: TextureMode;
|
|
5271
4728
|
textureSlices?: BorderRect | undefined;
|
|
5272
4729
|
uvs?: number[];
|
|
5273
|
-
videoTexture?: UiVideoTexture;
|
|
5274
4730
|
}
|
|
5275
4731
|
|
|
5276
4732
|
// @public
|
|
@@ -5279,28 +4735,9 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
5279
4735
|
variant?: 'primary' | 'secondary';
|
|
5280
4736
|
}
|
|
5281
4737
|
|
|
5282
|
-
// @public (undocumented)
|
|
5283
|
-
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5284
|
-
|
|
5285
4738
|
// @public (undocumented)
|
|
5286
4739
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
5287
4740
|
|
|
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
|
-
|
|
5304
4741
|
// @public (undocumented)
|
|
5305
4742
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
5306
4743
|
|
|
@@ -5355,8 +4792,6 @@ export interface UiLabelProps {
|
|
|
5355
4792
|
color?: PBColor4 | undefined;
|
|
5356
4793
|
font?: UiFontType | undefined;
|
|
5357
4794
|
fontSize?: ScaleUnit | undefined;
|
|
5358
|
-
outlineColor?: PBColor4 | undefined;
|
|
5359
|
-
outlineWidth?: number | undefined;
|
|
5360
4795
|
textAlign?: TextAlignType | undefined;
|
|
5361
4796
|
textWrap?: UiTextWrapType | undefined;
|
|
5362
4797
|
value: string;
|
|
@@ -5371,9 +4806,6 @@ export type UiRendererOptions = {
|
|
|
5371
4806
|
virtualHeight: number;
|
|
5372
4807
|
};
|
|
5373
4808
|
|
|
5374
|
-
// @public (undocumented)
|
|
5375
|
-
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5376
|
-
|
|
5377
4809
|
// @public (undocumented)
|
|
5378
4810
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
5379
4811
|
|
|
@@ -5402,7 +4834,6 @@ export interface UiTransformProps {
|
|
|
5402
4834
|
// (undocumented)
|
|
5403
4835
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
5404
4836
|
display?: DisplayType;
|
|
5405
|
-
elementId?: string;
|
|
5406
4837
|
flex?: number;
|
|
5407
4838
|
flexBasis?: number;
|
|
5408
4839
|
flexDirection?: FlexDirectionType;
|
|
@@ -5422,22 +4853,10 @@ export interface UiTransformProps {
|
|
|
5422
4853
|
pointerFilter?: PointerFilterType;
|
|
5423
4854
|
position?: Partial<Position> | PositionShorthand;
|
|
5424
4855
|
positionType?: PositionType;
|
|
5425
|
-
scrollPosition?: PBVector2 | string;
|
|
5426
|
-
scrollVisible?: ScrollVisibleType;
|
|
5427
4856
|
width?: PositionUnit | 'auto';
|
|
5428
4857
|
zIndex?: number;
|
|
5429
4858
|
}
|
|
5430
4859
|
|
|
5431
|
-
// @public
|
|
5432
|
-
export interface UiVideoTexture {
|
|
5433
|
-
// (undocumented)
|
|
5434
|
-
filterMode?: TextureFilterType;
|
|
5435
|
-
// (undocumented)
|
|
5436
|
-
videoPlayerEntity: Entity;
|
|
5437
|
-
// (undocumented)
|
|
5438
|
-
wrapMode?: TextureWrapType;
|
|
5439
|
-
}
|
|
5440
|
-
|
|
5441
4860
|
// @public (undocumented)
|
|
5442
4861
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5443
4862
|
|