@dcl/playground-assets 7.9.5 → 7.9.6-16908909596.commit-3302d67
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 +750 -108
- package/dist/beta.d.ts +750 -108
- package/dist/index.bundled.d.ts +750 -108
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +12 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +750 -108
- package/etc/playground-assets.api.json +9317 -2926
- package/etc/playground-assets.api.md +500 -66
- 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
|
+
|
154
|
+
// @public (undocumented)
|
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
|
+
//
|
142
159
|
// @public (undocumented)
|
143
|
-
export
|
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)
|
@@ -633,12 +715,16 @@ export const componentDefinitionByName: {
|
|
633
715
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
634
716
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
635
717
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
718
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
719
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
636
720
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
637
721
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
638
722
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
723
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
639
724
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
640
725
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
641
|
-
"core::
|
726
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
727
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
642
728
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
643
729
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
644
730
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
@@ -654,17 +740,19 @@ export const componentDefinitionByName: {
|
|
654
740
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
655
741
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
656
742
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
657
|
-
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
658
743
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
744
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
659
745
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
660
746
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
661
747
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
662
748
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
749
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
663
750
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
664
751
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
665
752
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
666
753
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
667
754
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
755
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
668
756
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
669
757
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
670
758
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -1099,10 +1187,18 @@ export type EntityComponents = {
|
|
1099
1187
|
uiBackground: PBUiBackground;
|
1100
1188
|
uiInput: PBUiInput;
|
1101
1189
|
uiDropdown: PBUiDropdown;
|
1102
|
-
onMouseDown:
|
1103
|
-
onMouseUp:
|
1104
|
-
onMouseEnter:
|
1105
|
-
onMouseLeave:
|
1190
|
+
onMouseDown: EventSystemCallback;
|
1191
|
+
onMouseUp: EventSystemCallback;
|
1192
|
+
onMouseEnter: EventSystemCallback;
|
1193
|
+
onMouseLeave: EventSystemCallback;
|
1194
|
+
onMouseDrag: EventSystemCallback;
|
1195
|
+
onMouseDragLocked: EventSystemCallback;
|
1196
|
+
onMouseDragEnd: EventSystemCallback;
|
1197
|
+
onInputDown: MultiCallback;
|
1198
|
+
onInputUp: MultiCallback;
|
1199
|
+
onInputDrag: MultiCallback;
|
1200
|
+
onInputDragLocked: MultiCallback;
|
1201
|
+
onInputDragEnd: MultiCallback;
|
1106
1202
|
};
|
1107
1203
|
|
1108
1204
|
// @public (undocumented)
|
@@ -1154,6 +1250,11 @@ export type EventSystemOptions = {
|
|
1154
1250
|
showHighlight?: boolean;
|
1155
1251
|
};
|
1156
1252
|
|
1253
|
+
// @public (undocumented)
|
1254
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
1255
|
+
cb: EventSystemCallback;
|
1256
|
+
};
|
1257
|
+
|
1157
1258
|
// @public
|
1158
1259
|
export type ExcludeUndefined<T> = {
|
1159
1260
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
@@ -1206,6 +1307,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1206
1307
|
direction?: PBVector3;
|
1207
1308
|
};
|
1208
1309
|
|
1310
|
+
// @public (undocumented)
|
1311
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1312
|
+
|
1209
1313
|
// 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)
|
1210
1314
|
//
|
1211
1315
|
// @public (undocumented)
|
@@ -1225,7 +1329,20 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1225
1329
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1226
1330
|
|
1227
1331
|
// @public (undocumented)
|
1228
|
-
export const
|
1332
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
1333
|
+
|
1334
|
+
// @public (undocumented)
|
1335
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
1336
|
+
|
1337
|
+
// @public (undocumented)
|
1338
|
+
export const enum GltfNodeStateValue {
|
1339
|
+
// (undocumented)
|
1340
|
+
GNSV_FAILED = 1,
|
1341
|
+
// (undocumented)
|
1342
|
+
GNSV_PENDING = 0,
|
1343
|
+
// (undocumented)
|
1344
|
+
GNSV_READY = 2
|
1345
|
+
}
|
1229
1346
|
|
1230
1347
|
// @public (undocumented)
|
1231
1348
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
@@ -1350,6 +1467,7 @@ export type IInputSystem = {
|
|
1350
1467
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
1351
1468
|
isPressed: (inputAction: InputAction) => boolean;
|
1352
1469
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
1470
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
1353
1471
|
};
|
1354
1472
|
|
1355
1473
|
// @public
|
@@ -1579,30 +1697,23 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1579
1697
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1580
1698
|
}
|
1581
1699
|
|
1582
|
-
// 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)
|
1583
|
-
//
|
1584
1700
|
// @public (undocumented)
|
1585
|
-
export const LightSource:
|
1586
|
-
|
1587
|
-
// @public (undocumented)
|
1588
|
-
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
1589
|
-
Type: LightSourceHelper;
|
1590
|
-
}
|
1591
|
-
|
1592
|
-
// @public (undocumented)
|
1593
|
-
export interface LightSourceHelper {
|
1594
|
-
// (undocumented)
|
1595
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
1596
|
-
// (undocumented)
|
1597
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
1598
|
-
}
|
1701
|
+
export const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
|
1599
1702
|
|
1600
1703
|
// @public
|
1601
1704
|
export type Listeners = {
|
1602
|
-
onMouseDown?:
|
1603
|
-
onMouseUp?:
|
1604
|
-
onMouseEnter?:
|
1605
|
-
onMouseLeave?:
|
1705
|
+
onMouseDown?: EventSystemCallback;
|
1706
|
+
onMouseUp?: EventSystemCallback;
|
1707
|
+
onMouseEnter?: EventSystemCallback;
|
1708
|
+
onMouseLeave?: EventSystemCallback;
|
1709
|
+
onMouseDrag?: EventSystemCallback;
|
1710
|
+
onMouseDragLocked?: EventSystemCallback;
|
1711
|
+
onMouseDragEnd?: EventSystemCallback;
|
1712
|
+
onInputDown?: MultiCallback;
|
1713
|
+
onInputUp?: MultiCallback;
|
1714
|
+
onInputDrag?: MultiCallback;
|
1715
|
+
onInputDragLocked?: MultiCallback;
|
1716
|
+
onInputDragEnd?: MultiCallback;
|
1606
1717
|
};
|
1607
1718
|
|
1608
1719
|
// @public (undocumented)
|
@@ -1842,6 +1953,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1842
1953
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1843
1954
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1844
1955
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1956
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1845
1957
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1846
1958
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1847
1959
|
}
|
@@ -1855,6 +1967,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1855
1967
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1856
1968
|
setBox(entity: Entity, uvs?: number[]): void;
|
1857
1969
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1970
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1858
1971
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1859
1972
|
setSphere(entity: Entity): void;
|
1860
1973
|
}
|
@@ -1886,6 +1999,20 @@ export namespace Move {
|
|
1886
1999
|
export function encode(message: Move, writer?: _m0.Writer): _m0.Writer;
|
1887
2000
|
}
|
1888
2001
|
|
2002
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
2003
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
2004
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2005
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
2006
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
2007
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2008
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
2009
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
2010
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
2011
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
2012
|
+
//
|
2013
|
+
// @public
|
2014
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
2015
|
+
|
1889
2016
|
// 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)
|
1890
2017
|
//
|
1891
2018
|
// @public (undocumented)
|
@@ -2092,6 +2219,19 @@ export const onVideoEvent: Observable<{
|
|
2092
2219
|
totalVideoLength: number;
|
2093
2220
|
}>;
|
2094
2221
|
|
2222
|
+
// @public (undocumented)
|
2223
|
+
export interface Orthographic {
|
2224
|
+
verticalRange?: number | undefined;
|
2225
|
+
}
|
2226
|
+
|
2227
|
+
// @public (undocumented)
|
2228
|
+
export namespace Orthographic {
|
2229
|
+
// (undocumented)
|
2230
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
2231
|
+
// (undocumented)
|
2232
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
2233
|
+
}
|
2234
|
+
|
2095
2235
|
// @public
|
2096
2236
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2097
2237
|
|
@@ -2232,6 +2372,7 @@ export namespace PBAvatarEmoteCommand {
|
|
2232
2372
|
export interface PBAvatarEquippedData {
|
2233
2373
|
// (undocumented)
|
2234
2374
|
emoteUrns: string[];
|
2375
|
+
forceRender: string[];
|
2235
2376
|
// (undocumented)
|
2236
2377
|
wearableUrns: string[];
|
2237
2378
|
}
|
@@ -2249,6 +2390,9 @@ export interface PBAvatarModifierArea {
|
|
2249
2390
|
area: PBVector3 | undefined;
|
2250
2391
|
excludeIds: string[];
|
2251
2392
|
modifiers: AvatarModifierType[];
|
2393
|
+
// (undocumented)
|
2394
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2395
|
+
useColliderRange?: boolean | undefined;
|
2252
2396
|
}
|
2253
2397
|
|
2254
2398
|
// @public (undocumented)
|
@@ -2266,10 +2410,10 @@ export interface PBAvatarShape {
|
|
2266
2410
|
expressionTriggerId?: string | undefined;
|
2267
2411
|
expressionTriggerTimestamp?: number | undefined;
|
2268
2412
|
eyeColor?: PBColor3 | undefined;
|
2413
|
+
forceRender: string[];
|
2269
2414
|
hairColor?: PBColor3 | undefined;
|
2270
2415
|
id: string;
|
2271
2416
|
name?: string | undefined;
|
2272
|
-
showOnlyWearables?: boolean | undefined;
|
2273
2417
|
skinColor?: PBColor3 | undefined;
|
2274
2418
|
talking?: boolean | undefined;
|
2275
2419
|
wearables: string[];
|
@@ -2296,6 +2440,42 @@ export namespace PBBillboard {
|
|
2296
2440
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2297
2441
|
}
|
2298
2442
|
|
2443
|
+
// @public (undocumented)
|
2444
|
+
export interface PBCameraLayer {
|
2445
|
+
// (undocumented)
|
2446
|
+
ambientBrightnessOverride?: number | undefined;
|
2447
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2448
|
+
ambientColorOverride?: PBColor3 | undefined;
|
2449
|
+
directionalLight?: boolean | undefined;
|
2450
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2451
|
+
layer: number;
|
2452
|
+
showAvatars?: boolean | undefined;
|
2453
|
+
showFog?: boolean | undefined;
|
2454
|
+
showSkybox?: boolean | undefined;
|
2455
|
+
}
|
2456
|
+
|
2457
|
+
// @public (undocumented)
|
2458
|
+
export namespace PBCameraLayer {
|
2459
|
+
// (undocumented)
|
2460
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
2461
|
+
// (undocumented)
|
2462
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
2463
|
+
}
|
2464
|
+
|
2465
|
+
// @public (undocumented)
|
2466
|
+
export interface PBCameraLayers {
|
2467
|
+
// (undocumented)
|
2468
|
+
layers: number[];
|
2469
|
+
}
|
2470
|
+
|
2471
|
+
// @public (undocumented)
|
2472
|
+
export namespace PBCameraLayers {
|
2473
|
+
// (undocumented)
|
2474
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
2475
|
+
// (undocumented)
|
2476
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
2477
|
+
}
|
2478
|
+
|
2299
2479
|
// @public (undocumented)
|
2300
2480
|
export interface PBCameraMode {
|
2301
2481
|
mode: CameraType;
|
@@ -2312,7 +2492,10 @@ export namespace PBCameraMode {
|
|
2312
2492
|
// @public (undocumented)
|
2313
2493
|
export interface PBCameraModeArea {
|
2314
2494
|
area: PBVector3 | undefined;
|
2495
|
+
// (undocumented)
|
2496
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2315
2497
|
mode: CameraType;
|
2498
|
+
useColliderRange?: boolean | undefined;
|
2316
2499
|
}
|
2317
2500
|
|
2318
2501
|
// @public (undocumented)
|
@@ -2376,6 +2559,21 @@ export namespace PBEngineInfo {
|
|
2376
2559
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2377
2560
|
}
|
2378
2561
|
|
2562
|
+
// @public (undocumented)
|
2563
|
+
export interface PBGlobalLight {
|
2564
|
+
ambientBrightness?: number | undefined;
|
2565
|
+
ambientColor?: PBColor3 | undefined;
|
2566
|
+
direction?: PBVector3 | undefined;
|
2567
|
+
}
|
2568
|
+
|
2569
|
+
// @public (undocumented)
|
2570
|
+
export namespace PBGlobalLight {
|
2571
|
+
// (undocumented)
|
2572
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
2573
|
+
// (undocumented)
|
2574
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
2575
|
+
}
|
2576
|
+
|
2379
2577
|
// @public (undocumented)
|
2380
2578
|
export interface PBGltfContainer {
|
2381
2579
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2393,8 +2591,13 @@ export namespace PBGltfContainer {
|
|
2393
2591
|
|
2394
2592
|
// @public (undocumented)
|
2395
2593
|
export interface PBGltfContainerLoadingState {
|
2594
|
+
animationNames: string[];
|
2396
2595
|
// (undocumented)
|
2397
2596
|
currentState: LoadingState;
|
2597
|
+
materialNames: string[];
|
2598
|
+
meshNames: string[];
|
2599
|
+
nodePaths: string[];
|
2600
|
+
skinNames: string[];
|
2398
2601
|
}
|
2399
2602
|
|
2400
2603
|
// @public (undocumented)
|
@@ -2406,32 +2609,32 @@ export namespace PBGltfContainerLoadingState {
|
|
2406
2609
|
}
|
2407
2610
|
|
2408
2611
|
// @public (undocumented)
|
2409
|
-
export interface
|
2410
|
-
|
2411
|
-
modifiers: PBGltfNodeModifiers_GltfNodeModifier[];
|
2612
|
+
export interface PBGltfNode {
|
2613
|
+
path: string;
|
2412
2614
|
}
|
2413
2615
|
|
2414
2616
|
// @public (undocumented)
|
2415
|
-
export namespace
|
2617
|
+
export namespace PBGltfNode {
|
2416
2618
|
// (undocumented)
|
2417
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number):
|
2619
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2418
2620
|
// (undocumented)
|
2419
|
-
export function encode(message:
|
2621
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2420
2622
|
}
|
2421
2623
|
|
2422
2624
|
// @public (undocumented)
|
2423
|
-
export interface
|
2424
|
-
|
2425
|
-
|
2426
|
-
|
2625
|
+
export interface PBGltfNodeState {
|
2626
|
+
// (undocumented)
|
2627
|
+
error?: string | undefined;
|
2628
|
+
// (undocumented)
|
2629
|
+
state: GltfNodeStateValue;
|
2427
2630
|
}
|
2428
2631
|
|
2429
2632
|
// @public (undocumented)
|
2430
|
-
export namespace
|
2633
|
+
export namespace PBGltfNodeState {
|
2431
2634
|
// (undocumented)
|
2432
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number):
|
2635
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2433
2636
|
// (undocumented)
|
2434
|
-
export function encode(message:
|
2637
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2435
2638
|
}
|
2436
2639
|
|
2437
2640
|
// @public (undocumented)
|
@@ -2542,6 +2745,7 @@ export namespace PBMainCamera {
|
|
2542
2745
|
|
2543
2746
|
// @public (undocumented)
|
2544
2747
|
export interface PBMaterial {
|
2748
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2545
2749
|
// (undocumented)
|
2546
2750
|
material?: {
|
2547
2751
|
$case: "unlit";
|
@@ -2560,6 +2764,22 @@ export namespace PBMaterial {
|
|
2560
2764
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2561
2765
|
}
|
2562
2766
|
|
2767
|
+
// @public (undocumented)
|
2768
|
+
export interface PBMaterial_GltfMaterial {
|
2769
|
+
// (undocumented)
|
2770
|
+
gltfSrc: string;
|
2771
|
+
// (undocumented)
|
2772
|
+
name: string;
|
2773
|
+
}
|
2774
|
+
|
2775
|
+
// @public (undocumented)
|
2776
|
+
export namespace PBMaterial_GltfMaterial {
|
2777
|
+
// (undocumented)
|
2778
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
2779
|
+
// (undocumented)
|
2780
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
2781
|
+
}
|
2782
|
+
|
2563
2783
|
// @public (undocumented)
|
2564
2784
|
export interface PBMaterial_PbrMaterial {
|
2565
2785
|
albedoColor?: PBColor4 | undefined;
|
@@ -2621,6 +2841,9 @@ export interface PBMeshCollider {
|
|
2621
2841
|
} | {
|
2622
2842
|
$case: "plane";
|
2623
2843
|
plane: PBMeshCollider_PlaneMesh;
|
2844
|
+
} | {
|
2845
|
+
$case: "gltf";
|
2846
|
+
gltf: PBMeshCollider_GltfMesh;
|
2624
2847
|
} | undefined;
|
2625
2848
|
}
|
2626
2849
|
|
@@ -2658,6 +2881,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2658
2881
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2659
2882
|
}
|
2660
2883
|
|
2884
|
+
// @public (undocumented)
|
2885
|
+
export interface PBMeshCollider_GltfMesh {
|
2886
|
+
gltfSrc: string;
|
2887
|
+
name: string;
|
2888
|
+
}
|
2889
|
+
|
2890
|
+
// @public (undocumented)
|
2891
|
+
export namespace PBMeshCollider_GltfMesh {
|
2892
|
+
// (undocumented)
|
2893
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2894
|
+
// (undocumented)
|
2895
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2896
|
+
}
|
2897
|
+
|
2661
2898
|
// @public (undocumented)
|
2662
2899
|
export interface PBMeshCollider_PlaneMesh {
|
2663
2900
|
}
|
@@ -2697,6 +2934,9 @@ export interface PBMeshRenderer {
|
|
2697
2934
|
} | {
|
2698
2935
|
$case: "plane";
|
2699
2936
|
plane: PBMeshRenderer_PlaneMesh;
|
2937
|
+
} | {
|
2938
|
+
$case: "gltf";
|
2939
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2700
2940
|
} | undefined;
|
2701
2941
|
}
|
2702
2942
|
|
@@ -2735,6 +2975,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2735
2975
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2736
2976
|
}
|
2737
2977
|
|
2978
|
+
// @public (undocumented)
|
2979
|
+
export interface PBMeshRenderer_GltfMesh {
|
2980
|
+
gltfSrc: string;
|
2981
|
+
name: string;
|
2982
|
+
}
|
2983
|
+
|
2984
|
+
// @public (undocumented)
|
2985
|
+
export namespace PBMeshRenderer_GltfMesh {
|
2986
|
+
// (undocumented)
|
2987
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2988
|
+
// (undocumented)
|
2989
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2990
|
+
}
|
2991
|
+
|
2738
2992
|
// @public (undocumented)
|
2739
2993
|
export interface PBMeshRenderer_PlaneMesh {
|
2740
2994
|
uvs: number[];
|
@@ -2989,20 +3243,6 @@ export namespace PBRealmInfo {
|
|
2989
3243
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2990
3244
|
}
|
2991
3245
|
|
2992
|
-
// @public (undocumented)
|
2993
|
-
export interface PBSkyboxTime {
|
2994
|
-
fixedTime: number;
|
2995
|
-
transitionMode?: TransitionMode | undefined;
|
2996
|
-
}
|
2997
|
-
|
2998
|
-
// @public (undocumented)
|
2999
|
-
export namespace PBSkyboxTime {
|
3000
|
-
// (undocumented)
|
3001
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkyboxTime;
|
3002
|
-
// (undocumented)
|
3003
|
-
export function encode(message: PBSkyboxTime, writer?: _m0.Writer): _m0.Writer;
|
3004
|
-
}
|
3005
|
-
|
3006
3246
|
// @public (undocumented)
|
3007
3247
|
export interface PBTextShape {
|
3008
3248
|
font?: Font | undefined;
|
@@ -3036,6 +3276,32 @@ export namespace PBTextShape {
|
|
3036
3276
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
3037
3277
|
}
|
3038
3278
|
|
3279
|
+
// @public (undocumented)
|
3280
|
+
export interface PBTextureCamera {
|
3281
|
+
clearColor?: PBColor4 | undefined;
|
3282
|
+
farPlane?: number | undefined;
|
3283
|
+
height?: number | undefined;
|
3284
|
+
layer?: number | undefined;
|
3285
|
+
// (undocumented)
|
3286
|
+
mode?: {
|
3287
|
+
$case: "perspective";
|
3288
|
+
perspective: Perspective;
|
3289
|
+
} | {
|
3290
|
+
$case: "orthographic";
|
3291
|
+
orthographic: Orthographic;
|
3292
|
+
} | undefined;
|
3293
|
+
volume?: number | undefined;
|
3294
|
+
width?: number | undefined;
|
3295
|
+
}
|
3296
|
+
|
3297
|
+
// @public (undocumented)
|
3298
|
+
export namespace PBTextureCamera {
|
3299
|
+
// (undocumented)
|
3300
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
3301
|
+
// (undocumented)
|
3302
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
3303
|
+
}
|
3304
|
+
|
3039
3305
|
// @public (undocumented)
|
3040
3306
|
export interface PBTween {
|
3041
3307
|
currentTime?: number | undefined;
|
@@ -3117,6 +3383,23 @@ export namespace PBUiBackground {
|
|
3117
3383
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
3118
3384
|
}
|
3119
3385
|
|
3386
|
+
// @public (undocumented)
|
3387
|
+
export interface PBUiCanvas {
|
3388
|
+
color?: PBColor4 | undefined;
|
3389
|
+
// (undocumented)
|
3390
|
+
height: number;
|
3391
|
+
// (undocumented)
|
3392
|
+
width: number;
|
3393
|
+
}
|
3394
|
+
|
3395
|
+
// @public (undocumented)
|
3396
|
+
export namespace PBUiCanvas {
|
3397
|
+
// (undocumented)
|
3398
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3399
|
+
// (undocumented)
|
3400
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3401
|
+
}
|
3402
|
+
|
3120
3403
|
// @public (undocumented)
|
3121
3404
|
export interface PBUiCanvasInformation {
|
3122
3405
|
devicePixelRatio: number;
|
@@ -3210,11 +3493,27 @@ export namespace PBUiInputResult {
|
|
3210
3493
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3211
3494
|
}
|
3212
3495
|
|
3496
|
+
// @public (undocumented)
|
3497
|
+
export interface PBUiScrollResult {
|
3498
|
+
// (undocumented)
|
3499
|
+
value: PBVector2 | undefined;
|
3500
|
+
}
|
3501
|
+
|
3502
|
+
// @public (undocumented)
|
3503
|
+
export namespace PBUiScrollResult {
|
3504
|
+
// (undocumented)
|
3505
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3506
|
+
// (undocumented)
|
3507
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3508
|
+
}
|
3509
|
+
|
3213
3510
|
// @public (undocumented)
|
3214
3511
|
export interface PBUiText {
|
3215
3512
|
color?: PBColor4 | undefined;
|
3216
3513
|
font?: Font | undefined;
|
3217
3514
|
fontSize?: number | undefined;
|
3515
|
+
outlineColor?: PBColor4 | undefined;
|
3516
|
+
outlineWidth?: number | undefined;
|
3218
3517
|
textAlign?: TextAlignMode | undefined;
|
3219
3518
|
textWrap?: TextWrap | undefined;
|
3220
3519
|
value: string;
|
@@ -3265,6 +3564,7 @@ export interface PBUiTransform {
|
|
3265
3564
|
borderTopWidth?: number | undefined;
|
3266
3565
|
borderTopWidthUnit?: YGUnit | undefined;
|
3267
3566
|
display: YGDisplay;
|
3567
|
+
elementId?: string | undefined;
|
3268
3568
|
// (undocumented)
|
3269
3569
|
flexBasis: number;
|
3270
3570
|
flexBasisUnit: YGUnit;
|
@@ -3333,6 +3633,8 @@ export interface PBUiTransform {
|
|
3333
3633
|
positionType: YGPositionType;
|
3334
3634
|
// (undocumented)
|
3335
3635
|
rightOf: number;
|
3636
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3637
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3336
3638
|
// (undocumented)
|
3337
3639
|
width: number;
|
3338
3640
|
widthUnit: YGUnit;
|
@@ -3448,6 +3750,19 @@ export namespace PBVisibilityComponent {
|
|
3448
3750
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3449
3751
|
}
|
3450
3752
|
|
3753
|
+
// @public (undocumented)
|
3754
|
+
export interface Perspective {
|
3755
|
+
fieldOfView?: number | undefined;
|
3756
|
+
}
|
3757
|
+
|
3758
|
+
// @public (undocumented)
|
3759
|
+
export namespace Perspective {
|
3760
|
+
// (undocumented)
|
3761
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
3762
|
+
// (undocumented)
|
3763
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
3764
|
+
}
|
3765
|
+
|
3451
3766
|
// @public
|
3452
3767
|
export namespace Plane {
|
3453
3768
|
// (undocumented)
|
@@ -3493,12 +3808,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
3493
3808
|
|
3494
3809
|
// @public (undocumented)
|
3495
3810
|
export interface PointerEventsSystem {
|
3811
|
+
onPointerDown(pointerData: {
|
3812
|
+
entity: Entity;
|
3813
|
+
optsList: EventSystemOptionsCallback[];
|
3814
|
+
}): void;
|
3496
3815
|
onPointerDown(pointerData: {
|
3497
3816
|
entity: Entity;
|
3498
3817
|
opts?: Partial<EventSystemOptions>;
|
3499
3818
|
}, cb: EventSystemCallback): void;
|
3500
3819
|
// @deprecated (undocumented)
|
3501
3820
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3821
|
+
onPointerDrag(pointerData: {
|
3822
|
+
entity: Entity;
|
3823
|
+
optsList: EventSystemOptionsCallback[];
|
3824
|
+
}): void;
|
3825
|
+
onPointerDrag(pointerData: {
|
3826
|
+
entity: Entity;
|
3827
|
+
opts?: Partial<EventSystemOptions>;
|
3828
|
+
}, cb: EventSystemCallback): void;
|
3829
|
+
onPointerDragEnd(pointerData: {
|
3830
|
+
entity: Entity;
|
3831
|
+
optsList: EventSystemOptionsCallback[];
|
3832
|
+
}): void;
|
3833
|
+
onPointerDragEnd(pointerData: {
|
3834
|
+
entity: Entity;
|
3835
|
+
opts?: Partial<EventSystemOptions>;
|
3836
|
+
}, cb: EventSystemCallback): void;
|
3837
|
+
onPointerDragLocked(pointerData: {
|
3838
|
+
entity: Entity;
|
3839
|
+
optsList: EventSystemOptionsCallback[];
|
3840
|
+
}): void;
|
3841
|
+
onPointerDragLocked(pointerData: {
|
3842
|
+
entity: Entity;
|
3843
|
+
opts?: Partial<EventSystemOptions>;
|
3844
|
+
}, cb: EventSystemCallback): void;
|
3502
3845
|
onPointerHoverEnter(pointerData: {
|
3503
3846
|
entity: Entity;
|
3504
3847
|
opts?: Partial<EventSystemOptions>;
|
@@ -3507,6 +3850,10 @@ export interface PointerEventsSystem {
|
|
3507
3850
|
entity: Entity;
|
3508
3851
|
opts?: Partial<EventSystemOptions>;
|
3509
3852
|
}, cb: EventSystemCallback): void;
|
3853
|
+
onPointerUp(pointerData: {
|
3854
|
+
entity: Entity;
|
3855
|
+
optsList: EventSystemOptionsCallback[];
|
3856
|
+
}): void;
|
3510
3857
|
onPointerUp(pointerData: {
|
3511
3858
|
entity: Entity;
|
3512
3859
|
opts?: Partial<EventSystemOptions>;
|
@@ -3514,6 +3861,9 @@ export interface PointerEventsSystem {
|
|
3514
3861
|
// @deprecated (undocumented)
|
3515
3862
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3516
3863
|
removeOnPointerDown(entity: Entity): void;
|
3864
|
+
removeOnPointerDrag(entity: Entity): void;
|
3865
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
3866
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
3517
3867
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3518
3868
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3519
3869
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3527,6 +3877,12 @@ export const enum PointerEventType {
|
|
3527
3877
|
// (undocumented)
|
3528
3878
|
PET_DOWN = 1,
|
3529
3879
|
// (undocumented)
|
3880
|
+
PET_DRAG = 5,
|
3881
|
+
// (undocumented)
|
3882
|
+
PET_DRAG_END = 6,
|
3883
|
+
// (undocumented)
|
3884
|
+
PET_DRAG_LOCKED = 4,
|
3885
|
+
// (undocumented)
|
3530
3886
|
PET_HOVER_ENTER = 2,
|
3531
3887
|
// (undocumented)
|
3532
3888
|
PET_HOVER_LEAVE = 3,
|
@@ -3551,7 +3907,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
3551
3907
|
// @public (undocumented)
|
3552
3908
|
export const enum PointerType {
|
3553
3909
|
POT_MOUSE = 1,
|
3554
|
-
POT_NONE = 0
|
3910
|
+
POT_NONE = 0,
|
3911
|
+
// (undocumented)
|
3912
|
+
POT_PAD = 2,
|
3913
|
+
// (undocumented)
|
3914
|
+
POT_TOUCH = 3,
|
3915
|
+
// (undocumented)
|
3916
|
+
POT_WAND = 4
|
3555
3917
|
}
|
3556
3918
|
|
3557
3919
|
// @public
|
@@ -3796,6 +4158,8 @@ export interface ReactBasedUiSystem {
|
|
3796
4158
|
// (undocumented)
|
3797
4159
|
destroy(): void;
|
3798
4160
|
// (undocumented)
|
4161
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4162
|
+
// (undocumented)
|
3799
4163
|
setUiRenderer(ui: UiComponent): void;
|
3800
4164
|
}
|
3801
4165
|
|
@@ -4053,7 +4417,39 @@ export namespace Schemas {
|
|
4053
4417
|
}
|
4054
4418
|
|
4055
4419
|
// @public (undocumented)
|
4056
|
-
export
|
4420
|
+
export interface ScrollPositionValue {
|
4421
|
+
// (undocumented)
|
4422
|
+
value?: {
|
4423
|
+
$case: "position";
|
4424
|
+
position: PBVector2;
|
4425
|
+
} | {
|
4426
|
+
$case: "reference";
|
4427
|
+
reference: string;
|
4428
|
+
} | undefined;
|
4429
|
+
}
|
4430
|
+
|
4431
|
+
// @public (undocumented)
|
4432
|
+
export namespace ScrollPositionValue {
|
4433
|
+
// (undocumented)
|
4434
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4435
|
+
// (undocumented)
|
4436
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4437
|
+
}
|
4438
|
+
|
4439
|
+
// @public
|
4440
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4441
|
+
|
4442
|
+
// @public (undocumented)
|
4443
|
+
export const enum ShowScrollBar {
|
4444
|
+
// (undocumented)
|
4445
|
+
SSB_BOTH = 0,
|
4446
|
+
// (undocumented)
|
4447
|
+
SSB_HIDDEN = 3,
|
4448
|
+
// (undocumented)
|
4449
|
+
SSB_ONLY_HORIZONTAL = 2,
|
4450
|
+
// (undocumented)
|
4451
|
+
SSB_ONLY_VERTICAL = 1
|
4452
|
+
}
|
4057
4453
|
|
4058
4454
|
// @public (undocumented)
|
4059
4455
|
export interface Spec {
|
@@ -4144,6 +4540,9 @@ export namespace Texture {
|
|
4144
4540
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
4145
4541
|
}
|
4146
4542
|
|
4543
|
+
// @public (undocumented)
|
4544
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4545
|
+
|
4147
4546
|
// @public (undocumented)
|
4148
4547
|
export const enum TextureFilterMode {
|
4149
4548
|
// (undocumented)
|
@@ -4206,6 +4605,9 @@ export interface TextureUnion {
|
|
4206
4605
|
} | {
|
4207
4606
|
$case: "videoTexture";
|
4208
4607
|
videoTexture: VideoTexture;
|
4608
|
+
} | {
|
4609
|
+
$case: "uiTexture";
|
4610
|
+
uiTexture: UiCanvasTexture;
|
4209
4611
|
} | undefined;
|
4210
4612
|
}
|
4211
4613
|
|
@@ -4287,12 +4689,6 @@ export type TransformType = {
|
|
4287
4689
|
// @public (undocumented)
|
4288
4690
|
export type TransformTypeWithOptionals = Partial<TransformType>;
|
4289
4691
|
|
4290
|
-
// @public (undocumented)
|
4291
|
-
export const enum TransitionMode {
|
4292
|
-
TM_BACKWARD = 1,
|
4293
|
-
TM_FORWARD = 0
|
4294
|
-
}
|
4295
|
-
|
4296
4692
|
// @public (undocumented)
|
4297
4693
|
export type Transport = {
|
4298
4694
|
send(message: Uint8Array | Uint8Array[]): Promise<void>;
|
@@ -4382,6 +4778,7 @@ export interface UiBackgroundProps {
|
|
4382
4778
|
textureMode?: TextureMode;
|
4383
4779
|
textureSlices?: BorderRect | undefined;
|
4384
4780
|
uvs?: number[];
|
4781
|
+
videoTexture?: UiVideoTexture;
|
4385
4782
|
}
|
4386
4783
|
|
4387
4784
|
// @public
|
@@ -4390,9 +4787,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4390
4787
|
variant?: 'primary' | 'secondary';
|
4391
4788
|
}
|
4392
4789
|
|
4790
|
+
// @public (undocumented)
|
4791
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4792
|
+
|
4393
4793
|
// @public (undocumented)
|
4394
4794
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4395
4795
|
|
4796
|
+
// @public (undocumented)
|
4797
|
+
export interface UiCanvasTexture {
|
4798
|
+
filterMode?: TextureFilterMode | undefined;
|
4799
|
+
// (undocumented)
|
4800
|
+
uiCanvasEntity: number;
|
4801
|
+
wrapMode?: TextureWrapMode | undefined;
|
4802
|
+
}
|
4803
|
+
|
4804
|
+
// @public (undocumented)
|
4805
|
+
export namespace UiCanvasTexture {
|
4806
|
+
// (undocumented)
|
4807
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4808
|
+
// (undocumented)
|
4809
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4810
|
+
}
|
4811
|
+
|
4396
4812
|
// @public (undocumented)
|
4397
4813
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4398
4814
|
|
@@ -4447,6 +4863,8 @@ export interface UiLabelProps {
|
|
4447
4863
|
color?: PBColor4 | undefined;
|
4448
4864
|
font?: UiFontType | undefined;
|
4449
4865
|
fontSize?: ScaleUnit | undefined;
|
4866
|
+
outlineColor?: PBColor4 | undefined;
|
4867
|
+
outlineWidth?: number | undefined;
|
4450
4868
|
textAlign?: TextAlignType | undefined;
|
4451
4869
|
textWrap?: UiTextWrapType | undefined;
|
4452
4870
|
value: string;
|
@@ -4455,6 +4873,9 @@ export interface UiLabelProps {
|
|
4455
4873
|
// @public
|
4456
4874
|
export type uint32 = number;
|
4457
4875
|
|
4876
|
+
// @public (undocumented)
|
4877
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4878
|
+
|
4458
4879
|
// @public (undocumented)
|
4459
4880
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4460
4881
|
|
@@ -4483,6 +4904,7 @@ export interface UiTransformProps {
|
|
4483
4904
|
// (undocumented)
|
4484
4905
|
borderWidth?: Partial<Position> | PositionUnit;
|
4485
4906
|
display?: DisplayType;
|
4907
|
+
elementId?: string;
|
4486
4908
|
flex?: number;
|
4487
4909
|
flexBasis?: number;
|
4488
4910
|
flexDirection?: FlexDirectionType;
|
@@ -4502,10 +4924,22 @@ export interface UiTransformProps {
|
|
4502
4924
|
pointerFilter?: PointerFilterType;
|
4503
4925
|
position?: Partial<Position> | PositionShorthand;
|
4504
4926
|
positionType?: PositionType;
|
4927
|
+
scrollPosition?: PBVector2 | string;
|
4928
|
+
scrollVisible?: ScrollVisibleType;
|
4505
4929
|
width?: PositionUnit | 'auto';
|
4506
4930
|
zIndex?: number;
|
4507
4931
|
}
|
4508
4932
|
|
4933
|
+
// @public
|
4934
|
+
export interface UiVideoTexture {
|
4935
|
+
// (undocumented)
|
4936
|
+
filterMode?: TextureFilterType;
|
4937
|
+
// (undocumented)
|
4938
|
+
videoPlayerEntity: Entity;
|
4939
|
+
// (undocumented)
|
4940
|
+
wrapMode?: TextureWrapType;
|
4941
|
+
}
|
4942
|
+
|
4509
4943
|
// @public (undocumented)
|
4510
4944
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
4511
4945
|
|