@dcl/playground-assets 7.9.6-16908909596.commit-3302d67 → 7.9.6-17042664654.commit-6b04d5c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/alpha.d.ts CHANGED
@@ -178,31 +178,11 @@ export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBA
178
178
  /** @public */
179
179
  export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
180
180
 
181
- /**
182
- * @public
183
- */
184
- export declare const enum AvatarControlType {
185
- /** CCT_NONE - avatar cannot move */
186
- CCT_NONE = 0,
187
- /** CCT_RELATIVE - avatar moves relative to the camera origin */
188
- CCT_RELATIVE = 1,
189
- /** CCT_TANK - avatar moves like a tank: left/right rotate the player, forward/backward advance/retreat the player */
190
- CCT_TANK = 2
191
- }
192
-
193
181
  /** @public */
194
182
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
195
183
 
196
- export declare const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
197
-
198
- /**
199
- * @public
200
- */
201
- export declare type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
202
-
203
- export declare type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
204
- forceRender?: string[] | undefined;
205
- };
184
+ /** @public */
185
+ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
206
186
 
207
187
  /** @public */
208
188
  export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
@@ -218,47 +198,8 @@ export declare const enum AvatarModifierType {
218
198
  AMT_DISABLE_PASSPORTS = 1
219
199
  }
220
200
 
221
- /**
222
- * @public
223
- */
224
- export declare interface AvatarMovementSettings {
225
- controlMode?: AvatarControlType | undefined;
226
- /** if not explicitly set, the following properties default to user's preference settings */
227
- runSpeed?: number | undefined;
228
- /** how fast the player gets up to speed or comes to rest. higher = more responsive */
229
- friction?: number | undefined;
230
- /** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
231
- gravity?: number | undefined;
232
- /** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
233
- jumpHeight?: number | undefined;
234
- /** max fall speed in m/s. should normally be negative */
235
- maxFallSpeed?: number | undefined;
236
- /** speed the player turns in tank mode, in radians/s */
237
- turnSpeed?: number | undefined;
238
- /** speed the player walks at, in m/s */
239
- walkSpeed?: number | undefined;
240
- /** whether to allow player to move at a slower speed (e.g. with a walk-key or when using a gamepad/joystick). defaults to true */
241
- allowWeightedMovement?: boolean | undefined;
242
- }
243
-
244
- /**
245
- * @public
246
- */
247
- export declare namespace AvatarMovementSettings {
248
- export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
249
- export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
250
- }
251
-
252
- export declare const AvatarShape: AvatarShapeComponentDefinitionExtended;
253
-
254
- /**
255
- * @public
256
- */
257
- export declare type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
258
-
259
- export declare type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
260
- forceRender?: string[] | undefined;
261
- };
201
+ /** @public */
202
+ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
262
203
 
263
204
  /**
264
205
  * @public
@@ -527,19 +468,11 @@ export declare interface ByteBuffer {
527
468
  }
528
469
 
529
470
  /**
530
- * legacy Callback function
531
- *
532
- * @public @deprecated This type is no longer used in the sdk api, EventSystemCallback is
533
- * used for listeners instead
471
+ * Callback function to be triggered on a specified event
472
+ * @public
534
473
  */
535
474
  export declare type Callback = () => void;
536
475
 
537
- /** @public */
538
- export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
539
-
540
- /** @public */
541
- export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
542
-
543
476
  /** @public */
544
477
  export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
545
478
 
