@dcl/playground-assets 7.12.3-19270029495.commit-0b6cbd6 → 7.12.3-19323828833.commit-7df9c30

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.
@@ -178,33 +178,12 @@ 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
184
  /** @public */
197
185
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
198
186
 
199
- /**
200
- * @public
201
- */
202
- export declare type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
203
-
204
- export declare type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
205
- forceRender?: string[] | undefined;
206
- };
207
-
208
187
  /** @public */
209
188
  export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
210
189
 
@@ -219,49 +198,9 @@ export declare const enum AvatarModifierType {
219
198
  AMT_DISABLE_PASSPORTS = 1
220
199
  }
221
200
 
222
- /**
223
- * @public
224
- */
225
- export declare interface AvatarMovementSettings {
226
- controlMode?: AvatarControlType | undefined;
227
- /** if not explicitly set, the following properties default to user's preference settings */
228
- runSpeed?: number | undefined;
229
- /** how fast the player gets up to speed or comes to rest. higher = more responsive */
230
- friction?: number | undefined;
231
- /** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
232
- gravity?: number | undefined;
233
- /** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
234
- jumpHeight?: number | undefined;
235
- /** max fall speed in m/s. should normally be negative */
236
- maxFallSpeed?: number | undefined;
237
- /** speed the player turns in tank mode, in radians/s */
238
- turnSpeed?: number | undefined;
239
- /** speed the player walks at, in m/s */
240
- walkSpeed?: number | undefined;
241
- /** 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 */
242
- allowWeightedMovement?: boolean | undefined;
243
- }
244
-
245
- /**
246
- * @public
247
- */
248
- export declare namespace AvatarMovementSettings {
249
- export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
250
- export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
251
- }
252
-
253
201
  /** @public */
254
202
  export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
255
203
 
256
- /**
257
- * @public
258
- */
259
- export declare type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
260
-
261
- export declare type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
262
- forceRender?: string[] | undefined;
263
- };
264
-
265
204
  /**
266
205
  * @public
267
206
  */
@@ -529,19 +468,11 @@ export declare interface ByteBuffer {
529
468
  }
530
469
 
531
470
  /**
532
- * legacy Callback function
533
- *
534
- * @public @deprecated This type is no longer used in the sdk api, EventSystemCallback is
535
- * used for listeners instead
471
+ * Callback function to be triggered on a specified event
472
+ * @public
536
473
  */
537
474
  export declare type Callback = () => void;
538
475
 
539
- /** @public */
540
- export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
541
-
542
- /** @public */
543
- export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
544
-
545
476
  /** @public */
546
477
  export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
547
478
 
