@dcl/playground-assets 7.27.0 → 7.27.1-33247605236.commit-732120a

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.
@@ -192,6 +192,25 @@ export const enum AvatarAnchorPointType {
192
192
  AAPT_SPINE2 = 8
193
193
  }
194
194
 
195
+ // @public (undocumented)
196
+ export interface AvatarAnimationState {
197
+ duration: number;
198
+ idle: boolean;
199
+ loop: boolean;
200
+ loopCount: number;
201
+ playbackTime: number;
202
+ speed: number;
203
+ src: string;
204
+ }
205
+
206
+ // @public (undocumented)
207
+ export namespace AvatarAnimationState {
208
+ // (undocumented)
209
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarAnimationState;
210
+ // (undocumented)
211
+ export function encode(message: AvatarAnimationState, writer?: _m0.Writer): _m0.Writer;
212
+ }
213
+
195
214
  // @public (undocumented)
196
215
  export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
197
216
 
@@ -201,8 +220,18 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
201
220
  // @public (undocumented)
202
221
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
203
222
 
223
+ // Warning: (ae-missing-release-tag) "AvatarEquippedData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
224
+ //
225
+ // @public (undocumented)
226
+ export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
227
+
204
228
  // @public (undocumented)
205
- export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
229
+ export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
230
+
231
+ // @public
232
+ export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
233
+ forceRender?: string[] | undefined;
234
+ };
206
235
 
207
236
  // @public (undocumented)
208
237
  export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
@@ -224,7 +253,23 @@ export const enum AvatarModifierType {
224
253
  }
225
254
 
226
255
  // @public (undocumented)
227
- export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
256
+ export const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
257
+
258
+ // @public (undocumented)
259
+ export const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
260
+
261
+ // 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)
262
+ //
263
+ // @public (undocumented)
264
+ export const AvatarShape: AvatarShapeComponentDefinitionExtended;
265
+
266
+ // @public (undocumented)
267
+ export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
268
+
269
+ // @public
270
+ export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
271
+ forceRender?: string[] | undefined;
272
+ };
228
273
 
229
274
  // @public (undocumented)