@@ -597,39 +530,6 @@ export declare const enum CameraType {
597
530
 
598
531
  export declare type Children = ReactEcs.JSX.ReactNode;
599
532
 
600
- /**
601
- * @public
602
- */
603
- export declare interface CinematicSettings {
604
- /** Entity that defines the cinematic camera transform. */
605
- cameraEntity: number;
606
- /**
607
- * Position -> camera's position
608
- * Rotation -> camera's direction
609
- * scale.z -> zoom level
610
- * scale.x and scale.y -> unused
611
- */
612
- allowManualRotation?: boolean | undefined;
613
- /** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
614
- yawRange?: number | undefined;
615
- /** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
616
- pitchRange?: number | undefined;
617
- /** note: cameras can never look up/down further than Vec3::Y */
618
- rollRange?: number | undefined;
619
- /** minimum zoom level. must be greater than 0. defaults to the input zoom level */
620
- zoomMin?: number | undefined;
621
- /** maximum zoom level. must be greater than 0. defaults to the input zoom level */
622
- zoomMax?: number | undefined;
623
- }
624
-
625
- /**
626
- * @public
627
- */
628
- export declare namespace CinematicSettings {
629
- export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
630
- export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
631
- }
632
-
633
533
  /** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
634
534
  /**
635
535
  * @public
@@ -1403,16 +1303,12 @@ export declare const componentDefinitionByName: {
1403
1303
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
1404
1304
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
1405
1305
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
1406
- "core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
1407
- "core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
1408
1306
  "core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
1409
1307
  "core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
1410
1308
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
1411
- "core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
1412
1309
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1413
1310
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1414
- "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
1415
- "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
1311
+ "core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
1416
1312
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1417
1313
  "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1418
1314
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
@@ -1428,19 +1324,17 @@ export declare const componentDefinitionByName: {
1428
1324
  "core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
1429
1325
  "core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
1430
1326
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
1327
+ "core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
1431
1328
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
1432
- "core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
1433
1329
  "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
1434
1330
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
1435
1331
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
1436
1332
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
1437
- "core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
1438
1333
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
1439
1334
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
1440
1335
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
1441
1336
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
1442
1337
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
1443
- "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
1444
1338
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
1445
1339
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
1446
1340
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -2007,18 +1901,10 @@ export declare type EntityComponents = {
2007
1901
  uiBackground: PBUiBackground;
2008
1902
  uiInput: PBUiInput;
2009
1903
  uiDropdown: PBUiDropdown;
2010
- onMouseDown: EventSystemCallback;
2011
- onMouseUp: EventSystemCallback;
2012
- onMouseEnter: EventSystemCallback;
2013
- onMouseLeave: EventSystemCallback;
2014
- onMouseDrag: EventSystemCallback;
2015
- onMouseDragLocked: EventSystemCallback;
2016
- onMouseDragEnd: EventSystemCallback;
2017
- onInputDown: MultiCallback;
2018
- onInputUp: MultiCallback;
2019
- onInputDrag: MultiCallback;
2020
- onInputDragLocked: MultiCallback;
2021
- onInputDragEnd: MultiCallback;
1904
+ onMouseDown: Callback;
1905
+ onMouseUp: Callback;
1906
+ onMouseEnter: Callback;
1907
+ onMouseLeave: Callback;
2022
1908
  };
2023
1909
 
2024
1910
  /** @public */
@@ -2096,13 +1982,6 @@ export declare type EventSystemOptions = {
2096
1982
  showHighlight?: boolean;
2097
1983
  };
2098
1984
 
2099
- /**
2100
- * @public
2101
- */
2102
- export declare type EventSystemOptionsCallback = EventSystemOptions & {
2103
- cb: EventSystemCallback;
2104
- };
2105
-
2106
1985
  /**
2107
1986
  * Excludes property keys from T where the property is assignable to U
2108
1987
  * @public
@@ -2177,9 +2056,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
2177
2056
  direction?: PBVector3;
2178
2057
  };
2179
2058
 
2180
- /** @public */
2181
- export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
2182
-
2183
2059
  export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
2184
2060
 
2185
2061
  export declare type GlobalTargetRaycastSystemOptions = {
@@ -2193,19 +2069,7 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
2193
2069
  export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
2194
2070
 
2195
2071
  /** @public */
2196
- export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
2197
-
2198
- /** @public */
2199
- export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
2200
-
2201
- /**
2202
- * @public
2203
- */
2204
- export declare const enum GltfNodeStateValue {
2205
- GNSV_PENDING = 0,
2206
- GNSV_FAILED = 1,
2207
- GNSV_READY = 2
2208
- }
2072
+ export declare const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
2209
2073
 
2210
2074
  /**
2211
2075
  * @public
@@ -2554,12 +2418,6 @@ export declare type IInputSystem = {
2554
2418
  * @returns the input command info or undefined if there is no command in the last tick-update
2555
2419
  */
2556
2420
  getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
2557
- /**
2558
- * @public
2559
- * Get an ordered iterator over events received within the current frame.
2560
- * @returns the iterator
2561
- */
2562
- getInputCommands: () => Generator<PBPointerEventsResult>;
2563
2421
  };
2564
2422
 
2565
2423
  /**
@@ -2823,8 +2681,31 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2823
2681
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2824
2682
  }
2825
2683
 
2826
- /** @public */
2827
- export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
2684
+ export declare const LightSource: LightSourceComponentDefinitionExtended;
2685
+
2686
+ /**
2687
+ * @public
2688
+ */
2689
+ export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
2690
+ /**
2691
+ * LightSource helper with constructor
2692
+ */
2693
+ Type: LightSourceHelper;
2694
+ }
2695
+
2696
+ /**
2697
+ * @public
2698
+ */
2699
+ export declare interface LightSourceHelper {
2700
+ /**
2701
+ * @returns a Light Source type
2702
+ */
2703
+ Point: (point: PBLightSource_Point) => PBLightSource['type'];
2704
+ /**
2705
+ * @returns a Light Source type
2706
+ */
2707
+ Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
2708
+ }
2828
2709
 
2829
2710
  /**
2830
2711
  * User key event Listeners
@@ -2832,29 +2713,13 @@ export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLi
2832
2713
  */
2833
2714
  export declare type Listeners = {
2834
2715
  /** triggered on mouse down event */
2835
- onMouseDown?: EventSystemCallback;
2716
+ onMouseDown?: Callback;
2836
2717
  /** triggered on mouse up event */
2837
- onMouseUp?: EventSystemCallback;
2718
+ onMouseUp?: Callback;
2838
2719
  /** triggered on mouse hover event */
2839
- onMouseEnter?: EventSystemCallback;
2720
+ onMouseEnter?: Callback;
2840
2721
  /** triggered on mouse leave event */
2841
- onMouseLeave?: EventSystemCallback;
2842
- /** triggered on mouse drag event */
2843
- onMouseDrag?: EventSystemCallback;
2844
- /** triggered on mouse drag event */
2845
- onMouseDragLocked?: EventSystemCallback;
2846
- /** triggered on mouse drag event */
2847
- onMouseDragEnd?: EventSystemCallback;
2848
- /** triggered on input down event */
2849
- onInputDown?: MultiCallback;
2850
- /** triggered on input up event */
2851
- onInputUp?: MultiCallback;
2852
- /** triggered on input drag event */
2853
- onInputDrag?: MultiCallback;
2854
- /** triggered on input drag event */
2855
- onInputDragLocked?: MultiCallback;
2856
- /** triggered on input drag event */
2857
- onInputDragEnd?: MultiCallback;
2722
+ onMouseLeave?: Callback;
2858
2723
  };
2859
2724
 
2860
2725
  /**
@@ -3723,14 +3588,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
3723
3588
  * @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
3724
3589
  */
3725
3590
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3726
- /**
3727
- * @public
3728
- * Set a gltf internal mesh in the MeshCollider component
3729
- * @param entity - entity to create or replace the MeshRenderer component
3730
- * @param source - the path to the gltf
3731
- * @param meshName - the name of the mesh in the gltf
3732
- */
3733
- setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3734
3591
  }