@@ -599,39 +530,6 @@ export declare const enum CameraType {
599
530
 
600
531
  export declare type Children = ReactEcs.JSX.ReactNode;
601
532
 
602
- /**
603
- * @public
604
- */
605
- export declare interface CinematicSettings {
606
- /** Entity that defines the cinematic camera transform. */
607
- cameraEntity: number;
608
- /**
609
- * Position -> camera's position
610
- * Rotation -> camera's direction
611
- * scale.z -> zoom level
612
- * scale.x and scale.y -> unused
613
- */
614
- allowManualRotation?: boolean | undefined;
615
- /** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
616
- yawRange?: number | undefined;
617
- /** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
618
- pitchRange?: number | undefined;
619
- /** note: cameras can never look up/down further than Vec3::Y */
620
- rollRange?: number | undefined;
621
- /** minimum zoom level. must be greater than 0. defaults to the input zoom level */
622
- zoomMin?: number | undefined;
623
- /** maximum zoom level. must be greater than 0. defaults to the input zoom level */
624
- zoomMax?: number | undefined;
625
- }
626
-
627
- /**
628
- * @public
629
- */
630
- export declare namespace CinematicSettings {
631
- export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
632
- export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
633
- }
634
-
635
533
  /** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
636
534
  /**
637
535
  * @public
@@ -1406,17 +1304,12 @@ export declare const componentDefinitionByName: {
1406
1304
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
1407
1305
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
1408
1306
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
1409
- "core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
1410
- "core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
1411
1307
  "core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
1412
1308
  "core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
1413
1309
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
1414
- "core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
1415
1310
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1416
1311
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1417
- "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
1418
1312
  "core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
1419
- "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
1420
1313
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1421
1314
  "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1422
1315
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
@@ -1434,20 +1327,17 @@ export declare const componentDefinitionByName: {
1434
1327
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
1435
1328
  "core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
1436
1329
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
1437
- "core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
1438
1330
  "core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
1439
1331
  "core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
1440
1332
  "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
1441
1333
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
1442
1334
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
1443
1335
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
1444
- "core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
1445
1336
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
1446
1337
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
1447
1338
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
1448
1339
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
1449
1340
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
1450
- "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
1451
1341
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
1452
1342
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
1453
1343
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -2014,18 +1904,10 @@ export declare type EntityComponents = {
2014
1904
  uiBackground: PBUiBackground;
2015
1905
  uiInput: PBUiInput;
2016
1906
  uiDropdown: PBUiDropdown;
2017
- onMouseDown: EventSystemCallback;
2018
- onMouseUp: EventSystemCallback;
2019
- onMouseEnter: EventSystemCallback;
2020
- onMouseLeave: EventSystemCallback;
2021
- onMouseDrag: EventSystemCallback;
2022
- onMouseDragLocked: EventSystemCallback;
2023
- onMouseDragEnd: EventSystemCallback;
2024
- onInputDown: MultiCallback;
2025
- onInputUp: MultiCallback;
2026
- onInputDrag: MultiCallback;
2027
- onInputDragLocked: MultiCallback;
2028
- onInputDragEnd: MultiCallback;
1907
+ onMouseDown: Callback;
1908
+ onMouseUp: Callback;
1909
+ onMouseEnter: Callback;
1910
+ onMouseLeave: Callback;
2029
1911
  };
2030
1912
 
2031
1913
  /** @public */
@@ -2103,13 +1985,6 @@ export declare type EventSystemOptions = {
2103
1985
  showHighlight?: boolean;
2104
1986
  };
2105
1987
 
2106
- /**
2107
- * @public
2108
- */
2109
- export declare type EventSystemOptionsCallback = EventSystemOptions & {
2110
- cb: EventSystemCallback;
2111
- };
2112
-
2113
1988
  /**
2114
1989
  * Excludes property keys from T where the property is assignable to U
2115
1990
  * @public
@@ -2184,9 +2059,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
2184
2059
  direction?: PBVector3;
2185
2060
  };
2186
2061
 
2187
- /** @public */
2188
- export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
2189
-
2190
2062
  export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
2191
2063
 
2192
2064
  export declare type GlobalTargetRaycastSystemOptions = {
@@ -2199,24 +2071,9 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
2199
2071
  /** @public */
2200
2072
  export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
2201
2073
 
2202
- /** @public */
2203
- export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
2204
-
2205
2074
  /** @public */
2206
2075
  export declare const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
2207
2076
 
2208
- /** @public */
2209
- export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
2210
-
2211
- /**
2212
- * @public
2213
- */
2214
- export declare const enum GltfNodeStateValue {
2215
- GNSV_PENDING = 0,
2216
- GNSV_FAILED = 1,
2217
- GNSV_READY = 2
2218
- }
2219
-
2220
2077
  /**
2221
2078
  * @public
2222
2079
  */
@@ -2571,12 +2428,6 @@ export declare type IInputSystem = {
2571
2428
  * @returns the input command info or undefined if there is no command in the last tick-update
2572
2429
  */
2573
2430
  getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
2574
- /**
2575
- * @public
2576
- * Get an ordered iterator over events received within the current frame.
2577
- * @returns the iterator
2578
- */
2579
- getInputCommands: () => Generator<PBPointerEventsResult>;
2580
2431
  };
2581
2432
 
2582
2433
  /**
@@ -2872,29 +2723,13 @@ export declare interface LightSourceHelper {
2872
2723
  */
2873
2724
  export declare type Listeners = {
2874
2725
  /** triggered on mouse down event */
2875
- onMouseDown?: EventSystemCallback;
2726
+ onMouseDown?: Callback;
2876
2727
  /** triggered on mouse up event */
2877
- onMouseUp?: EventSystemCallback;
2728
+ onMouseUp?: Callback;
2878
2729
  /** triggered on mouse hover event */
2879
- onMouseEnter?: EventSystemCallback;
2730
+ onMouseEnter?: Callback;
2880
2731
  /** triggered on mouse leave event */
2881
- onMouseLeave?: EventSystemCallback;
2882
- /** triggered on mouse drag event */
2883
- onMouseDrag?: EventSystemCallback;
2884
- /** triggered on mouse drag event */
2885
- onMouseDragLocked?: EventSystemCallback;
2886
- /** triggered on mouse drag event */
2887
- onMouseDragEnd?: EventSystemCallback;
2888
- /** triggered on input down event */
2889
- onInputDown?: MultiCallback;
2890
- /** triggered on input up event */
2891
- onInputUp?: MultiCallback;
2892
- /** triggered on input drag event */
2893
- onInputDrag?: MultiCallback;
2894
- /** triggered on input drag event */
2895
- onInputDragLocked?: MultiCallback;
2896
- /** triggered on input drag event */
2897
- onInputDragEnd?: MultiCallback;
2732
+ onMouseLeave?: Callback;
2898
2733
  };
2899
2734
 
2900
2735
  /**
@@ -3763,14 +3598,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
3763
3598
  * @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
3764
3599
  */
3765
3600
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3766
- /**
3767
- * @public
3768
- * Set a gltf internal mesh in the MeshCollider component
3769
- * @param entity - entity to create or replace the MeshRenderer component
3770
- * @param source - the path to the gltf
3771
- * @param meshName - the name of the mesh in the gltf
3772
- */
3773
- setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3774
3601
  }
3775
3602
 
3776
3603
  export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
@@ -3807,14 +3634,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
3807
3634
  * @param entity - entity to create or replace the MeshRenderer component
3808
3635
  */
3809
3636
  setSphere(entity: Entity): void;
3810
- /**
3811
- * @public
3812
- * Set a gltf internal mesh in the MeshRenderer component
3813
- * @param entity - entity to create or replace the MeshRenderer component
3814
- * @param source - the path to the gltf
3815
- * @param meshName - the name of the mesh in the gltf
3816
- */
3817
- setGltfMesh(entity: Entity, source: string, meshName: string): void;
3818
3637
  }
