@dcl/playground-assets 7.12.2 → 7.12.3-19242573384.commit-09d14b4
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 +784 -251
- package/dist/beta.d.ts +784 -251
- package/dist/index.bundled.d.ts +784 -251
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +17 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +784 -251
- package/etc/playground-assets.api.json +20685 -15196
- package/etc/playground-assets.api.md +523 -90
- package/package.json +4 -4
|
@@ -136,11 +136,30 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
|
136
136
|
// @public (undocumented)
|
|
137
137
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
138
138
|
|
|
139
|
+
// @public (undocumented)
|
|
140
|
+
export const enum AvatarControlType {
|
|
141
|
+
CCT_NONE = 0,
|
|
142
|
+
CCT_RELATIVE = 1,
|
|
143
|
+
CCT_TANK = 2
|
|
144
|
+
}
|
|
145
|
+
|
|
139
146
|
// @public (undocumented)
|
|
140
147
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
141
148
|
|
|
149
|
+
// Warning: (ae-missing-release-tag) "AvatarEquippedData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
150
|
+
//
|
|
151
|
+
// @public (undocumented)
|
|
152
|
+
export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
|
|
153
|
+
|
|
142
154
|
// @public (undocumented)
|
|
143
|
-
export
|
|
155
|
+
export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
156
|
+
|
|
157
|
+
// Warning: (ae-missing-release-tag) "AvatarEquippedDataType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
158
|
+
//
|
|
159
|
+
// @public (undocumented)
|
|
160
|
+
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
161
|
+
forceRender?: string[] | undefined;
|
|
162
|
+
};
|
|
144
163
|
|
|
145
164
|
// @public (undocumented)
|
|
146
165
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
@@ -152,7 +171,41 @@ export const enum AvatarModifierType {
|
|
|
152
171
|
}
|
|
153
172
|
|
|
154
173
|
// @public (undocumented)
|
|
155
|
-
export
|
|
174
|
+
export interface AvatarMovementSettings {
|
|
175
|
+
allowWeightedMovement?: boolean | undefined;
|
|
176
|
+
// (undocumented)
|
|
177
|
+
controlMode?: AvatarControlType | undefined;
|
|
178
|
+
friction?: number | undefined;
|
|
179
|
+
gravity?: number | undefined;
|
|
180
|
+
jumpHeight?: number | undefined;
|
|
181
|
+
maxFallSpeed?: number | undefined;
|
|
182
|
+
runSpeed?: number | undefined;
|
|
183
|
+
turnSpeed?: number | undefined;
|
|
184
|
+
walkSpeed?: number | undefined;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// @public (undocumented)
|
|
188
|
+
export namespace AvatarMovementSettings {
|
|
189
|
+
// (undocumented)
|
|
190
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
191
|
+
// (undocumented)
|
|
192
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// Warning: (ae-missing-release-tag) "AvatarShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
196
|
+
//
|
|
197
|
+
// @public (undocumented)
|
|
198
|
+
export const AvatarShape: AvatarShapeComponentDefinitionExtended;
|
|
199
|
+
|
|
200
|
+
// @public (undocumented)
|
|
201
|
+
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
202
|
+
|
|
203
|
+
// Warning: (ae-missing-release-tag) "AvatarShapeType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
204
|
+
//
|
|
205
|
+
// @public (undocumented)
|
|
206
|
+
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
207
|
+
forceRender?: string[] | undefined;
|
|
208
|
+
};
|
|
156
209
|
|
|
157
210
|
// @public (undocumented)
|
|
158
211
|
export interface AvatarTexture {
|
|
@@ -356,9 +409,15 @@ export interface ByteBuffer {
|
|
|
356
409
|
writeUtf8String(value: string, writeLength?: boolean): void;
|
|
357
410
|
}
|
|
358
411
|
|
|
359
|
-
// @public
|
|
412
|
+
// @public @deprecated
|
|
360
413
|
export type Callback = () => void;
|
|
361
414
|
|
|
415
|
+
// @public (undocumented)
|
|
416
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
417
|
+
|
|
418
|
+
// @public (undocumented)
|
|
419
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
420
|
+
|
|
362
421
|
// @public (undocumented)
|
|
363
422
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
364
423
|
|
|
@@ -407,6 +466,29 @@ export const enum CameraType {
|
|
|
407
466
|
// @public (undocumented)
|
|
408
467
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
409
468
|
|
|
469
|
+
// @public (undocumented)
|
|
470
|
+
export interface CinematicSettings {
|
|
471
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
472
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
473
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
474
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
475
|
+
allowManualRotation?: boolean | undefined;
|
|
476
|
+
cameraEntity: number;
|
|
477
|
+
pitchRange?: number | undefined;
|
|
478
|
+
rollRange?: number | undefined;
|
|
479
|
+
yawRange?: number | undefined;
|
|
480
|
+
zoomMax?: number | undefined;
|
|
481
|
+
zoomMin?: number | undefined;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
// @public (undocumented)
|
|
485
|
+
export namespace CinematicSettings {
|
|
486
|
+
// (undocumented)
|
|
487
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
488
|
+
// (undocumented)
|
|
489
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
490
|
+
}
|
|
491
|
+
|
|
410
492
|
// @public (undocumented)
|
|
411
493
|
export const enum ColliderLayer {
|
|
412
494
|
// (undocumented)
|
|
@@ -632,12 +714,17 @@ export const componentDefinitionByName: {
|
|
|
632
714
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
633
715
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
634
716
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
717
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
718
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
635
719
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
636
720
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
637
721
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
722
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
638
723
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
639
724
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
725
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
640
726
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
727
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
641
728
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
642
729
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
643
730
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -655,17 +742,20 @@ export const componentDefinitionByName: {
|
|
|
655
742
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
656
743
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
657
744
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
745
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
658
746
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
659
|
-
"core::TriggerAreaResult":
|
|
747
|
+
"core::TriggerAreaResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerAreaResult>>;
|
|
660
748
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
661
749
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
662
750
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
663
751
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
752
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
664
753
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
665
754
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
666
755
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
667
756
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
668
757
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
758
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
669
759
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
670
760
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
671
761
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1100,10 +1190,18 @@ export type EntityComponents = {
|
|
|
1100
1190
|
uiBackground: PBUiBackground;
|
|
1101
1191
|
uiInput: PBUiInput;
|
|
1102
1192
|
uiDropdown: PBUiDropdown;
|
|
1103
|
-
onMouseDown:
|
|
1104
|
-
onMouseUp:
|
|
1105
|
-
onMouseEnter:
|
|
1106
|
-
onMouseLeave:
|
|
1193
|
+
onMouseDown: EventSystemCallback;
|
|
1194
|
+
onMouseUp: EventSystemCallback;
|
|
1195
|
+
onMouseEnter: EventSystemCallback;
|
|
1196
|
+
onMouseLeave: EventSystemCallback;
|
|
1197
|
+
onMouseDrag: EventSystemCallback;
|
|
1198
|
+
onMouseDragLocked: EventSystemCallback;
|
|
1199
|
+
onMouseDragEnd: EventSystemCallback;
|
|
1200
|
+
onInputDown: MultiCallback;
|
|
1201
|
+
onInputUp: MultiCallback;
|
|
1202
|
+
onInputDrag: MultiCallback;
|
|
1203
|
+
onInputDragLocked: MultiCallback;
|
|
1204
|
+
onInputDragEnd: MultiCallback;
|
|
1107
1205
|
};
|
|
1108
1206
|
|
|
1109
1207
|
// @public (undocumented)
|
|
@@ -1155,6 +1253,11 @@ export type EventSystemOptions = {
|
|
|
1155
1253
|
showHighlight?: boolean;
|
|
1156
1254
|
};
|
|
1157
1255
|
|
|
1256
|
+
// @public (undocumented)
|
|
1257
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1258
|
+
cb: EventSystemCallback;
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1158
1261
|
// @public
|
|
1159
1262
|
export type ExcludeUndefined<T> = {
|
|
1160
1263
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
@@ -1207,6 +1310,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1207
1310
|
direction?: PBVector3;
|
|
1208
1311
|
};
|
|
1209
1312
|
|
|
1313
|
+
// @public (undocumented)
|
|
1314
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1315
|
+
|
|
1210
1316
|
// Warning: (ae-missing-release-tag) "GlobalTargetRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1211
1317
|
//
|
|
1212
1318
|
// @public (undocumented)
|
|
@@ -1225,9 +1331,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1225
1331
|
// @public (undocumented)
|
|
1226
1332
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1227
1333
|
|
|
1334
|
+
// @public (undocumented)
|
|
1335
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1336
|
+
|
|
1228
1337
|
// @public (undocumented)
|
|
1229
1338
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1230
1339
|
|
|
1340
|
+
// @public (undocumented)
|
|
1341
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1342
|
+
|
|
1343
|
+
// @public (undocumented)
|
|
1344
|
+
export const enum GltfNodeStateValue {
|
|
1345
|
+
// (undocumented)
|
|
1346
|
+
GNSV_FAILED = 1,
|
|
1347
|
+
// (undocumented)
|
|
1348
|
+
GNSV_PENDING = 0,
|
|
1349
|
+
// (undocumented)
|
|
1350
|
+
GNSV_READY = 2
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1231
1353
|
// @public (undocumented)
|
|
1232
1354
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1233
1355
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1254,7 +1376,6 @@ export interface IEngine {
|
|
|
1254
1376
|
defineValueSetComponentFromSchema<T>(componentName: string, spec: ISchema<T>, options: ValueSetOptions<T>): GrowOnlyValueSetComponentDefinition<T>;
|
|
1255
1377
|
getComponent<T>(componentId: number | string): ComponentDefinition<T>;
|
|
1256
1378
|
getComponentOrNull<T>(componentId: number | string): ComponentDefinition<T> | null;
|
|
1257
|
-
getEntitiesByTag(tagName: string): Iterable<Entity>;
|
|
1258
1379
|
getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
|
|
1259
1380
|
getEntityByName<T = never, K = T>(value: K & (T extends never ? never : string)): Entity;
|
|
1260
1381
|
// @alpha
|
|
@@ -1352,6 +1473,7 @@ export type IInputSystem = {
|
|
|
1352
1473
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1353
1474
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1354
1475
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1476
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1355
1477
|
};
|
|
1356
1478
|
|
|
1357
1479
|
// @public
|
|
@@ -1581,30 +1703,23 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
|
1581
1703
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
|
1582
1704
|
}
|
|
1583
1705
|
|
|
1584
|
-
// Warning: (ae-missing-release-tag) "LightSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1585
|
-
//
|
|
1586
|
-
// @public (undocumented)
|
|
1587
|
-
export const LightSource: LightSourceComponentDefinitionExtended;
|
|
1588
|
-
|
|
1589
|
-
// @public (undocumented)
|
|
1590
|
-
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
|
1591
|
-
Type: LightSourceHelper;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
1706
|
// @public (undocumented)
|
|
1595
|
-
export
|
|
1596
|
-
// (undocumented)
|
|
1597
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
|
1598
|
-
// (undocumented)
|
|
1599
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
|
1600
|
-
}
|
|
1707
|
+
export const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
|
|
1601
1708
|
|
|
1602
1709
|
// @public
|
|
1603
1710
|
export type Listeners = {
|
|
1604
|
-
onMouseDown?:
|
|
1605
|
-
onMouseUp?:
|
|
1606
|
-
onMouseEnter?:
|
|
1607
|
-
onMouseLeave?:
|
|
1711
|
+
onMouseDown?: EventSystemCallback;
|
|
1712
|
+
onMouseUp?: EventSystemCallback;
|
|
1713
|
+
onMouseEnter?: EventSystemCallback;
|
|
1714
|
+
onMouseLeave?: EventSystemCallback;
|
|
1715
|
+
onMouseDrag?: EventSystemCallback;
|
|
1716
|
+
onMouseDragLocked?: EventSystemCallback;
|
|
1717
|
+
onMouseDragEnd?: EventSystemCallback;
|
|
1718
|
+
onInputDown?: MultiCallback;
|
|
1719
|
+
onInputUp?: MultiCallback;
|
|
1720
|
+
onInputDrag?: MultiCallback;
|
|
1721
|
+
onInputDragLocked?: MultiCallback;
|
|
1722
|
+
onInputDragEnd?: MultiCallback;
|
|
1608
1723
|
};
|
|
1609
1724
|
|
|
1610
1725
|
// @public (undocumented)
|
|
@@ -1844,6 +1959,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
1844
1959
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
1845
1960
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1846
1961
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1962
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1847
1963
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1848
1964
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1849
1965
|
}
|
|
@@ -1857,6 +1973,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
1857
1973
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
1858
1974
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
1859
1975
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
1976
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
1860
1977
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
1861
1978
|
setSphere(entity: Entity): void;
|
|
1862
1979
|
}
|
|
@@ -1904,6 +2021,20 @@ export namespace MoveContinuous {
|
|
|
1904
2021
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
1905
2022
|
}
|
|
1906
2023
|
|
|
2024
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2025
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2026
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2027
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2028
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2029
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2030
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2031
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2032
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2033
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2034
|
+
//
|
|
2035
|
+
// @public
|
|
2036
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
|
2037
|
+
|
|
1907
2038
|
// Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1908
2039
|
//
|
|
1909
2040
|
// @public (undocumented)
|
|
@@ -2110,6 +2241,19 @@ export const onVideoEvent: Observable<{
|
|
|
2110
2241
|
totalVideoLength: number;
|
|
2111
2242
|
}>;
|
|
2112
2243
|
|
|
2244
|
+
// @public (undocumented)
|
|
2245
|
+
export interface Orthographic {
|
|
2246
|
+
verticalRange?: number | undefined;
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
// @public (undocumented)
|
|
2250
|
+
export namespace Orthographic {
|
|
2251
|
+
// (undocumented)
|
|
2252
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2253
|
+
// (undocumented)
|
|
2254
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2113
2257
|
// @public
|
|
2114
2258
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2115
2259
|
|
|
@@ -2250,6 +2394,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2250
2394
|
export interface PBAvatarEquippedData {
|
|
2251
2395
|
// (undocumented)
|
|
2252
2396
|
emoteUrns: string[];
|
|
2397
|
+
forceRender: string[];
|
|
2253
2398
|
// (undocumented)
|
|
2254
2399
|
wearableUrns: string[];
|
|
2255
2400
|
}
|
|
@@ -2267,6 +2412,9 @@ export interface PBAvatarModifierArea {
|
|
|
2267
2412
|
area: PBVector3 | undefined;
|
|
2268
2413
|
excludeIds: string[];
|
|
2269
2414
|
modifiers: AvatarModifierType[];
|
|
2415
|
+
// (undocumented)
|
|
2416
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
2417
|
+
useColliderRange?: boolean | undefined;
|
|
2270
2418
|
}
|
|
2271
2419
|
|
|
2272
2420
|
// @public (undocumented)
|
|
@@ -2284,6 +2432,7 @@ export interface PBAvatarShape {
|
|
|
2284
2432
|
expressionTriggerId?: string | undefined;
|
|
2285
2433
|
expressionTriggerTimestamp?: number | undefined;
|
|
2286
2434
|
eyeColor?: PBColor3 | undefined;
|
|
2435
|
+
forceRender: string[];
|
|
2287
2436
|
hairColor?: PBColor3 | undefined;
|
|
2288
2437
|
id: string;
|
|
2289
2438
|
name?: string | undefined;
|
|
@@ -2314,6 +2463,42 @@ export namespace PBBillboard {
|
|
|
2314
2463
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2315
2464
|
}
|
|
2316
2465
|
|
|
2466
|
+
// @public (undocumented)
|
|
2467
|
+
export interface PBCameraLayer {
|
|
2468
|
+
// (undocumented)
|
|
2469
|
+
ambientBrightnessOverride?: number | undefined;
|
|
2470
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2471
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
2472
|
+
directionalLight?: boolean | undefined;
|
|
2473
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2474
|
+
layer: number;
|
|
2475
|
+
showAvatars?: boolean | undefined;
|
|
2476
|
+
showFog?: boolean | undefined;
|
|
2477
|
+
showSkybox?: boolean | undefined;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
// @public (undocumented)
|
|
2481
|
+
export namespace PBCameraLayer {
|
|
2482
|
+
// (undocumented)
|
|
2483
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2484
|
+
// (undocumented)
|
|
2485
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
// @public (undocumented)
|
|
2489
|
+
export interface PBCameraLayers {
|
|
2490
|
+
// (undocumented)
|
|
2491
|
+
layers: number[];
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
// @public (undocumented)
|
|
2495
|
+
export namespace PBCameraLayers {
|
|
2496
|
+
// (undocumented)
|
|
2497
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2498
|
+
// (undocumented)
|
|
2499
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2317
2502
|
// @public (undocumented)
|
|
2318
2503
|
export interface PBCameraMode {
|
|
2319
2504
|
mode: CameraType;
|
|
@@ -2330,7 +2515,10 @@ export namespace PBCameraMode {
|
|
|
2330
2515
|
// @public (undocumented)
|
|
2331
2516
|
export interface PBCameraModeArea {
|
|
2332
2517
|
area: PBVector3 | undefined;
|
|
2518
|
+
// (undocumented)
|
|
2519
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
2333
2520
|
mode: CameraType;
|
|
2521
|
+
useColliderRange?: boolean | undefined;
|
|
2334
2522
|
}
|
|
2335
2523
|
|
|
2336
2524
|
// @public (undocumented)
|
|
@@ -2394,6 +2582,21 @@ export namespace PBEngineInfo {
|
|
|
2394
2582
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2395
2583
|
}
|
|
2396
2584
|
|
|
2585
|
+
// @public (undocumented)
|
|
2586
|
+
export interface PBGlobalLight {
|
|
2587
|
+
ambientBrightness?: number | undefined;
|
|
2588
|
+
ambientColor?: PBColor3 | undefined;
|
|
2589
|
+
direction?: PBVector3 | undefined;
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
// @public (undocumented)
|
|
2593
|
+
export namespace PBGlobalLight {
|
|
2594
|
+
// (undocumented)
|
|
2595
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
2596
|
+
// (undocumented)
|
|
2597
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2397
2600
|
// @public (undocumented)
|
|
2398
2601
|
export interface PBGltfContainer {
|
|
2399
2602
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2411,8 +2614,13 @@ export namespace PBGltfContainer {
|
|
|
2411
2614
|
|
|
2412
2615
|
// @public (undocumented)
|
|
2413
2616
|
export interface PBGltfContainerLoadingState {
|
|
2617
|
+
animationNames: string[];
|
|
2414
2618
|
// (undocumented)
|
|
2415
2619
|
currentState: LoadingState;
|
|
2620
|
+
materialNames: string[];
|
|
2621
|
+
meshNames: string[];
|
|
2622
|
+
nodePaths: string[];
|
|
2623
|
+
skinNames: string[];
|
|
2416
2624
|
}
|
|
2417
2625
|
|
|
2418
2626
|
// @public (undocumented)
|
|
@@ -2423,6 +2631,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2423
2631
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2424
2632
|
}
|
|
2425
2633
|
|
|
2634
|
+
// @public (undocumented)
|
|
2635
|
+
export interface PBGltfNode {
|
|
2636
|
+
path: string;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
// @public (undocumented)
|
|
2640
|
+
export namespace PBGltfNode {
|
|
2641
|
+
// (undocumented)
|
|
2642
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
2643
|
+
// (undocumented)
|
|
2644
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2426
2647
|
// @public (undocumented)
|
|
2427
2648
|
export interface PBGltfNodeModifiers {
|
|
2428
2649
|
// (undocumented)
|
|
@@ -2452,6 +2673,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2452
2673
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2453
2674
|
}
|
|
2454
2675
|
|
|
2676
|
+
// @public (undocumented)
|
|
2677
|
+
export interface PBGltfNodeState {
|
|
2678
|
+
// (undocumented)
|
|
2679
|
+
error?: string | undefined;
|
|
2680
|
+
// (undocumented)
|
|
2681
|
+
state: GltfNodeStateValue;
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
// @public (undocumented)
|
|
2685
|
+
export namespace PBGltfNodeState {
|
|
2686
|
+
// (undocumented)
|
|
2687
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
2688
|
+
// (undocumented)
|
|
2689
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2455
2692
|
// @public (undocumented)
|
|
2456
2693
|
export interface PBInputModifier {
|
|
2457
2694
|
// (undocumented)
|
|
@@ -2560,6 +2797,7 @@ export namespace PBMainCamera {
|
|
|
2560
2797
|
|
|
2561
2798
|
// @public (undocumented)
|
|
2562
2799
|
export interface PBMaterial {
|
|
2800
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2563
2801
|
// (undocumented)
|
|
2564
2802
|
material?: {
|
|
2565
2803
|
$case: "unlit";
|
|
@@ -2578,6 +2816,22 @@ export namespace PBMaterial {
|
|
|
2578
2816
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2579
2817
|
}
|
|
2580
2818
|
|
|
2819
|
+
// @public (undocumented)
|
|
2820
|
+
export interface PBMaterial_GltfMaterial {
|
|
2821
|
+
// (undocumented)
|
|
2822
|
+
gltfSrc: string;
|
|
2823
|
+
// (undocumented)
|
|
2824
|
+
name: string;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
// @public (undocumented)
|
|
2828
|
+
export namespace PBMaterial_GltfMaterial {
|
|
2829
|
+
// (undocumented)
|
|
2830
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
2831
|
+
// (undocumented)
|
|
2832
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2581
2835
|
// @public (undocumented)
|
|
2582
2836
|
export interface PBMaterial_PbrMaterial {
|
|
2583
2837
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -2639,6 +2893,9 @@ export interface PBMeshCollider {
|
|
|
2639
2893
|
} | {
|
|
2640
2894
|
$case: "plane";
|
|
2641
2895
|
plane: PBMeshCollider_PlaneMesh;
|
|
2896
|
+
} | {
|
|
2897
|
+
$case: "gltf";
|
|
2898
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
2642
2899
|
} | undefined;
|
|
2643
2900
|
}
|
|
2644
2901
|
|
|
@@ -2676,6 +2933,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
2676
2933
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2677
2934
|
}
|
|
2678
2935
|
|
|
2936
|
+
// @public (undocumented)
|
|
2937
|
+
export interface PBMeshCollider_GltfMesh {
|
|
2938
|
+
gltfSrc: string;
|
|
2939
|
+
name: string;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
// @public (undocumented)
|
|
2943
|
+
export namespace PBMeshCollider_GltfMesh {
|
|
2944
|
+
// (undocumented)
|
|
2945
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
2946
|
+
// (undocumented)
|
|
2947
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2679
2950
|
// @public (undocumented)
|
|
2680
2951
|
export interface PBMeshCollider_PlaneMesh {
|
|
2681
2952
|
}
|
|
@@ -2715,6 +2986,9 @@ export interface PBMeshRenderer {
|
|
|
2715
2986
|
} | {
|
|
2716
2987
|
$case: "plane";
|
|
2717
2988
|
plane: PBMeshRenderer_PlaneMesh;
|
|
2989
|
+
} | {
|
|
2990
|
+
$case: "gltf";
|
|
2991
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
2718
2992
|
} | undefined;
|
|
2719
2993
|
}
|
|
2720
2994
|
|
|
@@ -2753,6 +3027,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
2753
3027
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2754
3028
|
}
|
|
2755
3029
|
|
|
3030
|
+
// @public (undocumented)
|
|
3031
|
+
export interface PBMeshRenderer_GltfMesh {
|
|
3032
|
+
gltfSrc: string;
|
|
3033
|
+
name: string;
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
// @public (undocumented)
|
|
3037
|
+
export namespace PBMeshRenderer_GltfMesh {
|
|
3038
|
+
// (undocumented)
|
|
3039
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3040
|
+
// (undocumented)
|
|
3041
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
2756
3044
|
// @public (undocumented)
|
|
2757
3045
|
export interface PBMeshRenderer_PlaneMesh {
|
|
2758
3046
|
uvs: number[];
|
|
@@ -3054,6 +3342,32 @@ export namespace PBTextShape {
|
|
|
3054
3342
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3055
3343
|
}
|
|
3056
3344
|
|
|
3345
|
+
// @public (undocumented)
|
|
3346
|
+
export interface PBTextureCamera {
|
|
3347
|
+
clearColor?: PBColor4 | undefined;
|
|
3348
|
+
farPlane?: number | undefined;
|
|
3349
|
+
height?: number | undefined;
|
|
3350
|
+
layer?: number | undefined;
|
|
3351
|
+
// (undocumented)
|
|
3352
|
+
mode?: {
|
|
3353
|
+
$case: "perspective";
|
|
3354
|
+
perspective: Perspective;
|
|
3355
|
+
} | {
|
|
3356
|
+
$case: "orthographic";
|
|
3357
|
+
orthographic: Orthographic;
|
|
3358
|
+
} | undefined;
|
|
3359
|
+
volume?: number | undefined;
|
|
3360
|
+
width?: number | undefined;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
// @public (undocumented)
|
|
3364
|
+
export namespace PBTextureCamera {
|
|
3365
|
+
// (undocumented)
|
|
3366
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
3367
|
+
// (undocumented)
|
|
3368
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3057
3371
|
// @public (undocumented)
|
|
3058
3372
|
export interface PBTriggerArea {
|
|
3059
3373
|
collisionMask?: number | undefined;
|
|
@@ -3194,6 +3508,23 @@ export namespace PBUiBackground {
|
|
|
3194
3508
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3195
3509
|
}
|
|
3196
3510
|
|
|
3511
|
+
// @public (undocumented)
|
|
3512
|
+
export interface PBUiCanvas {
|
|
3513
|
+
color?: PBColor4 | undefined;
|
|
3514
|
+
// (undocumented)
|
|
3515
|
+
height: number;
|
|
3516
|
+
// (undocumented)
|
|
3517
|
+
width: number;
|
|
3518
|
+
}
|
|
3519
|
+
|
|
3520
|
+
// @public (undocumented)
|
|
3521
|
+
export namespace PBUiCanvas {
|
|
3522
|
+
// (undocumented)
|
|
3523
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
3524
|
+
// (undocumented)
|
|
3525
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3197
3528
|
// @public (undocumented)
|
|
3198
3529
|
export interface PBUiCanvasInformation {
|
|
3199
3530
|
devicePixelRatio: number;
|
|
@@ -3287,11 +3618,27 @@ export namespace PBUiInputResult {
|
|
|
3287
3618
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3288
3619
|
}
|
|
3289
3620
|
|
|
3621
|
+
// @public (undocumented)
|
|
3622
|
+
export interface PBUiScrollResult {
|
|
3623
|
+
// (undocumented)
|
|
3624
|
+
value: PBVector2 | undefined;
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
// @public (undocumented)
|
|
3628
|
+
export namespace PBUiScrollResult {
|
|
3629
|
+
// (undocumented)
|
|
3630
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
3631
|
+
// (undocumented)
|
|
3632
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
3633
|
+
}
|
|
3634
|
+
|
|
3290
3635
|
// @public (undocumented)
|
|
3291
3636
|
export interface PBUiText {
|
|
3292
3637
|
color?: PBColor4 | undefined;
|
|
3293
3638
|
font?: Font | undefined;
|
|
3294
3639
|
fontSize?: number | undefined;
|
|
3640
|
+
outlineColor?: PBColor4 | undefined;
|
|
3641
|
+
outlineWidth?: number | undefined;
|
|
3295
3642
|
textAlign?: TextAlignMode | undefined;
|
|
3296
3643
|
textWrap?: TextWrap | undefined;
|
|
3297
3644
|
value: string;
|
|
@@ -3342,6 +3689,7 @@ export interface PBUiTransform {
|
|
|
3342
3689
|
borderTopWidth?: number | undefined;
|
|
3343
3690
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3344
3691
|
display: YGDisplay;
|
|
3692
|
+
elementId?: string | undefined;
|
|
3345
3693
|
// (undocumented)
|
|
3346
3694
|
flexBasis: number;
|
|
3347
3695
|
flexBasisUnit: YGUnit;
|
|
@@ -3410,6 +3758,8 @@ export interface PBUiTransform {
|
|
|
3410
3758
|
positionType: YGPositionType;
|
|
3411
3759
|
// (undocumented)
|
|
3412
3760
|
rightOf: number;
|
|
3761
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
3762
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
3413
3763
|
// (undocumented)
|
|
3414
3764
|
width: number;
|
|
3415
3765
|
widthUnit: YGUnit;
|
|
@@ -3525,6 +3875,19 @@ export namespace PBVisibilityComponent {
|
|
|
3525
3875
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
3526
3876
|
}
|
|
3527
3877
|
|
|
3878
|
+
// @public (undocumented)
|
|
3879
|
+
export interface Perspective {
|
|
3880
|
+
fieldOfView?: number | undefined;
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
// @public (undocumented)
|
|
3884
|
+
export namespace Perspective {
|
|
3885
|
+
// (undocumented)
|
|
3886
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
3887
|
+
// (undocumented)
|
|
3888
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3528
3891
|
// @public
|
|
3529
3892
|
export namespace Plane {
|
|
3530
3893
|
// (undocumented)
|
|
@@ -3570,12 +3933,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
3570
3933
|
|
|
3571
3934
|
// @public (undocumented)
|
|
3572
3935
|
export interface PointerEventsSystem {
|
|
3936
|
+
onPointerDown(pointerData: {
|
|
3937
|
+
entity: Entity;
|
|
3938
|
+
optsList: EventSystemOptionsCallback[];
|
|
3939
|
+
}): void;
|
|
3573
3940
|
onPointerDown(pointerData: {
|
|
3574
3941
|
entity: Entity;
|
|
3575
3942
|
opts?: Partial<EventSystemOptions>;
|
|
3576
3943
|
}, cb: EventSystemCallback): void;
|
|
3577
3944
|
// @deprecated (undocumented)
|
|
3578
3945
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3946
|
+
onPointerDrag(pointerData: {
|
|
3947
|
+
entity: Entity;
|
|
3948
|
+
optsList: EventSystemOptionsCallback[];
|
|
3949
|
+
}): void;
|
|
3950
|
+
onPointerDrag(pointerData: {
|
|
3951
|
+
entity: Entity;
|
|
3952
|
+
opts?: Partial<EventSystemOptions>;
|
|
3953
|
+
}, cb: EventSystemCallback): void;
|
|
3954
|
+
onPointerDragEnd(pointerData: {
|
|
3955
|
+
entity: Entity;
|
|
3956
|
+
optsList: EventSystemOptionsCallback[];
|
|
3957
|
+
}): void;
|
|
3958
|
+
onPointerDragEnd(pointerData: {
|
|
3959
|
+
entity: Entity;
|
|
3960
|
+
opts?: Partial<EventSystemOptions>;
|
|
3961
|
+
}, cb: EventSystemCallback): void;
|
|
3962
|
+
onPointerDragLocked(pointerData: {
|
|
3963
|
+
entity: Entity;
|
|
3964
|
+
optsList: EventSystemOptionsCallback[];
|
|
3965
|
+
}): void;
|
|
3966
|
+
onPointerDragLocked(pointerData: {
|
|
3967
|
+
entity: Entity;
|
|
3968
|
+
opts?: Partial<EventSystemOptions>;
|
|
3969
|
+
}, cb: EventSystemCallback): void;
|
|
3579
3970
|
onPointerHoverEnter(pointerData: {
|
|
3580
3971
|
entity: Entity;
|
|
3581
3972
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3584,6 +3975,10 @@ export interface PointerEventsSystem {
|
|
|
3584
3975
|
entity: Entity;
|
|
3585
3976
|
opts?: Partial<EventSystemOptions>;
|
|
3586
3977
|
}, cb: EventSystemCallback): void;
|
|
3978
|
+
onPointerUp(pointerData: {
|
|
3979
|
+
entity: Entity;
|
|
3980
|
+
optsList: EventSystemOptionsCallback[];
|
|
3981
|
+
}): void;
|
|
3587
3982
|
onPointerUp(pointerData: {
|
|
3588
3983
|
entity: Entity;
|
|
3589
3984
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3591,6 +3986,9 @@ export interface PointerEventsSystem {
|
|
|
3591
3986
|
// @deprecated (undocumented)
|
|
3592
3987
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3593
3988
|
removeOnPointerDown(entity: Entity): void;
|
|
3989
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
3990
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
3991
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
3594
3992
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3595
3993
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3596
3994
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -3604,6 +4002,12 @@ export const enum PointerEventType {
|
|
|
3604
4002
|
// (undocumented)
|
|
3605
4003
|
PET_DOWN = 1,
|
|
3606
4004
|
// (undocumented)
|
|
4005
|
+
PET_DRAG = 5,
|
|
4006
|
+
// (undocumented)
|
|
4007
|
+
PET_DRAG_END = 6,
|
|
4008
|
+
// (undocumented)
|
|
4009
|
+
PET_DRAG_LOCKED = 4,
|
|
4010
|
+
// (undocumented)
|
|
3607
4011
|
PET_HOVER_ENTER = 2,
|
|
3608
4012
|
// (undocumented)
|
|
3609
4013
|
PET_HOVER_LEAVE = 3,
|
|
@@ -3628,7 +4032,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
3628
4032
|
// @public (undocumented)
|
|
3629
4033
|
export const enum PointerType {
|
|
3630
4034
|
POT_MOUSE = 1,
|
|
3631
|
-
POT_NONE = 0
|
|
4035
|
+
POT_NONE = 0,
|
|
4036
|
+
// (undocumented)
|
|
4037
|
+
POT_PAD = 2,
|
|
4038
|
+
// (undocumented)
|
|
4039
|
+
POT_TOUCH = 3,
|
|
4040
|
+
// (undocumented)
|
|
4041
|
+
POT_WAND = 4
|
|
3632
4042
|
}
|
|
3633
4043
|
|
|
3634
4044
|
// @public
|
|
@@ -3873,6 +4283,8 @@ export interface ReactBasedUiSystem {
|
|
|
3873
4283
|
// (undocumented)
|
|
3874
4284
|
destroy(): void;
|
|
3875
4285
|
// (undocumented)
|
|
4286
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4287
|
+
// (undocumented)
|
|
3876
4288
|
setUiRenderer(ui: UiComponent): void;
|
|
3877
4289
|
}
|
|
3878
4290
|
|
|
@@ -4145,6 +4557,41 @@ export namespace Schemas {
|
|
|
4145
4557
|
}) => void;
|
|
4146
4558
|
}
|
|
4147
4559
|
|
|
4560
|
+
// @public (undocumented)
|
|
4561
|
+
export interface ScrollPositionValue {
|
|
4562
|
+
// (undocumented)
|
|
4563
|
+
value?: {
|
|
4564
|
+
$case: "position";
|
|
4565
|
+
position: PBVector2;
|
|
4566
|
+
} | {
|
|
4567
|
+
$case: "reference";
|
|
4568
|
+
reference: string;
|
|
4569
|
+
} | undefined;
|
|
4570
|
+
}
|
|
4571
|
+
|
|
4572
|
+
// @public (undocumented)
|
|
4573
|
+
export namespace ScrollPositionValue {
|
|
4574
|
+
// (undocumented)
|
|
4575
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
4576
|
+
// (undocumented)
|
|
4577
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
4578
|
+
}
|
|
4579
|
+
|
|
4580
|
+
// @public
|
|
4581
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4582
|
+
|
|
4583
|
+
// @public (undocumented)
|
|
4584
|
+
export const enum ShowScrollBar {
|
|
4585
|
+
// (undocumented)
|
|
4586
|
+
SSB_BOTH = 0,
|
|
4587
|
+
// (undocumented)
|
|
4588
|
+
SSB_HIDDEN = 3,
|
|
4589
|
+
// (undocumented)
|
|
4590
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
4591
|
+
// (undocumented)
|
|
4592
|
+
SSB_ONLY_VERTICAL = 1
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4148
4595
|
// @public (undocumented)
|
|
4149
4596
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
4150
4597
|
|
|
@@ -4174,27 +4621,6 @@ export type SystemItem = {
|
|
|
4174
4621
|
// @public (undocumented)
|
|
4175
4622
|
export const SYSTEMS_REGULAR_PRIORITY = 100000;
|
|
4176
4623
|
|
|
4177
|
-
// Warning: (ae-missing-release-tag) "Tags" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
4178
|
-
//
|
|
4179
|
-
// @public (undocumented)
|
|
4180
|
-
export const Tags: TagsComponentDefinitionExtended;
|
|
4181
|
-
|
|
4182
|
-
// Warning: (ae-missing-release-tag) "TagsComponentDefinitionExtended" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
4183
|
-
//
|
|
4184
|
-
// @public (undocumented)
|
|
4185
|
-
export interface TagsComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<TagsType> {
|
|
4186
|
-
add(entity: Entity, tagName: string): boolean;
|
|
4187
|
-
remove(entity: Entity, tagName: string): boolean;
|
|
4188
|
-
}
|
|
4189
|
-
|
|
4190
|
-
// Warning: (ae-missing-release-tag) "TagsType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
4191
|
-
//
|
|
4192
|
-
// @public (undocumented)
|
|
4193
|
-
export interface TagsType {
|
|
4194
|
-
// (undocumented)
|
|
4195
|
-
tags: string[];
|
|
4196
|
-
}
|
|
4197
|
-
|
|
4198
4624
|
// Warning: (ae-missing-release-tag) "TargetEntityRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
4199
4625
|
//
|
|
4200
4626
|
// @public (undocumented)
|
|
@@ -4258,6 +4684,9 @@ export namespace Texture {
|
|
|
4258
4684
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4259
4685
|
}
|
|
4260
4686
|
|
|
4687
|
+
// @public (undocumented)
|
|
4688
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4689
|
+
|
|
4261
4690
|
// @public (undocumented)
|
|
4262
4691
|
export const enum TextureFilterMode {
|
|
4263
4692
|
// (undocumented)
|
|
@@ -4337,6 +4766,9 @@ export interface TextureUnion {
|
|
|
4337
4766
|
} | {
|
|
4338
4767
|
$case: "videoTexture";
|
|
4339
4768
|
videoTexture: VideoTexture;
|
|
4769
|
+
} | {
|
|
4770
|
+
$case: "uiTexture";
|
|
4771
|
+
uiTexture: UiCanvasTexture;
|
|
4340
4772
|
} | undefined;
|
|
4341
4773
|
}
|
|
4342
4774
|
|
|
@@ -4435,32 +4867,8 @@ export type Transport = {
|
|
|
4435
4867
|
// @public (undocumented)
|
|
4436
4868
|
export type TransportMessage = Omit<ReceiveMessage, 'data'>;
|
|
4437
4869
|
|
|
4438
|
-
// Warning: (ae-missing-release-tag) "TriggerArea" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
4439
|
-
//
|
|
4440
|
-
// @public (undocumented)
|
|
4441
|
-
export const TriggerArea: TriggerAreaComponentDefinitionExtended;
|
|
4442
|
-
|
|
4443
|
-
// @public (undocumented)
|
|
4444
|
-
export interface TriggerAreaComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTriggerArea> {
|
|
4445
|
-
setBox(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
|
|
4446
|
-
setSphere(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
|
|
4447
|
-
}
|
|
4448
|
-
|
|
4449
4870
|
// @public (undocumented)
|
|
4450
|
-
export
|
|
4451
|
-
onTriggerEnter(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
|
|
4452
|
-
onTriggerExit(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
|
|
4453
|
-
onTriggerStay(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
|
|
4454
|
-
removeOnTriggerEnter(entity: Entity): void;
|
|
4455
|
-
removeOnTriggerExit(entity: Entity): void;
|
|
4456
|
-
removeOnTriggerStay(entity: Entity): void;
|
|
4457
|
-
}
|
|
4458
|
-
|
|
4459
|
-
// @public
|
|
4460
|
-
export const triggerAreaEventsSystem: TriggerAreaEventsSystem;
|
|
4461
|
-
|
|
4462
|
-
// @public (undocumented)
|
|
4463
|
-
export type TriggerAreaEventSystemCallback = (result: DeepReadonlyObject<PBTriggerAreaResult>) => void;
|
|
4871
|
+
export const TriggerArea: LastWriteWinElementSetComponentDefinition<PBTriggerArea>;
|
|
4464
4872
|
|
|
4465
4873
|
// @public (undocumented)
|
|
4466
4874
|
export const enum TriggerAreaEventType {
|
|
@@ -4481,7 +4889,7 @@ export const enum TriggerAreaMeshType {
|
|
|
4481
4889
|
}
|
|
4482
4890
|
|
|
4483
4891
|
// @public (undocumented)
|
|
4484
|
-
export const TriggerAreaResult:
|
|
4892
|
+
export const TriggerAreaResult: LastWriteWinElementSetComponentDefinition<PBTriggerAreaResult>;
|
|
4485
4893
|
|
|
4486
4894
|
// Warning: (ae-missing-release-tag) "Tween" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
4487
4895
|
//
|
|
@@ -4491,13 +4899,6 @@ export const Tween: TweenComponentDefinitionExtended;
|
|
|
4491
4899
|
// @public (undocumented)
|
|
4492
4900
|
export interface TweenComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTween> {
|
|
4493
4901
|
Mode: TweenHelper;
|
|
4494
|
-
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
4495
|
-
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
|
4496
|
-
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
4497
|
-
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
|
4498
|
-
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
4499
|
-
setTextureMove(entity: Entity, start: PBVector2, end: PBVector2, duration: number, movementType?: TextureMovementType, easingFunction?: EasingFunction): void;
|
|
4500
|
-
setTextureMoveContinuous(entity: Entity, direction: PBVector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
|
|
4501
4902
|
}
|
|
4502
4903
|
|
|
4503
4904
|
// @public (undocumented)
|
|
@@ -4505,17 +4906,11 @@ export interface TweenHelper {
|
|
|
4505
4906
|
// (undocumented)
|
|
4506
4907
|
Move: (move: Move) => PBTween['mode'];
|
|
4507
4908
|
// (undocumented)
|
|
4508
|
-
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
|
4509
|
-
// (undocumented)
|
|
4510
4909
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
|
4511
4910
|
// (undocumented)
|
|
4512
|
-
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
|
4513
|
-
// (undocumented)
|
|
4514
4911
|
Scale: (scale: Scale) => PBTween['mode'];
|
|
4515
4912
|
// (undocumented)
|
|
4516
4913
|
TextureMove: (textureMove: TextureMove) => PBTween['mode'];
|
|
4517
|
-
// (undocumented)
|
|
4518
|
-
TextureMoveContinuous: (textureMove: TextureMoveContinuous) => PBTween['mode'];
|
|
4519
4914
|
}
|
|
4520
4915
|
|
|
4521
4916
|
// @public (undocumented)
|
|
@@ -4574,6 +4969,7 @@ export interface UiBackgroundProps {
|
|
|
4574
4969
|
textureMode?: TextureMode;
|
|
4575
4970
|
textureSlices?: BorderRect | undefined;
|
|
4576
4971
|
uvs?: number[];
|
|
4972
|
+
videoTexture?: UiVideoTexture;
|
|
4577
4973
|
}
|
|
4578
4974
|
|
|
4579
4975
|
// @public
|
|
@@ -4582,9 +4978,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4582
4978
|
variant?: 'primary' | 'secondary';
|
|
4583
4979
|
}
|
|
4584
4980
|
|
|
4981
|
+
// @public (undocumented)
|
|
4982
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
4983
|
+
|
|
4585
4984
|
// @public (undocumented)
|
|
4586
4985
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
4587
4986
|
|
|
4987
|
+
// @public (undocumented)
|
|
4988
|
+
export interface UiCanvasTexture {
|
|
4989
|
+
filterMode?: TextureFilterMode | undefined;
|
|
4990
|
+
// (undocumented)
|
|
4991
|
+
uiCanvasEntity: number;
|
|
4992
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
4993
|
+
}
|
|
4994
|
+
|
|
4995
|
+
// @public (undocumented)
|
|
4996
|
+
export namespace UiCanvasTexture {
|
|
4997
|
+
// (undocumented)
|
|
4998
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
4999
|
+
// (undocumented)
|
|
5000
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
5001
|
+
}
|
|
5002
|
+
|
|
4588
5003
|
// @public (undocumented)
|
|
4589
5004
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
4590
5005
|
|
|
@@ -4639,6 +5054,8 @@ export interface UiLabelProps {
|
|
|
4639
5054
|
color?: PBColor4 | undefined;
|
|
4640
5055
|
font?: UiFontType | undefined;
|
|
4641
5056
|
fontSize?: ScaleUnit | undefined;
|
|
5057
|
+
outlineColor?: PBColor4 | undefined;
|
|
5058
|
+
outlineWidth?: number | undefined;
|
|
4642
5059
|
textAlign?: TextAlignType | undefined;
|
|
4643
5060
|
textWrap?: UiTextWrapType | undefined;
|
|
4644
5061
|
value: string;
|
|
@@ -4647,6 +5064,9 @@ export interface UiLabelProps {
|
|
|
4647
5064
|
// @public
|
|
4648
5065
|
export type uint32 = number;
|
|
4649
5066
|
|
|
5067
|
+
// @public (undocumented)
|
|
5068
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5069
|
+
|
|
4650
5070
|
// @public (undocumented)
|
|
4651
5071
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
4652
5072
|
|
|
@@ -4675,6 +5095,7 @@ export interface UiTransformProps {
|
|
|
4675
5095
|
// (undocumented)
|
|
4676
5096
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
4677
5097
|
display?: DisplayType;
|
|
5098
|
+
elementId?: string;
|
|
4678
5099
|
flex?: number;
|
|
4679
5100
|
flexBasis?: number;
|
|
4680
5101
|
flexDirection?: FlexDirectionType;
|
|
@@ -4694,10 +5115,22 @@ export interface UiTransformProps {
|
|
|
4694
5115
|
pointerFilter?: PointerFilterType;
|
|
4695
5116
|
position?: Partial<Position> | PositionShorthand;
|
|
4696
5117
|
positionType?: PositionType;
|
|
5118
|
+
scrollPosition?: PBVector2 | string;
|
|
5119
|
+
scrollVisible?: ScrollVisibleType;
|
|
4697
5120
|
width?: PositionUnit | 'auto';
|
|
4698
5121
|
zIndex?: number;
|
|
4699
5122
|
}
|
|
4700
5123
|
|
|
5124
|
+
// @public
|
|
5125
|
+
export interface UiVideoTexture {
|
|
5126
|
+
// (undocumented)
|
|
5127
|
+
filterMode?: TextureFilterType;
|
|
5128
|
+
// (undocumented)
|
|
5129
|
+
videoPlayerEntity: Entity;
|
|
5130
|
+
// (undocumented)
|
|
5131
|
+
wrapMode?: TextureWrapType;
|
|
5132
|
+
}
|
|
5133
|
+
|
|
4701
5134
|
// @public (undocumented)
|
|
4702
5135
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
4703
5136
|
|