3735
3592
 
3736
3593
  export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
@@ -3767,14 +3624,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
3767
3624
  * @param entity - entity to create or replace the MeshRenderer component
3768
3625
  */
3769
3626
  setSphere(entity: Entity): void;
3770
- /**
3771
- * @public
3772
- * Set a gltf internal mesh in the MeshRenderer component
3773
- * @param entity - entity to create or replace the MeshRenderer component
3774
- * @param source - the path to the gltf
3775
- * @param meshName - the name of the mesh in the gltf
3776
- */
3777
- setGltfMesh(entity: Entity, source: string, meshName: string): void;
3778
3627
  }
3779
3628
 
3780
3629
  /**
@@ -3807,19 +3656,6 @@ export declare namespace Move {
3807
3656
  export function decode(input: _m0.Reader | Uint8Array, length?: number): Move;
3808
3657
  }
3809
3658
 
3810
- /**
3811
- * a record object mapping `InputAction`s to functions.
3812
- *
3813
- * @example
3814
- * onInputDown={{
3815
- * [InputAction.IA_PRIMARY]: (eventData) => { console.log("primary") },
3816
- * [InputAction.IA_SECONDARY]: () => { console.log("secondary") },
3817
- * }}
3818
- *
3819
- * @public
3820
- */
3821
- export declare type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
3822
-
3823
3659
  export declare const Name: NameComponent;
3824
3660
 
3825
3661
  export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
@@ -4200,25 +4036,6 @@ export declare const onVideoEvent: Observable<{
4200
4036
  totalVideoLength: number;
4201
4037
  }>;
4202
4038
 
4203
- /**
4204
- * @public
4205
- */
4206
- export declare interface Orthographic {
4207
- /**
4208
- * vertical extent of the visible range in meters
4209
- * defaults to 4m
4210
- */
4211
- verticalRange?: number | undefined;
4212
- }
4213
-
4214
- /**
4215
- * @public
4216
- */
4217
- export declare namespace Orthographic {
4218
- export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
4219
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
4220
- }
4221
-
4222
4039
  /**
4223
4040
  * @public
4224
4041
  * The overflow property controls what happens to content that is too big to fit into an area
@@ -4445,8 +4262,6 @@ export declare namespace PBAvatarEmoteCommand {
4445
4262
  export declare interface PBAvatarEquippedData {
4446
4263
  wearableUrns: string[];
4447
4264
  emoteUrns: string[];
4448
- /** slots that will render even if hidden */
4449
- forceRender: string[];
4450
4265
  }
4451
4266
 
4452
4267
  /**
@@ -4481,9 +4296,6 @@ export declare interface PBAvatarModifierArea {
4481
4296
  excludeIds: string[];
4482
4297
  /** list of modifiers to apply */
4483
4298
  modifiers: AvatarModifierType[];
4484
- movementSettings?: AvatarMovementSettings | undefined;
4485
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4486
- useColliderRange?: boolean | undefined;
4487
4299
  }
4488
4300
 
4489
4301
  /**
@@ -4540,8 +4352,8 @@ export declare interface PBAvatarShape {
4540
4352
  wearables: string[];
4541
4353
  /** available emotes (default empty) */
4542
4354
  emotes: string[];
4543
- /** slots that will render even if hidden */
4544
- forceRender: string[];
4355
+ /** hides the skin + hair + facial features (default: false) */
4356
+ showOnlyWearables?: boolean | undefined;
4545
4357
  }
4546
4358
 
4547
4359
  /**
@@ -4576,51 +4388,6 @@ export declare namespace PBBillboard {
4576
4388
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
4577
4389
  }
4578
4390
 
4579
- /**
4580
- * @public
4581
- */
4582
- export declare interface PBCameraLayer {
4583
- /**
4584
- * layer to which these settings apply. must be > 0
4585
- * Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
4586
- */
4587
- layer: number;
4588
- /** should the sun light affect this layer? default false */
4589
- directionalLight?: boolean | undefined;
4590
- /** should this layer show player avatars? default false */
4591
- showAvatars?: boolean | undefined;
4592
- /** should this layer show the sky? default false */
4593
- showSkybox?: boolean | undefined;
4594
- /** should this layer show distance fog? default false */
4595
- showFog?: boolean | undefined;
4596
- /** ambient light overrides for this layer. default -> use same as main camera */
4597
- ambientColorOverride?: PBColor3 | undefined;
4598
- ambientBrightnessOverride?: number | undefined;
4599
- }
4600
-
4601
- /**
4602
- * @public
4603
- */
4604
- export declare namespace PBCameraLayer {
4605
- export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
4606
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
4607
- }
4608
-
4609
- /**
4610
- * @public
4611
- */
4612
- export declare interface PBCameraLayers {
4613
- layers: number[];
4614
- }
4615
-
4616
- /**
4617
- * @public
4618
- */
4619
- export declare namespace PBCameraLayers {
4620
- export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
4621
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
4622
- }
4623
-
4624
4391
  /**
4625
4392
  * The CameraMode component can be used to determine whether the player is using a first-person o
4626
4393
  * third-person view.
@@ -4643,7 +4410,7 @@ export declare namespace PBCameraMode {
4643
4410
 
4644
4411
  /**
4645
4412
  * The CameraModeArea component can be attached to an Entity to define a region of space where
4646
- * the player's camera mode (1st-person, 3rd-person or cinematic) is overridden.
4413
+ * the player's camera mode (1st-person or 3rd-person) is overridden.
4647
4414
  *
4648
4415
  * The Entity's Transform position determines the center-point of the region, while its size is
4649
4416
  * given as a vector in the `area` property below. The Transform rotation is applied, but the scale
@@ -4653,8 +4420,6 @@ export declare namespace PBCameraMode {
4653
4420
  *
4654
4421
  * Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
4655
4422
  * is actually a 3D volume.
4656
- *
4657
- * When mode is set to CtCinematic, the cinematic_settings field must also be provided.
4658
4423
  */
