@dcl/playground-assets 7.9.4-16809745514.commit-19691a7 → 7.9.4-16839103320.commit-8a3e6ef
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 +748 -83
- package/dist/beta.d.ts +748 -83
- package/dist/index.bundled.d.ts +748 -83
- 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 +748 -83
- package/etc/playground-assets.api.json +9383 -2824
- package/etc/playground-assets.api.md +499 -50
- 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
|
+
//
|
142
151
|
// @public (undocumented)
|
143
|
-
export const AvatarEquippedData:
|
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
|
+
//
|
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)
|
@@ -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
|
@@ -1584,10 +1702,18 @@ export const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSourc
|
|
1584
1702
|
|
1585
1703
|
// @public
|
1586
1704
|
export type Listeners = {
|
1587
|
-
onMouseDown?:
|
1588
|
-
onMouseUp?:
|
1589
|
-
onMouseEnter?:
|
1590
|
-
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;
|
1591
1717
|
};
|
1592
1718
|
|
1593
1719
|
// @public (undocumented)
|
@@ -1827,6 +1953,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1827
1953
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1828
1954
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1829
1955
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1956
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1830
1957
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1831
1958
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1832
1959
|
}
|
@@ -1840,6 +1967,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1840
1967
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1841
1968
|
setBox(entity: Entity, uvs?: number[]): void;
|
1842
1969
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1970
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1843
1971
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1844
1972
|
setSphere(entity: Entity): void;
|
1845
1973
|
}
|
@@ -1871,6 +1999,20 @@ export namespace Move {
|
|
1871
1999
|
export function encode(message: Move, writer?: _m0.Writer): _m0.Writer;
|
1872
2000
|
}
|
1873
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
|
+
|
1874
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)
|
1875
2017
|
//
|
1876
2018
|
// @public (undocumented)
|
@@ -2077,6 +2219,19 @@ export const onVideoEvent: Observable<{
|
|
2077
2219
|
totalVideoLength: number;
|
2078
2220
|
}>;
|
2079
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
|
+
|
2080
2235
|
// @public
|
2081
2236
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2082
2237
|
|
@@ -2217,6 +2372,7 @@ export namespace PBAvatarEmoteCommand {
|
|
2217
2372
|
export interface PBAvatarEquippedData {
|
2218
2373
|
// (undocumented)
|
2219
2374
|
emoteUrns: string[];
|
2375
|
+
forceRender: string[];
|
2220
2376
|
// (undocumented)
|
2221
2377
|
wearableUrns: string[];
|
2222
2378
|
}
|
@@ -2234,6 +2390,9 @@ export interface PBAvatarModifierArea {
|
|
2234
2390
|
area: PBVector3 | undefined;
|
2235
2391
|
excludeIds: string[];
|
2236
2392
|
modifiers: AvatarModifierType[];
|
2393
|
+
// (undocumented)
|
2394
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2395
|
+
useColliderRange?: boolean | undefined;
|
2237
2396
|
}
|
2238
2397
|
|
2239
2398
|
// @public (undocumented)
|
@@ -2251,10 +2410,10 @@ export interface PBAvatarShape {
|
|
2251
2410
|
expressionTriggerId?: string | undefined;
|
2252
2411
|
expressionTriggerTimestamp?: number | undefined;
|
2253
2412
|
eyeColor?: PBColor3 | undefined;
|
2413
|
+
forceRender: string[];
|
2254
2414
|
hairColor?: PBColor3 | undefined;
|
2255
2415
|
id: string;
|
2256
2416
|
name?: string | undefined;
|
2257
|
-
showOnlyWearables?: boolean | undefined;
|
2258
2417
|
skinColor?: PBColor3 | undefined;
|
2259
2418
|
talking?: boolean | undefined;
|
2260
2419
|
wearables: string[];
|
@@ -2281,6 +2440,42 @@ export namespace PBBillboard {
|
|
2281
2440
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2282
2441
|
}
|
2283
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
|
+
|
2284
2479
|
// @public (undocumented)
|
2285
2480
|
export interface PBCameraMode {
|
2286
2481
|
mode: CameraType;
|
@@ -2297,7 +2492,10 @@ export namespace PBCameraMode {
|
|
2297
2492
|
// @public (undocumented)
|
2298
2493
|
export interface PBCameraModeArea {
|
2299
2494
|
area: PBVector3 | undefined;
|
2495
|
+
// (undocumented)
|
2496
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2300
2497
|
mode: CameraType;
|
2498
|
+
useColliderRange?: boolean | undefined;
|
2301
2499
|
}
|
2302
2500
|
|
2303
2501
|
// @public (undocumented)
|
@@ -2361,6 +2559,21 @@ export namespace PBEngineInfo {
|
|
2361
2559
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2362
2560
|
}
|
2363
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
|
+
|
2364
2577
|
// @public (undocumented)
|
2365
2578
|
export interface PBGltfContainer {
|
2366
2579
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2378,8 +2591,13 @@ export namespace PBGltfContainer {
|
|
2378
2591
|
|
2379
2592
|
// @public (undocumented)
|
2380
2593
|
export interface PBGltfContainerLoadingState {
|
2594
|
+
animationNames: string[];
|
2381
2595
|
// (undocumented)
|
2382
2596
|
currentState: LoadingState;
|
2597
|
+
materialNames: string[];
|
2598
|
+
meshNames: string[];
|
2599
|
+
nodePaths: string[];
|
2600
|
+
skinNames: string[];
|
2383
2601
|
}
|
2384
2602
|
|
2385
2603
|
// @public (undocumented)
|
@@ -2391,32 +2609,32 @@ export namespace PBGltfContainerLoadingState {
|
|
2391
2609
|
}
|
2392
2610
|
|
2393
2611
|
// @public (undocumented)
|
2394
|
-
export interface
|
2395
|
-
|
2396
|
-
modifiers: PBGltfNodeModifiers_GltfNodeModifier[];
|
2612
|
+
export interface PBGltfNode {
|
2613
|
+
path: string;
|
2397
2614
|
}
|
2398
2615
|
|
2399
2616
|
// @public (undocumented)
|
2400
|
-
export namespace
|
2617
|
+
export namespace PBGltfNode {
|
2401
2618
|
// (undocumented)
|
2402
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number):
|
2619
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2403
2620
|
// (undocumented)
|
2404
|
-
export function encode(message:
|
2621
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2405
2622
|
}
|
2406
2623
|
|
2407
2624
|
// @public (undocumented)
|
2408
|
-
export interface
|
2409
|
-
|
2410
|
-
|
2411
|
-
|
2625
|
+
export interface PBGltfNodeState {
|
2626
|
+
// (undocumented)
|
2627
|
+
error?: string | undefined;
|
2628
|
+
// (undocumented)
|
2629
|
+
state: GltfNodeStateValue;
|
2412
2630
|
}
|
2413
2631
|
|
2414
2632
|
// @public (undocumented)
|
2415
|
-
export namespace
|
2633
|
+
export namespace PBGltfNodeState {
|
2416
2634
|
// (undocumented)
|
2417
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number):
|
2635
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2418
2636
|
// (undocumented)
|
2419
|
-
export function encode(message:
|
2637
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2420
2638
|
}
|
2421
2639
|
|
2422
2640
|
// @public (undocumented)
|
@@ -2527,6 +2745,7 @@ export namespace PBMainCamera {
|
|
2527
2745
|
|
2528
2746
|
// @public (undocumented)
|
2529
2747
|
export interface PBMaterial {
|
2748
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2530
2749
|
// (undocumented)
|
2531
2750
|
material?: {
|
2532
2751
|
$case: "unlit";
|
@@ -2545,6 +2764,22 @@ export namespace PBMaterial {
|
|
2545
2764
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2546
2765
|
}
|
2547
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
|
+
|
2548
2783
|
// @public (undocumented)
|
2549
2784
|
export interface PBMaterial_PbrMaterial {
|
2550
2785
|
albedoColor?: PBColor4 | undefined;
|
@@ -2606,6 +2841,9 @@ export interface PBMeshCollider {
|
|
2606
2841
|
} | {
|
2607
2842
|
$case: "plane";
|
2608
2843
|
plane: PBMeshCollider_PlaneMesh;
|
2844
|
+
} | {
|
2845
|
+
$case: "gltf";
|
2846
|
+
gltf: PBMeshCollider_GltfMesh;
|
2609
2847
|
} | undefined;
|
2610
2848
|
}
|
2611
2849
|
|
@@ -2643,6 +2881,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2643
2881
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2644
2882
|
}
|
2645
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
|
+
|
2646
2898
|
// @public (undocumented)
|
2647
2899
|
export interface PBMeshCollider_PlaneMesh {
|
2648
2900
|
}
|
@@ -2682,6 +2934,9 @@ export interface PBMeshRenderer {
|
|
2682
2934
|
} | {
|
2683
2935
|
$case: "plane";
|
2684
2936
|
plane: PBMeshRenderer_PlaneMesh;
|
2937
|
+
} | {
|
2938
|
+
$case: "gltf";
|
2939
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2685
2940
|
} | undefined;
|
2686
2941
|
}
|
2687
2942
|
|
@@ -2720,6 +2975,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2720
2975
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2721
2976
|
}
|
2722
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
|
+
|
2723
2992
|
// @public (undocumented)
|
2724
2993
|
export interface PBMeshRenderer_PlaneMesh {
|
2725
2994
|
uvs: number[];
|
@@ -2974,20 +3243,6 @@ export namespace PBRealmInfo {
|
|
2974
3243
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2975
3244
|
}
|
2976
3245
|
|
2977
|
-
// @public (undocumented)
|
2978
|
-
export interface PBSkyboxTime {
|
2979
|
-
fixedTime: number;
|
2980
|
-
transitionMode?: TransitionMode | undefined;
|
2981
|
-
}
|
2982
|
-
|
2983
|
-
// @public (undocumented)
|
2984
|
-
export namespace PBSkyboxTime {
|
2985
|
-
// (undocumented)
|
2986
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkyboxTime;
|
2987
|
-
// (undocumented)
|
2988
|
-
export function encode(message: PBSkyboxTime, writer?: _m0.Writer): _m0.Writer;
|
2989
|
-
}
|
2990
|
-
|
2991
3246
|
// @public (undocumented)
|
2992
3247
|
export interface PBTextShape {
|
2993
3248
|
font?: Font | undefined;
|
@@ -3021,6 +3276,32 @@ export namespace PBTextShape {
|
|
3021
3276
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
3022
3277
|
}
|
3023
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
|
+
|
3024
3305
|
// @public (undocumented)
|
3025
3306
|
export interface PBTween {
|
3026
3307
|
currentTime?: number | undefined;
|
@@ -3102,6 +3383,23 @@ export namespace PBUiBackground {
|
|
3102
3383
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
3103
3384
|
}
|
3104
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
|
+
|
3105
3403
|
// @public (undocumented)
|
3106
3404
|
export interface PBUiCanvasInformation {
|
3107
3405
|
devicePixelRatio: number;
|
@@ -3195,11 +3493,27 @@ export namespace PBUiInputResult {
|
|
3195
3493
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3196
3494
|
}
|
3197
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
|
+
|
3198
3510
|
// @public (undocumented)
|
3199
3511
|
export interface PBUiText {
|
3200
3512
|
color?: PBColor4 | undefined;
|
3201
3513
|
font?: Font | undefined;
|
3202
3514
|
fontSize?: number | undefined;
|
3515
|
+
outlineColor?: PBColor4 | undefined;
|
3516
|
+
outlineWidth?: number | undefined;
|
3203
3517
|
textAlign?: TextAlignMode | undefined;
|
3204
3518
|
textWrap?: TextWrap | undefined;
|
3205
3519
|
value: string;
|
@@ -3250,6 +3564,7 @@ export interface PBUiTransform {
|
|
3250
3564
|
borderTopWidth?: number | undefined;
|
3251
3565
|
borderTopWidthUnit?: YGUnit | undefined;
|
3252
3566
|
display: YGDisplay;
|
3567
|
+
elementId?: string | undefined;
|
3253
3568
|
// (undocumented)
|
3254
3569
|
flexBasis: number;
|
3255
3570
|
flexBasisUnit: YGUnit;
|
@@ -3318,6 +3633,8 @@ export interface PBUiTransform {
|
|
3318
3633
|
positionType: YGPositionType;
|
3319
3634
|
// (undocumented)
|
3320
3635
|
rightOf: number;
|
3636
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3637
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3321
3638
|
// (undocumented)
|
3322
3639
|
width: number;
|
3323
3640
|
widthUnit: YGUnit;
|
@@ -3433,6 +3750,19 @@ export namespace PBVisibilityComponent {
|
|
3433
3750
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3434
3751
|
}
|
3435
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
|
+
|
3436
3766
|
// @public
|
3437
3767
|
export namespace Plane {
|
3438
3768
|
// (undocumented)
|
@@ -3478,12 +3808,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
3478
3808
|
|
3479
3809
|
// @public (undocumented)
|
3480
3810
|
export interface PointerEventsSystem {
|
3811
|
+
onPointerDown(pointerData: {
|
3812
|
+
entity: Entity;
|
3813
|
+
optsList: EventSystemOptionsCallback[];
|
3814
|
+
}): void;
|
3481
3815
|
onPointerDown(pointerData: {
|
3482
3816
|
entity: Entity;
|
3483
3817
|
opts?: Partial<EventSystemOptions>;
|
3484
3818
|
}, cb: EventSystemCallback): void;
|
3485
3819
|
// @deprecated (undocumented)
|
3486
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;
|
3487
3845
|
onPointerHoverEnter(pointerData: {
|
3488
3846
|
entity: Entity;
|
3489
3847
|
opts?: Partial<EventSystemOptions>;
|
@@ -3492,6 +3850,10 @@ export interface PointerEventsSystem {
|
|
3492
3850
|
entity: Entity;
|
3493
3851
|
opts?: Partial<EventSystemOptions>;
|
3494
3852
|
}, cb: EventSystemCallback): void;
|
3853
|
+
onPointerUp(pointerData: {
|
3854
|
+
entity: Entity;
|
3855
|
+
optsList: EventSystemOptionsCallback[];
|
3856
|
+
}): void;
|
3495
3857
|
onPointerUp(pointerData: {
|
3496
3858
|
entity: Entity;
|
3497
3859
|
opts?: Partial<EventSystemOptions>;
|
@@ -3499,6 +3861,9 @@ export interface PointerEventsSystem {
|
|
3499
3861
|
// @deprecated (undocumented)
|
3500
3862
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3501
3863
|
removeOnPointerDown(entity: Entity): void;
|
3864
|
+
removeOnPointerDrag(entity: Entity): void;
|
3865
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
3866
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
3502
3867
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3503
3868
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3504
3869
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3512,6 +3877,12 @@ export const enum PointerEventType {
|
|
3512
3877
|
// (undocumented)
|
3513
3878
|
PET_DOWN = 1,
|
3514
3879
|
// (undocumented)
|
3880
|
+
PET_DRAG = 5,
|
3881
|
+
// (undocumented)
|
3882
|
+
PET_DRAG_END = 6,
|
3883
|
+
// (undocumented)
|
3884
|
+
PET_DRAG_LOCKED = 4,
|
3885
|
+
// (undocumented)
|
3515
3886
|
PET_HOVER_ENTER = 2,
|
3516
3887
|
// (undocumented)
|
3517
3888
|
PET_HOVER_LEAVE = 3,
|
@@ -3536,7 +3907,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
3536
3907
|
// @public (undocumented)
|
3537
3908
|
export const enum PointerType {
|
3538
3909
|
POT_MOUSE = 1,
|
3539
|
-
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
|
3540
3917
|
}
|
3541
3918
|
|
3542
3919
|
// @public
|
@@ -3781,6 +4158,8 @@ export interface ReactBasedUiSystem {
|
|
3781
4158
|
// (undocumented)
|
3782
4159
|
destroy(): void;
|
3783
4160
|
// (undocumented)
|
4161
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4162
|
+
// (undocumented)
|
3784
4163
|
setUiRenderer(ui: UiComponent): void;
|
3785
4164
|
}
|
3786
4165
|
|
@@ -4038,7 +4417,39 @@ export namespace Schemas {
|
|
4038
4417
|
}
|
4039
4418
|
|
4040
4419
|
// @public (undocumented)
|
4041
|
-
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
|
+
}
|
4042
4453
|
|
4043
4454
|
// @public (undocumented)
|
4044
4455
|
export interface Spec {
|
@@ -4129,6 +4540,9 @@ export namespace Texture {
|
|
4129
4540
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
4130
4541
|
}
|
4131
4542
|
|
4543
|
+
// @public (undocumented)
|
4544
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4545
|
+
|
4132
4546
|
// @public (undocumented)
|
4133
4547
|
export const enum TextureFilterMode {
|
4134
4548
|
// (undocumented)
|
@@ -4191,6 +4605,9 @@ export interface TextureUnion {
|
|
4191
4605
|
} | {
|
4192
4606
|
$case: "videoTexture";
|
4193
4607
|
videoTexture: VideoTexture;
|
4608
|
+
} | {
|
4609
|
+
$case: "uiTexture";
|
4610
|
+
uiTexture: UiCanvasTexture;
|
4194
4611
|
} | undefined;
|
4195
4612
|
}
|
4196
4613
|
|
@@ -4272,12 +4689,6 @@ export type TransformType = {
|
|
4272
4689
|
// @public (undocumented)
|
4273
4690
|
export type TransformTypeWithOptionals = Partial<TransformType>;
|
4274
4691
|
|
4275
|
-
// @public (undocumented)
|
4276
|
-
export const enum TransitionMode {
|
4277
|
-
TM_BACKWARD = 1,
|
4278
|
-
TM_FORWARD = 0
|
4279
|
-
}
|
4280
|
-
|
4281
4692
|
// @public (undocumented)
|
4282
4693
|
export type Transport = {
|
4283
4694
|
send(message: Uint8Array | Uint8Array[]): Promise<void>;
|
@@ -4367,6 +4778,7 @@ export interface UiBackgroundProps {
|
|
4367
4778
|
textureMode?: TextureMode;
|
4368
4779
|
textureSlices?: BorderRect | undefined;
|
4369
4780
|
uvs?: number[];
|
4781
|
+
videoTexture?: UiVideoTexture;
|
4370
4782
|
}
|
4371
4783
|
|
4372
4784
|
// @public
|
@@ -4375,9 +4787,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4375
4787
|
variant?: 'primary' | 'secondary';
|
4376
4788
|
}
|
4377
4789
|
|
4790
|
+
// @public (undocumented)
|
4791
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4792
|
+
|
4378
4793
|
// @public (undocumented)
|
4379
4794
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4380
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
|
+
|
4381
4812
|
// @public (undocumented)
|
4382
4813
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4383
4814
|
|
@@ -4432,6 +4863,8 @@ export interface UiLabelProps {
|
|
4432
4863
|
color?: PBColor4 | undefined;
|
4433
4864
|
font?: UiFontType | undefined;
|
4434
4865
|
fontSize?: ScaleUnit | undefined;
|
4866
|
+
outlineColor?: PBColor4 | undefined;
|
4867
|
+
outlineWidth?: number | undefined;
|
4435
4868
|
textAlign?: TextAlignType | undefined;
|
4436
4869
|
textWrap?: UiTextWrapType | undefined;
|
4437
4870
|
value: string;
|
@@ -4440,6 +4873,9 @@ export interface UiLabelProps {
|
|
4440
4873
|
// @public
|
4441
4874
|
export type uint32 = number;
|
4442
4875
|
|
4876
|
+
// @public (undocumented)
|
4877
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4878
|
+
|
4443
4879
|
// @public (undocumented)
|
4444
4880
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4445
4881
|
|
@@ -4468,6 +4904,7 @@ export interface UiTransformProps {
|
|
4468
4904
|
// (undocumented)
|
4469
4905
|
borderWidth?: Partial<Position> | PositionUnit;
|
4470
4906
|
display?: DisplayType;
|
4907
|
+
elementId?: string;
|
4471
4908
|
flex?: number;
|
4472
4909
|
flexBasis?: number;
|
4473
4910
|
flexDirection?: FlexDirectionType;
|
@@ -4487,10 +4924,22 @@ export interface UiTransformProps {
|
|
4487
4924
|
pointerFilter?: PointerFilterType;
|
4488
4925
|
position?: Partial<Position> | PositionShorthand;
|
4489
4926
|
positionType?: PositionType;
|
4927
|
+
scrollPosition?: PBVector2 | string;
|
4928
|
+
scrollVisible?: ScrollVisibleType;
|
4490
4929
|
width?: PositionUnit | 'auto';
|
4491
4930
|
zIndex?: number;
|
4492
4931
|
}
|
4493
4932
|
|
4933
|
+
// @public
|
4934
|
+
export interface UiVideoTexture {
|
4935
|
+
// (undocumented)
|
4936
|
+
filterMode?: TextureFilterType;
|
4937
|
+
// (undocumented)
|
4938
|
+
videoPlayerEntity: Entity;
|
4939
|
+
// (undocumented)
|
4940
|
+
wrapMode?: TextureWrapType;
|
4941
|
+
}
|
4942
|
+
|
4494
4943
|
// @public (undocumented)
|
4495
4944
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
4496
4945
|
|