@dcl/playground-assets 7.31.1-40536151736.commit-a09f320 → 7.31.1-40606969412.commit-24c05c3

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.
@@ -215,6 +215,25 @@ export const enum AvatarAnchorPointType {
215
215
  AAPT_SPINE2 = 8
216
216
  }
217
217
 
218
+ // @public (undocumented)
219
+ export interface AvatarAnimationState {
220
+ duration: number;
221
+ idle: boolean;
222
+ loop: boolean;
223
+ loopCount: number;
224
+ playbackTime: number;
225
+ speed: number;
226
+ src: string;
227
+ }
228
+
229
+ // @public (undocumented)
230
+ export namespace AvatarAnimationState {
231
+ // (undocumented)
232
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarAnimationState;
233
+ // (undocumented)
234
+ export function encode(message: AvatarAnimationState, writer?: _m0.Writer): _m0.Writer;
235
+ }
236
+
218
237
  // @public (undocumented)
219
238
  export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
220
239
 
@@ -224,8 +243,18 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
224
243
  // @public (undocumented)
225
244
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
226
245
 
246
+ // Warning: (ae-missing-release-tag) "AvatarEquippedData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
247
+ //
248
+ // @public (undocumented)
249
+ export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
250
+
227
251
  // @public (undocumented)
228
- export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
252
+ export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
253
+
254
+ // @public
255
+ export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
256
+ forceRender?: string[] | undefined;
257
+ };
229
258
 
230
259
  // @public (undocumented)
231
260
  export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
@@ -246,11 +275,27 @@ export const enum AvatarModifierType {
246
275
  AMT_HIDE_NAMETAGS = 2
247
276
  }
248
277
 
278
+ // @public (undocumented)
279
+ export const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
280
+
281
+ // @public (undocumented)
282
+ export const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
283
+
249
284
  // @public (undocumented)
250
285
  export const AvatarNametag: LastWriteWinElementSetComponentDefinition<PBAvatarNametag>;
251
286
 
287
+ // Warning: (ae-missing-release-tag) "AvatarShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
288
+ //
252
289
  // @public (undocumented)
253
- export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
290
+ export const AvatarShape: AvatarShapeComponentDefinitionExtended;
291
+
292
+ // @public (undocumented)
293
+ export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
294
+
295
+ // @public
296
+ export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
297
+ forceRender?: string[] | undefined;
298
+ };
254
299
 
255
300
  // @public (undocumented)