4659
4424
  /**
4660
4425
  * @public
@@ -4664,9 +4429,6 @@ export declare interface PBCameraModeArea {
4664
4429
  area: PBVector3 | undefined;
4665
4430
  /** the camera mode to enforce */
4666
4431
  mode: CameraType;
4667
- cinematicSettings?: CinematicSettings | undefined;
4668
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4669
- useColliderRange?: boolean | undefined;
4670
4432
  }
4671
4433
 
4672
4434
  /**
@@ -4738,39 +4500,6 @@ export declare namespace PBEngineInfo {
4738
4500
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
4739
4501
  }
4740
4502
 
4741
- /**
4742
- * defines the global scene light settings. must be added to the scene root.
4743
- * to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
4744
- */
4745
- /**
4746
- * @public
4747
- */
4748
- export declare interface PBGlobalLight {
4749
- /**
4750
- * the direction the directional light shines in.
4751
- * default depends on time of day and explorer implementation
4752
- */
4753
- direction?: PBVector3 | undefined;
4754
- /**
4755
- * ambient light color
4756
- * default: White
4757
- */
4758
- ambientColor?: PBColor3 | undefined;
4759
- /**
4760
- * ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
4761
- * default 1
4762
- */
4763
- ambientBrightness?: number | undefined;
4764
- }
4765
-
4766
- /**
4767
- * @public
4768
- */
4769
- export declare namespace PBGlobalLight {
4770
- export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
4771
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
4772
- }
4773
-
4774
4503
  /**
4775
4504
  * GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
4776
4505
  *
@@ -4806,25 +4535,6 @@ export declare namespace PBGltfContainer {
4806
4535
  */
4807
4536
  export declare interface PBGltfContainerLoadingState {
4808
4537
  currentState: LoadingState;
4809
- /** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
4810
- nodePaths: string[];
4811
- /** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
4812
- meshNames: string[];
4813
- /**
4814
- * where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
4815
- * conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
4816
- */
4817
- materialNames: string[];
4818
- /**
4819
- * X is the material index. note this may conflict with manually named materials - to avoid any issues make
4820
- * sure all your materials are explicitly named.
4821
- */
4822
- skinNames: string[];
4823
- /**
4824
- * X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
4825
- * your skins are explicitly named.
4826
- */
4827
- animationNames: string[];
4828
4538
  }
4829
4539
 
4830
4540
  /**
@@ -4836,74 +4546,48 @@ export declare namespace PBGltfContainerLoadingState {
4836
4546
  }
4837
4547
 
4838
4548
  /**
4839
- * a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
4840
- * This component must be added to a direct child of an entity with a PBGltfContainer component, or
4841
- * to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
4842
- * in the parent.
4843
- * The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
4844
- *
4845
- * The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
4846
- * - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
4847
- * - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
4848
- * - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
4849
- * - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
4549
+ * GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
4850
4550
  *
4851
- * After creation, if an animation moves the node, the `Transform` will be updated.
4551
+ * This allows to override either the Material or the Casting Shadows behaviour of the target GLTF Node.
4852
4552
  *
4853
- * From the scene, you can modify various components to alter the gltf node:
4854
- * - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
4855
- * regardless of any intermediate gltf node hierarchy.
4856
- * If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
4857
- * - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
4858
- * - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
4859
- * - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
4860
- * - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
4861
- * used as a base, and any gltf features (e.g. occlusion maps) from the gtlf spec that the renderer supports but that are not exposed in the
4862
- * PBMaterial will be maintained.
4863
- *
4864
- * The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
4865
- * - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
4866
- * change the state to `GNS_FAILED`.
4867
- * - deleting the scene entity will not delete the gltf node.
4868
- *
4869
- * Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
4870
- * are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
4871
- * the gltf node will also be displayed.
4553
+ * * If the 'path' of the first modifier in the collection is an empty string: the configuration will
4554
+ * affect all of the GLTF Nodes (as a global modifier).
4555
+ * * Otherwise, for the modifiers whose 'path' is found in the GLTF hierarchy, the modifier will affect only
4556
+ * the target Nodes.
4872
4557
  */
4873
4558
  /**
4874
4559
  * @public
4875
4560
  */