3819
3638
 
3820
3639
  /**
@@ -3863,19 +3682,6 @@ export declare namespace MoveContinuous {
3863
3682
  export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveContinuous;
3864
3683
  }
3865
3684
 
3866
- /**
3867
- * a record object mapping `InputAction`s to functions.
3868
- *
3869
- * @example
3870
- * onInputDown={{
3871
- * [InputAction.IA_PRIMARY]: (eventData) => { console.log("primary") },
3872
- * [InputAction.IA_SECONDARY]: () => { console.log("secondary") },
3873
- * }}
3874
- *
3875
- * @public
3876
- */
3877
- export declare type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
3878
-
3879
3685
  export declare const Name: NameComponent;
3880
3686
 
3881
3687
  export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
@@ -4256,25 +4062,6 @@ export declare const onVideoEvent: Observable<{
4256
4062
  totalVideoLength: number;
4257
4063
  }>;
4258
4064
 
4259
- /**
4260
- * @public
4261
- */
4262
- export declare interface Orthographic {
4263
- /**
4264
- * vertical extent of the visible range in meters
4265
- * defaults to 4m
4266
- */
4267
- verticalRange?: number | undefined;
4268
- }
4269
-
4270
- /**
4271
- * @public
4272
- */
4273
- export declare namespace Orthographic {
4274
- export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
4275
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
4276
- }
4277
-
4278
4065
  /**
4279
4066
  * @public
4280
4067
  * The overflow property controls what happens to content that is too big to fit into an area
@@ -4501,8 +4288,6 @@ export declare namespace PBAvatarEmoteCommand {
4501
4288
  export declare interface PBAvatarEquippedData {
4502
4289
  wearableUrns: string[];
4503
4290
  emoteUrns: string[];
4504
- /** slots that will render even if hidden */
4505
- forceRender: string[];
4506
4291
  }
4507
4292
 
4508
4293
  /**
@@ -4537,9 +4322,6 @@ export declare interface PBAvatarModifierArea {
4537
4322
  excludeIds: string[];
4538
4323
  /** list of modifiers to apply */
4539
4324
  modifiers: AvatarModifierType[];
4540
- movementSettings?: AvatarMovementSettings | undefined;
4541
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4542
- useColliderRange?: boolean | undefined;
4543
4325
  }
4544
4326
 
4545
4327
  /**
@@ -4598,8 +4380,6 @@ export declare interface PBAvatarShape {
4598
4380
  emotes: string[];
4599
4381
  /** hides the skin + hair + facial features (default: false) */
4600
4382
  showOnlyWearables?: boolean | undefined;
4601
- /** slots that will render even if hidden */
4602
- forceRender: string[];
4603
4383
  }
4604
4384
 
4605
4385
  /**
@@ -4634,51 +4414,6 @@ export declare namespace PBBillboard {
4634
4414
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
4635
4415
  }
4636
4416
 
4637
- /**
4638
- * @public
4639
- */
4640
- export declare interface PBCameraLayer {
4641
- /**
4642
- * layer to which these settings apply. must be > 0
4643
- * Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
4644
- */
4645
- layer: number;
4646
- /** should the sun light affect this layer? default false */
4647
- directionalLight?: boolean | undefined;
4648
- /** should this layer show player avatars? default false */
4649
- showAvatars?: boolean | undefined;
4650
- /** should this layer show the sky? default false */
4651
- showSkybox?: boolean | undefined;
4652
- /** should this layer show distance fog? default false */
4653
- showFog?: boolean | undefined;
4654
- /** ambient light overrides for this layer. default -> use same as main camera */
4655
- ambientColorOverride?: PBColor3 | undefined;
4656
- ambientBrightnessOverride?: number | undefined;
4657
- }
4658
-
4659
- /**
4660
- * @public
4661
- */
4662
- export declare namespace PBCameraLayer {
4663
- export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
4664
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
4665
- }
4666
-
4667
- /**
4668
- * @public
4669
- */
4670
- export declare interface PBCameraLayers {
4671
- layers: number[];
4672
- }
4673
-
4674
- /**
4675
- * @public
4676
- */
4677
- export declare namespace PBCameraLayers {
4678
- export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
4679
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
4680
- }
4681
-
4682
4417
  /**
4683
4418
  * The CameraMode component can be used to determine whether the player is using a first-person o
4684
4419
  * third-person view.
@@ -4701,7 +4436,7 @@ export declare namespace PBCameraMode {
4701
4436
 
4702
4437
  /**
4703
4438
  * The CameraModeArea component can be attached to an Entity to define a region of space where
4704
- * the player's camera mode (1st-person, 3rd-person or cinematic) is overridden.
4439
+ * the player's camera mode (1st-person or 3rd-person) is overridden.
4705
4440
  *
4706
4441
  * The Entity's Transform position determines the center-point of the region, while its size is
4707
4442
  * given as a vector in the `area` property below. The Transform rotation is applied, but the scale
@@ -4711,8 +4446,6 @@ export declare namespace PBCameraMode {
4711
4446
  *
4712
4447
  * Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
4713
4448
  * is actually a 3D volume.
4714
- *
4715
- * When mode is set to CtCinematic, the cinematic_settings field must also be provided.
4716
4449
  */