256
301
  export interface AvatarTexture {
@@ -463,7 +508,13 @@ export interface ByteBuffer {
463
508
  }
464
509
 
465
510
  // @public
466
- export type Callback = () => void;
511
+ export type Callback = (event: PBPointerEventsResult) => void;
512
+
513
+ // @public (undocumented)
514
+ export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
515
+
516
+ // @public (undocumented)
517
+ export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
467
518
 
468
519
  // @public (undocumented)
469
520
  export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
@@ -755,17 +806,24 @@ export const componentDefinitionByName: {
755
806
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
756
807
  "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
757
808
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
809
+ "core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
810
+ "core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
758
811
  "core::AvatarNametag": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarNametag>>;
759
812
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
760
813
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
814
+ "core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
815
+ "core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
761
816
  "core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
762
817
  "core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
763
818
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
764
819
  "core::ExplorerItemPurchaseResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerItemPurchaseResult>>;
765
820
  "core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
821
+ "core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
766
822
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
767
823
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
824
+ "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
768
825
  "core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
826
+ "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
769
827
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
770
828
  "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
771
829
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
@@ -786,6 +844,7 @@ export const componentDefinitionByName: {
786
844
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
787
845
  "core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
788
846
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
847
+ "core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
789
848
  "core::TouchScreenControls": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>>;
790
849
  "core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
791
850
  "core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
@@ -793,12 +852,14 @@ export const componentDefinitionByName: {
793
852
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
794
853
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
795
854
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
855
+ "core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
796
856
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
797
857
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
798
858
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
799
859
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
800
860
  "core::UiInputBinding": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputBinding>>;
801
861
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
862
+ "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
802
863
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
803
864
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
804
865
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -1260,6 +1321,9 @@ export type EntityComponents = {
1260
1321
  onMouseUp: Callback;
1261
1322
  onMouseEnter: Callback;
1262
1323
  onMouseLeave: Callback;
1324
+ onMouseDrag: Callback;
1325
+ onMouseDragLocked: Callback;
1326
+ onMouseDragEnd: Callback;
1263
1327
  };
1264
1328
 
1265
1329
  // @public (undocumented)
@@ -1450,6 +1514,9 @@ export type GlobalDirectionRaycastSystemOptions = {
1450
1514
  direction?: PBVector3;
1451
1515
  };
1452
1516
 
1517
+ // @public (undocumented)
1518
+ export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
1519
+
1453
1520
  // Warning: (ae-missing-release-tag) "GlobalTargetRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1454
1521
  //
1455
1522
  // @public (undocumented)
@@ -1468,9 +1535,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
1468
1535
  // @public (undocumented)
1469
1536
  export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
1470
1537
 
1538
+ // @public (undocumented)
1539
+ export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
1540
+
1471
1541
  // @public (undocumented)
1472
1542
  export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
1473
1543
 
1544
+ // @public (undocumented)
1545
+ export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
1546
+
1547
+ // @public (undocumented)
1548
+ export const enum GltfNodeStateValue {
1549
+ // (undocumented)
1550
+ GNSV_FAILED = 1,
1551
+ // (undocumented)
1552
+ GNSV_PENDING = 0,
1553
+ // (undocumented)
1554
+ GNSV_READY = 2
1555
+ }
1556
+
1474
1557
  // @public (undocumented)
1475
1558
  export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
1476
1559
  addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
@@ -1899,6 +1982,9 @@ export type Listeners = {
1899
1982
  onMouseUp?: Callback;
1900
1983
  onMouseEnter?: Callback;
1901
1984
  onMouseLeave?: Callback;
1985
+ onMouseDrag?: Callback;
1986
+ onMouseDragLocked?: Callback;
1987
+ onMouseDragEnd?: Callback;
1902
1988
  };
1903
1989
 
1904
1990
  // @public (undocumented)
@@ -2142,6 +2228,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
2142
2228
  export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
2143
2229
  setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2144
2230
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2231
+ setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2145
2232
  setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2146
2233
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2147
2234
  }
@@ -2155,6 +2242,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
2155
2242
  export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
2156
2243
  setBox(entity: Entity, uvs?: number[]): void;
2157
2244
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
2245
+ setGltfMesh(entity: Entity, source: string, meshName: string): void;
2158
2246
  setPlane(entity: Entity, uvs?: number[]): void;
2159
2247
  setSphere(entity: Entity): void;
2160
2248
  }
@@ -2202,6 +2290,25 @@ export namespace MoveContinuous {
2202
2290
  export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
2203
2291
  }
2204
2292
 
2293
+ // @public (undocumented)
2294
+ export interface MovementAnimation {
2295
+ idle: boolean;
2296
+ loop: boolean;
2297
+ playbackTime?: number | undefined;
2298
+ sounds: string[];
2299
+ speed: number;
2300
+ src: string;
2301
+ transitionSeconds?: number | undefined;
2302
+ }
2303
+
2304
+ // @public (undocumented)
2305
+ export namespace MovementAnimation {
2306
+ // (undocumented)
2307
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): MovementAnimation;
2308
+ // (undocumented)
2309
+ export function encode(message: MovementAnimation, writer?: _m0.Writer): _m0.Writer;
2310
+ }
2311
+
2205
2312
  // @public (undocumented)
2206
2313
  export interface MoveRotateScale {
2207
2314
  // (undocumented)
@@ -2448,6 +2555,19 @@ export const onVideoEvent: Observable<{
2448
2555
  totalVideoLength: number;
2449
2556
  }>;
2450
2557
 
2558
+ // @public (undocumented)
2559
+ export interface Orthographic {
2560
+ verticalRange?: number | undefined;
2561
+ }
2562
+
2563
+ // @public (undocumented)
2564
+ export namespace Orthographic {
2565
+ // (undocumented)
2566
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
2567
+ // (undocumented)
2568
+ export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
2569
+ }
2570
+
2451
2571
  // @public
2452
2572
  export type OverflowType = 'hidden' | 'scroll' | 'visible';
2453
2573
 
@@ -2682,6 +2802,7 @@ export namespace PBAvatarEmoteCommand {
2682
2802
  export interface PBAvatarEquippedData {
2683
2803
  // (undocumented)
2684
2804
  emoteUrns: string[];
2805
+ forceRender: string[];
2685
2806
  // (undocumented)
2686
2807
  wearableUrns: string[];
2687
2808
  }
@@ -2720,6 +2841,7 @@ export interface PBAvatarModifierArea {
2720
2841
  area: PBVector3 | undefined;
2721
2842
  excludeIds: string[];
2722
2843
  modifiers: AvatarModifierType[];
2844
+ useColliderRange?: boolean | undefined;
2723
2845
  }
2724
2846
 
2725
2847
  // @public (undocumented)
@@ -2730,6 +2852,51 @@ export namespace PBAvatarModifierArea {
2730
2852
  export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
2731
2853
  }
2732
2854
 
2855
+ // @public (undocumented)
2856
+ export interface PBAvatarMovement {
2857
+ animation?: MovementAnimation | undefined;
2858
+ // (undocumented)
2859
+ groundDirection?: PBVector3 | undefined;
2860
+ orientation: number;
2861
+ tiltPitch?: number | undefined;
2862
+ tiltRoll?: number | undefined;
2863
+ // (undocumented)
2864
+ velocity: PBVector3 | undefined;
2865
+ walkSuccess?: boolean | undefined;
2866
+ }
2867
+
2868
+ // @public (undocumented)
2869
+ export namespace PBAvatarMovement {
2870
+ // (undocumented)
2871
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
2872
+ // (undocumented)
2873
+ export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
2874
+ }
2875
+
2876
+ // @public (undocumented)
2877
+ export interface PBAvatarMovementInfo {
2878
+ activeAnimationState?: AvatarAnimationState | undefined;
2879
+ // (undocumented)
2880
+ activeAvatarLocomotionSettings: PBAvatarLocomotionSettings | undefined;
2881
+ // (undocumented)
2882
+ activeInputModifier: PBInputModifier | undefined;
2883
+ actualVelocity: PBVector3 | undefined;
2884
+ externalVelocity: PBVector3 | undefined;
2885
+ previousStepTime: number;
2886
+ requestedVelocity: PBVector3 | undefined;
2887
+ stepTime: number;
2888
+ walkTarget?: PBVector3 | undefined;
2889
+ walkThreshold?: number | undefined;
2890
+ }
2891
+
2892
+ // @public (undocumented)
2893
+ export namespace PBAvatarMovementInfo {
2894
+ // (undocumented)
2895
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
2896
+ // (undocumented)
2897
+ export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
2898
+ }
2899
+
2733
2900
  // @public (undocumented)
2734
2901
  export interface PBAvatarNametag {
2735
2902
  backgroundColor?: PBColor3 | undefined;
@@ -2753,6 +2920,7 @@ export interface PBAvatarShape {
2753
2920
  expressionTriggerId?: string | undefined;
2754
2921
  expressionTriggerTimestamp?: number | undefined;
2755
2922
  eyeColor?: PBColor3 | undefined;
2923
+ forceRender: string[];
2756
2924
  hairColor?: PBColor3 | undefined;
2757
2925
  id: string;
2758
2926
  name?: string | undefined;
@@ -2784,6 +2952,42 @@ export namespace PBBillboard {
2784
2952
  export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
2785
2953
  }
2786
2954
 
2955
+ // @public (undocumented)
2956
+ export interface PBCameraLayer {
2957
+ // (undocumented)
2958
+ ambientBrightnessOverride?: number | undefined;
2959
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2960
+ ambientColorOverride?: PBColor3 | undefined;
2961
+ directionalLight?: boolean | undefined;
2962
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2963
+ layer: number;
2964
+ showAvatars?: boolean | undefined;
2965
+ showFog?: boolean | undefined;
2966
+ showSkybox?: boolean | undefined;
2967
+ }
2968
+
2969
+ // @public (undocumented)
2970
+ export namespace PBCameraLayer {
2971
+ // (undocumented)
2972
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
2973
+ // (undocumented)
2974
+ export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
2975
+ }
2976
+
2977
+ // @public (undocumented)
2978
+ export interface PBCameraLayers {
2979
+ // (undocumented)
2980
+ layers: number[];
2981
+ }
2982
+
2983
+ // @public (undocumented)
2984
+ export namespace PBCameraLayers {
2985
+ // (undocumented)
2986
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
2987
+ // (undocumented)
2988
+ export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
2989
+ }
2990
+
2787
2991
  // @public (undocumented)
2788
2992
  export interface PBCameraMode {
2789
2993
  mode: CameraType;
@@ -2801,6 +3005,7 @@ export namespace PBCameraMode {
2801
3005
  export interface PBCameraModeArea {
2802
3006
  area: PBVector3 | undefined;
2803
3007
  mode: CameraType;
3008
+ useColliderRange?: boolean | undefined;
2804
3009
  }
2805
3010
 
2806
3011
  // @public (undocumented)
@@ -2975,6 +3180,21 @@ export namespace PBExplorerUiEventsResult_UiOpened {
2975
3180
  export function encode(_: PBExplorerUiEventsResult_UiOpened, writer?: _m0.Writer): _m0.Writer;
2976
3181
  }
2977
3182
 
3183
+ // @public (undocumented)
3184
+ export interface PBGlobalLight {
3185
+ ambientBrightness?: number | undefined;
3186
+ ambientColor?: PBColor3 | undefined;
3187
+ direction?: PBVector3 | undefined;
3188
+ }
3189
+
3190
+ // @public (undocumented)
3191
+ export namespace PBGlobalLight {
3192
+ // (undocumented)
3193
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
3194
+ // (undocumented)
3195
+ export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
3196
+ }
3197
+
2978
3198
  // @public (undocumented)
2979
3199
  export interface PBGltfContainer {
2980
3200
  invisibleMeshesCollisionMask?: number | undefined;
@@ -2992,8 +3212,13 @@ export namespace PBGltfContainer {
2992
3212
 
2993
3213
  // @public (undocumented)
2994
3214
  export interface PBGltfContainerLoadingState {
3215
+ animationNames: string[];
2995
3216
  // (undocumented)
2996
3217
  currentState: LoadingState;
3218
+ materialNames: string[];
3219
+ meshNames: string[];
3220
+ nodePaths: string[];
3221
+ skinNames: string[];
2997
3222
  }
2998
3223
 
2999
3224
  // @public (undocumented)
@@ -3004,6 +3229,19 @@ export namespace PBGltfContainerLoadingState {
3004
3229
  export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
3005
3230
  }
3006
3231
 
3232
+ // @public (undocumented)
3233
+ export interface PBGltfNode {
3234
+ path: string;
3235
+ }
3236
+
3237
+ // @public (undocumented)
3238
+ export namespace PBGltfNode {
3239
+ // (undocumented)
3240
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
3241
+ // (undocumented)
3242
+ export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
3243
+ }
3244
+
3007
3245
  // @public (undocumented)
3008
3246
  export interface PBGltfNodeModifiers {
3009
3247
  // (undocumented)
@@ -3033,6 +3271,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
3033
3271
  export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
3034
3272
  }
3035
3273
 
3274
+ // @public (undocumented)
3275
+ export interface PBGltfNodeState {
3276
+ // (undocumented)
3277
+ error?: string | undefined;
3278
+ // (undocumented)
3279
+ state: GltfNodeStateValue;
3280
+ }
3281
+
3282
+ // @public (undocumented)
3283
+ export namespace PBGltfNodeState {
3284
+ // (undocumented)
3285
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
3286
+ // (undocumented)
3287
+ export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
3288
+ }
3289
+
3036
3290
  // @public (undocumented)
3037
3291
  export interface PBInputModifier {
3038
3292
  // (undocumented)
@@ -3145,6 +3399,7 @@ export namespace PBMainCamera {
3145
3399
 
3146
3400
  // @public (undocumented)
3147
3401
  export interface PBMaterial {
3402
+ gltf?: PBMaterial_GltfMaterial | undefined;
3148
3403
  // (undocumented)
3149
3404
  material?: {
3150
3405
  $case: "unlit";
@@ -3163,6 +3418,22 @@ export namespace PBMaterial {
3163
3418
  export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
3164
3419
  }
3165
3420
 
3421
+ // @public (undocumented)
3422
+ export interface PBMaterial_GltfMaterial {
3423
+ // (undocumented)
3424
+ gltfSrc: string;
3425
+ // (undocumented)
3426
+ name: string;
3427
+ }
3428
+
3429
+ // @public (undocumented)
3430
+ export namespace PBMaterial_GltfMaterial {
3431
+ // (undocumented)
3432
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
3433
+ // (undocumented)
3434
+ export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
3435
+ }
3436
+
3166
3437
  // @public (undocumented)
3167
3438
  export interface PBMaterial_PbrMaterial {
3168
3439
  albedoColor?: PBColor4 | undefined;
@@ -3224,6 +3495,9 @@ export interface PBMeshCollider {
3224
3495
  } | {
3225
3496
  $case: "plane";
3226
3497
  plane: PBMeshCollider_PlaneMesh;
3498
+ } | {
3499
+ $case: "gltf";
3500
+ gltf: PBMeshCollider_GltfMesh;
3227
3501
  } | undefined;
3228
3502
  }
3229
3503
 
@@ -3261,6 +3535,20 @@ export namespace PBMeshCollider_CylinderMesh {
3261
3535
  export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
3262
3536
  }
3263
3537
 
3538
+ // @public (undocumented)
3539
+ export interface PBMeshCollider_GltfMesh {
3540
+ gltfSrc: string;
3541
+ name: string;
3542
+ }
3543
+
3544
+ // @public (undocumented)
3545
+ export namespace PBMeshCollider_GltfMesh {
3546
+ // (undocumented)
3547
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
3548
+ // (undocumented)
3549
+ export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
3550
+ }
3551
+
3264
3552
  // @public (undocumented)
3265
3553
  export interface PBMeshCollider_PlaneMesh {
3266
3554
  }
@@ -3300,6 +3588,9 @@ export interface PBMeshRenderer {
3300
3588
  } | {
3301
3589
  $case: "plane";
3302
3590
  plane: PBMeshRenderer_PlaneMesh;
3591
+ } | {
3592
+ $case: "gltf";
3593
+ gltf: PBMeshRenderer_GltfMesh;
3303
3594
  } | undefined;
3304
3595
  }
3305
3596
 
@@ -3338,6 +3629,20 @@ export namespace PBMeshRenderer_CylinderMesh {
3338
3629
  export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
3339
3630
  }
3340
3631
 
3632
+ // @public (undocumented)
3633
+ export interface PBMeshRenderer_GltfMesh {
3634
+ gltfSrc: string;
3635
+ name: string;
3636
+ }
3637
+
3638
+ // @public (undocumented)
3639
+ export namespace PBMeshRenderer_GltfMesh {
3640
+ // (undocumented)
3641
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
3642
+ // (undocumented)
3643
+ export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
3644
+ }
3645
+
3341
3646
  // @public (undocumented)
3342
3647
  export interface PBMeshRenderer_PlaneMesh {
3343
3648
  uvs: number[];
@@ -3766,9 +4071,11 @@ export interface PBRaycast {
3766
4071
  $case: "targetEntity";
3767
4072
  targetEntity: number;
3768
4073
  } | undefined;
4074
+ includeWorld?: boolean | undefined;
3769
4075
  maxDistance: number;
3770
4076
  originOffset?: PBVector3 | undefined;
3771
4077
  queryType: RaycastQueryType;
4078
+ shape?: RaycastShape | undefined;
3772
4079
  timestamp?: number | undefined;
3773
4080
  }
3774
4081
 
@@ -3864,6 +4171,32 @@ export namespace PBTextShape {
3864
4171
  export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
3865
4172
  }
3866
4173
 
4174
+ // @public (undocumented)
4175
+ export interface PBTextureCamera {
4176
+ clearColor?: PBColor4 | undefined;
4177
+ farPlane?: number | undefined;
4178
+ height?: number | undefined;
4179
+ layer?: number | undefined;
4180
+ // (undocumented)
4181
+ mode?: {
4182
+ $case: "perspective";
4183
+ perspective: Perspective;
4184
+ } | {
4185
+ $case: "orthographic";
4186
+ orthographic: Orthographic;
4187
+ } | undefined;
4188
+ volume?: number | undefined;
4189
+ width?: number | undefined;
4190
+ }
4191
+
4192
+ // @public (undocumented)
4193
+ export namespace PBTextureCamera {
4194
+ // (undocumented)
4195
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
4196
+ // (undocumented)
4197
+ export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
4198
+ }
4199
+
3867
4200
  // @public (undocumented)
3868
4201
  export interface PBTouchScreenControls {
3869
4202
  hideCrosshair: boolean;
@@ -4039,6 +4372,23 @@ export namespace PBUiBackground {
4039
4372
  export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
4040
4373
  }
4041
4374
 
4375
+ // @public (undocumented)
4376
+ export interface PBUiCanvas {
4377
+ color?: PBColor4 | undefined;
4378
+ // (undocumented)
4379
+ height: number;
4380
+ // (undocumented)
4381
+ width: number;
4382
+ }
4383
+
4384
+ // @public (undocumented)
4385
+ export namespace PBUiCanvas {
4386
+ // (undocumented)
4387
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
4388
+ // (undocumented)
4389
+ export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
4390
+ }
4391
+
4042
4392
  // @public (undocumented)
4043
4393
  export interface PBUiCanvasInformation {
4044
4394
  devicePixelRatio: number;
@@ -4098,12 +4448,14 @@ export namespace PBUiDropdownResult {
4098
4448
 
4099
4449
  // @public (undocumented)
4100
4450
  export interface PBUiInput {
4451
+ clearOnSubmit?: boolean | undefined;
4101
4452
  color?: PBColor4 | undefined;
4102
4453
  // (undocumented)
4103
4454
  disabled: boolean;
4104
4455
  font?: Font | undefined;
4105
4456
  fontSize?: number | undefined;
4106
4457
  fontSrc?: string | undefined;
4458
+ multiLine?: boolean | undefined;
4107
4459
  // (undocumented)
4108
4460
  placeholder: string;
4109
4461
  placeholderColor?: PBColor4 | undefined;
@@ -4148,6 +4500,20 @@ export namespace PBUiInputResult {
4148
4500
  export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
4149
4501
  }
4150
4502
 
4503
+ // @public (undocumented)
4504
+ export interface PBUiScrollResult {
4505
+ // (undocumented)
4506
+ value: PBVector2 | undefined;
4507
+ }
4508
+
4509
+ // @public (undocumented)
4510
+ export namespace PBUiScrollResult {
4511
+ // (undocumented)
4512
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
4513
+ // (undocumented)
4514
+ export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
4515
+ }
4516
+
4151
4517
  // @public (undocumented)
4152
4518
  export interface PBUiText {
4153
4519
  color?: PBColor4 | undefined;
@@ -4204,6 +4570,7 @@ export interface PBUiTransform {
4204
4570
  borderTopWidth?: number | undefined;
4205
4571
  borderTopWidthUnit?: YGUnit | undefined;
4206
4572
  display: YGDisplay;
4573
+ elementId?: string | undefined;
4207
4574
  // (undocumented)
4208
4575
  flexBasis: number;
4209
4576
  flexBasisUnit: YGUnit;
@@ -4272,6 +4639,8 @@ export interface PBUiTransform {
4272
4639
  positionType: YGPositionType;
4273
4640
  // (undocumented)
4274
4641
  rightOf: number;
4642
+ scrollPosition?: ScrollPositionValue | undefined;
4643
+ scrollVisible?: ShowScrollBar | undefined;
4275
4644
  // (undocumented)
4276
4645
  width: number;
4277
4646
  widthUnit: YGUnit;
@@ -4392,6 +4761,19 @@ export namespace PBVisibilityComponent {
4392
4761
  export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
4393
4762
  }
4394
4763
 
4764
+ // @public (undocumented)
4765
+ export interface Perspective {
4766
+ fieldOfView?: number | undefined;
4767
+ }
4768
+
4769
+ // @public (undocumented)
4770
+ export namespace Perspective {
4771
+ // (undocumented)
4772
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
4773
+ // (undocumented)
4774
+ export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
4775
+ }
4776
+
4395
4777
  // @public
4396
4778
  export const Physics: PhysicsSystem;
4397
4779
 
@@ -4468,6 +4850,18 @@ export interface PointerEventsSystem {
4468
4850
  }, cb: EventSystemCallback): void;
4469
4851
  // @deprecated (undocumented)
4470
4852
  onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
4853
+ onPointerDrag(pointerData: {
4854
+ entity: Entity;
4855
+ opts?: Partial<EventSystemOptions>;
4856
+ }, cb: EventSystemCallback): void;
4857
+ onPointerDragEnd(pointerData: {
4858
+ entity: Entity;
4859
+ opts?: Partial<EventSystemOptions>;
4860
+ }, cb: EventSystemCallback): void;
4861
+ onPointerDragLocked(pointerData: {
4862
+ entity: Entity;
4863
+ opts?: Partial<EventSystemOptions>;
4864
+ }, cb: EventSystemCallback): void;
4471
4865
  onPointerHoverEnter(pointerData: {
4472
4866
  entity: Entity;
4473
4867
  opts?: Partial<EventSystemOptions>;
@@ -4499,6 +4893,9 @@ export interface PointerEventsSystem {
4499
4893
  opts?: Partial<EventSystemOptions>;
4500
4894
  }, cb: EventSystemCallback): void;
4501
4895
  removeOnPointerDown(entity: Entity): void;
4896
+ removeOnPointerDrag(entity: Entity): void;
4897
+ removeOnPointerDragEnd(entity: Entity): void;
4898
+ removeOnPointerDragLocked(entity: Entity): void;
4502
4899
  removeOnPointerHoverEnter(entity: Entity): void;
4503
4900
  removeOnPointerHoverLeave(entity: Entity): void;
4504
4901
  removeOnPointerUp(entity: Entity): void;
@@ -4516,6 +4913,12 @@ export const enum PointerEventType {
4516
4913
  // (undocumented)
4517
4914
  PET_DOWN = 1,
4518
4915
  // (undocumented)
4916
+ PET_DRAG = 7,
4917
+ // (undocumented)
4918
+ PET_DRAG_END = 8,
4919
+ // (undocumented)
4920
+ PET_DRAG_LOCKED = 6,
4921
+ // (undocumented)
4519
4922
  PET_HOVER_ENTER = 2,
4520
4923
  // (undocumented)
4521
4924
  PET_HOVER_LEAVE = 3,
@@ -4544,7 +4947,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
4544
4947
  // @public (undocumented)
4545
4948
  export const enum PointerType {
4546
4949
  POT_MOUSE = 1,
4547
- POT_NONE = 0
4950
+ POT_NONE = 0,
4951
+ // (undocumented)
4952
+ POT_PAD = 2,
4953
+ // (undocumented)
4954
+ POT_TOUCH = 3,
4955
+ // (undocumented)
4956
+ POT_WAND = 4
4548
4957
  }
4549
4958
 
4550
4959
  // @public
@@ -4735,6 +5144,12 @@ export const enum RaycastQueryType {
4735
5144
  // @public (undocumented)
4736
5145
  export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
4737
5146
 
5147
+ // @public (undocumented)
5148
+ export const enum RaycastShape {
5149
+ RS_AVATAR = 1,
5150
+ RS_RAY = 0
5151
+ }
5152
+
4738
5153
  // @public (undocumented)
4739
5154
  export interface RaycastSystem {
4740
5155
  globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
@@ -4782,13 +5197,17 @@ export type RaycastSystemOptions = {
4782
5197
  queryType: RaycastQueryType;
4783
5198
  continuous?: boolean | undefined;
4784
5199
  collisionMask?: number | undefined;
5200
+ shape?: RaycastShape | undefined;
5201
+ includeWorld?: boolean | undefined;
4785
5202
  };
4786
5203
 
4787
5204
  // @public (undocumented)
4788
5205
  export interface ReactBasedUiSystem {
4789
5206
  addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
4790
5207
  destroy(): void;
5208
+ removeTextureRenderer(entity: Entity): void;
4791
5209
  removeUiRenderer(entity: Entity): void;
5210
+ setTextureRenderer(entity: Entity, ui: UiComponent): void;
4792
5211
  setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
4793
5212
  }
4794
5213
 
@@ -5096,6 +5515,29 @@ export namespace Schemas {
5096
5515
  // @public
5097
5516
  export function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
5098
5517
 
5518
+ // @public (undocumented)
5519
+ export interface ScrollPositionValue {
5520
+ // (undocumented)
5521
+ value?: {
5522
+ $case: "position";
5523
+ position: PBVector2;
5524
+ } | {
5525
+ $case: "reference";
5526
+ reference: string;
5527
+ } | undefined;
5528
+ }
5529
+
5530
+ // @public (undocumented)
5531
+ export namespace ScrollPositionValue {
5532
+ // (undocumented)
5533
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
5534
+ // (undocumented)
5535
+ export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
5536
+ }
5537
+
5538
+ // @public
5539
+ export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
5540
+
5099
5541
  // @public
5100
5542
  export function setCompositeProvider(engine: IEngine, provider: CompositeProvider): void;
5101
5543
 
@@ -5108,6 +5550,18 @@ export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
5108
5550
  easingFunction?: EasingFunction;
5109
5551
  }
5110
5552
 
5553
+ // @public (undocumented)
5554
+ export const enum ShowScrollBar {
5555
+ // (undocumented)
5556
+ SSB_BOTH = 0,
5557
+ // (undocumented)
5558
+ SSB_HIDDEN = 3,
5559
+ // (undocumented)
5560
+ SSB_ONLY_HORIZONTAL = 2,
5561
+ // (undocumented)
5562
+ SSB_ONLY_VERTICAL = 1
5563
+ }
5564
+
5111
5565
  // @public (undocumented)
5112
5566
  export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
5113
5567
 
@@ -5221,6 +5675,9 @@ export namespace Texture {
5221
5675
  export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
5222
5676
  }
5223
5677
 
5678
+ // @public (undocumented)
5679
+ export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
5680
+
5224
5681
  // @public (undocumented)
5225
5682
  export const enum TextureFilterMode {
5226
5683
  // (undocumented)
@@ -5300,6 +5757,9 @@ export interface TextureUnion {
5300
5757
  } | {
5301
5758
  $case: "videoTexture";
5302
5759
  videoTexture: VideoTexture;
5760
+ } | {
5761
+ $case: "uiTexture";
5762
+ uiTexture: UiCanvasTexture;
5303
5763
  } | undefined;
5304
5764
  }
5305
5765
 
@@ -5582,6 +6042,7 @@ export interface UiBackgroundProps {
5582
6042
  textureMode?: TextureMode;
5583
6043
  textureSlices?: BorderRect | undefined;
5584
6044
  uvs?: number[];
6045
+ videoTexture?: UiVideoTexture;
5585
6046
  }
5586
6047
 
5587
6048
  // @public
@@ -5590,9 +6051,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
5590
6051
  variant?: 'primary' | 'secondary';
5591
6052
  }
5592
6053
 
6054
+ // @public (undocumented)
6055
+ export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
6056
+
5593
6057
  // @public (undocumented)
5594
6058
  export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
5595
6059
 
6060
+ // @public (undocumented)
6061
+ export interface UiCanvasTexture {
6062
+ filterMode?: TextureFilterMode | undefined;
6063
+ // (undocumented)
6064
+ uiCanvasEntity: number;
6065
+ wrapMode?: TextureWrapMode | undefined;
6066
+ }
6067
+
6068
+ // @public (undocumented)
6069
+ export namespace UiCanvasTexture {
6070
+ // (undocumented)
6071
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
6072
+ // (undocumented)
6073
+ export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
6074
+ }
6075
+
5596
6076
  // @public (undocumented)
5597
6077
  export type UiComponent = () => ReactEcs.JSX.ReactNode;
5598
6078
 
@@ -5680,6 +6160,9 @@ export type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
5680
6160
  uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
5681
6161
  };
5682
6162
 
6163
+ // @public (undocumented)
6164
+ export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
6165
+
5683
6166
  // @public (undocumented)
5684
6167
  export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
5685
6168
 
@@ -5708,6 +6191,7 @@ export interface UiTransformProps {
5708
6191
  // (undocumented)
5709
6192
  borderWidth?: Partial<Position> | PositionUnit;
5710
6193
  display?: DisplayType;
6194
+ elementId?: string;
5711
6195
  flex?: number;
5712
6196
  flexBasis?: number;
5713
6197
  flexDirection?: FlexDirectionType;
@@ -5727,10 +6211,22 @@ export interface UiTransformProps {
5727
6211
  pointerFilter?: PointerFilterType;
5728
6212
  position?: Partial<Position> | PositionShorthand;
5729
6213
  positionType?: PositionType;
6214
+ scrollPosition?: PBVector2 | string;
6215
+ scrollVisible?: ScrollVisibleType;
5730
6216
  width?: PositionUnit | 'auto';
5731
6217
  zIndex?: number;
5732
6218
  }
5733
6219
 
6220
+ // @public
6221
+ export interface UiVideoTexture {
6222
+ // (undocumented)
6223
+ filterMode?: TextureFilterType;
6224
+ // (undocumented)
6225
+ videoPlayerEntity: Entity;
6226
+ // (undocumented)
6227
+ wrapMode?: TextureWrapType;
6228
+ }
6229
+
5734
6230
  // @public (undocumented)
5735
6231
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
5736
6232