4876
- export declare interface PBGltfNode {
4877
- /** the path of the target node in the Gltf. */
4878
- path: string;
4561
+ export declare interface PBGltfNodeModifiers {
4562
+ modifiers: PBGltfNodeModifiers_GltfNodeModifier[];
4879
4563
  }
4880
4564
 
4881
4565
  /**
4882
4566
  * @public
4883
4567
  */
4884
- export declare namespace PBGltfNode {
4885
- export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
4886
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
4568
+ export declare namespace PBGltfNodeModifiers {
4569
+ export function encode(message: PBGltfNodeModifiers, writer?: _m0.Writer): _m0.Writer;
4570
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeModifiers;
4887
4571
  }
4888
4572
 
4889
- /**
4890
- * The state of a linked gltf node.
4891
- * If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
4892
- */
4893
4573
  /**
4894
4574
  * @public
4895
4575
  */
4896
- export declare interface PBGltfNodeState {
4897
- state: GltfNodeStateValue;
4898
- error?: string | undefined;
4576
+ export declare interface PBGltfNodeModifiers_GltfNodeModifier {
4577
+ /** The GLTF hierarchy path of the target Node to be affected */
4578
+ path: string;
4579
+ /** The casting shadows enabled override */
4580
+ castShadows?: boolean | undefined;
4581
+ /** The Material that will be overridden on the target Node */
4582
+ material?: PBMaterial | undefined;
4899
4583
  }
4900
4584
 
4901
4585
  /**
4902
4586
  * @public
4903
4587
  */
4904
- export declare namespace PBGltfNodeState {
4905
- export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
4906
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
4588
+ export declare namespace PBGltfNodeModifiers_GltfNodeModifier {
4589
+ export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
4590
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeModifiers_GltfNodeModifier;
4907
4591
  }
4908
4592
 
4909
4593
  /**
@@ -5041,14 +4725,6 @@ export declare interface PBMaterial {
5041
4725
  $case: "pbr";
5042
4726
  pbr: PBMaterial_PbrMaterial;
5043
4727
  } | undefined;
5044
- /**
5045
- * A gltf material that may provide additional features not supported by the PbMaterial fields.
5046
- * If both gltf and material fields are provided, the gltf will be used only for extended features not
5047
- * supported by the PbMaterial.
5048
- * If this is provided and the `material` field is not provided, the renderer will update the material
5049
- * field with data that reflects the gltf material once it is loaded.
5050
- */
5051
- gltf?: PBMaterial_GltfMaterial | undefined;
5052
4728
  }
5053
4729
 
5054
4730
  /**
@@ -5059,22 +4735,6 @@ export declare namespace PBMaterial {
5059
4735
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
5060
4736
  }
5061
4737
 
5062
- /**
5063
- * @public
5064
- */
5065
- export declare interface PBMaterial_GltfMaterial {
5066
- gltfSrc: string;
5067
- name: string;
5068
- }
5069
-
5070
- /**
5071
- * @public
5072
- */
5073
- export declare namespace PBMaterial_GltfMaterial {
5074
- export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
5075
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
5076
- }
5077
-
5078
4738
  /**
5079
4739
  * @public
5080
4740
  */
@@ -5171,9 +4831,6 @@ export declare interface PBMeshCollider {
5171
4831
  } | {
5172
4832
  $case: "plane";
5173
4833
  plane: PBMeshCollider_PlaneMesh;
5174
- } | {
5175
- $case: "gltf";
5176
- gltf: PBMeshCollider_GltfMesh;
5177
4834
  } | undefined;
5178
4835
  }
5179
4836
 
@@ -5219,25 +4876,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
5219
4876
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
5220
4877
  }
5221
4878
 
5222
- /** A collider constructed from a Gltf Mesh. */
5223
- /**
5224
- * @public
5225
- */
5226
- export declare interface PBMeshCollider_GltfMesh {
5227
- /** the GLTF file path as listed in the scene's manifest. */
5228
- gltfSrc: string;
5229
- /** the name of the mesh asset */
5230
- name: string;
5231
- }
5232
-
5233
- /**
5234
- * @public
5235
- */
5236
- export declare namespace PBMeshCollider_GltfMesh {
5237
- export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5238
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
5239
- }
5240
-
5241
4879
  /** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
5242
4880
  /**
5243
4881
  * @public
@@ -5270,11 +4908,13 @@ export declare namespace PBMeshCollider_SphereMesh {
5270
4908
 
5271
4909
  /**
5272
4910
  * The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
5273
- * plane, a sphere, a cylinder, or a Gltf mesh.
4911
+ * plane, a sphere or a cylinder.
5274
4912
  *
5275
4913
  * The cube and plane variants can include a UV texture mapping, so specific areas of a material
5276
4914
  * texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
5277
4915
  * `float` coordinates, one for each corner of each side of each face.
4916
+ *
4917
+ * More complex shapes require the use of a `GltfContainer` component.
5278
4918
  */
5279
4919
  /**
5280
4920
  * @public
@@ -5292,9 +4932,6 @@ export declare interface PBMeshRenderer {
5292
4932
  } | {
5293
4933
  $case: "plane";
5294
4934
  plane: PBMeshRenderer_PlaneMesh;
5295
- } | {
5296
- $case: "gltf";
5297
- gltf: PBMeshRenderer_GltfMesh;
5298
4935
  } | undefined;
5299
4936
  }
5300
4937
 
@@ -5342,25 +4979,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
5342
4979
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
5343
4980
  }
5344
4981
 
5345
- /** A mesh from a Gltf. */
5346
- /**
5347
- * @public
5348
- */
5349
- export declare interface PBMeshRenderer_GltfMesh {
5350
- /** the GLTF file path as listed in the scene's manifest. */
5351
- gltfSrc: string;
5352
- /** the name of the mesh asset */
5353
- name: string;
5354
- }
5355
-
5356
- /**
5357
- * @public
5358
- */
5359
- export declare namespace PBMeshRenderer_GltfMesh {
5360
- export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5361
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
5362
- }
5363
-
5364
4982
  /** PlaneMesh renders a 2D rectangular shape. */
5365
4983
  /**
5366
4984
  * @public
@@ -5609,10 +5227,7 @@ export declare interface PBPrimaryPointerInfo {
5609
5227
  screenCoordinates?: PBVector2 | undefined;
5610
5228
  /** Movement since last frame (pixels) */
5611
5229
  screenDelta?: PBVector2 | undefined;
5612
- /**
5613
- * ray direction that can be used with the primary camera origin for
5614
- * raycasting from the cursor into the world
5615
- */
5230
+ /** Direction vector for 3D ray casting */
5616
5231
  worldRayDirection?: PBVector3 | undefined;
5617
5232
  }
5618
5233
 
@@ -5752,6 +5367,28 @@ export declare namespace PBRealmInfo {
5752
5367
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
5753
5368
  }
5754
5369
 