4717
4450
  /**
4718
4451
  * @public
@@ -4722,9 +4455,6 @@ export declare interface PBCameraModeArea {
4722
4455
  area: PBVector3 | undefined;
4723
4456
  /** the camera mode to enforce */
4724
4457
  mode: CameraType;
4725
- cinematicSettings?: CinematicSettings | undefined;
4726
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4727
- useColliderRange?: boolean | undefined;
4728
4458
  }
4729
4459
 
4730
4460
  /**
@@ -4796,39 +4526,6 @@ export declare namespace PBEngineInfo {
4796
4526
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
4797
4527
  }
4798
4528
 
4799
- /**
4800
- * defines the global scene light settings. must be added to the scene root.
4801
- * to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
4802
- */
4803
- /**
4804
- * @public
4805
- */
4806
- export declare interface PBGlobalLight {
4807
- /**
4808
- * the direction the directional light shines in.
4809
- * default depends on time of day and explorer implementation
4810
- */
4811
- direction?: PBVector3 | undefined;
4812
- /**
4813
- * ambient light color
4814
- * default: White
4815
- */
4816
- ambientColor?: PBColor3 | undefined;
4817
- /**
4818
- * ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
4819
- * default 1
4820
- */
4821
- ambientBrightness?: number | undefined;
4822
- }
4823
-
4824
- /**
4825
- * @public
4826
- */
4827
- export declare namespace PBGlobalLight {
4828
- export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
4829
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
4830
- }
4831
-
4832
4529
  /**
4833
4530
  * GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
4834
4531
  *
@@ -4864,25 +4561,6 @@ export declare namespace PBGltfContainer {
4864
4561
  */
4865
4562
  export declare interface PBGltfContainerLoadingState {
4866
4563
  currentState: LoadingState;
4867
- /** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
4868
- nodePaths: string[];
4869
- /** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
4870
- meshNames: string[];
4871
- /**
4872
- * where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
4873
- * conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
4874
- */
4875
- materialNames: string[];
4876
- /**
4877
- * X is the material index. note this may conflict with manually named materials - to avoid any issues make
4878
- * sure all your materials are explicitly named.
4879
- */
4880
- skinNames: string[];
4881
- /**
4882
- * X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
4883
- * your skins are explicitly named.
4884
- */
4885
- animationNames: string[];
4886
4564
  }
4887
4565
 
4888
4566
  /**
@@ -4893,57 +4571,6 @@ export declare namespace PBGltfContainerLoadingState {
4893
4571
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
4894
4572
  }
4895
4573
 
4896
- /**
4897
- * a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
4898
- * This component must be added to a direct child of an entity with a PBGltfContainer component, or
4899
- * to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
4900
- * in the parent.
4901
- * The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
4902
- *
4903
- * The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
4904
- * - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
4905
- * - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
4906
- * - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
4907
- * - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
4908
- *
4909
- * After creation, if an animation moves the node, the `Transform` will be updated.
4910
- *
4911
- * From the scene, you can modify various components to alter the gltf node:
4912
- * - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
4913
- * regardless of any intermediate gltf node hierarchy.
4914
- * If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
4915
- * - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
4916
- * - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
4917
- * - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
4918
- * - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
4919
- * 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
4920
- * PBMaterial will be maintained.
4921
- *
4922
- * The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
4923
- * - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
4924
- * change the state to `GNS_FAILED`.
4925
- * - deleting the scene entity will not delete the gltf node.
4926
- *
4927
- * Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
4928
- * are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
4929
- * the gltf node will also be displayed.
4930
- */
4931
- /**
4932
- * @public
4933
- */
4934
- export declare interface PBGltfNode {
4935
- /** the path of the target node in the Gltf. */
4936
- path: string;
4937
- }
4938
-
4939
- /**
4940
- * @public
4941
- */
4942
- export declare namespace PBGltfNode {
4943
- export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
4944
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
4945
- }
4946
-
4947
4574
  /**
4948
4575
  * GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
4949
4576
  *
@@ -4989,26 +4616,6 @@ export declare namespace PBGltfNodeModifiers_GltfNodeModifier {
4989
4616
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeModifiers_GltfNodeModifier;
4990
4617
  }
4991
4618
 
4992
- /**
4993
- * The state of a linked gltf node.
4994
- * If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
4995
- */
4996
- /**
4997
- * @public
4998
- */
4999
- export declare interface PBGltfNodeState {
5000
- state: GltfNodeStateValue;
5001
- error?: string | undefined;
5002
- }
5003
-
5004
- /**
5005
- * @public
5006
- */
5007
- export declare namespace PBGltfNodeState {
5008
- export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
5009
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
5010
- }
5011
-
5012
4619
  /**
5013
4620
  * @public
5014
4621
  */
@@ -5144,14 +4751,6 @@ export declare interface PBMaterial {
5144
4751
  $case: "pbr";
5145
4752
  pbr: PBMaterial_PbrMaterial;
5146
4753
  } | undefined;
