@dcl/playground-assets 7.21.0 → 7.21.1-22917715332.commit-e5d969d
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 +578 -94
- package/package.json +4 -4
- package/dist/alpha.d.ts +0 -9735
- package/dist/beta.d.ts +0 -9702
- package/dist/index.bundled.d.ts +0 -9702
- 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 -9735
- package/dist/tsdoc-metadata.json +0 -11
- package/etc/playground-assets.api.json +0 -91117
|
@@ -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>>;
|
|
@@ -667,8 +762,6 @@ export const componentDefinitionByName: {
|
|
|
667
762
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
668
763
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
669
764
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
670
|
-
"core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
|
|
671
|
-
"core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
|
|
672
765
|
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
|
673
766
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
|
674
767
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
|
@@ -679,17 +772,20 @@ export const componentDefinitionByName: {
|
|
|
679
772
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
680
773
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
681
774
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
775
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
682
776
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
683
777
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
684
778
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
685
779
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
686
780
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
687
781
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
782
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
688
783
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
689
784
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
690
785
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
691
786
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
692
787
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
788
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
693
789
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
694
790
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
695
791
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1127,10 +1223,18 @@ export type EntityComponents = {
|
|
|
1127
1223
|
uiBackground: PBUiBackground;
|
|
1128
1224
|
uiInput: PBUiInput;
|
|
1129
1225
|
uiDropdown: PBUiDropdown;
|
|
1130
|
-
onMouseDown:
|
|
1131
|
-
onMouseUp:
|
|
1132
|
-
onMouseEnter:
|
|
1133
|
-
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;
|
|
1134
1238
|
};
|
|
1135
1239
|
|
|
1136
1240
|
// @public (undocumented)
|
|
@@ -1183,6 +1287,11 @@ export type EventSystemOptions = {
|
|
|
1183
1287
|
maxPlayerDistance?: number;
|
|
1184
1288
|
};
|
|
1185
1289
|
|
|
1290
|
+
// @public (undocumented)
|
|
1291
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1292
|
+
cb: EventSystemCallback;
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1186
1295
|
// @public
|
|
1187
1296
|
export type ExcludeUndefined<T> = {
|
|
1188
1297
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
@@ -1274,6 +1383,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1274
1383
|
direction?: PBVector3;
|
|
1275
1384
|
};
|
|
1276
1385
|
|
|
1386
|
+
// @public (undocumented)
|
|
1387
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1388
|
+
|
|
1277
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)
|
|
1278
1390
|
//
|
|
1279
1391
|
// @public (undocumented)
|
|
@@ -1292,9 +1404,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1292
1404
|
// @public (undocumented)
|
|
1293
1405
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1294
1406
|
|
|
1407
|
+
// @public (undocumented)
|
|
1408
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1409
|
+
|
|
1295
1410
|
// @public (undocumented)
|
|
1296
1411
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1297
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
|
+
|
|
1298
1426
|
// @public (undocumented)
|
|
1299
1427
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1300
1428
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1419,6 +1547,7 @@ export type IInputSystem = {
|
|
|
1419
1547
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1420
1548
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1421
1549
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1550
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1422
1551
|
};
|
|
1423
1552
|
|
|
1424
1553
|
// @public
|
|
@@ -1668,10 +1797,18 @@ export interface LightSourceHelper {
|
|
|
1668
1797
|
|
|
1669
1798
|
// @public
|
|
1670
1799
|
export type Listeners = {
|
|
1671
|
-
onMouseDown?:
|
|
1672
|
-
onMouseUp?:
|
|
1673
|
-
onMouseEnter?:
|
|
1674
|
-
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;
|
|
1675
1812
|
};
|
|
1676
1813
|
|
|
1677
1814
|
// @public (undocumented)
|
|
@@ -1915,6 +2052,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
1915
2052
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
1916
2053
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1917
2054
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2055
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1918
2056
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1919
2057
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1920
2058
|
}
|
|
@@ -1928,6 +2066,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
1928
2066
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
1929
2067
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
1930
2068
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2069
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
1931
2070
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
1932
2071
|
setSphere(entity: Entity): void;
|
|
1933
2072
|
}
|
|
@@ -1975,45 +2114,19 @@ export namespace MoveContinuous {
|
|
|
1975
2114
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
1976
2115
|
}
|
|
1977
2116
|
|
|
1978
|
-
//
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
scaleEnd: PBVector3 | undefined;
|
|
1990
|
-
// (undocumented)
|
|
1991
|
-
scaleStart: PBVector3 | undefined;
|
|
1992
|
-
}
|
|
1993
|
-
|
|
1994
|
-
// @public (undocumented)
|
|
1995
|
-
export namespace MoveRotateScale {
|
|
1996
|
-
// (undocumented)
|
|
1997
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale;
|
|
1998
|
-
// (undocumented)
|
|
1999
|
-
export function encode(message: MoveRotateScale, writer?: _m0.Writer): _m0.Writer;
|
|
2000
|
-
}
|
|
2001
|
-
|
|
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
|
+
//
|
|
2002
2128
|
// @public
|
|
2003
|
-
export
|
|
2004
|
-
position?: {
|
|
2005
|
-
start: PBVector3;
|
|
2006
|
-
end: PBVector3;
|
|
2007
|
-
};
|
|
2008
|
-
rotation?: {
|
|
2009
|
-
start: PBQuaternion;
|
|
2010
|
-
end: PBQuaternion;
|
|
2011
|
-
};
|
|
2012
|
-
scale?: {
|
|
2013
|
-
start: PBVector3;
|
|
2014
|
-
end: PBVector3;
|
|
2015
|
-
};
|
|
2016
|
-
}
|
|
2129
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
|
2017
2130
|
|
|
2018
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)
|
|
2019
2132
|
//
|
|
@@ -2221,6 +2334,19 @@ export const onVideoEvent: Observable<{
|
|
|
2221
2334
|
totalVideoLength: number;
|
|
2222
2335
|
}>;
|
|
2223
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
|
+
|
|
2224
2350
|
// @public
|
|
2225
2351
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2226
2352
|
|
|
@@ -2393,6 +2519,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2393
2519
|
export interface PBAvatarEquippedData {
|
|
2394
2520
|
// (undocumented)
|
|
2395
2521
|
emoteUrns: string[];
|
|
2522
|
+
forceRender: string[];
|
|
2396
2523
|
// (undocumented)
|
|
2397
2524
|
wearableUrns: string[];
|
|
2398
2525
|
}
|
|
@@ -2405,11 +2532,32 @@ export namespace PBAvatarEquippedData {
|
|
|
2405
2532
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2406
2533
|
}
|
|
2407
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
|
+
|
|
2408
2553
|
// @public (undocumented)
|
|
2409
2554
|
export interface PBAvatarModifierArea {
|
|
2410
2555
|
area: PBVector3 | undefined;
|
|
2411
2556
|
excludeIds: string[];
|
|
2412
2557
|
modifiers: AvatarModifierType[];
|
|
2558
|
+
// (undocumented)
|
|
2559
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
2560
|
+
useColliderRange?: boolean | undefined;
|
|
2413
2561
|
}
|
|
2414
2562
|
|
|
2415
2563
|
// @public (undocumented)
|
|
@@ -2420,6 +2568,40 @@ export namespace PBAvatarModifierArea {
|
|
|
2420
2568
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2421
2569
|
}
|
|
2422
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
|
+
|
|
2423
2605
|
// @public (undocumented)
|
|
2424
2606
|
export interface PBAvatarShape {
|
|
2425
2607
|
bodyShape?: string | undefined;
|
|
@@ -2427,6 +2609,7 @@ export interface PBAvatarShape {
|
|
|
2427
2609
|
expressionTriggerId?: string | undefined;
|
|
2428
2610
|
expressionTriggerTimestamp?: number | undefined;
|
|
2429
2611
|
eyeColor?: PBColor3 | undefined;
|
|
2612
|
+
forceRender: string[];
|
|
2430
2613
|
hairColor?: PBColor3 | undefined;
|
|
2431
2614
|
id: string;
|
|
2432
2615
|
name?: string | undefined;
|
|
@@ -2457,6 +2640,42 @@ export namespace PBBillboard {
|
|
|
2457
2640
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2458
2641
|
}
|
|
2459
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
|
+
|
|
2460
2679
|
// @public (undocumented)
|
|
2461
2680
|
export interface PBCameraMode {
|
|
2462
2681
|
mode: CameraType;
|
|
@@ -2473,7 +2692,10 @@ export namespace PBCameraMode {
|
|
|
2473
2692
|
// @public (undocumented)
|
|
2474
2693
|
export interface PBCameraModeArea {
|
|
2475
2694
|
area: PBVector3 | undefined;
|
|
2695
|
+
// (undocumented)
|
|
2696
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
2476
2697
|
mode: CameraType;
|
|
2698
|
+
useColliderRange?: boolean | undefined;
|
|
2477
2699
|
}
|
|
2478
2700
|
|
|
2479
2701
|
// @public (undocumented)
|
|
@@ -2537,6 +2759,21 @@ export namespace PBEngineInfo {
|
|
|
2537
2759
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2538
2760
|
}
|
|
2539
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
|
+
|
|
2540
2777
|
// @public (undocumented)
|
|
2541
2778
|
export interface PBGltfContainer {
|
|
2542
2779
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2554,8 +2791,13 @@ export namespace PBGltfContainer {
|
|
|
2554
2791
|
|
|
2555
2792
|
// @public (undocumented)
|
|
2556
2793
|
export interface PBGltfContainerLoadingState {
|
|
2794
|
+
animationNames: string[];
|
|
2557
2795
|
// (undocumented)
|
|
2558
2796
|
currentState: LoadingState;
|
|
2797
|
+
materialNames: string[];
|
|
2798
|
+
meshNames: string[];
|
|
2799
|
+
nodePaths: string[];
|
|
2800
|
+
skinNames: string[];
|
|
2559
2801
|
}
|
|
2560
2802
|
|
|
2561
2803
|
// @public (undocumented)
|
|
@@ -2566,6 +2808,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2566
2808
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2567
2809
|
}
|
|
2568
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
|
+
|
|
2569
2824
|
// @public (undocumented)
|
|
2570
2825
|
export interface PBGltfNodeModifiers {
|
|
2571
2826
|
// (undocumented)
|
|
@@ -2595,6 +2850,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2595
2850
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2596
2851
|
}
|
|
2597
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
|
+
|
|
2598
2869
|
// @public (undocumented)
|
|
2599
2870
|
export interface PBInputModifier {
|
|
2600
2871
|
// (undocumented)
|
|
@@ -2617,12 +2888,8 @@ export interface PBInputModifier_StandardInput {
|
|
|
2617
2888
|
// (undocumented)
|
|
2618
2889
|
disableAll?: boolean | undefined;
|
|
2619
2890
|
// (undocumented)
|
|
2620
|
-
disableDoubleJump?: boolean | undefined;
|
|
2621
|
-
// (undocumented)
|
|
2622
2891
|
disableEmote?: boolean | undefined;
|
|
2623
2892
|
// (undocumented)
|
|
2624
|
-
disableGliding?: boolean | undefined;
|
|
2625
|
-
// (undocumented)
|
|
2626
2893
|
disableJog?: boolean | undefined;
|
|
2627
2894
|
// (undocumented)
|
|
2628
2895
|
disableJump?: boolean | undefined;
|
|
@@ -2707,6 +2974,7 @@ export namespace PBMainCamera {
|
|
|
2707
2974
|
|
|
2708
2975
|
// @public (undocumented)
|
|
2709
2976
|
export interface PBMaterial {
|
|
2977
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2710
2978
|
// (undocumented)
|
|
2711
2979
|
material?: {
|
|
2712
2980
|
$case: "unlit";
|
|
@@ -2725,6 +2993,22 @@ export namespace PBMaterial {
|
|
|
2725
2993
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2726
2994
|
}
|
|
2727
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
|
+
|
|
2728
3012
|
// @public (undocumented)
|
|
2729
3013
|
export interface PBMaterial_PbrMaterial {
|
|
2730
3014
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -2786,6 +3070,9 @@ export interface PBMeshCollider {
|
|
|
2786
3070
|
} | {
|
|
2787
3071
|
$case: "plane";
|
|
2788
3072
|
plane: PBMeshCollider_PlaneMesh;
|
|
3073
|
+
} | {
|
|
3074
|
+
$case: "gltf";
|
|
3075
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
2789
3076
|
} | undefined;
|
|
2790
3077
|
}
|
|
2791
3078
|
|
|
@@ -2823,6 +3110,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
2823
3110
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2824
3111
|
}
|
|
2825
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
|
+
|
|
2826
3127
|
// @public (undocumented)
|
|
2827
3128
|
export interface PBMeshCollider_PlaneMesh {
|
|
2828
3129
|
}
|
|
@@ -2862,6 +3163,9 @@ export interface PBMeshRenderer {
|
|
|
2862
3163
|
} | {
|
|
2863
3164
|
$case: "plane";
|
|
2864
3165
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3166
|
+
} | {
|
|
3167
|
+
$case: "gltf";
|
|
3168
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
2865
3169
|
} | undefined;
|
|
2866
3170
|
}
|
|
2867
3171
|
|
|
@@ -2900,6 +3204,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
2900
3204
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2901
3205
|
}
|
|
2902
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
|
+
|
|
2903
3221
|
// @public (undocumented)
|
|
2904
3222
|
export interface PBMeshRenderer_PlaneMesh {
|
|
2905
3223
|
uvs: number[];
|
|
@@ -2940,33 +3258,6 @@ export namespace PBNftShape {
|
|
|
2940
3258
|
export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
|
|
2941
3259
|
}
|
|
2942
3260
|
|
|
2943
|
-
// @public (undocumented)
|
|
2944
|
-
export interface PBPhysicsCombinedForce {
|
|
2945
|
-
vector: PBVector3 | undefined;
|
|
2946
|
-
}
|
|
2947
|
-
|
|
2948
|
-
// @public (undocumented)
|
|
2949
|
-
export namespace PBPhysicsCombinedForce {
|
|
2950
|
-
// (undocumented)
|
|
2951
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedForce;
|
|
2952
|
-
// (undocumented)
|
|
2953
|
-
export function encode(message: PBPhysicsCombinedForce, writer?: _m0.Writer): _m0.Writer;
|
|
2954
|
-
}
|
|
2955
|
-
|
|
2956
|
-
// @public (undocumented)
|
|
2957
|
-
export interface PBPhysicsCombinedImpulse {
|
|
2958
|
-
eventId: number;
|
|
2959
|
-
vector: PBVector3 | undefined;
|
|
2960
|
-
}
|
|
2961
|
-
|
|
2962
|
-
// @public (undocumented)
|
|
2963
|
-
export namespace PBPhysicsCombinedImpulse {
|
|
2964
|
-
// (undocumented)
|
|
2965
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedImpulse;
|
|
2966
|
-
// (undocumented)
|
|
2967
|
-
export function encode(message: PBPhysicsCombinedImpulse, writer?: _m0.Writer): _m0.Writer;
|
|
2968
|
-
}
|
|
2969
|
-
|
|
2970
3261
|
// @public (undocumented)
|
|
2971
3262
|
export interface PBPlayerIdentityData {
|
|
2972
3263
|
address: string;
|
|
@@ -3132,9 +3423,11 @@ export interface PBRaycast {
|
|
|
3132
3423
|
$case: "targetEntity";
|
|
3133
3424
|
targetEntity: number;
|
|
3134
3425
|
} | undefined;
|
|
3426
|
+
includeWorld?: boolean | undefined;
|
|
3135
3427
|
maxDistance: number;
|
|
3136
3428
|
originOffset?: PBVector3 | undefined;
|
|
3137
3429
|
queryType: RaycastQueryType;
|
|
3430
|
+
shape?: RaycastShape | undefined;
|
|
3138
3431
|
timestamp?: number | undefined;
|
|
3139
3432
|
}
|
|
3140
3433
|
|
|
@@ -3229,6 +3522,32 @@ export namespace PBTextShape {
|
|
|
3229
3522
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3230
3523
|
}
|
|
3231
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
|
+
|
|
3232
3551
|
// @public (undocumented)
|
|
3233
3552
|
export interface PBTriggerArea {
|
|
3234
3553
|
collisionMask?: number | undefined;
|
|
@@ -3307,9 +3626,6 @@ export interface PBTween {
|
|
|
3307
3626
|
} | {
|
|
3308
3627
|
$case: "textureMoveContinuous";
|
|
3309
3628
|
textureMoveContinuous: TextureMoveContinuous;
|
|
3310
|
-
} | {
|
|
3311
|
-
$case: "moveRotateScale";
|
|
3312
|
-
moveRotateScale: MoveRotateScale;
|
|
3313
3629
|
} | undefined;
|
|
3314
3630
|
playing?: boolean | undefined;
|
|
3315
3631
|
}
|
|
@@ -3372,6 +3688,23 @@ export namespace PBUiBackground {
|
|
|
3372
3688
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3373
3689
|
}
|
|
3374
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
|
+
|
|
3375
3708
|
// @public (undocumented)
|
|
3376
3709
|
export interface PBUiCanvasInformation {
|
|
3377
3710
|
devicePixelRatio: number;
|
|
@@ -3465,11 +3798,27 @@ export namespace PBUiInputResult {
|
|
|
3465
3798
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3466
3799
|
}
|
|
3467
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
|
+
|
|
3468
3815
|
// @public (undocumented)
|
|
3469
3816
|
export interface PBUiText {
|
|
3470
3817
|
color?: PBColor4 | undefined;
|
|
3471
3818
|
font?: Font | undefined;
|
|
3472
3819
|
fontSize?: number | undefined;
|
|
3820
|
+
outlineColor?: PBColor4 | undefined;
|
|
3821
|
+
outlineWidth?: number | undefined;
|
|
3473
3822
|
textAlign?: TextAlignMode | undefined;
|
|
3474
3823
|
textWrap?: TextWrap | undefined;
|
|
3475
3824
|
value: string;
|
|
@@ -3520,6 +3869,7 @@ export interface PBUiTransform {
|
|
|
3520
3869
|
borderTopWidth?: number | undefined;
|
|
3521
3870
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3522
3871
|
display: YGDisplay;
|
|
3872
|
+
elementId?: string | undefined;
|
|
3523
3873
|
// (undocumented)
|
|
3524
3874
|
flexBasis: number;
|
|
3525
3875
|
flexBasisUnit: YGUnit;
|
|
@@ -3588,6 +3938,8 @@ export interface PBUiTransform {
|
|
|
3588
3938
|
positionType: YGPositionType;
|
|
3589
3939
|
// (undocumented)
|
|
3590
3940
|
rightOf: number;
|
|
3941
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
3942
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
3591
3943
|
// (undocumented)
|
|
3592
3944
|
width: number;
|
|
3593
3945
|
widthUnit: YGUnit;
|
|
@@ -3708,10 +4060,17 @@ export namespace PBVisibilityComponent {
|
|
|
3708
4060
|
}
|
|
3709
4061
|
|
|
3710
4062
|
// @public (undocumented)
|
|
3711
|
-
export
|
|
4063
|
+
export interface Perspective {
|
|
4064
|
+
fieldOfView?: number | undefined;
|
|
4065
|
+
}
|
|
3712
4066
|
|
|
3713
4067
|
// @public (undocumented)
|
|
3714
|
-
export
|
|
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
|
+
}
|
|
3715
4074
|
|
|
3716
4075
|
// @public
|
|
3717
4076
|
export namespace Plane {
|
|
@@ -3758,12 +4117,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
3758
4117
|
|
|
3759
4118
|
// @public (undocumented)
|
|
3760
4119
|
export interface PointerEventsSystem {
|
|
4120
|
+
onPointerDown(pointerData: {
|
|
4121
|
+
entity: Entity;
|
|
4122
|
+
optsList: EventSystemOptionsCallback[];
|
|
4123
|
+
}): void;
|
|
3761
4124
|
onPointerDown(pointerData: {
|
|
3762
4125
|
entity: Entity;
|
|
3763
4126
|
opts?: Partial<EventSystemOptions>;
|
|
3764
4127
|
}, cb: EventSystemCallback): void;
|
|
3765
4128
|
// @deprecated (undocumented)
|
|
3766
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;
|
|
3767
4154
|
onPointerHoverEnter(pointerData: {
|
|
3768
4155
|
entity: Entity;
|
|
3769
4156
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3772,6 +4159,10 @@ export interface PointerEventsSystem {
|
|
|
3772
4159
|
entity: Entity;
|
|
3773
4160
|
opts?: Partial<EventSystemOptions>;
|
|
3774
4161
|
}, cb: EventSystemCallback): void;
|
|
4162
|
+
onPointerUp(pointerData: {
|
|
4163
|
+
entity: Entity;
|
|
4164
|
+
optsList: EventSystemOptionsCallback[];
|
|
4165
|
+
}): void;
|
|
3775
4166
|
onPointerUp(pointerData: {
|
|
3776
4167
|
entity: Entity;
|
|
3777
4168
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3779,6 +4170,9 @@ export interface PointerEventsSystem {
|
|
|
3779
4170
|
// @deprecated (undocumented)
|
|
3780
4171
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3781
4172
|
removeOnPointerDown(entity: Entity): void;
|
|
4173
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
4174
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
4175
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
3782
4176
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3783
4177
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3784
4178
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -3792,6 +4186,12 @@ export const enum PointerEventType {
|
|
|
3792
4186
|
// (undocumented)
|
|
3793
4187
|
PET_DOWN = 1,
|
|
3794
4188
|
// (undocumented)
|
|
4189
|
+
PET_DRAG = 5,
|
|
4190
|
+
// (undocumented)
|
|
4191
|
+
PET_DRAG_END = 6,
|
|
4192
|
+
// (undocumented)
|
|
4193
|
+
PET_DRAG_LOCKED = 4,
|
|
4194
|
+
// (undocumented)
|
|
3795
4195
|
PET_HOVER_ENTER = 2,
|
|
3796
4196
|
// (undocumented)
|
|
3797
4197
|
PET_HOVER_LEAVE = 3,
|
|
@@ -3816,7 +4216,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
3816
4216
|
// @public (undocumented)
|
|
3817
4217
|
export const enum PointerType {
|
|
3818
4218
|
POT_MOUSE = 1,
|
|
3819
|
-
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
|
|
3820
4226
|
}
|
|
3821
4227
|
|
|
3822
4228
|
// @public
|
|
@@ -4007,6 +4413,12 @@ export const enum RaycastQueryType {
|
|
|
4007
4413
|
// @public (undocumented)
|
|
4008
4414
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
4009
4415
|
|
|
4416
|
+
// @public (undocumented)
|
|
4417
|
+
export const enum RaycastShape {
|
|
4418
|
+
RS_AVATAR = 1,
|
|
4419
|
+
RS_RAY = 0
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4010
4422
|
// @public (undocumented)
|
|
4011
4423
|
export interface RaycastSystem {
|
|
4012
4424
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -4061,6 +4473,8 @@ export interface ReactBasedUiSystem {
|
|
|
4061
4473
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
4062
4474
|
destroy(): void;
|
|
4063
4475
|
removeUiRenderer(entity: Entity): void;
|
|
4476
|
+
// @deprecated
|
|
4477
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4064
4478
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
4065
4479
|
}
|
|
4066
4480
|
|
|
@@ -4096,7 +4510,7 @@ export namespace ReactEcs {
|
|
|
4096
4510
|
useEffect: EffectHook;
|
|
4097
4511
|
const // (undocumented)
|
|
4098
4512
|
useState: StateHook;
|
|
4099
|
-
|
|
4513
|
+
{};
|
|
4100
4514
|
}
|
|
4101
4515
|
|
|
4102
4516
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
|
@@ -4360,13 +4774,42 @@ export namespace Schemas {
|
|
|
4360
4774
|
}) => void;
|
|
4361
4775
|
}
|
|
4362
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
|
+
|
|
4363
4797
|
// @public
|
|
4364
|
-
export
|
|
4798
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4365
4799
|
|
|
4366
4800
|
// @public
|
|
4367
|
-
export
|
|
4368
|
-
|
|
4369
|
-
|
|
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
|
|
4370
4813
|
}
|
|
4371
4814
|
|
|
4372
4815
|
// @public (undocumented)
|
|
@@ -4482,6 +4925,9 @@ export namespace Texture {
|
|
|
4482
4925
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4483
4926
|
}
|
|
4484
4927
|
|
|
4928
|
+
// @public (undocumented)
|
|
4929
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4930
|
+
|
|
4485
4931
|
// @public (undocumented)
|
|
4486
4932
|
export const enum TextureFilterMode {
|
|
4487
4933
|
// (undocumented)
|
|
@@ -4561,6 +5007,9 @@ export interface TextureUnion {
|
|
|
4561
5007
|
} | {
|
|
4562
5008
|
$case: "videoTexture";
|
|
4563
5009
|
videoTexture: VideoTexture;
|
|
5010
|
+
} | {
|
|
5011
|
+
$case: "uiTexture";
|
|
5012
|
+
uiTexture: UiCanvasTexture;
|
|
4564
5013
|
} | undefined;
|
|
4565
5014
|
}
|
|
4566
5015
|
|
|
@@ -4740,7 +5189,6 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
4740
5189
|
Mode: TweenHelper;
|
|
4741
5190
|
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
4742
5191
|
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
|
4743
|
-
setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
|
|
4744
5192
|
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
4745
5193
|
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
|
4746
5194
|
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -4755,8 +5203,6 @@ export interface TweenHelper {
|
|
|
4755
5203
|
// (undocumented)
|
|
4756
5204
|
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
|
4757
5205
|
// (undocumented)
|
|
4758
|
-
MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
|
|
4759
|
-
// (undocumented)
|
|
4760
5206
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
|
4761
5207
|
// (undocumented)
|
|
4762
5208
|
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
|
@@ -4824,6 +5270,7 @@ export interface UiBackgroundProps {
|
|
|
4824
5270
|
textureMode?: TextureMode;
|
|
4825
5271
|
textureSlices?: BorderRect | undefined;
|
|
4826
5272
|
uvs?: number[];
|
|
5273
|
+
videoTexture?: UiVideoTexture;
|
|
4827
5274
|
}
|
|
4828
5275
|
|
|
4829
5276
|
// @public
|
|
@@ -4832,9 +5279,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4832
5279
|
variant?: 'primary' | 'secondary';
|
|
4833
5280
|
}
|
|
4834
5281
|
|
|
5282
|
+
// @public (undocumented)
|
|
5283
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5284
|
+
|
|
4835
5285
|
// @public (undocumented)
|
|
4836
5286
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
4837
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
|
+
|
|
4838
5304
|
// @public (undocumented)
|
|
4839
5305
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
4840
5306
|
|
|
@@ -4889,6 +5355,8 @@ export interface UiLabelProps {
|
|
|
4889
5355
|
color?: PBColor4 | undefined;
|
|
4890
5356
|
font?: UiFontType | undefined;
|
|
4891
5357
|
fontSize?: ScaleUnit | undefined;
|
|
5358
|
+
outlineColor?: PBColor4 | undefined;
|
|
5359
|
+
outlineWidth?: number | undefined;
|
|
4892
5360
|
textAlign?: TextAlignType | undefined;
|
|
4893
5361
|
textWrap?: UiTextWrapType | undefined;
|
|
4894
5362
|
value: string;
|
|
@@ -4903,6 +5371,9 @@ export type UiRendererOptions = {
|
|
|
4903
5371
|
virtualHeight: number;
|
|
4904
5372
|
};
|
|
4905
5373
|
|
|
5374
|
+
// @public (undocumented)
|
|
5375
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5376
|
+
|
|
4906
5377
|
// @public (undocumented)
|
|
4907
5378
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
4908
5379
|
|
|
@@ -4931,6 +5402,7 @@ export interface UiTransformProps {
|
|
|
4931
5402
|
// (undocumented)
|
|
4932
5403
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
4933
5404
|
display?: DisplayType;
|
|
5405
|
+
elementId?: string;
|
|
4934
5406
|
flex?: number;
|
|
4935
5407
|
flexBasis?: number;
|
|
4936
5408
|
flexDirection?: FlexDirectionType;
|
|
@@ -4950,10 +5422,22 @@ export interface UiTransformProps {
|
|
|
4950
5422
|
pointerFilter?: PointerFilterType;
|
|
4951
5423
|
position?: Partial<Position> | PositionShorthand;
|
|
4952
5424
|
positionType?: PositionType;
|
|
5425
|
+
scrollPosition?: PBVector2 | string;
|
|
5426
|
+
scrollVisible?: ScrollVisibleType;
|
|
4953
5427
|
width?: PositionUnit | 'auto';
|
|
4954
5428
|
zIndex?: number;
|
|
4955
5429
|
}
|
|
4956
5430
|
|
|
5431
|
+
// @public
|
|
5432
|
+
export interface UiVideoTexture {
|
|
5433
|
+
// (undocumented)
|
|
5434
|
+
filterMode?: TextureFilterType;
|
|
5435
|
+
// (undocumented)
|
|
5436
|
+
videoPlayerEntity: Entity;
|
|
5437
|
+
// (undocumented)
|
|
5438
|
+
wrapMode?: TextureWrapType;
|
|
5439
|
+
}
|
|
5440
|
+
|
|
4957
5441
|
// @public (undocumented)
|
|
4958
5442
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
4959
5443
|
|