5370
+ /**
5371
+ * The SkyboxTime component allows controlling the time of day for the skybox,
5372
+ * affecting the lighting and appearance of the sky in the scene.
5373
+ */
5374
+ /**
5375
+ * @public
5376
+ */
5377
+ export declare interface PBSkyboxTime {
5378
+ /** fixed time of day, represented as a number of seconds since the start of the day, where 0 is 00:00hs, 43200 is 12:00hs and 86400 is 24:00hs */
5379
+ fixedTime: number;
5380
+ /** default = TransitionMode.TM_FORWARD, controls the direction of time transitions */
5381
+ transitionMode?: TransitionMode | undefined;
5382
+ }
5383
+
5384
+ /**
5385
+ * @public
5386
+ */
5387
+ export declare namespace PBSkyboxTime {
5388
+ export function encode(message: PBSkyboxTime, writer?: _m0.Writer): _m0.Writer;
5389
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkyboxTime;
5390
+ }
5391
+
5755
5392
  /**
5756
5393
  * The TextShape component renders customizable floating text.
5757
5394
  *
@@ -5816,46 +5453,6 @@ export declare namespace PBTextShape {
5816
5453
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
5817
5454
  }
5818
5455
 
5819
- /**
5820
- * @public
5821
- */
5822
- export declare interface PBTextureCamera {
5823
- /** rendered texture width */
5824
- width?: number | undefined;
5825
- /** rendered texture height */
5826
- height?: number | undefined;
5827
- /**
5828
- * which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
5829
- * defaults to 0
5830
- */
5831
- layer?: number | undefined;
5832
- /** default black */
5833
- clearColor?: PBColor4 | undefined;
5834
- /** default infinity */
5835
- farPlane?: number | undefined;
5836
- mode?: {
5837
- $case: "perspective";
5838
- perspective: Perspective;
5839
- } | {
5840
- $case: "orthographic";
5841
- orthographic: Orthographic;
5842
- } | undefined;
5843
- /**
5844
- * controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
5845
- * range: 0 (off) - 1 (full volume)
5846
- * default: 0
5847
- */
5848
- volume?: number | undefined;
5849
- }
5850
-
5851
- /**
5852
- * @public
5853
- */
5854
- export declare namespace PBTextureCamera {
5855
- export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
5856
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
5857
- }
5858
-
5859
5456
  /**
5860
5457
  * @public
5861
5458
  */
@@ -5945,25 +5542,6 @@ export declare namespace PBUiBackground {
5945
5542
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
5946
5543
  }
5947
5544
 
5948
- /** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
5949
- /**
5950
- * @public
5951
- */
5952
- export declare interface PBUiCanvas {
5953
- width: number;
5954
- height: number;
5955
- /** default = (0.0, 0.0, 0.0, 0.0) / transparent */
5956
- color?: PBColor4 | undefined;
5957
- }
5958
-
5959
- /**
5960
- * @public
5961
- */
5962
- export declare namespace PBUiCanvas {
5963
- export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
5964
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
5965
- }
5966
-
5967
5545
  /** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
5968
5546
  /**
5969
5547
  * @public
@@ -6080,21 +5658,6 @@ export declare namespace PBUiInputResult {
6080
5658
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
6081
5659
  }
6082
5660
 
6083
- /**
6084
- * @public
6085
- */
6086
- export declare interface PBUiScrollResult {
6087
- value: PBVector2 | undefined;
6088
- }
6089
-
6090
- /**
6091
- * @public
6092
- */
6093
- export declare namespace PBUiScrollResult {
6094
- export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
6095
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
6096
- }
6097
-
6098
5661
  /**
6099
5662
  * @public
6100
5663
  */
@@ -6111,10 +5674,6 @@ export declare interface PBUiText {
6111
5674
  fontSize?: number | undefined;
6112
5675
  /** wrap text when the border is reached (default: TW_WRAP) */
6113
5676
  textWrap?: TextWrap | undefined;
6114
- /** width of the outline (default: 0) */
6115
- outlineWidth?: number | undefined;
6116
- /** RGBA color of the outline (default: opaque black) */
6117
- outlineColor?: PBColor4 | undefined;
6118
5677
  }
6119
5678
 
6120
5679
  /**
@@ -6242,12 +5801,6 @@ export declare interface PBUiTransform {
6242
5801
  borderRightColor?: PBColor4 | undefined;
6243
5802
  /** default: 1 */
6244
5803
  opacity?: number | undefined;
6245
- /** reference for scroll_position. default empty */
6246
- elementId?: string | undefined;
6247
- /** default position=(0,0) */
6248
- scrollPosition?: ScrollPositionValue | undefined;
6249
- /** default ShowScrollBar.SSB_BOTH */
6250
- scrollVisible?: ShowScrollBar | undefined;
6251
5804
  /** default: 0 — controls render stacking order. Higher values appear in front of lower values. */
6252
5805
  zIndex?: number | undefined;
6253
5806
  }
@@ -6379,25 +5932,6 @@ export declare namespace PBVisibilityComponent {
6379
5932
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
6380
5933
  }
6381
5934
 
6382
- /**
6383
- * @public
6384
- */
6385
- export declare interface Perspective {
6386
- /**
6387
- * vertical field of view in radians
6388
- * defaults to pi/4 = 45 degrees
6389
- */
6390
- fieldOfView?: number | undefined;
6391
- }
6392
-
6393
- /**
6394
- * @public
6395
- */
6396
- export declare namespace Perspective {
6397
- export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
6398
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
6399
- }
6400
-
6401
5935
  /**
6402
5936
  * Represens a plane by the equation ax + by + cz + d = 0
6403
5937
  * @public
@@ -6553,37 +6087,11 @@ export declare interface PointerEventsSystem {
6553
6087
  * @param entity - Entity where the callback was attached
6554
6088
  */
6555
6089
  removeOnPointerHoverLeave(entity: Entity): void;