5147
- /**
5148
- * A gltf material that may provide additional features not supported by the PbMaterial fields.
5149
- * If both gltf and material fields are provided, the gltf will be used only for extended features not
5150
- * supported by the PbMaterial.
5151
- * If this is provided and the `material` field is not provided, the renderer will update the material
5152
- * field with data that reflects the gltf material once it is loaded.
5153
- */
5154
- gltf?: PBMaterial_GltfMaterial | undefined;
5155
4754
  }
5156
4755
 
5157
4756
  /**
@@ -5162,22 +4761,6 @@ export declare namespace PBMaterial {
5162
4761
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
5163
4762
  }
5164
4763
 
5165
- /**
5166
- * @public
5167
- */
5168
- export declare interface PBMaterial_GltfMaterial {
5169
- gltfSrc: string;
5170
- name: string;
5171
- }
5172
-
5173
- /**
5174
- * @public
5175
- */
5176
- export declare namespace PBMaterial_GltfMaterial {
5177
- export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
5178
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
5179
- }
5180
-
5181
4764
  /**
5182
4765
  * @public
5183
4766
  */
@@ -5274,9 +4857,6 @@ export declare interface PBMeshCollider {
5274
4857
  } | {
5275
4858
  $case: "plane";
5276
4859
  plane: PBMeshCollider_PlaneMesh;
5277
- } | {
5278
- $case: "gltf";
5279
- gltf: PBMeshCollider_GltfMesh;
5280
4860
  } | undefined;
5281
4861
  }
5282
4862
 
@@ -5322,25 +4902,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
5322
4902
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
5323
4903
  }
5324
4904
 
5325
- /** A collider constructed from a Gltf Mesh. */
5326
- /**
5327
- * @public
5328
- */
5329
- export declare interface PBMeshCollider_GltfMesh {
5330
- /** the GLTF file path as listed in the scene's manifest. */
5331
- gltfSrc: string;
5332
- /** the name of the mesh asset */
5333
- name: string;
5334
- }
5335
-
5336
- /**
5337
- * @public
5338
- */
5339
- export declare namespace PBMeshCollider_GltfMesh {
5340
- export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5341
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
5342
- }
5343
-
5344
4905
  /** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
5345
4906
  /**
5346
4907
  * @public
@@ -5373,11 +4934,13 @@ export declare namespace PBMeshCollider_SphereMesh {
5373
4934
 
5374
4935
  /**
5375
4936
  * The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
5376
- * plane, a sphere, a cylinder, or a Gltf mesh.
4937
+ * plane, a sphere or a cylinder.
5377
4938
  *
5378
4939
  * The cube and plane variants can include a UV texture mapping, so specific areas of a material
5379
4940
  * texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
5380
4941
  * `float` coordinates, one for each corner of each side of each face.
4942
+ *
4943
+ * More complex shapes require the use of a `GltfContainer` component.
5381
4944
  */
5382
4945
  /**
5383
4946
  * @public
@@ -5395,9 +4958,6 @@ export declare interface PBMeshRenderer {
5395
4958
  } | {
5396
4959
  $case: "plane";
5397
4960
  plane: PBMeshRenderer_PlaneMesh;
5398
- } | {
5399
- $case: "gltf";
5400
- gltf: PBMeshRenderer_GltfMesh;
5401
4961
  } | undefined;
5402
4962
  }
5403
4963
 
@@ -5445,25 +5005,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
5445
5005
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
5446
5006
  }
5447
5007
 
5448
- /** A mesh from a Gltf. */
5449
- /**
5450
- * @public
5451
- */
5452
- export declare interface PBMeshRenderer_GltfMesh {
5453
- /** the GLTF file path as listed in the scene's manifest. */
5454
- gltfSrc: string;
5455
- /** the name of the mesh asset */
5456
- name: string;
5457
- }
5458
-
5459
- /**
5460
- * @public
5461
- */
5462
- export declare namespace PBMeshRenderer_GltfMesh {
5463
- export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5464
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
5465
- }
5466
-
5467
5008
  /** PlaneMesh renders a 2D rectangular shape. */
5468
5009
  /**
5469
5010
  * @public
@@ -5712,10 +5253,7 @@ export declare interface PBPrimaryPointerInfo {
5712
5253
  screenCoordinates?: PBVector2 | undefined;
5713
5254
  /** Movement since last frame (pixels) */
5714
5255
  screenDelta?: PBVector2 | undefined;
5715
- /**
5716
- * ray direction that can be used with the primary camera origin for
5717
- * raycasting from the cursor into the world
5718
- */
5256
+ /** Direction vector for 3D ray casting */
5719
5257
  worldRayDirection?: PBVector3 | undefined;
5720
5258
  }
5721
5259
 
@@ -5941,46 +5479,6 @@ export declare namespace PBTextShape {
5941
5479
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
5942
5480
  }
5943
5481
 
