@dcl/playground-assets 7.28.1-34901226656.commit-44656ea → 7.28.1-34907286167.commit-d2f06b5
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 +23 -779
- package/dist/beta.d.ts +23 -779
- package/dist/index.bundled.d.ts +23 -779
- package/dist/index.js +7 -7
- package/dist/playground/sdk/apis.d.ts +2 -37
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +23 -779
- package/etc/playground-assets.api.json +3925 -11886
- package/etc/playground-assets.api.md +6 -506
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -279,39 +279,6 @@ export declare const enum AvatarAnchorPointType {
|
|
|
279
279
|
AAPT_RIGHT_TOE_BASE = 25
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
/**
|
|
283
|
-
* Mirror of the scene-driven movement animation currently playing, reported by the engine.
|
|
284
|
-
* Readable by any scene (not just the controller) so niche effects (e.g. dust cloud on landing) can react.
|
|
285
|
-
* Active emotes are not represented here — scenes already have their own way to read them.
|
|
286
|
-
*/
|
|
287
|
-
/**
|
|
288
|
-
* @public
|
|
289
|
-
*/
|
|
290
|
-
export declare interface AvatarAnimationState {
|
|
291
|
-
/** same scene-relative path the controlling scene supplied */
|
|
292
|
-
src: string;
|
|
293
|
-
/** mirrors the request */
|
|
294
|
-
loop: boolean;
|
|
295
|
-
/** mirrors the request */
|
|
296
|
-
speed: number;
|
|
297
|
-
/** mirrors the request */
|
|
298
|
-
idle: boolean;
|
|
299
|
-
/** seconds into the clip; wraps on loop; frozen while an emote override is playing */
|
|
300
|
-
playbackTime: number;
|
|
301
|
-
/** total clip length in seconds */
|
|
302
|
-
duration: number;
|
|
303
|
-
/** how many times the clip has completed since it started */
|
|
304
|
-
loopCount: number;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* @public
|
|
309
|
-
*/
|
|
310
|
-
export declare namespace AvatarAnimationState {
|
|
311
|
-
export function encode(message: AvatarAnimationState, writer?: _m0.Writer): _m0.Writer;
|
|
312
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarAnimationState;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
282
|
/** @public */
|
|
316
283
|
export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
|
317
284
|
|
|
@@ -321,21 +288,8 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
321
288
|
/** @public */
|
|
322
289
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
323
290
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* @public
|
|
328
|
-
*/
|
|
329
|
-
export declare type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* @public
|
|
333
|
-
* AvatarEquippedData with `forceRender` optional: the wire type is a repeated field (always present, so the
|
|
334
|
-
* generated type requires it), but a scene rarely needs it and shouldn't have to pass `[]`.
|
|
335
|
-
*/
|
|
336
|
-
export declare type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
337
|
-
forceRender?: string[] | undefined;
|
|
338
|
-
};
|
|
291
|
+
/** @public */
|
|
292
|
+
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
339
293
|
|
|
340
294
|
/** @public */
|
|
341
295
|
export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
@@ -364,30 +318,11 @@ export declare const enum AvatarModifierType {
|
|
|
364
318
|
AMT_HIDE_NAMETAGS = 2
|
|
365
319
|
}
|
|
366
320
|
|
|
367
|
-
/** @public */
|
|
368
|
-
export declare const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
|
|
369
|
-
|
|
370
|
-
/** @public */
|
|
371
|
-
export declare const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
|
|
372
|
-
|
|
373
321
|
/** @public */
|
|
374
322
|
export declare const AvatarNametag: LastWriteWinElementSetComponentDefinition<PBAvatarNametag>;
|
|
375
323
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* @public
|
|
380
|
-
*/
|
|
381
|
-
export declare type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* @public
|
|
385
|
-
* AvatarShape with `forceRender` optional: the wire type is a repeated field (always present, so the
|
|
386
|
-
* generated type requires it), but a scene rarely needs it and shouldn't have to pass `[]`.
|
|
387
|
-
*/
|
|
388
|
-
export declare type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
389
|
-
forceRender?: string[] | undefined;
|
|
390
|
-
};
|
|
324
|
+
/** @public */
|
|
325
|
+
export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
391
326
|
|
|
392
327
|
/**
|
|
393
328
|
* @public
|
|
@@ -656,17 +591,10 @@ export declare interface ByteBuffer {
|
|
|
656
591
|
}
|
|
657
592
|
|
|
658
593
|
/**
|
|
659
|
-
* Callback function to be triggered on a specified event
|
|
660
|
-
* fired it (button, hit, and for drags the pointer delta), which handlers may ignore.
|
|
594
|
+
* Callback function to be triggered on a specified event
|
|
661
595
|
* @public
|
|
662
596
|
*/
|
|
663
|
-
export declare type Callback = (
|
|
664
|
-
|
|
665
|
-
/** @public */
|
|
666
|
-
export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
667
|
-
|
|
668
|
-
/** @public */
|
|
669
|
-
export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
597
|
+
export declare type Callback = () => void;
|
|
670
598
|
|
|
671
599
|
/** @public */
|
|
672
600
|
export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
@@ -1519,23 +1447,16 @@ export declare const componentDefinitionByName: {
|
|
|
1519
1447
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
1520
1448
|
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
1521
1449
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
1522
|
-
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
1523
|
-
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
1524
1450
|
"core::AvatarNametag": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarNametag>>;
|
|
1525
1451
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
1526
1452
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
1527
|
-
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
1528
|
-
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
1529
1453
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
1530
1454
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
1531
1455
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
1532
1456
|
"core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
|
|
1533
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
1534
1457
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
1535
1458
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
1536
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
1537
1459
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
1538
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
1539
1460
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
1540
1461
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
1541
1462
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -1556,7 +1477,6 @@ export declare const componentDefinitionByName: {
|
|
|
1556
1477
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
1557
1478
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
1558
1479
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
1559
|
-
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
1560
1480
|
"core::TouchScreenControls": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>>;
|
|
1561
1481
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
1562
1482
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
@@ -1564,14 +1484,12 @@ export declare const componentDefinitionByName: {
|
|
|
1564
1484
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
1565
1485
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
1566
1486
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
1567
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
1568
1487
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
1569
1488
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
1570
1489
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
1571
1490
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
1572
1491
|
"core::UiInputBinding": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputBinding>>;
|
|
1573
1492
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
1574
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
1575
1493
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
1576
1494
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
1577
1495
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -2191,9 +2109,6 @@ export declare type EntityComponents = {
|
|
|
2191
2109
|
onMouseUp: Callback;
|
|
2192
2110
|
onMouseEnter: Callback;
|
|
2193
2111
|
onMouseLeave: Callback;
|
|
2194
|
-
onMouseDrag: Callback;
|
|
2195
|
-
onMouseDragLocked: Callback;
|
|
2196
|
-
onMouseDragEnd: Callback;
|
|
2197
2112
|
};
|
|
2198
2113
|
|
|
2199
2114
|
/** @public */
|
|
@@ -2548,9 +2463,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
|
|
|
2548
2463
|
direction?: PBVector3;
|
|
2549
2464
|
};
|
|
2550
2465
|
|
|
2551
|
-
/** @public */
|
|
2552
|
-
export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
2553
|
-
|
|
2554
2466
|
export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
|
|
2555
2467
|
|
|
2556
2468
|
export declare type GlobalTargetRaycastSystemOptions = {
|
|
@@ -2563,24 +2475,9 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
|
|
|
2563
2475
|
/** @public */
|
|
2564
2476
|
export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
2565
2477
|
|
|
2566
|
-
/** @public */
|
|
2567
|
-
export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
2568
|
-
|
|
2569
2478
|
/** @public */
|
|
2570
2479
|
export declare const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
2571
2480
|
|
|
2572
|
-
/** @public */
|
|
2573
|
-
export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
2574
|
-
|
|
2575
|
-
/**
|
|
2576
|
-
* @public
|
|
2577
|
-
*/
|
|
2578
|
-
export declare const enum GltfNodeStateValue {
|
|
2579
|
-
GNSV_PENDING = 0,
|
|
2580
|
-
GNSV_FAILED = 1,
|
|
2581
|
-
GNSV_READY = 2
|
|
2582
|
-
}
|
|
2583
|
-
|
|
2584
2481
|
/**
|
|
2585
2482
|
* @public
|
|
2586
2483
|
*/
|
|
@@ -3289,12 +3186,6 @@ export declare type Listeners = {
|
|
|
3289
3186
|
onMouseEnter?: Callback;
|
|
3290
3187
|
/** triggered on mouse leave event */
|
|
3291
3188
|
onMouseLeave?: Callback;
|
|
3292
|
-
/** triggered while the pointer is dragged after pressing on the element */
|
|
3293
|
-
onMouseDrag?: Callback;
|
|
3294
|
-
/** triggered while the pointer is dragged with the cursor locked in place */
|
|
3295
|
-
onMouseDragLocked?: Callback;
|
|
3296
|
-
/** triggered when a drag that started on the element ends */
|
|
3297
|
-
onMouseDragEnd?: Callback;
|
|
3298
3189
|
};
|
|
3299
3190
|
|
|
3300
3191
|
/**
|
|
@@ -4199,15 +4090,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
|
|
|
4199
4090
|
* @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
|
|
4200
4091
|
*/
|
|
4201
4092
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
4202
|
-
/**
|
|
4203
|
-
* @public
|
|
4204
|
-
* Set a mesh from inside a gltf in the MeshCollider component
|
|
4205
|
-
* @param entity - entity to create or replace the MeshCollider component
|
|
4206
|
-
* @param source - the path to the gltf
|
|
4207
|
-
* @param meshName - the name of the mesh in the gltf (see GltfContainerLoadingState.meshNames)
|
|
4208
|
-
* @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
|
|
4209
|
-
*/
|
|
4210
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
4211
4093
|
}
|
|
4212
4094
|
|
|
4213
4095
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
@@ -4244,14 +4126,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
|
|
|
4244
4126
|
* @param entity - entity to create or replace the MeshRenderer component
|
|
4245
4127
|
*/
|
|
4246
4128
|
setSphere(entity: Entity): void;
|
|
4247
|
-
/**
|
|
4248
|
-
* @public
|
|
4249
|
-
* Set a mesh from inside a gltf in the MeshRenderer component
|
|
4250
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
|
4251
|
-
* @param source - the path to the gltf
|
|
4252
|
-
* @param meshName - the name of the mesh in the gltf (see GltfContainerLoadingState.meshNames)
|
|
4253
|
-
*/
|
|
4254
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
4255
4129
|
}
|
|
4256
4130
|
|
|
4257
4131
|
/**
|
|
@@ -4300,39 +4174,6 @@ export declare namespace MoveContinuous {
|
|
|
4300
4174
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveContinuous;
|
|
4301
4175
|
}
|
|
4302
4176
|
|
|
4303
|
-
/**
|
|
4304
|
-
* Describes the animation the movement scene wants the avatar to play.
|
|
4305
|
-
* One GLB = one clip (following the scene-emote convention: single clip, or a clip named with `_Avatar` suffix).
|
|
4306
|
-
* When absent the engine falls back to its built-in velocity-based selection (walk/run/jump/idle).
|
|
4307
|
-
*/
|
|
4308
|
-
/**
|
|
4309
|
-
* @public
|
|
4310
|
-
*/
|
|
4311
|
-
export declare interface MovementAnimation {
|
|
4312
|
-
/** scene-relative path to the gltf/glb asset (resolved via the scene content map) */
|
|
4313
|
-
src: string;
|
|
4314
|
-
/** whether the clip repeats once it reaches the end */
|
|
4315
|
-
loop: boolean;
|
|
4316
|
-
/** playback speed multiplier (1.0 = clip's native rate) */
|
|
4317
|
-
speed: number;
|
|
4318
|
-
/** true: a triggerSceneEmote may take over; false: emotes are suppressed while this animation plays */
|
|
4319
|
-
idle: boolean;
|
|
4320
|
-
/** cross-fade duration when `src` changes; defaults to 0.2 when unset. Not applied to loop/speed/idle changes. */
|
|
4321
|
-
transitionSeconds?: number | undefined;
|
|
4322
|
-
/** if set, the engine seeks to this position (in seconds) this frame. Clear on subsequent frames to allow normal playback. The scene can read `AvatarAnimationState.playback_time` first to decide. */
|
|
4323
|
-
playbackTime?: number | undefined;
|
|
4324
|
-
/** scene-relative paths to audio clips (.mp3/.ogg) to play this frame on the avatar audio bus. Fire-and-forget: each listed clip plays once per frame it appears; leaving a clip set for multiple frames re-triggers it. No stop mechanism. Use `AvatarAnimationState.playback_time` to trigger sounds at the right point in the clip (e.g. foot plants). */
|
|
4325
|
-
sounds: string[];
|
|
4326
|
-
}
|
|
4327
|
-
|
|
4328
|
-
/**
|
|
4329
|
-
* @public
|
|
4330
|
-
*/
|
|
4331
|
-
export declare namespace MovementAnimation {
|
|
4332
|
-
export function encode(message: MovementAnimation, writer?: _m0.Writer): _m0.Writer;
|
|
4333
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): MovementAnimation;
|
|
4334
|
-
}
|
|
4335
|
-
|
|
4336
4177
|
/**
|
|
4337
4178
|
* @public
|
|
4338
4179
|
*/
|
|
@@ -4756,25 +4597,6 @@ export declare const onVideoEvent: Observable<{
|
|
|
4756
4597
|
totalVideoLength: number;
|
|
4757
4598
|
}>;
|
|
4758
4599
|
|
|
4759
|
-
/**
|
|
4760
|
-
* @public
|
|
4761
|
-
*/
|
|
4762
|
-
export declare interface Orthographic {
|
|
4763
|
-
/**
|
|
4764
|
-
* vertical extent of the visible range in meters
|
|
4765
|
-
* defaults to 4m
|
|
4766
|
-
*/
|
|
4767
|
-
verticalRange?: number | undefined;
|
|
4768
|
-
}
|
|
4769
|
-
|
|
4770
|
-
/**
|
|
4771
|
-
* @public
|
|
4772
|
-
*/
|
|
4773
|
-
export declare namespace Orthographic {
|
|
4774
|
-
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
4775
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
4776
|
-
}
|
|
4777
|
-
|
|
4778
4600
|
/**
|
|
4779
4601
|
* @public
|
|
4780
4602
|
* The overflow property controls what happens to content that is too big to fit into an area
|
|
@@ -5122,8 +4944,6 @@ export declare namespace PBAvatarEmoteCommand {
|
|
|
5122
4944
|
export declare interface PBAvatarEquippedData {
|
|
5123
4945
|
wearableUrns: string[];
|
|
5124
4946
|
emoteUrns: string[];
|
|
5125
|
-
/** slots that will render even if hidden */
|
|
5126
|
-
forceRender: string[];
|
|
5127
4947
|
}
|
|
5128
4948
|
|
|
5129
4949
|
/**
|
|
@@ -5194,8 +5014,6 @@ export declare interface PBAvatarModifierArea {
|
|
|
5194
5014
|
excludeIds: string[];
|
|
5195
5015
|
/** list of modifiers to apply */
|
|
5196
5016
|
modifiers: AvatarModifierType[];
|
|
5197
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
5198
|
-
useColliderRange?: boolean | undefined;
|
|
5199
5017
|
}
|
|
5200
5018
|
|
|
5201
5019
|
/**
|
|
@@ -5206,64 +5024,6 @@ export declare namespace PBAvatarModifierArea {
|
|
|
5206
5024
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarModifierArea;
|
|
5207
5025
|
}
|
|
5208
5026
|
|
|
5209
|
-
/**
|
|
5210
|
-
* @public
|
|
5211
|
-
*/
|
|
5212
|
-
export declare interface PBAvatarMovement {
|
|
5213
|
-
velocity: PBVector3 | undefined;
|
|
5214
|
-
/** 0-360, yaw only; this is the authoritative facing (other clients read it, and physics treats the avatar as upright). Lean is expressed separately via tilt_pitch/tilt_roll. */
|
|
5215
|
-
orientation: number;
|
|
5216
|
-
groundDirection?: PBVector3 | undefined;
|
|
5217
|
-
/** set for one frame when a walk_target ends: true = reached target, false = failed; absent = in progress or no walk */
|
|
5218
|
-
walkSuccess?: boolean | undefined;
|
|
5219
|
-
/** if set, the engine plays this animation instead of selecting one from velocity heuristics */
|
|
5220
|
-
animation?: MovementAnimation | undefined;
|
|
5221
|
-
/** render-only forward/back lean in degrees, applied on top of `orientation` (rotation about the avatar's local X axis). Does not affect the physics capsule (stays upright) or the facing other clients read. Defaults to 0. */
|
|
5222
|
-
tiltPitch?: number | undefined;
|
|
5223
|
-
/** render-only sideways lean in degrees, applied on top of `orientation` (rotation about the avatar's local Z axis). Same constraints as tilt_pitch. Useful e.g. for glider banking. Defaults to 0. */
|
|
5224
|
-
tiltRoll?: number | undefined;
|
|
5225
|
-
}
|
|
5226
|
-
|
|
5227
|
-
/**
|
|
5228
|
-
* @public
|
|
5229
|
-
*/
|
|
5230
|
-
export declare namespace PBAvatarMovement {
|
|
5231
|
-
export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
|
|
5232
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
|
|
5233
|
-
}
|
|
5234
|
-
|
|
5235
|
-
/**
|
|
5236
|
-
* @public
|
|
5237
|
-
*/
|
|
5238
|
-
export declare interface PBAvatarMovementInfo {
|
|
5239
|
-
/** the length of time the current step velocity will apply for */
|
|
5240
|
-
stepTime: number;
|
|
5241
|
-
/** the length of time the previous step velocity applied for */
|
|
5242
|
-
previousStepTime: number;
|
|
5243
|
-
/** the velocity requested for the previous frame */
|
|
5244
|
-
requestedVelocity: PBVector3 | undefined;
|
|
5245
|
-
/** the resulting velocity taking collisions into account */
|
|
5246
|
-
actualVelocity: PBVector3 | undefined;
|
|
5247
|
-
/** the velocity imparted by movement of the "ground" platform or pushing from other moving colliders */
|
|
5248
|
-
externalVelocity: PBVector3 | undefined;
|
|
5249
|
-
activeAvatarLocomotionSettings: PBAvatarLocomotionSettings | undefined;
|
|
5250
|
-
activeInputModifier: PBInputModifier | undefined;
|
|
5251
|
-
/** if set, the movement scene should walk the player to this scene-relative position */
|
|
5252
|
-
walkTarget?: PBVector3 | undefined;
|
|
5253
|
-
/** stop distance for walk_target; considered reached when within this distance */
|
|
5254
|
-
walkThreshold?: number | undefined;
|
|
5255
|
-
/** current state of a scene-driven movement animation. Absent when the engine is using its velocity-based fallback. `playback_time` freezes while a triggerSceneEmote is overriding the animation. */
|
|
5256
|
-
activeAnimationState?: AvatarAnimationState | undefined;
|
|
5257
|
-
}
|
|
5258
|
-
|
|
5259
|
-
/**
|
|
5260
|
-
* @public
|
|
5261
|
-
*/
|
|
5262
|
-
export declare namespace PBAvatarMovementInfo {
|
|
5263
|
-
export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
|
|
5264
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
|
|
5265
|
-
}
|
|
5266
|
-
|
|
5267
5027
|
/**
|
|
5268
5028
|
* The AvatarNametag component adds a plate with scene-provided text above an avatar's nametag,
|
|
5269
5029
|
* for example to show a rank or a role that the scene assigns to that player.
|
|
@@ -5354,8 +5114,6 @@ export declare interface PBAvatarShape {
|
|
|
5354
5114
|
emotes: string[];
|
|
5355
5115
|
/** hides the skin + hair + facial features (default: false) */
|
|
5356
5116
|
showOnlyWearables?: boolean | undefined;
|
|
5357
|
-
/** slots that will render even if hidden */
|
|
5358
|
-
forceRender: string[];
|
|
5359
5117
|
}
|
|
5360
5118
|
|
|
5361
5119
|
/**
|
|
@@ -5397,51 +5155,6 @@ export declare namespace PBBillboard {
|
|
|
5397
5155
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
|
|
5398
5156
|
}
|
|
5399
5157
|
|
|
5400
|
-
/**
|
|
5401
|
-
* @public
|
|
5402
|
-
*/
|
|
5403
|
-
export declare interface PBCameraLayer {
|
|
5404
|
-
/**
|
|
5405
|
-
* layer to which these settings apply. must be > 0
|
|
5406
|
-
* Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
|
|
5407
|
-
*/
|
|
5408
|
-
layer: number;
|
|
5409
|
-
/** should the sun light affect this layer? default false */
|
|
5410
|
-
directionalLight?: boolean | undefined;
|
|
5411
|
-
/** should this layer show player avatars? default false */
|
|
5412
|
-
showAvatars?: boolean | undefined;
|
|
5413
|
-
/** should this layer show the sky? default false */
|
|
5414
|
-
showSkybox?: boolean | undefined;
|
|
5415
|
-
/** should this layer show distance fog? default false */
|
|
5416
|
-
showFog?: boolean | undefined;
|
|
5417
|
-
/** ambient light overrides for this layer. default -> use same as main camera */
|
|
5418
|
-
ambientColorOverride?: PBColor3 | undefined;
|
|
5419
|
-
ambientBrightnessOverride?: number | undefined;
|
|
5420
|
-
}
|
|
5421
|
-
|
|
5422
|
-
/**
|
|
5423
|
-
* @public
|
|
5424
|
-
*/
|
|
5425
|
-
export declare namespace PBCameraLayer {
|
|
5426
|
-
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
5427
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
/**
|
|
5431
|
-
* @public
|
|
5432
|
-
*/
|
|
5433
|
-
export declare interface PBCameraLayers {
|
|
5434
|
-
layers: number[];
|
|
5435
|
-
}
|
|
5436
|
-
|
|
5437
|
-
/**
|
|
5438
|
-
* @public
|
|
5439
|
-
*/
|
|
5440
|
-
export declare namespace PBCameraLayers {
|
|
5441
|
-
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
5442
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
5443
|
-
}
|
|
5444
|
-
|
|
5445
5158
|
/**
|
|
5446
5159
|
* The CameraMode component can be used to determine whether the player is using a first-person o
|
|
5447
5160
|
* third-person view.
|
|
@@ -5483,8 +5196,6 @@ export declare interface PBCameraModeArea {
|
|
|
5483
5196
|
area: PBVector3 | undefined;
|
|
5484
5197
|
/** the camera mode to enforce */
|
|
5485
5198
|
mode: CameraType;
|
|
5486
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
5487
|
-
useColliderRange?: boolean | undefined;
|
|
5488
5199
|
}
|
|
5489
5200
|
|
|
5490
5201
|
/**
|
|
@@ -5618,39 +5329,6 @@ export declare namespace PBExplorerUiEventsResult_UiOpened {
|
|
|
5618
5329
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult_UiOpened;
|
|
5619
5330
|
}
|
|
5620
5331
|
|
|
5621
|
-
/**
|
|
5622
|
-
* defines the global scene light settings. must be added to the scene root.
|
|
5623
|
-
* to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
|
|
5624
|
-
*/
|
|
5625
|
-
/**
|
|
5626
|
-
* @public
|
|
5627
|
-
*/
|
|
5628
|
-
export declare interface PBGlobalLight {
|
|
5629
|
-
/**
|
|
5630
|
-
* the direction the directional light shines in.
|
|
5631
|
-
* default depends on time of day and explorer implementation
|
|
5632
|
-
*/
|
|
5633
|
-
direction?: PBVector3 | undefined;
|
|
5634
|
-
/**
|
|
5635
|
-
* ambient light color
|
|
5636
|
-
* default: White
|
|
5637
|
-
*/
|
|
5638
|
-
ambientColor?: PBColor3 | undefined;
|
|
5639
|
-
/**
|
|
5640
|
-
* ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
|
|
5641
|
-
* default 1
|
|
5642
|
-
*/
|
|
5643
|
-
ambientBrightness?: number | undefined;
|
|
5644
|
-
}
|
|
5645
|
-
|
|
5646
|
-
/**
|
|
5647
|
-
* @public
|
|
5648
|
-
*/
|
|
5649
|
-
export declare namespace PBGlobalLight {
|
|
5650
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
5651
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
5652
|
-
}
|
|
5653
|
-
|
|
5654
5332
|
/**
|
|
5655
5333
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
|
5656
5334
|
*
|
|
@@ -5686,25 +5364,6 @@ export declare namespace PBGltfContainer {
|
|
|
5686
5364
|
*/
|
|
5687
5365
|
export declare interface PBGltfContainerLoadingState {
|
|
5688
5366
|
currentState: LoadingState;
|
|
5689
|
-
/** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
|
|
5690
|
-
nodePaths: string[];
|
|
5691
|
-
/** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
|
|
5692
|
-
meshNames: string[];
|
|
5693
|
-
/**
|
|
5694
|
-
* where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
|
|
5695
|
-
* conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
|
|
5696
|
-
*/
|
|
5697
|
-
materialNames: string[];
|
|
5698
|
-
/**
|
|
5699
|
-
* X is the material index. note this may conflict with manually named materials - to avoid any issues make
|
|
5700
|
-
* sure all your materials are explicitly named.
|
|
5701
|
-
*/
|
|
5702
|
-
skinNames: string[];
|
|
5703
|
-
/**
|
|
5704
|
-
* X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
|
|
5705
|
-
* your skins are explicitly named.
|
|
5706
|
-
*/
|
|
5707
|
-
animationNames: string[];
|
|
5708
5367
|
}
|
|
5709
5368
|
|
|
5710
5369
|
/**
|
|
@@ -5715,57 +5374,6 @@ export declare namespace PBGltfContainerLoadingState {
|
|
|
5715
5374
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
|
|
5716
5375
|
}
|
|
5717
5376
|
|
|
5718
|
-
/**
|
|
5719
|
-
* a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
|
|
5720
|
-
* This component must be added to a direct child of an entity with a PBGltfContainer component, or
|
|
5721
|
-
* to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
|
|
5722
|
-
* in the parent.
|
|
5723
|
-
* The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
|
|
5724
|
-
*
|
|
5725
|
-
* The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
|
|
5726
|
-
* - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
|
|
5727
|
-
* - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
|
|
5728
|
-
* - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
|
|
5729
|
-
* - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
|
|
5730
|
-
*
|
|
5731
|
-
* After creation, if an animation moves the node, the `Transform` will be updated.
|
|
5732
|
-
*
|
|
5733
|
-
* From the scene, you can modify various components to alter the gltf node:
|
|
5734
|
-
* - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
|
|
5735
|
-
* regardless of any intermediate gltf node hierarchy.
|
|
5736
|
-
* If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
|
|
5737
|
-
* - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
|
|
5738
|
-
* - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
|
|
5739
|
-
* - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
|
|
5740
|
-
* - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
|
|
5741
|
-
* 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
|
|
5742
|
-
* PBMaterial will be maintained.
|
|
5743
|
-
*
|
|
5744
|
-
* The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
|
|
5745
|
-
* - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
|
|
5746
|
-
* change the state to `GNS_FAILED`.
|
|
5747
|
-
* - deleting the scene entity will not delete the gltf node.
|
|
5748
|
-
*
|
|
5749
|
-
* Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
|
|
5750
|
-
* are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
|
|
5751
|
-
* the gltf node will also be displayed.
|
|
5752
|
-
*/
|
|
5753
|
-
/**
|
|
5754
|
-
* @public
|
|
5755
|
-
*/
|
|
5756
|
-
export declare interface PBGltfNode {
|
|
5757
|
-
/** the path of the target node in the Gltf. */
|
|
5758
|
-
path: string;
|
|
5759
|
-
}
|
|
5760
|
-
|
|
5761
|
-
/**
|
|
5762
|
-
* @public
|
|
5763
|
-
*/
|
|
5764
|
-
export declare namespace PBGltfNode {
|
|
5765
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
5766
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
5767
|
-
}
|
|
5768
|
-
|
|
5769
5377
|
/**
|
|
5770
5378
|
* GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
|
|
5771
5379
|
*
|
|
@@ -5811,26 +5419,6 @@ export declare namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
5811
5419
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeModifiers_GltfNodeModifier;
|
|
5812
5420
|
}
|
|
5813
5421
|
|
|
5814
|
-
/**
|
|
5815
|
-
* The state of a linked gltf node.
|
|
5816
|
-
* If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
|
|
5817
|
-
*/
|
|
5818
|
-
/**
|
|
5819
|
-
* @public
|
|
5820
|
-
*/
|
|
5821
|
-
export declare interface PBGltfNodeState {
|
|
5822
|
-
state: GltfNodeStateValue;
|
|
5823
|
-
error?: string | undefined;
|
|
5824
|
-
}
|
|
5825
|
-
|
|
5826
|
-
/**
|
|
5827
|
-
* @public
|
|
5828
|
-
*/
|
|
5829
|
-
export declare namespace PBGltfNodeState {
|
|
5830
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
5831
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
5832
|
-
}
|
|
5833
|
-
|
|
5834
5422
|
/**
|
|
5835
5423
|
* @public
|
|
5836
5424
|
*/
|
|
@@ -5968,14 +5556,6 @@ export declare interface PBMaterial {
|
|
|
5968
5556
|
$case: "pbr";
|
|
5969
5557
|
pbr: PBMaterial_PbrMaterial;
|
|
5970
5558
|
} | undefined;
|
|
5971
|
-
/**
|
|
5972
|
-
* A gltf material that may provide additional features not supported by the PbMaterial fields.
|
|
5973
|
-
* If both gltf and material fields are provided, the gltf will be used only for extended features not
|
|
5974
|
-
* supported by the PbMaterial.
|
|
5975
|
-
* If this is provided and the `material` field is not provided, the renderer will update the material
|
|
5976
|
-
* field with data that reflects the gltf material once it is loaded.
|
|
5977
|
-
*/
|
|
5978
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
5979
5559
|
}
|
|
5980
5560
|
|
|
5981
5561
|
/**
|
|
@@ -5986,22 +5566,6 @@ export declare namespace PBMaterial {
|
|
|
5986
5566
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
|
5987
5567
|
}
|
|
5988
5568
|
|
|
5989
|
-
/**
|
|
5990
|
-
* @public
|
|
5991
|
-
*/
|
|
5992
|
-
export declare interface PBMaterial_GltfMaterial {
|
|
5993
|
-
gltfSrc: string;
|
|
5994
|
-
name: string;
|
|
5995
|
-
}
|
|
5996
|
-
|
|
5997
|
-
/**
|
|
5998
|
-
* @public
|
|
5999
|
-
*/
|
|
6000
|
-
export declare namespace PBMaterial_GltfMaterial {
|
|
6001
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
6002
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
6003
|
-
}
|
|
6004
|
-
|
|
6005
5569
|
/**
|
|
6006
5570
|
* @public
|
|
6007
5571
|
*/
|
|
@@ -6098,9 +5662,6 @@ export declare interface PBMeshCollider {
|
|
|
6098
5662
|
} | {
|
|
6099
5663
|
$case: "plane";
|
|
6100
5664
|
plane: PBMeshCollider_PlaneMesh;
|
|
6101
|
-
} | {
|
|
6102
|
-
$case: "gltf";
|
|
6103
|
-
gltf: PBMeshCollider_GltfMesh;
|
|
6104
5665
|
} | undefined;
|
|
6105
5666
|
}
|
|
6106
5667
|
|
|
@@ -6146,25 +5707,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
|
|
|
6146
5707
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
|
6147
5708
|
}
|
|
6148
5709
|
|
|
6149
|
-
/** A collider constructed from a Gltf Mesh. */
|
|
6150
|
-
/**
|
|
6151
|
-
* @public
|
|
6152
|
-
*/
|
|
6153
|
-
export declare interface PBMeshCollider_GltfMesh {
|
|
6154
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
|
6155
|
-
gltfSrc: string;
|
|
6156
|
-
/** the name of the mesh asset */
|
|
6157
|
-
name: string;
|
|
6158
|
-
}
|
|
6159
|
-
|
|
6160
|
-
/**
|
|
6161
|
-
* @public
|
|
6162
|
-
*/
|
|
6163
|
-
export declare namespace PBMeshCollider_GltfMesh {
|
|
6164
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
6165
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
6166
|
-
}
|
|
6167
|
-
|
|
6168
5710
|
/** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
|
|
6169
5711
|
/**
|
|
6170
5712
|
* @public
|
|
@@ -6197,11 +5739,13 @@ export declare namespace PBMeshCollider_SphereMesh {
|
|
|
6197
5739
|
|
|
6198
5740
|
/**
|
|
6199
5741
|
* The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
|
6200
|
-
* plane, a sphere
|
|
5742
|
+
* plane, a sphere or a cylinder.
|
|
6201
5743
|
*
|
|
6202
5744
|
* The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
|
6203
5745
|
* texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
|
6204
5746
|
* `float` coordinates, one for each corner of each side of each face.
|
|
5747
|
+
*
|
|
5748
|
+
* More complex shapes require the use of a `GltfContainer` component.
|
|
6205
5749
|
*/
|
|
6206
5750
|
/**
|
|
6207
5751
|
* @public
|
|
@@ -6219,9 +5763,6 @@ export declare interface PBMeshRenderer {
|
|
|
6219
5763
|
} | {
|
|
6220
5764
|
$case: "plane";
|
|
6221
5765
|
plane: PBMeshRenderer_PlaneMesh;
|
|
6222
|
-
} | {
|
|
6223
|
-
$case: "gltf";
|
|
6224
|
-
gltf: PBMeshRenderer_GltfMesh;
|
|
6225
5766
|
} | undefined;
|
|
6226
5767
|
}
|
|
6227
5768
|
|
|
@@ -6269,25 +5810,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
|
|
|
6269
5810
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
|
6270
5811
|
}
|
|
6271
5812
|
|
|
6272
|
-
/** A mesh from a Gltf. */
|
|
6273
|
-
/**
|
|
6274
|
-
* @public
|
|
6275
|
-
*/
|
|
6276
|
-
export declare interface PBMeshRenderer_GltfMesh {
|
|
6277
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
|
6278
|
-
gltfSrc: string;
|
|
6279
|
-
/** the name of the mesh asset */
|
|
6280
|
-
name: string;
|
|
6281
|
-
}
|
|
6282
|
-
|
|
6283
|
-
/**
|
|
6284
|
-
* @public
|
|
6285
|
-
*/
|
|
6286
|
-
export declare namespace PBMeshRenderer_GltfMesh {
|
|
6287
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
6288
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
6289
|
-
}
|
|
6290
|
-
|
|
6291
5813
|
/** PlaneMesh renders a 2D rectangular shape. */
|
|
6292
5814
|
/**
|
|
6293
5815
|
* @public
|
|
@@ -6884,10 +6406,7 @@ export declare interface PBPrimaryPointerInfo {
|
|
|
6884
6406
|
screenCoordinates?: PBVector2 | undefined;
|
|
6885
6407
|
/** Movement since last frame (pixels) */
|
|
6886
6408
|
screenDelta?: PBVector2 | undefined;
|
|
6887
|
-
/**
|
|
6888
|
-
* ray direction that can be used with the primary camera origin for
|
|
6889
|
-
* raycasting from the cursor into the world
|
|
6890
|
-
*/
|
|
6409
|
+
/** Direction vector for 3D ray casting */
|
|
6891
6410
|
worldRayDirection?: PBVector3 | undefined;
|
|
6892
6411
|
}
|
|
6893
6412
|
|
|
@@ -6958,10 +6477,6 @@ export declare interface PBRaycast {
|
|
|
6958
6477
|
continuous?: boolean | undefined;
|
|
6959
6478
|
/** Collision mask, by default CL_POINTER | CL_PHYSICS */
|
|
6960
6479
|
collisionMask?: number | undefined;
|
|
6961
|
-
/** shape to cast, default ray */
|
|
6962
|
-
shape?: RaycastShape | undefined;
|
|
6963
|
-
/** include hits with entities from other scenes */
|
|
6964
|
-
includeWorld?: boolean | undefined;
|
|
6965
6480
|
}
|
|
6966
6481
|
|
|
6967
6482
|
/**
|
|
@@ -7107,8 +6622,6 @@ export declare interface PBTextShape {
|
|
|
7107
6622
|
outlineColor?: PBColor3 | undefined;
|
|
7108
6623
|
/** text color (default [1.0, 1.0, 1.0]) */
|
|
7109
6624
|
textColor?: PBColor4 | undefined;
|
|
7110
|
-
/** a font file in the scene, or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
7111
|
-
fontSrc?: string | undefined;
|
|
7112
6625
|
}
|
|
7113
6626
|
|
|
7114
6627
|
/**
|
|
@@ -7119,46 +6632,6 @@ export declare namespace PBTextShape {
|
|
|
7119
6632
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
|
|
7120
6633
|
}
|
|
7121
6634
|
|
|
7122
|
-
/**
|
|
7123
|
-
* @public
|
|
7124
|
-
*/
|
|
7125
|
-
export declare interface PBTextureCamera {
|
|
7126
|
-
/** rendered texture width */
|
|
7127
|
-
width?: number | undefined;
|
|
7128
|
-
/** rendered texture height */
|
|
7129
|
-
height?: number | undefined;
|
|
7130
|
-
/**
|
|
7131
|
-
* which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
|
|
7132
|
-
* defaults to 0
|
|
7133
|
-
*/
|
|
7134
|
-
layer?: number | undefined;
|
|
7135
|
-
/** default black */
|
|
7136
|
-
clearColor?: PBColor4 | undefined;
|
|
7137
|
-
/** default infinity */
|
|
7138
|
-
farPlane?: number | undefined;
|
|
7139
|
-
mode?: {
|
|
7140
|
-
$case: "perspective";
|
|
7141
|
-
perspective: Perspective;
|
|
7142
|
-
} | {
|
|
7143
|
-
$case: "orthographic";
|
|
7144
|
-
orthographic: Orthographic;
|
|
7145
|
-
} | undefined;
|
|
7146
|
-
/**
|
|
7147
|
-
* controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
|
|
7148
|
-
* range: 0 (off) - 1 (full volume)
|
|
7149
|
-
* default: 0
|
|
7150
|
-
*/
|
|
7151
|
-
volume?: number | undefined;
|
|
7152
|
-
}
|
|
7153
|
-
|
|
7154
|
-
/**
|
|
7155
|
-
* @public
|
|
7156
|
-
*/
|
|
7157
|
-
export declare namespace PBTextureCamera {
|
|
7158
|
-
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
7159
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
7160
|
-
}
|
|
7161
|
-
|
|
7162
6635
|
/**
|
|
7163
6636
|
* The TouchScreenControls component lets a scene configure the native on-screen touch
|
|
7164
6637
|
* controls (the mobile joystick + gamepad). It must be set on the RootEntity.
|
|
@@ -7404,25 +6877,6 @@ export declare namespace PBUiBackground {
|
|
|
7404
6877
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
|
7405
6878
|
}
|
|
7406
6879
|
|
|
7407
|
-
/** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
|
|
7408
|
-
/**
|
|
7409
|
-
* @public
|
|
7410
|
-
*/
|
|
7411
|
-
export declare interface PBUiCanvas {
|
|
7412
|
-
width: number;
|
|
7413
|
-
height: number;
|
|
7414
|
-
/** default = (0.0, 0.0, 0.0, 0.0) / transparent */
|
|
7415
|
-
color?: PBColor4 | undefined;
|
|
7416
|
-
}
|
|
7417
|
-
|
|
7418
|
-
/**
|
|
7419
|
-
* @public
|
|
7420
|
-
*/
|
|
7421
|
-
export declare namespace PBUiCanvas {
|
|
7422
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
7423
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
7424
|
-
}
|
|
7425
|
-
|
|
7426
6880
|
/** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
|
|
7427
6881
|
/**
|
|
7428
6882
|
* @public
|
|
@@ -7478,8 +6932,6 @@ export declare interface PBUiDropdown {
|
|
|
7478
6932
|
font?: Font | undefined;
|
|
7479
6933
|
/** default=10 */
|
|
7480
6934
|
fontSize?: number | undefined;
|
|
7481
|
-
/** a font file in the scene, or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
7482
|
-
fontSrc?: string | undefined;
|
|
7483
6935
|
}
|
|
7484
6936
|
|
|
7485
6937
|
/**
|
|
@@ -7522,12 +6974,6 @@ export declare interface PBUiInput {
|
|
|
7522
6974
|
/** default=10 */
|
|
7523
6975
|
fontSize?: number | undefined;
|
|
7524
6976
|
value?: string | undefined;
|
|
7525
|
-
/** default=false; when true, the input accepts newlines and behaves as a textarea */
|
|
7526
|
-
multiLine?: boolean | undefined;
|
|
7527
|
-
/** default=true; when false, the input value is preserved after pressing Enter */
|
|
7528
|
-
clearOnSubmit?: boolean | undefined;
|
|
7529
|
-
/** a font file in the scene, or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
7530
|
-
fontSrc?: string | undefined;
|
|
7531
6977
|
}
|
|
7532
6978
|
|
|
7533
6979
|
/**
|
|
@@ -7591,21 +7037,6 @@ export declare namespace PBUiInputResult {
|
|
|
7591
7037
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
|
|
7592
7038
|
}
|
|
7593
7039
|
|
|
7594
|
-
/**
|
|
7595
|
-
* @public
|
|
7596
|
-
*/
|
|
7597
|
-
export declare interface PBUiScrollResult {
|
|
7598
|
-
value: PBVector2 | undefined;
|
|
7599
|
-
}
|
|
7600
|
-
|
|
7601
|
-
/**
|
|
7602
|
-
* @public
|
|
7603
|
-
*/
|
|
7604
|
-
export declare namespace PBUiScrollResult {
|
|
7605
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
7606
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
7607
|
-
}
|
|
7608
|
-
|
|
7609
7040
|
/**
|
|
7610
7041
|
* @public
|
|
7611
7042
|
*/
|
|
@@ -7622,8 +7053,6 @@ export declare interface PBUiText {
|
|
|
7622
7053
|
fontSize?: number | undefined;
|
|
7623
7054
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
|
7624
7055
|
textWrap?: TextWrap | undefined;
|
|
7625
|
-
/** a font file in the scene, or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
7626
|
-
fontSrc?: string | undefined;
|
|
7627
7056
|
}
|
|
7628
7057
|
|
|
7629
7058
|
/**
|
|
@@ -7751,12 +7180,6 @@ export declare interface PBUiTransform {
|
|
|
7751
7180
|
borderRightColor?: PBColor4 | undefined;
|
|
7752
7181
|
/** default: 1 */
|
|
7753
7182
|
opacity?: number | undefined;
|
|
7754
|
-
/** reference for scroll_position. default empty */
|
|
7755
|
-
elementId?: string | undefined;
|
|
7756
|
-
/** default position=(0,0) */
|
|
7757
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
|
7758
|
-
/** default ShowScrollBar.SSB_BOTH */
|
|
7759
|
-
scrollVisible?: ShowScrollBar | undefined;
|
|
7760
7183
|
/** default: 0 — controls render stacking order. Higher values appear in front of lower values. */
|
|
7761
7184
|
zIndex?: number | undefined;
|
|
7762
7185
|
}
|
|
@@ -7909,25 +7332,6 @@ export declare namespace PBVisibilityComponent {
|
|
|
7909
7332
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
|
|
7910
7333
|
}
|
|
7911
7334
|
|
|
7912
|
-
/**
|
|
7913
|
-
* @public
|
|
7914
|
-
*/
|
|
7915
|
-
export declare interface Perspective {
|
|
7916
|
-
/**
|
|
7917
|
-
* vertical field of view in radians
|
|
7918
|
-
* defaults to pi/4 = 45 degrees
|
|
7919
|
-
*/
|
|
7920
|
-
fieldOfView?: number | undefined;
|
|
7921
|
-
}
|
|
7922
|
-
|
|
7923
|
-
/**
|
|
7924
|
-
* @public
|
|
7925
|
-
*/
|
|
7926
|
-
export declare namespace Perspective {
|
|
7927
|
-
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
7928
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
7929
|
-
}
|
|
7930
|
-
|
|
7931
7335
|
/**
|
|
7932
7336
|
* @public
|
|
7933
7337
|
* Physics helpers for applying impulses and forces to the player.
|
|
@@ -8169,24 +7573,6 @@ export declare interface PointerEventsSystem {
|
|
|
8169
7573
|
* @param entity - Entity where the callback was attached
|
|
8170
7574
|
*/
|
|
8171
7575
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
8172
|
-
/**
|
|
8173
|
-
* @public
|
|
8174
|
-
* Remove the callback for onPointerDrag event
|
|
8175
|
-
* @param entity - Entity where the callback was attached
|
|
8176
|
-
*/
|
|
8177
|
-
removeOnPointerDrag(entity: Entity): void;
|
|
8178
|
-
/**
|
|
8179
|
-
* @public
|
|
8180
|
-
* Remove the callback for onPointerDragLocked event
|
|
8181
|
-
* @param entity - Entity where the callback was attached
|
|
8182
|
-
*/
|
|
8183
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
|
8184
|
-
/**
|
|
8185
|
-
* @public
|
|
8186
|
-
* Remove the callback for onPointerDragEnd event
|
|
8187
|
-
* @param entity - Entity where the callback was attached
|
|
8188
|
-
*/
|
|
8189
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
|
8190
7576
|
/**
|
|
8191
7577
|
* @public
|
|
8192
7578
|
* Remove the callback for onProximityDown event
|
|
@@ -8265,36 +7651,6 @@ export declare interface PointerEventsSystem {
|
|
|
8265
7651
|
entity: Entity;
|
|
8266
7652
|
opts?: Partial<EventSystemOptions>;
|
|
8267
7653
|
}, cb: EventSystemCallback): void;
|
|
8268
|
-
/**
|
|
8269
|
-
* @public
|
|
8270
|
-
* Execute callback while the user holds the button pressed and moves the pointer, having pressed it on the entity
|
|
8271
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
8272
|
-
* @param cb - Function to execute on every drag update
|
|
8273
|
-
*/
|
|
8274
|
-
onPointerDrag(pointerData: {
|
|
8275
|
-
entity: Entity;
|
|
8276
|
-
opts?: Partial<EventSystemOptions>;
|
|
8277
|
-
}, cb: EventSystemCallback): void;
|
|
8278
|
-
/**
|
|
8279
|
-
* @public
|
|
8280
|
-
* Same as onPointerDrag, but the cursor is locked in place for the duration of the drag
|
|
8281
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
8282
|
-
* @param cb - Function to execute on every drag update
|
|
8283
|
-
*/
|
|
8284
|
-
onPointerDragLocked(pointerData: {
|
|
8285
|
-
entity: Entity;
|
|
8286
|
-
opts?: Partial<EventSystemOptions>;
|
|
8287
|
-
}, cb: EventSystemCallback): void;
|
|
8288
|
-
/**
|
|
8289
|
-
* @public
|
|
8290
|
-
* Execute callback when the user releases the button after a drag that started on the entity
|
|
8291
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
8292
|
-
* @param cb - Function to execute when the drag ends
|
|
8293
|
-
*/
|
|
8294
|
-
onPointerDragEnd(pointerData: {
|
|
8295
|
-
entity: Entity;
|
|
8296
|
-
opts?: Partial<EventSystemOptions>;
|
|
8297
|
-
}, cb: EventSystemCallback): void;
|
|
8298
7654
|
/**
|
|
8299
7655
|
* @public
|
|
8300
7656
|
* Execute callback when the user presses the proximity button on the entity
|
|
@@ -8353,10 +7709,7 @@ export declare const enum PointerEventType {
|
|
|
8353
7709
|
PET_HOVER_ENTER = 2,
|
|
8354
7710
|
PET_HOVER_LEAVE = 3,
|
|
8355
7711
|
PET_PROXIMITY_ENTER = 4,
|
|
8356
|
-
PET_PROXIMITY_LEAVE = 5
|
|
8357
|
-
PET_DRAG_LOCKED = 6,
|
|
8358
|
-
PET_DRAG = 7,
|
|
8359
|
-
PET_DRAG_END = 8
|
|
7712
|
+
PET_PROXIMITY_LEAVE = 5
|
|
8360
7713
|
}
|
|
8361
7714
|
|
|
8362
7715
|
/**
|
|
@@ -8387,10 +7740,7 @@ export declare const enum PointerType {
|
|
|
8387
7740
|
/** POT_NONE - No pointer input */
|
|
8388
7741
|
POT_NONE = 0,
|
|
8389
7742
|
/** POT_MOUSE - Traditional mouse input */
|
|
8390
|
-
POT_MOUSE = 1
|
|
8391
|
-
POT_PAD = 2,
|
|
8392
|
-
POT_TOUCH = 3,
|
|
8393
|
-
POT_WAND = 4
|
|
7743
|
+
POT_MOUSE = 1
|
|
8394
7744
|
}
|
|
8395
7745
|
|
|
8396
7746
|
/**
|
|
@@ -8847,16 +8197,6 @@ export declare const enum RaycastQueryType {
|
|
|
8847
8197
|
/** @public */
|
|
8848
8198
|
export declare const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
8849
8199
|
|
|
8850
|
-
/**
|
|
8851
|
-
* @public
|
|
8852
|
-
*/
|
|
8853
|
-
export declare const enum RaycastShape {
|
|
8854
|
-
/** RS_RAY - cast a point, get collisions along a ray */
|
|
8855
|
-
RS_RAY = 0,
|
|
8856
|
-
/** RS_AVATAR - cast the avatar collider shape, get collisions from sweeping the shape */
|
|
8857
|
-
RS_AVATAR = 1
|
|
8858
|
-
}
|
|
8859
|
-
|
|
8860
8200
|
/**
|
|
8861
8201
|
* @public
|
|
8862
8202
|
*/
|
|
@@ -8989,10 +8329,6 @@ export declare type RaycastSystemOptions = {
|
|
|
8989
8329
|
queryType: RaycastQueryType;
|
|
8990
8330
|
continuous?: boolean | undefined;
|
|
8991
8331
|
collisionMask?: number | undefined;
|
|
8992
|
-
/** shape to sweep along the ray, default RS_RAY (a point) */
|
|
8993
|
-
shape?: RaycastShape | undefined;
|
|
8994
|
-
/** include colliders from other scenes, default false */
|
|
8995
|
-
includeWorld?: boolean | undefined;
|
|
8996
8332
|
};
|
|
8997
8333
|
|
|
8998
8334
|
/**
|
|
@@ -9041,20 +8377,6 @@ export declare interface ReactBasedUiSystem {
|
|
|
9041
8377
|
* @param entity - The entity whose UI renderer should be removed
|
|
9042
8378
|
*/
|
|
9043
8379
|
removeUiRenderer(entity: Entity): void;
|
|
9044
|
-
/**
|
|
9045
|
-
* Render a UI tree to a texture. The tree is rooted at `entity`, which must carry a UiCanvas
|
|
9046
|
-
* describing the texture; the result can be sampled through `TextureUnion.uiTexture`. Replaces
|
|
9047
|
-
* any texture renderer already set on the entity, and is torn down when the entity is removed.
|
|
9048
|
-
*
|
|
9049
|
-
* @param entity - The UiCanvas entity the UI tree hangs from
|
|
9050
|
-
* @param ui - The UI component to render
|
|
9051
|
-
*/
|
|
9052
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
9053
|
-
/**
|
|
9054
|
-
* Remove a texture renderer previously set with setTextureRenderer(), destroying its entities.
|
|
9055
|
-
* @param entity - The UiCanvas entity the renderer was set on
|
|
9056
|
-
*/
|
|
9057
|
-
removeTextureRenderer(entity: Entity): void;
|
|
9058
8380
|
}
|
|
9059
8381
|
|
|
9060
8382
|
/**
|
|
@@ -9218,7 +8540,7 @@ export declare type ReadOnlyLastWriteWinElementSetComponentDefinition<T> = Omit<
|
|
|
9218
8540
|
/**
|
|
9219
8541
|
* @public
|
|
9220
8542
|
*/
|
|
9221
|
-
export declare type ReadonlyPrimitive = number | string |
|
|
8543
|
+
export declare type ReadonlyPrimitive = number | string | boolean;
|
|
9222
8544
|
|
|
9223
8545
|
/** @public */
|
|
9224
8546
|
export declare const RealmInfo: LastWriteWinElementSetComponentDefinition<PBRealmInfo>;
|
|
@@ -9645,33 +8967,6 @@ export declare namespace Schemas {
|
|
|
9645
8967
|
*/
|
|
9646
8968
|
export declare function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
|
|
9647
8969
|
|
|
9648
|
-
/**
|
|
9649
|
-
* @public
|
|
9650
|
-
*/
|
|
9651
|
-
export declare interface ScrollPositionValue {
|
|
9652
|
-
value?: {
|
|
9653
|
-
$case: "position";
|
|
9654
|
-
position: PBVector2;
|
|
9655
|
-
} | {
|
|
9656
|
-
$case: "reference";
|
|
9657
|
-
reference: string;
|
|
9658
|
-
} | undefined;
|
|
9659
|
-
}
|
|
9660
|
-
|
|
9661
|
-
/**
|
|
9662
|
-
* @public
|
|
9663
|
-
*/
|
|
9664
|
-
export declare namespace ScrollPositionValue {
|
|
9665
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
9666
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
9667
|
-
}
|
|
9668
|
-
|
|
9669
|
-
/**
|
|
9670
|
-
* Which scrollbars are shown when the overflow is scrollable
|
|
9671
|
-
* @public
|
|
9672
|
-
*/
|
|
9673
|
-
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
9674
|
-
|
|
9675
8970
|
/**
|
|
9676
8971
|
* Register the composite provider used to resolve composite files. Also registers
|
|
9677
8972
|
* any `provider.schemas` on the engine pre-seal so composites that reference those
|
|
@@ -9697,16 +8992,6 @@ export declare interface SetMoveRotateScaleParams extends MoveRotateScaleModePar
|
|
|
9697
8992
|
easingFunction?: EasingFunction;
|
|
9698
8993
|
}
|
|
9699
8994
|
|
|
9700
|
-
/**
|
|
9701
|
-
* @public
|
|
9702
|
-
*/
|
|
9703
|
-
export declare const enum ShowScrollBar {
|
|
9704
|
-
SSB_BOTH = 0,
|
|
9705
|
-
SSB_ONLY_VERTICAL = 1,
|
|
9706
|
-
SSB_ONLY_HORIZONTAL = 2,
|
|
9707
|
-
SSB_HIDDEN = 3
|
|
9708
|
-
}
|
|
9709
|
-
|
|
9710
8995
|
/** @public */
|
|
9711
8996
|
export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
9712
8997
|
|
|
@@ -9818,9 +9103,6 @@ export declare namespace Texture {
|
|
|
9818
9103
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
|
|
9819
9104
|
}
|
|
9820
9105
|
|
|
9821
|
-
/** @public */
|
|
9822
|
-
export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
9823
|
-
|
|
9824
9106
|
/**
|
|
9825
9107
|
* @public
|
|
9826
9108
|
*/
|
|
@@ -9931,9 +9213,6 @@ export declare interface TextureUnion {
|
|
|
9931
9213
|
} | {
|
|
9932
9214
|
$case: "videoTexture";
|
|
9933
9215
|
videoTexture: VideoTexture;
|
|
9934
|
-
} | {
|
|
9935
|
-
$case: "uiTexture";
|
|
9936
|
-
uiTexture: UiCanvasTexture;
|
|
9937
9216
|
} | undefined;
|
|
9938
9217
|
}
|
|
9939
9218
|
|
|
@@ -10472,8 +9751,6 @@ export declare interface UiBackgroundProps {
|
|
|
10472
9751
|
uvs?: number[];
|
|
10473
9752
|
/** AvatarTexture for the background */
|
|
10474
9753
|
avatarTexture?: UiAvatarTexture;
|
|
10475
|
-
/** VideoTexture for the background: the frames of a VideoPlayer on another entity */
|
|
10476
|
-
videoTexture?: UiVideoTexture;
|
|
10477
9754
|
/** Texture for the background */
|
|
10478
9755
|
texture?: UiTexture;
|
|
10479
9756
|
}
|
|
@@ -10493,31 +9770,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
10493
9770
|
disabled?: boolean;
|
|
10494
9771
|
}
|
|
10495
9772
|
|
|
10496
|
-
/** @public */
|
|
10497
|
-
export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
10498
|
-
|
|
10499
9773
|
/** @public */
|
|
10500
9774
|
export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
10501
9775
|
|
|
10502
|
-
/**
|
|
10503
|
-
* @public
|
|
10504
|
-
*/
|
|
10505
|
-
export declare interface UiCanvasTexture {
|
|
10506
|
-
uiCanvasEntity: number;
|
|
10507
|
-
/** default = TextureWrapMode.Clamp */
|
|
10508
|
-
wrapMode?: TextureWrapMode | undefined;
|
|
10509
|
-
/** default = FilterMode.Bilinear */
|
|
10510
|
-
filterMode?: TextureFilterMode | undefined;
|
|
10511
|
-
}
|
|
10512
|
-
|
|
10513
|
-
/**
|
|
10514
|
-
* @public
|
|
10515
|
-
*/
|
|
10516
|
-
export declare namespace UiCanvasTexture {
|
|
10517
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
10518
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
10519
|
-
}
|
|
10520
|
-
|
|
10521
9776
|
/**
|
|
10522
9777
|
* @public
|
|
10523
9778
|
*/
|
|
@@ -10615,8 +9870,6 @@ export declare interface UiLabelProps {
|
|
|
10615
9870
|
font?: UiFontType | undefined;
|
|
10616
9871
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
|
10617
9872
|
textWrap?: UiTextWrapType | undefined;
|
|
10618
|
-
/** A font file in the scene, or a Google Fonts family name; `font` is the fallback. @defaultValue undefined */
|
|
10619
|
-
fontSrc?: string | undefined;
|
|
10620
9873
|
}
|
|
10621
9874
|
|
|
10622
9875
|
/**
|
|
@@ -10637,6 +9890,16 @@ export declare type UiRendererOptions = {
|
|
|
10637
9890
|
* can use different insets simultaneously.
|
|
10638
9891
|
*/
|
|
10639
9892
|
screenInset?: UiScreenInset;
|
|
9893
|
+
/**
|
|
9894
|
+
* Stacking order of this renderer's UI relative to the other renderers (the main
|
|
9895
|
+
* one and every `addUiRenderer`). Higher values render in front. When omitted,
|
|
9896
|
+
* renderers stack in the order they first render, later ones on top; among those
|
|
9897
|
+
* first rendered in the same tick the main UI goes at the back.
|
|
9898
|
+
*
|
|
9899
|
+
* It is applied to the renderer's root container entity, so it only orders whole
|
|
9900
|
+
* renderers against each other; elements inside a renderer keep their own `zIndex`.
|
|
9901
|
+
*/
|
|
9902
|
+
zIndex?: number;
|
|
10640
9903
|
};
|
|
10641
9904
|
|
|
10642
9905
|
/**
|
|
@@ -10672,9 +9935,6 @@ export declare type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'
|
|
|
10672
9935
|
uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
|
|
10673
9936
|
};
|
|
10674
9937
|
|
|
10675
|
-
/** @public */
|
|
10676
|
-
export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
10677
|
-
|
|
10678
9938
|
/** @public */
|
|
10679
9939
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
10680
9940
|
|
|
@@ -10754,22 +10014,6 @@ export declare interface UiTransformProps {
|
|
|
10754
10014
|
opacity?: number;
|
|
10755
10015
|
/** default 0 */
|
|
10756
10016
|
zIndex?: number;
|
|
10757
|
-
/** A reference id for the element, e.g. as a scrollPosition target or for SetUiFocus. default empty */
|
|
10758
|
-
elementId?: string;
|
|
10759
|
-
/** Scroll offset when overflow is 'scroll': a position, or the elementId of a child to scroll to. default (0, 0) */
|
|
10760
|
-
scrollPosition?: PBVector2 | string;
|
|
10761
|
-
/** Which scrollbars to show when overflow is 'scroll'. default 'both' */
|
|
10762
|
-
scrollVisible?: ScrollVisibleType;
|
|
10763
|
-
}
|
|
10764
|
-
|
|
10765
|
-
/**
|
|
10766
|
-
* Video Texture
|
|
10767
|
-
* @public
|
|
10768
|
-
*/
|
|
10769
|
-
export declare interface UiVideoTexture {
|
|
10770
|
-
videoPlayerEntity: Entity;
|
|
10771
|
-
wrapMode?: TextureWrapType;
|
|
10772
|
-
filterMode?: TextureFilterType;
|
|
10773
10017
|
}
|
|
10774
10018
|
|
|
10775
10019
|
/**
|