6556
- /**
6557
- * @public
6558
- * Remove the callback for onPointerDrag event
6559
- * @param entity - Entity where the callback was attached
6560
- */
6561
- removeOnPointerDrag(entity: Entity): void;
6562
- /**
6563
- * @public
6564
- * Remove the callback for onPointerDragLocked event
6565
- * @param entity - Entity where the callback was attached
6566
- */
6567
- removeOnPointerDragLocked(entity: Entity): void;
6568
- /**
6569
- * @public
6570
- * Remove the callback for onPointerDragEnd event
6571
- * @param entity - Entity where the callback was attached
6572
- */
6573
- removeOnPointerDragEnd(entity: Entity): void;
6574
- /**
6575
- * @public
6576
- * Execute callbacks when the user presses one of the InputButtons pointing at the entity
6577
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6578
- */
6579
- onPointerDown(pointerData: {
6580
- entity: Entity;
6581
- optsList: EventSystemOptionsCallback[];
6582
- }): void;
6583
6090
  /**
6584
6091
  * @public
6585
6092
  * Execute callback when the user press the InputButton pointing at the entity
6586
6093
  * @param pointerData - Entity to attach the callback, Opts to trigger Feedback and Button
6094
+ * @param cb - Function to execute when click fires
6587
6095
  */
6588
6096
  onPointerDown(pointerData: {
6589
6097
  entity: Entity;
@@ -6596,15 +6104,6 @@ export declare interface PointerEventsSystem {
6596
6104
  * @param opts - Opts to trigger Feedback and Button
6597
6105
  */
6598
6106
  onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
6599
- /**
6600
- * @public
6601
- * Execute callbacks when the user releases one of the InputButtons pointing at the entity
6602
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6603
- */
6604
- onPointerUp(pointerData: {
6605
- entity: Entity;
6606
- optsList: EventSystemOptionsCallback[];
6607
- }): void;
6608
6107
  /**
6609
6108
  * @public
6610
6109
  * Execute callback when the user releases the InputButton pointing at the entity
@@ -6642,64 +6141,6 @@ export declare interface PointerEventsSystem {
6642
6141
  entity: Entity;
6643
6142
  opts?: Partial<EventSystemOptions>;
6644
6143
  }, cb: EventSystemCallback): void;
6645
- /**
6646
- * @public
6647
- * Execute callbacks when the user drags the pointer from inside the entity
6648
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6649
- */
6650
- onPointerDrag(pointerData: {
6651
- entity: Entity;
6652
- optsList: EventSystemOptionsCallback[];
6653
- }): void;
6654
- /**
6655
- * @public
6656
- * Execute callback when the user clicks and drags the pointer from inside the entity
6657
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6658
- * @param cb - Function to execute when click fires
6659
- */
6660
- onPointerDrag(pointerData: {
6661
- entity: Entity;
6662
- opts?: Partial<EventSystemOptions>;
6663
- }, cb: EventSystemCallback): void;
6664
- /**
6665
- * @public
6666
- * Execute callbacks when the user drags the pointer from inside the entity, locking the cursor in place.
6667
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6668
- */
6669
- onPointerDragLocked(pointerData: {
6670
- entity: Entity;
6671
- optsList: EventSystemOptionsCallback[];
6672
- }): void;
6673
- /**
6674
- * @public
6675
- * Execute callback when the user clicks and drags the pointer from inside the entity,
6676
- * locking the cursor in place
6677
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6678
- * @param cb - Function to execute when click fires
6679
- */
6680
- onPointerDragLocked(pointerData: {
6681
- entity: Entity;
6682
- opts?: Partial<EventSystemOptions>;
6683
- }, cb: EventSystemCallback): void;
6684
- /**
6685
- * @public
6686
- * Execute callbacks when the user releases a button after a drag
6687
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6688
- */
6689
- onPointerDragEnd(pointerData: {
6690
- entity: Entity;
6691
- optsList: EventSystemOptionsCallback[];
6692
- }): void;
6693
- /**
6694
- * @public
6695
- * Execute callback when the user releases the button after a drag
6696
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6697
- * @param cb - Function to execute when click fires
6698
- */
6699
- onPointerDragEnd(pointerData: {
6700
- entity: Entity;
6701
- opts?: Partial<EventSystemOptions>;
6702
- }, cb: EventSystemCallback): void;
6703
6144
  }
6704
6145
 
6705
6146
  /**
@@ -6716,10 +6157,7 @@ export declare const enum PointerEventType {
6716
6157
  PET_UP = 0,
6717
6158
  PET_DOWN = 1,
6718
6159
  PET_HOVER_ENTER = 2,
6719
- PET_HOVER_LEAVE = 3,
6720
- PET_DRAG_LOCKED = 4,
6721
- PET_DRAG = 5,
6722
- PET_DRAG_END = 6
6160
+ PET_HOVER_LEAVE = 3
6723
6161
  }
6724
6162
 
6725
6163
  /**
@@ -6750,10 +6188,7 @@ export declare const enum PointerType {
6750
6188
  /** POT_NONE - No pointer input */
6751
6189
  POT_NONE = 0,
6752
6190
  /** POT_MOUSE - Traditional mouse input */
6753
- POT_MOUSE = 1,
6754
- POT_PAD = 2,
6755
- POT_TOUCH = 3,
6756
- POT_WAND = 4
6191
+ POT_MOUSE = 1
6757
6192
  }
6758
6193
 
6759
6194
  /**
@@ -7350,7 +6785,6 @@ export declare type RaycastSystemOptions = {
7350
6785
  export declare interface ReactBasedUiSystem {
7351
6786
  destroy(): void;
7352
6787
  setUiRenderer(ui: UiComponent): void;
7353
- setTextureRenderer(entity: Entity, ui: UiComponent): void;
7354
6788
  }
7355
6789
 
7356
6790
  /**
@@ -7813,42 +7247,8 @@ export declare namespace Schemas {
7813
7247
  }) => void;
7814
7248
  }
7815
7249
 
7816
- /**
7817
- * @public
7818
- */
7819
- export declare interface ScrollPositionValue {
7820
- value?: {
7821
- $case: "position";
7822
- position: PBVector2;
7823
- } | {
7824
- $case: "reference";
7825
- reference: string;
7826
- } | undefined;
7827
- }
7828
-
7829
- /**
7830
- * @public
7831
- */
7832
- export declare namespace ScrollPositionValue {
7833
- export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
7834
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
7835
- }
7836
-
7837
- /**
7838
- * @public
7839
- * The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
7840
- */
7841
- export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
7842
-
7843
- /**
7844
- * @public
7845
- */
7846
- export declare const enum ShowScrollBar {
7847
- SSB_BOTH = 0,
7848
- SSB_ONLY_VERTICAL = 1,
7849
- SSB_ONLY_HORIZONTAL = 2,
7850
- SSB_HIDDEN = 3
7851
- }
7250
+ /** @public */
7251
+ export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
7852
7252
 
7853
7253
  /**
7854
7254
  * @public
@@ -7931,9 +7331,6 @@ export declare namespace Texture {
7931
7331
  export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
7932
7332
  }
7933
7333
 
7934
- /** @public */
7935
- export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
7936
-
7937
7334
  /**
7938
7335
  * @public
7939
7336
  */
@@ -8026,9 +7423,6 @@ export declare interface TextureUnion {
8026
7423
  } | {
8027
7424
  $case: "videoTexture";
8028
7425
  videoTexture: VideoTexture;
8029
- } | {
8030
- $case: "uiTexture";
8031
- uiTexture: UiCanvasTexture;
8032
7426
  } | undefined;
8033
7427
  }