5944
- /**
5945
- * @public
5946
- */
5947
- export declare interface PBTextureCamera {
5948
- /** rendered texture width */
5949
- width?: number | undefined;
5950
- /** rendered texture height */
5951
- height?: number | undefined;
5952
- /**
5953
- * which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
5954
- * defaults to 0
5955
- */
5956
- layer?: number | undefined;
5957
- /** default black */
5958
- clearColor?: PBColor4 | undefined;
5959
- /** default infinity */
5960
- farPlane?: number | undefined;
5961
- mode?: {
5962
- $case: "perspective";
5963
- perspective: Perspective;
5964
- } | {
5965
- $case: "orthographic";
5966
- orthographic: Orthographic;
5967
- } | undefined;
5968
- /**
5969
- * controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
5970
- * range: 0 (off) - 1 (full volume)
5971
- * default: 0
5972
- */
5973
- volume?: number | undefined;
5974
- }
5975
-
5976
- /**
5977
- * @public
5978
- */
5979
- export declare namespace PBTextureCamera {
5980
- export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
5981
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
5982
- }
5983
-
5984
5482
  /**
5985
5483
  * The PBTriggerArea component is used to raise collision triggering events (through the TriggerAreaResult component)
5986
5484
  * when entities enter this component's defined area.
@@ -6159,25 +5657,6 @@ export declare namespace PBUiBackground {
6159
5657
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
6160
5658
  }
6161
5659
 
6162
- /** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
6163
- /**
6164
- * @public
6165
- */
6166
- export declare interface PBUiCanvas {
6167
- width: number;
6168
- height: number;
6169
- /** default = (0.0, 0.0, 0.0, 0.0) / transparent */
6170
- color?: PBColor4 | undefined;
6171
- }
6172
-
6173
- /**
6174
- * @public
6175
- */
6176
- export declare namespace PBUiCanvas {
6177
- export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
6178
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
6179
- }
6180
-
6181
5660
  /** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
6182
5661
  /**
6183
5662
  * @public
@@ -6294,21 +5773,6 @@ export declare namespace PBUiInputResult {
6294
5773
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
6295
5774
  }
6296
5775
 
6297
- /**
6298
- * @public
6299
- */
6300
- export declare interface PBUiScrollResult {
6301
- value: PBVector2 | undefined;
6302
- }
6303
-
6304
- /**
6305
- * @public
6306
- */
6307
- export declare namespace PBUiScrollResult {
6308
- export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
6309
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
6310
- }
6311
-
6312
5776
  /**
6313
5777
  * @public
6314
5778
  */
@@ -6325,10 +5789,6 @@ export declare interface PBUiText {
6325
5789
  fontSize?: number | undefined;
6326
5790
  /** wrap text when the border is reached (default: TW_WRAP) */
6327
5791
  textWrap?: TextWrap | undefined;
6328
- /** width of the outline (default: 0) */
6329
- outlineWidth?: number | undefined;
6330
- /** RGBA color of the outline (default: opaque black) */
6331
- outlineColor?: PBColor4 | undefined;
6332
5792
  }
6333
5793
 
6334
5794
  /**
@@ -6456,12 +5916,6 @@ export declare interface PBUiTransform {
6456
5916
  borderRightColor?: PBColor4 | undefined;
6457
5917
  /** default: 1 */
6458
5918
  opacity?: number | undefined;
6459
- /** reference for scroll_position. default empty */
6460
- elementId?: string | undefined;
6461
- /** default position=(0,0) */
6462
- scrollPosition?: ScrollPositionValue | undefined;
6463
- /** default ShowScrollBar.SSB_BOTH */
6464
- scrollVisible?: ShowScrollBar | undefined;
6465
5919
  /** default: 0 — controls render stacking order. Higher values appear in front of lower values. */
6466
5920
  zIndex?: number | undefined;
6467
5921
  }
@@ -6593,25 +6047,6 @@ export declare namespace PBVisibilityComponent {
6593
6047
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
6594
6048
  }
6595
6049
 
6596
- /**
6597
- * @public
6598
- */
6599
- export declare interface Perspective {
6600
- /**
6601
- * vertical field of view in radians
6602
- * defaults to pi/4 = 45 degrees
6603
- */
6604
- fieldOfView?: number | undefined;
6605
- }
6606
-
6607
- /**
6608
- * @public
6609
- */
6610
- export declare namespace Perspective {
6611
- export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
6612
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
6613
- }
6614
-
6615
6050
  /**
6616
6051
  * Represens a plane by the equation ax + by + cz + d = 0
6617
6052
  * @public
@@ -6767,37 +6202,11 @@ export declare interface PointerEventsSystem {
6767
6202
  * @param entity - Entity where the callback was attached
6768
6203
  */
6769
6204
  removeOnPointerHoverLeave(entity: Entity): void;
6770
- /**
6771
- * @public
6772
- * Remove the callback for onPointerDrag event
6773
- * @param entity - Entity where the callback was attached
6774
- */
6775
- removeOnPointerDrag(entity: Entity): void;
6776
- /**
6777
- * @public
6778
- * Remove the callback for onPointerDragLocked event
6779
- * @param entity - Entity where the callback was attached
6780
- */
6781
- removeOnPointerDragLocked(entity: Entity): void;
6782
- /**
6783
- * @public
6784
- * Remove the callback for onPointerDragEnd event
6785
- * @param entity - Entity where the callback was attached
6786
- */
6787
- removeOnPointerDragEnd(entity: Entity): void;
6788
- /**
6789
- * @public
6790
- * Execute callbacks when the user presses one of the InputButtons pointing at the entity
6791
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6792
- */
6793
- onPointerDown(pointerData: {
6794
- entity: Entity;
6795
- optsList: EventSystemOptionsCallback[];
6796
- }): void;
6797
6205
  /**
6798
6206
  * @public
6799
6207
  * Execute callback when the user press the InputButton pointing at the entity
6800
6208
  * @param pointerData - Entity to attach the callback, Opts to trigger Feedback and Button
6209
+ * @param cb - Function to execute when click fires
6801
6210
  */