230
275
  export interface AvatarTexture {
@@ -429,7 +474,13 @@ export interface ByteBuffer {
429
474
  }
430
475
 
431
476
  // @public
432
- export type Callback = () => void;
477
+ export type Callback = (event: PBPointerEventsResult) => void;
478
+
479
+ // @public (undocumented)
480
+ export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
481
+
482
+ // @public (undocumented)
483
+ export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
433
484
 
434
485
  // @public (undocumented)
435
486
  export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
@@ -721,15 +772,22 @@ export const componentDefinitionByName: {
721
772
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
722
773
  "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
723
774
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
775
+ "core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
776
+ "core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
724
777
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
725
778
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
779
+ "core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
780
+ "core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
726
781
  "core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
727
782
  "core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
728
783
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
729
784
  "core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
785
+ "core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
730
786
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
731
787
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
788
+ "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
732
789
  "core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
790
+ "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
733
791
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
734
792
  "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
735
793
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
@@ -750,6 +808,7 @@ export const componentDefinitionByName: {
750
808
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
751
809
  "core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
752
810
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
811
+ "core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
753
812
  "core::TouchScreenControls": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>>;
754
813
  "core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
755
814
  "core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
@@ -757,12 +816,14 @@ export const componentDefinitionByName: {
757
816
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
758
817
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
759
818
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
819
+ "core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
760
820
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
761
821
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
762
822
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
763
823
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
764
824
  "core::UiInputBinding": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputBinding>>;
765
825
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
826
+ "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
766
827
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
767
828
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
768
829
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -1217,6 +1278,9 @@ export type EntityComponents = {
1217
1278
  onMouseUp: Callback;
1218
1279
  onMouseEnter: Callback;
1219
1280
  onMouseLeave: Callback;
1281
+ onMouseDrag: Callback;
1282
+ onMouseDragLocked: Callback;
1283
+ onMouseDragEnd: Callback;
1220
1284
  };
1221
1285
 
1222
1286
  // @public (undocumented)
@@ -1402,6 +1466,9 @@ export type GlobalDirectionRaycastSystemOptions = {
1402
1466
  direction?: PBVector3;
1403
1467
  };
1404
1468
 
1469
+ // @public (undocumented)
1470
+ export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
1471
+
1405
1472
  // 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)
1406
1473
  //
1407
1474
  // @public (undocumented)
@@ -1420,9 +1487,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
1420
1487
  // @public (undocumented)
1421
1488
  export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
1422
1489
 
1490
+ // @public (undocumented)
1491
+ export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
1492
+
1423
1493
  // @public (undocumented)
1424
1494
  export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
1425
1495
 
1496
+ // @public (undocumented)
1497
+ export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
1498
+
1499
+ // @public (undocumented)
1500
+ export const enum GltfNodeStateValue {
1501
+ // (undocumented)
1502
+ GNSV_FAILED = 1,
1503
+ // (undocumented)
1504
+ GNSV_PENDING = 0,
1505
+ // (undocumented)
1506
+ GNSV_READY = 2
1507
+ }
1508
+
1426
1509
  // @public (undocumented)
1427
1510
  export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
1428
1511
  addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
@@ -1821,6 +1904,9 @@ export type Listeners = {
1821
1904
  onMouseUp?: Callback;
1822
1905
  onMouseEnter?: Callback;
1823
1906
  onMouseLeave?: Callback;
1907
+ onMouseDrag?: Callback;
1908
+ onMouseDragLocked?: Callback;
1909
+ onMouseDragEnd?: Callback;
1824
1910
  };
1825
1911
 
1826
1912
  // @public (undocumented)
@@ -2064,6 +2150,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
2064
2150
  export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
2065
2151
  setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2066
2152
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2153
+ setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2067
2154
  setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2068
2155
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
2069
2156
  }
@@ -2077,6 +2164,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
2077
2164
  export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
2078
2165
  setBox(entity: Entity, uvs?: number[]): void;
2079
2166
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
2167
+ setGltfMesh(entity: Entity, source: string, meshName: string): void;
2080
2168
  setPlane(entity: Entity, uvs?: number[]): void;
2081
2169
  setSphere(entity: Entity): void;
2082
2170
  }
@@ -2124,6 +2212,25 @@ export namespace MoveContinuous {
2124
2212
  export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
2125
2213
  }
2126
2214
 
2215
+ // @public (undocumented)
2216
+ export interface MovementAnimation {
2217
+ idle: boolean;
2218
+ loop: boolean;
2219
+ playbackTime?: number | undefined;
2220
+ sounds: string[];
2221
+ speed: number;
2222
+ src: string;
2223
+ transitionSeconds?: number | undefined;
2224
+ }
2225
+
2226
+ // @public (undocumented)
2227
+ export namespace MovementAnimation {
2228
+ // (undocumented)
2229
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): MovementAnimation;
2230
+ // (undocumented)
2231
+ export function encode(message: MovementAnimation, writer?: _m0.Writer): _m0.Writer;
2232
+ }
2233
+
2127
2234
  // @public (undocumented)
2128
2235
  export interface MoveRotateScale {
2129
2236
  // (undocumented)
@@ -2370,6 +2477,19 @@ export const onVideoEvent: Observable<{
2370
2477
  totalVideoLength: number;
2371
2478
  }>;
2372
2479
 
2480
+ // @public (undocumented)
2481
+ export interface Orthographic {
2482
+ verticalRange?: number | undefined;
2483
+ }
2484
+
2485
+ // @public (undocumented)
2486
+ export namespace Orthographic {
2487
+ // (undocumented)
2488
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
2489
+ // (undocumented)
2490
+ export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
2491
+ }
2492
+
2373
2493
  // @public
2374
2494
  export type OverflowType = 'hidden' | 'scroll' | 'visible';
2375
2495
 
@@ -2603,6 +2723,7 @@ export namespace PBAvatarEmoteCommand {
2603
2723
  export interface PBAvatarEquippedData {
2604
2724
  // (undocumented)
2605
2725
  emoteUrns: string[];
2726
+ forceRender: string[];
2606
2727
  // (undocumented)
2607
2728
  wearableUrns: string[];
2608
2729
  }
@@ -2641,6 +2762,7 @@ export interface PBAvatarModifierArea {
2641
2762
  area: PBVector3 | undefined;
2642
2763
  excludeIds: string[];
2643
2764
  modifiers: AvatarModifierType[];
2765
+ useColliderRange?: boolean | undefined;
2644
2766
  }
2645
2767
 
2646
2768
  // @public (undocumented)
@@ -2651,6 +2773,51 @@ export namespace PBAvatarModifierArea {
2651
2773
  export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
2652
2774
  }
2653
2775
 
2776
+ // @public (undocumented)
2777
+ export interface PBAvatarMovement {
2778
+ animation?: MovementAnimation | undefined;
2779
+ // (undocumented)
2780
+ groundDirection?: PBVector3 | undefined;
2781
+ orientation: number;
2782
+ tiltPitch?: number | undefined;
2783
+ tiltRoll?: number | undefined;
2784
+ // (undocumented)
2785
+ velocity: PBVector3 | undefined;
2786
+ walkSuccess?: boolean | undefined;
2787
+ }
2788
+
2789
+ // @public (undocumented)
2790
+ export namespace PBAvatarMovement {
2791
+ // (undocumented)
2792
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
2793
+ // (undocumented)
2794
+ export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
2795
+ }
2796
+
2797
+ // @public (undocumented)
2798
+ export interface PBAvatarMovementInfo {
2799
+ activeAnimationState?: AvatarAnimationState | undefined;
2800
+ // (undocumented)
2801
+ activeAvatarLocomotionSettings: PBAvatarLocomotionSettings | undefined;
2802
+ // (undocumented)
2803
+ activeInputModifier: PBInputModifier | undefined;
2804
+ actualVelocity: PBVector3 | undefined;
2805
+ externalVelocity: PBVector3 | undefined;
2806
+ previousStepTime: number;
2807
+ requestedVelocity: PBVector3 | undefined;
2808
+ stepTime: number;
2809
+ walkTarget?: PBVector3 | undefined;
2810
+ walkThreshold?: number | undefined;
2811
+ }
2812
+
2813
+ // @public (undocumented)
2814
+ export namespace PBAvatarMovementInfo {
2815
+ // (undocumented)
2816
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
2817
+ // (undocumented)
2818
+ export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
2819
+ }
2820
+
2654
2821
  // @public (undocumented)
2655
2822
  export interface PBAvatarShape {
2656
2823
  bodyShape?: string | undefined;
@@ -2658,6 +2825,7 @@ export interface PBAvatarShape {
2658
2825
  expressionTriggerId?: string | undefined;
2659
2826
  expressionTriggerTimestamp?: number | undefined;
2660
2827
  eyeColor?: PBColor3 | undefined;
2828
+ forceRender: string[];
2661
2829
  hairColor?: PBColor3 | undefined;
2662
2830
  id: string;
2663
2831
  name?: string | undefined;
@@ -2689,6 +2857,42 @@ export namespace PBBillboard {
2689
2857
  export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
2690
2858
  }
2691
2859
 
2860
+ // @public (undocumented)
2861
+ export interface PBCameraLayer {
2862
+ // (undocumented)
2863
+ ambientBrightnessOverride?: number | undefined;
2864
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2865
+ ambientColorOverride?: PBColor3 | undefined;
2866
+ directionalLight?: boolean | undefined;
2867
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2868
+ layer: number;
2869
+ showAvatars?: boolean | undefined;
2870
+ showFog?: boolean | undefined;
2871
+ showSkybox?: boolean | undefined;
2872
+ }
2873
+
2874
+ // @public (undocumented)
2875
+ export namespace PBCameraLayer {
2876
+ // (undocumented)
2877
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
2878
+ // (undocumented)
2879
+ export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
2880
+ }
2881
+
2882
+ // @public (undocumented)
2883
+ export interface PBCameraLayers {
2884
+ // (undocumented)
2885
+ layers: number[];
2886
+ }
2887
+
2888
+ // @public (undocumented)
2889
+ export namespace PBCameraLayers {
2890
+ // (undocumented)
2891
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
2892
+ // (undocumented)
2893
+ export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
2894
+ }
2895
+
2692
2896
  // @public (undocumented)
2693
2897
  export interface PBCameraMode {
2694
2898
  mode: CameraType;
@@ -2706,6 +2910,7 @@ export namespace PBCameraMode {
2706
2910
  export interface PBCameraModeArea {
2707
2911
  area: PBVector3 | undefined;
2708
2912
  mode: CameraType;
2913
+ useColliderRange?: boolean | undefined;
2709
2914
  }
2710
2915
 
2711
2916
  // @public (undocumented)
@@ -2816,6 +3021,21 @@ export namespace PBExplorerUiEventsResult_UiOpened {
2816
3021
  export function encode(_: PBExplorerUiEventsResult_UiOpened, writer?: _m0.Writer): _m0.Writer;
2817
3022
  }
2818
3023
 
3024
+ // @public (undocumented)
3025
+ export interface PBGlobalLight {
3026
+ ambientBrightness?: number | undefined;
3027
+ ambientColor?: PBColor3 | undefined;
3028
+ direction?: PBVector3 | undefined;
3029
+ }
3030
+
3031
+ // @public (undocumented)
3032
+ export namespace PBGlobalLight {
3033
+ // (undocumented)
3034
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
3035
+ // (undocumented)
3036
+ export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
3037
+ }
3038
+
2819
3039
  // @public (undocumented)
2820
3040
  export interface PBGltfContainer {
2821
3041
  invisibleMeshesCollisionMask?: number | undefined;
@@ -2833,8 +3053,13 @@ export namespace PBGltfContainer {
2833
3053
 
2834
3054
  // @public (undocumented)
2835
3055
  export interface PBGltfContainerLoadingState {
3056
+ animationNames: string[];
2836
3057
  // (undocumented)
2837
3058
  currentState: LoadingState;
3059
+ materialNames: string[];
3060
+ meshNames: string[];
3061
+ nodePaths: string[];
3062
+ skinNames: string[];
2838
3063
  }
2839
3064
 
2840
3065
  // @public (undocumented)
@@ -2845,6 +3070,19 @@ export namespace PBGltfContainerLoadingState {
2845
3070
  export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
2846
3071
  }
2847
3072
 
3073
+ // @public (undocumented)
3074
+ export interface PBGltfNode {
3075
+ path: string;
3076
+ }
3077
+
3078
+ // @public (undocumented)
3079
+ export namespace PBGltfNode {
3080
+ // (undocumented)
3081
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
3082
+ // (undocumented)
3083
+ export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
3084
+ }
3085
+
2848
3086
  // @public (undocumented)
2849
3087
  export interface PBGltfNodeModifiers {
2850
3088
  // (undocumented)
@@ -2874,6 +3112,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
2874
3112
  export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
2875
3113
  }
2876
3114
 
3115
+ // @public (undocumented)
3116
+ export interface PBGltfNodeState {
3117
+ // (undocumented)
3118
+ error?: string | undefined;
3119
+ // (undocumented)
3120
+ state: GltfNodeStateValue;
3121
+ }
3122
+
3123
+ // @public (undocumented)
3124
+ export namespace PBGltfNodeState {
3125
+ // (undocumented)
3126
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
3127
+ // (undocumented)
3128
+ export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
3129
+ }
3130
+
2877
3131
  // @public (undocumented)
2878
3132
  export interface PBInputModifier {
2879
3133
  // (undocumented)
@@ -2986,6 +3240,7 @@ export namespace PBMainCamera {
2986
3240
 
2987
3241
  // @public (undocumented)
2988
3242
  export interface PBMaterial {
3243
+ gltf?: PBMaterial_GltfMaterial | undefined;
2989
3244
  // (undocumented)
2990
3245
  material?: {
2991
3246
  $case: "unlit";
@@ -3004,6 +3259,22 @@ export namespace PBMaterial {
3004
3259
  export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
3005
3260
  }
3006
3261
 
3262
+ // @public (undocumented)
3263
+ export interface PBMaterial_GltfMaterial {
3264
+ // (undocumented)
3265
+ gltfSrc: string;
3266
+ // (undocumented)
3267
+ name: string;
3268
+ }
3269
+
3270
+ // @public (undocumented)
3271
+ export namespace PBMaterial_GltfMaterial {
3272
+ // (undocumented)
3273
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
3274
+ // (undocumented)
3275
+ export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
3276
+ }
3277
+
3007
3278
  // @public (undocumented)
3008
3279
  export interface PBMaterial_PbrMaterial {
3009
3280
  albedoColor?: PBColor4 | undefined;
@@ -3065,6 +3336,9 @@ export interface PBMeshCollider {
3065
3336
  } | {
3066
3337
  $case: "plane";
3067
3338
  plane: PBMeshCollider_PlaneMesh;
3339
+ } | {
3340
+ $case: "gltf";
3341
+ gltf: PBMeshCollider_GltfMesh;
3068
3342
  } | undefined;
3069
3343
  }
3070
3344
 
@@ -3102,6 +3376,20 @@ export namespace PBMeshCollider_CylinderMesh {
3102
3376
  export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
3103
3377
  }
3104
3378
 
3379
+ // @public (undocumented)
3380
+ export interface PBMeshCollider_GltfMesh {
3381
+ gltfSrc: string;
3382
+ name: string;
3383
+ }
3384
+
3385
+ // @public (undocumented)
3386
+ export namespace PBMeshCollider_GltfMesh {
3387
+ // (undocumented)
3388
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
3389
+ // (undocumented)
3390
+ export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
3391
+ }
3392
+
3105
3393
  // @public (undocumented)
3106
3394
  export interface PBMeshCollider_PlaneMesh {
3107
3395
  }
@@ -3141,6 +3429,9 @@ export interface PBMeshRenderer {
3141
3429
  } | {
3142
3430
  $case: "plane";
3143
3431
  plane: PBMeshRenderer_PlaneMesh;
3432
+ } | {
3433
+ $case: "gltf";
3434
+ gltf: PBMeshRenderer_GltfMesh;
3144
3435
  } | undefined;
3145
3436
  }
3146
3437
 
@@ -3179,6 +3470,20 @@ export namespace PBMeshRenderer_CylinderMesh {
3179
3470
  export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
3180
3471
  }
3181
3472
 
3473
+ // @public (undocumented)
3474
+ export interface PBMeshRenderer_GltfMesh {
3475
+ gltfSrc: string;
3476
+ name: string;
3477
+ }
3478
+
3479
+ // @public (undocumented)
3480
+ export namespace PBMeshRenderer_GltfMesh {
3481
+ // (undocumented)
3482
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
3483
+ // (undocumented)
3484
+ export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
3485
+ }
3486
+
3182
3487
  // @public (undocumented)
3183
3488
  export interface PBMeshRenderer_PlaneMesh {
3184
3489
  uvs: number[];
@@ -3605,9 +3910,11 @@ export interface PBRaycast {
3605
3910
  $case: "targetEntity";
3606
3911
  targetEntity: number;
3607
3912
  } | undefined;
3913
+ includeWorld?: boolean | undefined;
3608
3914
  maxDistance: number;
3609
3915
  originOffset?: PBVector3 | undefined;
3610
3916
  queryType: RaycastQueryType;
3917
+ shape?: RaycastShape | undefined;
3611
3918
  timestamp?: number | undefined;
3612
3919
  }
3613
3920
 
@@ -3702,6 +4009,32 @@ export namespace PBTextShape {
3702
4009
  export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
3703
4010
  }
3704
4011
 
4012
+ // @public (undocumented)
4013
+ export interface PBTextureCamera {
4014
+ clearColor?: PBColor4 | undefined;
4015
+ farPlane?: number | undefined;
4016
+ height?: number | undefined;
4017
+ layer?: number | undefined;
4018
+ // (undocumented)
4019
+ mode?: {
4020
+ $case: "perspective";
4021
+ perspective: Perspective;
4022
+ } | {
4023
+ $case: "orthographic";
4024
+ orthographic: Orthographic;
4025
+ } | undefined;
4026
+ volume?: number | undefined;
4027
+ width?: number | undefined;
4028
+ }
4029
+
4030
+ // @public (undocumented)
4031
+ export namespace PBTextureCamera {
4032
+ // (undocumented)
4033
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
4034
+ // (undocumented)
4035
+ export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
4036
+ }
4037
+
3705
4038
  // @public (undocumented)
3706
4039
  export interface PBTouchScreenControls {
3707
4040
  hideCrosshair: boolean;
@@ -3877,6 +4210,23 @@ export namespace PBUiBackground {
3877
4210
  export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
3878
4211
  }
3879
4212
 
4213
+ // @public (undocumented)
4214
+ export interface PBUiCanvas {
4215
+ color?: PBColor4 | undefined;
4216
+ // (undocumented)
4217
+ height: number;
4218
+ // (undocumented)
4219
+ width: number;
4220
+ }
4221
+
4222
+ // @public (undocumented)
4223
+ export namespace PBUiCanvas {
4224
+ // (undocumented)
4225
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
4226
+ // (undocumented)
4227
+ export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
4228
+ }
4229
+
3880
4230
  // @public (undocumented)
3881
4231
  export interface PBUiCanvasInformation {
3882
4232
  devicePixelRatio: number;
@@ -3935,11 +4285,13 @@ export namespace PBUiDropdownResult {
3935
4285
 
3936
4286
  // @public (undocumented)
3937
4287
  export interface PBUiInput {
4288
+ clearOnSubmit?: boolean | undefined;
3938
4289
  color?: PBColor4 | undefined;
3939
4290
  // (undocumented)
3940
4291
  disabled: boolean;
3941
4292
  font?: Font | undefined;
3942
4293
  fontSize?: number | undefined;
4294
+ multiLine?: boolean | undefined;
3943
4295
  // (undocumented)
3944
4296
  placeholder: string;
3945
4297
  placeholderColor?: PBColor4 | undefined;
@@ -3984,6 +4336,20 @@ export namespace PBUiInputResult {
3984
4336
  export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
3985
4337
  }
3986
4338
 
4339
+ // @public (undocumented)
4340
+ export interface PBUiScrollResult {
4341
+ // (undocumented)
4342
+ value: PBVector2 | undefined;
4343
+ }
4344
+
4345
+ // @public (undocumented)
4346
+ export namespace PBUiScrollResult {
4347
+ // (undocumented)
4348
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
4349
+ // (undocumented)
4350
+ export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
4351
+ }
4352
+
3987
4353
  // @public (undocumented)
3988
4354
  export interface PBUiText {
3989
4355
  color?: PBColor4 | undefined;
@@ -4039,6 +4405,7 @@ export interface PBUiTransform {
4039
4405
  borderTopWidth?: number | undefined;
4040
4406
  borderTopWidthUnit?: YGUnit | undefined;
4041
4407
  display: YGDisplay;
4408
+ elementId?: string | undefined;
4042
4409
  // (undocumented)
4043
4410
  flexBasis: number;
4044
4411
  flexBasisUnit: YGUnit;
@@ -4107,6 +4474,8 @@ export interface PBUiTransform {
4107
4474
  positionType: YGPositionType;
4108
4475
  // (undocumented)
4109
4476
  rightOf: number;
4477
+ scrollPosition?: ScrollPositionValue | undefined;
4478
+ scrollVisible?: ShowScrollBar | undefined;
4110
4479
  // (undocumented)
4111
4480
  width: number;
4112
4481
  widthUnit: YGUnit;
@@ -4227,6 +4596,19 @@ export namespace PBVisibilityComponent {
4227
4596
  export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
4228
4597
  }
4229
4598
 
4599
+ // @public (undocumented)
4600
+ export interface Perspective {
4601
+ fieldOfView?: number | undefined;
4602
+ }
4603
+
4604
+ // @public (undocumented)
4605
+ export namespace Perspective {
4606
+ // (undocumented)
4607
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
4608
+ // (undocumented)
4609
+ export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
4610
+ }
4611
+
4230
4612
  // @public
4231
4613
  export const Physics: PhysicsSystem;
4232
4614
 
@@ -4303,6 +4685,18 @@ export interface PointerEventsSystem {
4303
4685
  }, cb: EventSystemCallback): void;
4304
4686
  // @deprecated (undocumented)
4305
4687
  onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
4688
+ onPointerDrag(pointerData: {
4689
+ entity: Entity;
4690
+ opts?: Partial<EventSystemOptions>;
4691
+ }, cb: EventSystemCallback): void;
4692
+ onPointerDragEnd(pointerData: {
4693
+ entity: Entity;
4694
+ opts?: Partial<EventSystemOptions>;
4695
+ }, cb: EventSystemCallback): void;
4696
+ onPointerDragLocked(pointerData: {
4697
+ entity: Entity;
4698
+ opts?: Partial<EventSystemOptions>;
4699
+ }, cb: EventSystemCallback): void;
4306
4700
  onPointerHoverEnter(pointerData: {
4307
4701
  entity: Entity;
4308
4702
  opts?: Partial<EventSystemOptions>;
@@ -4334,6 +4728,9 @@ export interface PointerEventsSystem {
4334
4728
  opts?: Partial<EventSystemOptions>;
4335
4729
  }, cb: EventSystemCallback): void;
4336
4730
  removeOnPointerDown(entity: Entity): void;
4731
+ removeOnPointerDrag(entity: Entity): void;
4732
+ removeOnPointerDragEnd(entity: Entity): void;
4733
+ removeOnPointerDragLocked(entity: Entity): void;
4337
4734
  removeOnPointerHoverEnter(entity: Entity): void;
4338
4735
  removeOnPointerHoverLeave(entity: Entity): void;
4339
4736
  removeOnPointerUp(entity: Entity): void;
@@ -4351,6 +4748,12 @@ export const enum PointerEventType {
4351
4748
  // (undocumented)
4352
4749
  PET_DOWN = 1,
4353
4750
  // (undocumented)
4751
+ PET_DRAG = 7,
4752
+ // (undocumented)
4753
+ PET_DRAG_END = 8,
4754
+ // (undocumented)
4755
+ PET_DRAG_LOCKED = 6,
4756
+ // (undocumented)
4354
4757
  PET_HOVER_ENTER = 2,
4355
4758
  // (undocumented)
4356
4759
  PET_HOVER_LEAVE = 3,
@@ -4379,7 +4782,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
4379
4782
  // @public (undocumented)
4380
4783
  export const enum PointerType {
4381
4784
  POT_MOUSE = 1,
4382
- POT_NONE = 0
4785
+ POT_NONE = 0,
4786
+ // (undocumented)
4787
+ POT_PAD = 2,
4788
+ // (undocumented)
4789
+ POT_TOUCH = 3,
4790
+ // (undocumented)
4791
+ POT_WAND = 4
4383
4792
  }
4384
4793
 
4385
4794
  // @public
@@ -4570,6 +4979,12 @@ export const enum RaycastQueryType {
4570
4979
  // @public (undocumented)
4571
4980
  export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
4572
4981
 
4982
+ // @public (undocumented)
4983
+ export const enum RaycastShape {
4984
+ RS_AVATAR = 1,
4985
+ RS_RAY = 0
4986
+ }
4987
+
4573
4988
  // @public (undocumented)
4574
4989
  export interface RaycastSystem {
4575
4990
  globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
@@ -4617,13 +5032,17 @@ export type RaycastSystemOptions = {
4617
5032
  queryType: RaycastQueryType;
4618
5033
  continuous?: boolean | undefined;
4619
5034
  collisionMask?: number | undefined;
5035
+ shape?: RaycastShape | undefined;
5036
+ includeWorld?: boolean | undefined;
4620
5037
  };
4621
5038
 
4622
5039
  // @public (undocumented)
4623
5040
  export interface ReactBasedUiSystem {
4624
5041
  addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
4625
5042
  destroy(): void;
5043
+ removeTextureRenderer(entity: Entity): void;
4626
5044
  removeUiRenderer(entity: Entity): void;
5045
+ setTextureRenderer(entity: Entity, ui: UiComponent): void;
4627
5046
  setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
4628
5047
  }
4629
5048
 
@@ -4931,6 +5350,29 @@ export namespace Schemas {
4931
5350
  // @public
4932
5351
  export function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
4933
5352
 
5353
+ // @public (undocumented)
5354
+ export interface ScrollPositionValue {
5355
+ // (undocumented)
5356
+ value?: {
5357
+ $case: "position";
5358
+ position: PBVector2;
5359
+ } | {
5360
+ $case: "reference";
5361
+ reference: string;
5362
+ } | undefined;
5363
+ }
5364
+
5365
+ // @public (undocumented)
5366
+ export namespace ScrollPositionValue {
5367
+ // (undocumented)
5368
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
5369
+ // (undocumented)
5370
+ export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
5371
+ }
5372
+
5373
+ // @public
5374
+ export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
5375
+
4934
5376
  // @public
4935
5377
  export function setCompositeProvider(engine: IEngine, provider: CompositeProvider): void;
4936
5378
 
@@ -4943,6 +5385,18 @@ export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
4943
5385
  easingFunction?: EasingFunction;
4944
5386
  }
4945
5387
 
5388
+ // @public (undocumented)
5389
+ export const enum ShowScrollBar {
5390
+ // (undocumented)
5391
+ SSB_BOTH = 0,
5392
+ // (undocumented)
5393
+ SSB_HIDDEN = 3,
5394
+ // (undocumented)
5395
+ SSB_ONLY_HORIZONTAL = 2,
5396
+ // (undocumented)
5397
+ SSB_ONLY_VERTICAL = 1
5398
+ }
5399
+
4946
5400
  // @public (undocumented)
4947
5401
  export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
4948
5402
 
@@ -5056,6 +5510,9 @@ export namespace Texture {
5056
5510
  export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
5057
5511
  }
5058
5512
 
5513
+ // @public (undocumented)
5514
+ export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
5515
+
5059
5516
  // @public (undocumented)
5060
5517
  export const enum TextureFilterMode {
5061
5518
  // (undocumented)
@@ -5135,6 +5592,9 @@ export interface TextureUnion {
5135
5592
  } | {
5136
5593
  $case: "videoTexture";
5137
5594
  videoTexture: VideoTexture;
5595
+ } | {
5596
+ $case: "uiTexture";
5597
+ uiTexture: UiCanvasTexture;
5138
5598
  } | undefined;
5139
5599
  }
5140
5600
 
@@ -5416,6 +5876,7 @@ export interface UiBackgroundProps {
5416
5876
  textureMode?: TextureMode;
5417
5877
  textureSlices?: BorderRect | undefined;
5418
5878
  uvs?: number[];
5879
+ videoTexture?: UiVideoTexture;
5419
5880
  }
5420
5881
 
5421
5882
  // @public
@@ -5424,9 +5885,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
5424
5885
  variant?: 'primary' | 'secondary';
5425
5886
  }
5426
5887
 
5888
+ // @public (undocumented)
5889
+ export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
5890
+
5427
5891
  // @public (undocumented)
5428
5892
  export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
5429
5893
 
5894
+ // @public (undocumented)
5895
+ export interface UiCanvasTexture {
5896
+ filterMode?: TextureFilterMode | undefined;
5897
+ // (undocumented)
5898
+ uiCanvasEntity: number;
5899
+ wrapMode?: TextureWrapMode | undefined;
5900
+ }
5901
+
5902
+ // @public (undocumented)
5903
+ export namespace UiCanvasTexture {
5904
+ // (undocumented)
5905
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
5906
+ // (undocumented)
5907
+ export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
5908
+ }
5909
+
5430
5910
  // @public (undocumented)
5431
5911
  export type UiComponent = () => ReactEcs.JSX.ReactNode;
5432
5912
 
@@ -5512,6 +5992,9 @@ export type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
5512
5992
  uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
5513
5993
  };
5514
5994
 
5995
+ // @public (undocumented)
5996
+ export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
5997
+
5515
5998
  // @public (undocumented)
5516
5999
  export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
5517
6000
 
@@ -5540,6 +6023,7 @@ export interface UiTransformProps {
5540
6023
  // (undocumented)
5541
6024
  borderWidth?: Partial<Position> | PositionUnit;
5542
6025
  display?: DisplayType;
6026
+ elementId?: string;
5543
6027
  flex?: number;
5544
6028
  flexBasis?: number;
5545
6029
  flexDirection?: FlexDirectionType;
@@ -5559,10 +6043,22 @@ export interface UiTransformProps {
5559
6043
  pointerFilter?: PointerFilterType;
5560
6044
  position?: Partial<Position> | PositionShorthand;
5561
6045
  positionType?: PositionType;
6046
+ scrollPosition?: PBVector2 | string;
6047
+ scrollVisible?: ScrollVisibleType;
5562
6048
  width?: PositionUnit | 'auto';
5563
6049
  zIndex?: number;
5564
6050
  }
5565
6051
 
6052
+ // @public
6053
+ export interface UiVideoTexture {
6054
+ // (undocumented)
6055
+ filterMode?: TextureFilterType;
6056
+ // (undocumented)
6057
+ videoPlayerEntity: Entity;
6058
+ // (undocumented)
6059
+ wrapMode?: TextureWrapType;
6060
+ }
6061
+
5566
6062
  // @public (undocumented)
5567
6063
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
5568
6064