8034
7428
 
@@ -8122,6 +7516,17 @@ export declare type TransformType = {
8122
7516
  */
8123
7517
  export declare type TransformTypeWithOptionals = Partial<TransformType>;
8124
7518
 
7519
+ /** Controls the direction for animated skybox transitions */
7520
+ /**
7521
+ * @public
7522
+ */
7523
+ export declare const enum TransitionMode {
7524
+ /** TM_FORWARD - transitions forward (default) */
7525
+ TM_FORWARD = 0,
7526
+ /** TM_BACKWARD - transitions backward */
7527
+ TM_BACKWARD = 1
7528
+ }
7529
+
8125
7530
  /**
8126
7531
  * @public
8127
7532
  */
@@ -8236,8 +7641,6 @@ export declare interface UiBackgroundProps {
8236
7641
  uvs?: number[];
8237
7642
  /** AvatarTexture for the background */
8238
7643
  avatarTexture?: UiAvatarTexture;
8239
- /** VideoTexture for the background */
8240
- videoTexture?: UiVideoTexture;
8241
7644
  /** Texture for the background */
8242
7645
  texture?: UiTexture;
8243
7646
  }
@@ -8257,31 +7660,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
8257
7660
  disabled?: boolean;
8258
7661
  }
8259
7662
 
8260
- /** @public */
8261
- export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
8262
-
8263
7663
  /** @public */
8264
7664
  export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
8265
7665
 
8266
- /**
8267
- * @public
8268
- */
8269
- export declare interface UiCanvasTexture {
8270
- uiCanvasEntity: number;
8271
- /** default = TextureWrapMode.Clamp */
8272
- wrapMode?: TextureWrapMode | undefined;
8273
- /** default = FilterMode.Bilinear */
8274
- filterMode?: TextureFilterMode | undefined;
8275
- }
8276
-
8277
- /**
8278
- * @public
8279
- */
8280
- export declare namespace UiCanvasTexture {
8281
- export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
8282
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
8283
- }
8284
-
8285
7666
  /**
8286
7667
  * @public
8287
7668
  */
@@ -8351,10 +7732,6 @@ export declare interface UiLabelProps {
8351
7732
  textAlign?: TextAlignType | undefined;
8352
7733
  /** Label font type. @defaultValue 'sans-serif' */
8353
7734
  font?: UiFontType | undefined;
8354
- /** Outline width of the text. @defaultValue 0 */
8355
- outlineWidth?: number | undefined;
8356
- /** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
8357
- outlineColor?: PBColor4 | undefined;
8358
7735
  /** Behaviour when text reached. @defaultValue 'wrap' */
8359
7736
  textWrap?: UiTextWrapType | undefined;
8360
7737
  }
@@ -8364,9 +7741,6 @@ export declare interface UiLabelProps {
8364
7741
  */
8365
7742
  export declare type uint32 = number;
8366
7743
 
8367
- /** @public */
8368
- export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
8369
-
8370
7744
  /** @public */
8371
7745
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
8372
7746
 
@@ -8444,26 +7818,10 @@ export declare interface UiTransformProps {
8444
7818
  borderWidth?: Partial<Position> | PositionUnit;
8445
7819
  /** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
8446
7820
  opacity?: number;
8447
- /** A reference value to identify the element, default empty */
8448
- elementId?: string;
8449
- /** default position=(0,0) if it aplies, a vector or a reference-id */
8450
- scrollPosition?: PBVector2 | string;
8451
- /** default ShowScrollBar.SSB_BOTH */
8452
- scrollVisible?: ScrollVisibleType;
8453
7821
  /** default 0 */
8454
7822
  zIndex?: number;
8455
7823
  }
8456
7824
 
8457
- /**
8458
- * Texture
8459
- * @public
8460
- */
8461
- export declare interface UiVideoTexture {
8462
- videoPlayerEntity: Entity;
8463
- wrapMode?: TextureWrapType;
8464
- filterMode?: TextureFilterType;
8465
- }
8466
-
8467
7825
  /**
8468
7826
  * @public
8469
7827
  */