6802
6211
  onPointerDown(pointerData: {
6803
6212
  entity: Entity;
@@ -6810,15 +6219,6 @@ export declare interface PointerEventsSystem {
6810
6219
  * @param opts - Opts to trigger Feedback and Button
6811
6220
  */
6812
6221
  onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
6813
- /**
6814
- * @public
6815
- * Execute callbacks when the user releases one of the InputButtons pointing at the entity
6816
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6817
- */
6818
- onPointerUp(pointerData: {
6819
- entity: Entity;
6820
- optsList: EventSystemOptionsCallback[];
6821
- }): void;
6822
6222
  /**
6823
6223
  * @public
6824
6224
  * Execute callback when the user releases the InputButton pointing at the entity
@@ -6856,64 +6256,6 @@ export declare interface PointerEventsSystem {
6856
6256
  entity: Entity;
6857
6257
  opts?: Partial<EventSystemOptions>;
6858
6258
  }, cb: EventSystemCallback): void;
6859
- /**
6860
- * @public
6861
- * Execute callbacks when the user drags the pointer from inside the entity
6862
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6863
- */
6864
- onPointerDrag(pointerData: {
6865
- entity: Entity;
6866
- optsList: EventSystemOptionsCallback[];
6867
- }): void;
6868
- /**
6869
- * @public
6870
- * Execute callback when the user clicks and drags the pointer from inside the entity
6871
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6872
- * @param cb - Function to execute when click fires
6873
- */
6874
- onPointerDrag(pointerData: {
6875
- entity: Entity;
6876
- opts?: Partial<EventSystemOptions>;
6877
- }, cb: EventSystemCallback): void;
6878
- /**
6879
- * @public
6880
- * Execute callbacks when the user drags the pointer from inside the entity, locking the cursor in place.
6881
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6882
- */
6883
- onPointerDragLocked(pointerData: {
6884
- entity: Entity;
6885
- optsList: EventSystemOptionsCallback[];
6886
- }): void;
6887
- /**
6888
- * @public
6889
- * Execute callback when the user clicks and drags the pointer from inside the entity,
6890
- * locking the cursor in place
6891
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6892
- * @param cb - Function to execute when click fires
6893
- */
6894
- onPointerDragLocked(pointerData: {
6895
- entity: Entity;
6896
- opts?: Partial<EventSystemOptions>;
6897
- }, cb: EventSystemCallback): void;
6898
- /**
6899
- * @public
6900
- * Execute callbacks when the user releases a button after a drag
6901
- * @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
6902
- */
6903
- onPointerDragEnd(pointerData: {
6904
- entity: Entity;
6905
- optsList: EventSystemOptionsCallback[];
6906
- }): void;
6907
- /**
6908
- * @public
6909
- * Execute callback when the user releases the button after a drag
6910
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6911
- * @param cb - Function to execute when click fires
6912
- */
6913
- onPointerDragEnd(pointerData: {
6914
- entity: Entity;
6915
- opts?: Partial<EventSystemOptions>;
6916
- }, cb: EventSystemCallback): void;
6917
6259
  }
6918
6260
 
6919
6261
  /**
@@ -6930,10 +6272,7 @@ export declare const enum PointerEventType {
6930
6272
  PET_UP = 0,
6931
6273
  PET_DOWN = 1,
6932
6274
  PET_HOVER_ENTER = 2,
6933
- PET_HOVER_LEAVE = 3,
6934
- PET_DRAG_LOCKED = 4,
6935
- PET_DRAG = 5,
6936
- PET_DRAG_END = 6
6275
+ PET_HOVER_LEAVE = 3
6937
6276
  }
6938
6277
 
6939
6278
  /**
@@ -6964,10 +6303,7 @@ export declare const enum PointerType {
6964
6303
  /** POT_NONE - No pointer input */
6965
6304
  POT_NONE = 0,
6966
6305
  /** POT_MOUSE - Traditional mouse input */
6967
- POT_MOUSE = 1,
6968
- POT_PAD = 2,
6969
- POT_TOUCH = 3,
6970
- POT_WAND = 4
6306
+ POT_MOUSE = 1
6971
6307
  }
6972
6308
 
6973
6309
  /**
@@ -7564,7 +6900,6 @@ export declare type RaycastSystemOptions = {
7564
6900
  export declare interface ReactBasedUiSystem {
7565
6901
  destroy(): void;
7566
6902
  setUiRenderer(ui: UiComponent): void;
7567
- setTextureRenderer(entity: Entity, ui: UiComponent): void;
7568
6903
  }
7569
6904
 
7570
6905
  /**
@@ -8043,43 +7378,6 @@ export declare namespace Schemas {
8043
7378
  }) => void;
8044
7379
  }
8045
7380
 
8046
- /**
8047
- * @public
8048
- */
8049
- export declare interface ScrollPositionValue {
8050
- value?: {
8051
- $case: "position";
8052
- position: PBVector2;
8053
- } | {
8054
- $case: "reference";
8055
- reference: string;
8056
- } | undefined;
8057
- }
8058
-
8059
- /**
8060
- * @public
8061
- */
8062
- export declare namespace ScrollPositionValue {
8063
- export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
8064
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
8065
- }
8066
-
8067
- /**
8068
- * @public
8069
- * The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
8070
- */
8071
- export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
8072
-
8073
- /**
8074
- * @public
8075
- */
8076
- export declare const enum ShowScrollBar {
8077
- SSB_BOTH = 0,
8078
- SSB_ONLY_VERTICAL = 1,
8079
- SSB_ONLY_HORIZONTAL = 2,
8080
- SSB_HIDDEN = 3
8081
- }
8082
-
8083
7381
  /** @public */
8084
7382
  export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
8085
7383
 
@@ -8191,9 +7489,6 @@ export declare namespace Texture {
8191
7489
  export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
8192
7490
  }
8193
7491
 
8194
- /** @public */
8195
- export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
8196
-
8197
7492
  /**
8198
7493
  * @public
8199
7494
  */
@@ -8304,9 +7599,6 @@ export declare interface TextureUnion {
8304
7599
  } | {
8305
7600
  $case: "videoTexture";
8306
7601
  videoTexture: VideoTexture;
8307
- } | {
8308
- $case: "uiTexture";
8309
- uiTexture: UiCanvasTexture;
8310
7602
  } | undefined;
8311
7603
  }
8312
7604
 
@@ -8679,7 +7971,7 @@ export declare type TweenSystem = {
8679
7971
 
8680
7972
  /**
8681
7973
  * @public
8682
- * Register callback functions to a particular entity on video events.
7974
+ * Register callback functions to a particular entity on tween events.
8683
7975
  */
8684
7976
  export declare const tweenSystem: TweenSystem;
8685
7977
 
@@ -8711,8 +8003,6 @@ export declare interface UiBackgroundProps {
8711
8003
  uvs?: number[];
8712
8004
  /** AvatarTexture for the background */
8713
8005
  avatarTexture?: UiAvatarTexture;
8714
- /** VideoTexture for the background */
8715
- videoTexture?: UiVideoTexture;
8716
8006
  /** Texture for the background */
8717
8007
  texture?: UiTexture;
8718
8008
  }
@@ -8732,31 +8022,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
8732
8022
  disabled?: boolean;
8733
8023
  }
8734
8024
 
8735
- /** @public */
8736
- export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
8737
-
8738
8025
  /** @public */
8739
8026
  export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
8740
8027
 
8741
- /**
8742
- * @public
8743
- */
8744
- export declare interface UiCanvasTexture {
8745
- uiCanvasEntity: number;
8746
- /** default = TextureWrapMode.Clamp */
8747
- wrapMode?: TextureWrapMode | undefined;
8748
- /** default = FilterMode.Bilinear */
8749
- filterMode?: TextureFilterMode | undefined;
8750
- }
8751
-
8752
- /**
8753
- * @public
8754
- */
8755
- export declare namespace UiCanvasTexture {
8756
- export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
8757
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
8758
- }
8759
-
8760
8028
  /**
8761
8029
  * @public
8762
8030
  */
@@ -8826,10 +8094,6 @@ export declare interface UiLabelProps {
8826
8094
  textAlign?: TextAlignType | undefined;
8827
8095
  /** Label font type. @defaultValue 'sans-serif' */
8828
8096
  font?: UiFontType | undefined;
8829
- /** Outline width of the text. @defaultValue 0 */
8830
- outlineWidth?: number | undefined;
8831
- /** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
8832
- outlineColor?: PBColor4 | undefined;
8833
8097
  /** Behaviour when text reached. @defaultValue 'wrap' */
8834
8098
  textWrap?: UiTextWrapType | undefined;
8835
8099
  }
@@ -8839,9 +8103,6 @@ export declare interface UiLabelProps {
8839
8103
  */
8840
8104
  export declare type uint32 = number;
8841
8105
 
8842
- /** @public */
8843
- export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
8844
-
8845
8106
  /** @public */
8846
8107
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
8847
8108
 
@@ -8919,26 +8180,10 @@ export declare interface UiTransformProps {
8919
8180
  borderWidth?: Partial<Position> | PositionUnit;
8920
8181
  /** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
8921
8182
  opacity?: number;
8922
- /** A reference value to identify the element, default empty */
8923
- elementId?: string;
8924
- /** default position=(0,0) if it aplies, a vector or a reference-id */
8925
- scrollPosition?: PBVector2 | string;
8926
- /** default ShowScrollBar.SSB_BOTH */
8927
- scrollVisible?: ScrollVisibleType;
8928
8183
  /** default 0 */
8929
8184
  zIndex?: number;
8930
8185
  }
8931
8186
 
8932
- /**
8933
- * Texture
8934
- * @public
8935
- */
8936
- export declare interface UiVideoTexture {
8937
- videoPlayerEntity: Entity;
8938
- wrapMode?: TextureWrapType;
8939
- filterMode?: TextureFilterType;
8940
- }
8941
-
8942
8187
  /**
8943
8188
  * @public
8944
8189
  */