@dcl/playground-assets 7.8.22-16451545276.commit-a3e1759 → 7.8.22-16482785086.commit-b7d3158
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 +833 -69
- package/dist/beta.d.ts +833 -69
- package/dist/index.bundled.d.ts +833 -69
- 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 +833 -69
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +9416 -2197
- package/etc/playground-assets.api.md +530 -41
- 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,13 +715,18 @@ 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>>;
|
729
|
+
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
643
730
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
644
731
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
645
732
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -653,17 +740,20 @@ export const componentDefinitionByName: {
|
|
653
740
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
654
741
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
655
742
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
656
|
-
"core::
|
743
|
+
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
657
744
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
745
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
658
746
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
659
747
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
660
748
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
661
749
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
750
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
662
751
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
663
752
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
664
753
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
665
754
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
666
755
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
756
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
667
757
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
668
758
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
669
759
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -1098,10 +1188,18 @@ export type EntityComponents = {
|
|
1098
1188
|
uiBackground: PBUiBackground;
|
1099
1189
|
uiInput: PBUiInput;
|
1100
1190
|
uiDropdown: PBUiDropdown;
|
1101
|
-
onMouseDown:
|
1102
|
-
onMouseUp:
|
1103
|
-
onMouseEnter:
|
1104
|
-
onMouseLeave:
|
1191
|
+
onMouseDown: EventSystemCallback;
|
1192
|
+
onMouseUp: EventSystemCallback;
|
1193
|
+
onMouseEnter: EventSystemCallback;
|
1194
|
+
onMouseLeave: EventSystemCallback;
|
1195
|
+
onMouseDrag: EventSystemCallback;
|
1196
|
+
onMouseDragLocked: EventSystemCallback;
|
1197
|
+
onMouseDragEnd: EventSystemCallback;
|
1198
|
+
onInputDown: MultiCallback;
|
1199
|
+
onInputUp: MultiCallback;
|
1200
|
+
onInputDrag: MultiCallback;
|
1201
|
+
onInputDragLocked: MultiCallback;
|
1202
|
+
onInputDragEnd: MultiCallback;
|
1105
1203
|
};
|
1106
1204
|
|
1107
1205
|
// @public (undocumented)
|
@@ -1153,6 +1251,11 @@ export type EventSystemOptions = {
|
|
1153
1251
|
showHighlight?: boolean;
|
1154
1252
|
};
|
1155
1253
|
|
1254
|
+
// @public (undocumented)
|
1255
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
1256
|
+
cb: EventSystemCallback;
|
1257
|
+
};
|
1258
|
+
|
1156
1259
|
// @public
|
1157
1260
|
export type ExcludeUndefined<T> = {
|
1158
1261
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
@@ -1205,6 +1308,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1205
1308
|
direction?: PBVector3;
|
1206
1309
|
};
|
1207
1310
|
|
1311
|
+
// @public (undocumented)
|
1312
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1313
|
+
|
1208
1314
|
// 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)
|
1209
1315
|
//
|
1210
1316
|
// @public (undocumented)
|
@@ -1224,7 +1330,20 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1224
1330
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1225
1331
|
|
1226
1332
|
// @public (undocumented)
|
1227
|
-
export const
|
1333
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
1334
|
+
|
1335
|
+
// @public (undocumented)
|
1336
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
1337
|
+
|
1338
|
+
// @public (undocumented)
|
1339
|
+
export const enum GltfNodeStateValue {
|
1340
|
+
// (undocumented)
|
1341
|
+
GNSV_FAILED = 1,
|
1342
|
+
// (undocumented)
|
1343
|
+
GNSV_PENDING = 0,
|
1344
|
+
// (undocumented)
|
1345
|
+
GNSV_READY = 2
|
1346
|
+
}
|
1228
1347
|
|
1229
1348
|
// @public (undocumented)
|
1230
1349
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
@@ -1349,6 +1468,7 @@ export type IInputSystem = {
|
|
1349
1468
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
1350
1469
|
isPressed: (inputAction: InputAction) => boolean;
|
1351
1470
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
1471
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
1352
1472
|
};
|
1353
1473
|
|
1354
1474
|
// @public
|
@@ -1578,12 +1698,23 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1578
1698
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1579
1699
|
}
|
1580
1700
|
|
1701
|
+
// @public (undocumented)
|
1702
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1703
|
+
|
1581
1704
|
// @public
|
1582
1705
|
export type Listeners = {
|
1583
|
-
onMouseDown?:
|
1584
|
-
onMouseUp?:
|
1585
|
-
onMouseEnter?:
|
1586
|
-
onMouseLeave?:
|
1706
|
+
onMouseDown?: EventSystemCallback;
|
1707
|
+
onMouseUp?: EventSystemCallback;
|
1708
|
+
onMouseEnter?: EventSystemCallback;
|
1709
|
+
onMouseLeave?: EventSystemCallback;
|
1710
|
+
onMouseDrag?: EventSystemCallback;
|
1711
|
+
onMouseDragLocked?: EventSystemCallback;
|
1712
|
+
onMouseDragEnd?: EventSystemCallback;
|
1713
|
+
onInputDown?: MultiCallback;
|
1714
|
+
onInputUp?: MultiCallback;
|
1715
|
+
onInputDrag?: MultiCallback;
|
1716
|
+
onInputDragLocked?: MultiCallback;
|
1717
|
+
onInputDragEnd?: MultiCallback;
|
1587
1718
|
};
|
1588
1719
|
|
1589
1720
|
// @public (undocumented)
|
@@ -1823,6 +1954,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1823
1954
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1824
1955
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1825
1956
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1957
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1826
1958
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1827
1959
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1828
1960
|
}
|
@@ -1836,6 +1968,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1836
1968
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1837
1969
|
setBox(entity: Entity, uvs?: number[]): void;
|
1838
1970
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1971
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1839
1972
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1840
1973
|
setSphere(entity: Entity): void;
|
1841
1974
|
}
|
@@ -1867,6 +2000,20 @@ export namespace Move {
|
|
1867
2000
|
export function encode(message: Move, writer?: _m0.Writer): _m0.Writer;
|
1868
2001
|
}
|
1869
2002
|
|
2003
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
2004
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
2005
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2006
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
2007
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
2008
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2009
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
2010
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
2011
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
2012
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
2013
|
+
//
|
2014
|
+
// @public
|
2015
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
2016
|
+
|
1870
2017
|
// 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)
|
1871
2018
|
//
|
1872
2019
|
// @public (undocumented)
|
@@ -2073,6 +2220,19 @@ export const onVideoEvent: Observable<{
|
|
2073
2220
|
totalVideoLength: number;
|
2074
2221
|
}>;
|
2075
2222
|
|
2223
|
+
// @public (undocumented)
|
2224
|
+
export interface Orthographic {
|
2225
|
+
verticalRange?: number | undefined;
|
2226
|
+
}
|
2227
|
+
|
2228
|
+
// @public (undocumented)
|
2229
|
+
export namespace Orthographic {
|
2230
|
+
// (undocumented)
|
2231
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
2232
|
+
// (undocumented)
|
2233
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
2234
|
+
}
|
2235
|
+
|
2076
2236
|
// @public
|
2077
2237
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2078
2238
|
|
@@ -2213,6 +2373,7 @@ export namespace PBAvatarEmoteCommand {
|
|
2213
2373
|
export interface PBAvatarEquippedData {
|
2214
2374
|
// (undocumented)
|
2215
2375
|
emoteUrns: string[];
|
2376
|
+
forceRender: string[];
|
2216
2377
|
// (undocumented)
|
2217
2378
|
wearableUrns: string[];
|
2218
2379
|
}
|
@@ -2230,6 +2391,9 @@ export interface PBAvatarModifierArea {
|
|
2230
2391
|
area: PBVector3 | undefined;
|
2231
2392
|
excludeIds: string[];
|
2232
2393
|
modifiers: AvatarModifierType[];
|
2394
|
+
// (undocumented)
|
2395
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2396
|
+
useColliderRange?: boolean | undefined;
|
2233
2397
|
}
|
2234
2398
|
|
2235
2399
|
// @public (undocumented)
|
@@ -2247,6 +2411,7 @@ export interface PBAvatarShape {
|
|
2247
2411
|
expressionTriggerId?: string | undefined;
|
2248
2412
|
expressionTriggerTimestamp?: number | undefined;
|
2249
2413
|
eyeColor?: PBColor3 | undefined;
|
2414
|
+
forceRender: string[];
|
2250
2415
|
hairColor?: PBColor3 | undefined;
|
2251
2416
|
id: string;
|
2252
2417
|
name?: string | undefined;
|
@@ -2276,6 +2441,42 @@ export namespace PBBillboard {
|
|
2276
2441
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2277
2442
|
}
|
2278
2443
|
|
2444
|
+
// @public (undocumented)
|
2445
|
+
export interface PBCameraLayer {
|
2446
|
+
// (undocumented)
|
2447
|
+
ambientBrightnessOverride?: number | undefined;
|
2448
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2449
|
+
ambientColorOverride?: PBColor3 | undefined;
|
2450
|
+
directionalLight?: boolean | undefined;
|
2451
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2452
|
+
layer: number;
|
2453
|
+
showAvatars?: boolean | undefined;
|
2454
|
+
showFog?: boolean | undefined;
|
2455
|
+
showSkybox?: boolean | undefined;
|
2456
|
+
}
|
2457
|
+
|
2458
|
+
// @public (undocumented)
|
2459
|
+
export namespace PBCameraLayer {
|
2460
|
+
// (undocumented)
|
2461
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
2462
|
+
// (undocumented)
|
2463
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
2464
|
+
}
|
2465
|
+
|
2466
|
+
// @public (undocumented)
|
2467
|
+
export interface PBCameraLayers {
|
2468
|
+
// (undocumented)
|
2469
|
+
layers: number[];
|
2470
|
+
}
|
2471
|
+
|
2472
|
+
// @public (undocumented)
|
2473
|
+
export namespace PBCameraLayers {
|
2474
|
+
// (undocumented)
|
2475
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
2476
|
+
// (undocumented)
|
2477
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
2478
|
+
}
|
2479
|
+
|
2279
2480
|
// @public (undocumented)
|
2280
2481
|
export interface PBCameraMode {
|
2281
2482
|
mode: CameraType;
|
@@ -2292,7 +2493,10 @@ export namespace PBCameraMode {
|
|
2292
2493
|
// @public (undocumented)
|
2293
2494
|
export interface PBCameraModeArea {
|
2294
2495
|
area: PBVector3 | undefined;
|
2496
|
+
// (undocumented)
|
2497
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2295
2498
|
mode: CameraType;
|
2499
|
+
useColliderRange?: boolean | undefined;
|
2296
2500
|
}
|
2297
2501
|
|
2298
2502
|
// @public (undocumented)
|
@@ -2356,6 +2560,21 @@ export namespace PBEngineInfo {
|
|
2356
2560
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2357
2561
|
}
|
2358
2562
|
|
2563
|
+
// @public (undocumented)
|
2564
|
+
export interface PBGlobalLight {
|
2565
|
+
ambientBrightness?: number | undefined;
|
2566
|
+
ambientColor?: PBColor3 | undefined;
|
2567
|
+
direction?: PBVector3 | undefined;
|
2568
|
+
}
|
2569
|
+
|
2570
|
+
// @public (undocumented)
|
2571
|
+
export namespace PBGlobalLight {
|
2572
|
+
// (undocumented)
|
2573
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
2574
|
+
// (undocumented)
|
2575
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
2576
|
+
}
|
2577
|
+
|
2359
2578
|
// @public (undocumented)
|
2360
2579
|
export interface PBGltfContainer {
|
2361
2580
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2373,8 +2592,13 @@ export namespace PBGltfContainer {
|
|
2373
2592
|
|
2374
2593
|
// @public (undocumented)
|
2375
2594
|
export interface PBGltfContainerLoadingState {
|
2595
|
+
animationNames: string[];
|
2376
2596
|
// (undocumented)
|
2377
2597
|
currentState: LoadingState;
|
2598
|
+
materialNames: string[];
|
2599
|
+
meshNames: string[];
|
2600
|
+
nodePaths: string[];
|
2601
|
+
skinNames: string[];
|
2378
2602
|
}
|
2379
2603
|
|
2380
2604
|
// @public (undocumented)
|
@@ -2386,32 +2610,32 @@ export namespace PBGltfContainerLoadingState {
|
|
2386
2610
|
}
|
2387
2611
|
|
2388
2612
|
// @public (undocumented)
|
2389
|
-
export interface
|
2390
|
-
|
2391
|
-
modifiers: PBGltfNodeModifiers_GltfNodeModifier[];
|
2613
|
+
export interface PBGltfNode {
|
2614
|
+
path: string;
|
2392
2615
|
}
|
2393
2616
|
|
2394
2617
|
// @public (undocumented)
|
2395
|
-
export namespace
|
2618
|
+
export namespace PBGltfNode {
|
2396
2619
|
// (undocumented)
|
2397
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number):
|
2620
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2398
2621
|
// (undocumented)
|
2399
|
-
export function encode(message:
|
2622
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2400
2623
|
}
|
2401
2624
|
|
2402
2625
|
// @public (undocumented)
|
2403
|
-
export interface
|
2404
|
-
|
2405
|
-
|
2406
|
-
|
2626
|
+
export interface PBGltfNodeState {
|
2627
|
+
// (undocumented)
|
2628
|
+
error?: string | undefined;
|
2629
|
+
// (undocumented)
|
2630
|
+
state: GltfNodeStateValue;
|
2407
2631
|
}
|
2408
2632
|
|
2409
2633
|
// @public (undocumented)
|
2410
|
-
export namespace
|
2634
|
+
export namespace PBGltfNodeState {
|
2411
2635
|
// (undocumented)
|
2412
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number):
|
2636
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2413
2637
|
// (undocumented)
|
2414
|
-
export function encode(message:
|
2638
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2415
2639
|
}
|
2416
2640
|
|
2417
2641
|
// @public (undocumented)
|
@@ -2455,6 +2679,22 @@ export namespace PBInputModifier_StandardInput {
|
|
2455
2679
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2456
2680
|
}
|
2457
2681
|
|
2682
|
+
// @public (undocumented)
|
2683
|
+
export interface PBLight {
|
2684
|
+
color?: PBColor3 | undefined;
|
2685
|
+
enabled?: boolean | undefined;
|
2686
|
+
illuminance?: number | undefined;
|
2687
|
+
shadows?: boolean | undefined;
|
2688
|
+
}
|
2689
|
+
|
2690
|
+
// @public (undocumented)
|
2691
|
+
export namespace PBLight {
|
2692
|
+
// (undocumented)
|
2693
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
2694
|
+
// (undocumented)
|
2695
|
+
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
2696
|
+
}
|
2697
|
+
|
2458
2698
|
// @public (undocumented)
|
2459
2699
|
export interface PBMainCamera {
|
2460
2700
|
virtualCameraEntity?: number | undefined;
|
@@ -2470,6 +2710,7 @@ export namespace PBMainCamera {
|
|
2470
2710
|
|
2471
2711
|
// @public (undocumented)
|
2472
2712
|
export interface PBMaterial {
|
2713
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2473
2714
|
// (undocumented)
|
2474
2715
|
material?: {
|
2475
2716
|
$case: "unlit";
|
@@ -2488,6 +2729,22 @@ export namespace PBMaterial {
|
|
2488
2729
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2489
2730
|
}
|
2490
2731
|
|
2732
|
+
// @public (undocumented)
|
2733
|
+
export interface PBMaterial_GltfMaterial {
|
2734
|
+
// (undocumented)
|
2735
|
+
gltfSrc: string;
|
2736
|
+
// (undocumented)
|
2737
|
+
name: string;
|
2738
|
+
}
|
2739
|
+
|
2740
|
+
// @public (undocumented)
|
2741
|
+
export namespace PBMaterial_GltfMaterial {
|
2742
|
+
// (undocumented)
|
2743
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
2744
|
+
// (undocumented)
|
2745
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
2746
|
+
}
|
2747
|
+
|
2491
2748
|
// @public (undocumented)
|
2492
2749
|
export interface PBMaterial_PbrMaterial {
|
2493
2750
|
albedoColor?: PBColor4 | undefined;
|
@@ -2549,6 +2806,9 @@ export interface PBMeshCollider {
|
|
2549
2806
|
} | {
|
2550
2807
|
$case: "plane";
|
2551
2808
|
plane: PBMeshCollider_PlaneMesh;
|
2809
|
+
} | {
|
2810
|
+
$case: "gltf";
|
2811
|
+
gltf: PBMeshCollider_GltfMesh;
|
2552
2812
|
} | undefined;
|
2553
2813
|
}
|
2554
2814
|
|
@@ -2586,6 +2846,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2586
2846
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2587
2847
|
}
|
2588
2848
|
|
2849
|
+
// @public (undocumented)
|
2850
|
+
export interface PBMeshCollider_GltfMesh {
|
2851
|
+
gltfSrc: string;
|
2852
|
+
name: string;
|
2853
|
+
}
|
2854
|
+
|
2855
|
+
// @public (undocumented)
|
2856
|
+
export namespace PBMeshCollider_GltfMesh {
|
2857
|
+
// (undocumented)
|
2858
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2859
|
+
// (undocumented)
|
2860
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2861
|
+
}
|
2862
|
+
|
2589
2863
|
// @public (undocumented)
|
2590
2864
|
export interface PBMeshCollider_PlaneMesh {
|
2591
2865
|
}
|
@@ -2625,6 +2899,9 @@ export interface PBMeshRenderer {
|
|
2625
2899
|
} | {
|
2626
2900
|
$case: "plane";
|
2627
2901
|
plane: PBMeshRenderer_PlaneMesh;
|
2902
|
+
} | {
|
2903
|
+
$case: "gltf";
|
2904
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2628
2905
|
} | undefined;
|
2629
2906
|
}
|
2630
2907
|
|
@@ -2663,6 +2940,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2663
2940
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2664
2941
|
}
|
2665
2942
|
|
2943
|
+
// @public (undocumented)
|
2944
|
+
export interface PBMeshRenderer_GltfMesh {
|
2945
|
+
gltfSrc: string;
|
2946
|
+
name: string;
|
2947
|
+
}
|
2948
|
+
|
2949
|
+
// @public (undocumented)
|
2950
|
+
export namespace PBMeshRenderer_GltfMesh {
|
2951
|
+
// (undocumented)
|
2952
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2953
|
+
// (undocumented)
|
2954
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2955
|
+
}
|
2956
|
+
|
2666
2957
|
// @public (undocumented)
|
2667
2958
|
export interface PBMeshRenderer_PlaneMesh {
|
2668
2959
|
uvs: number[];
|
@@ -2918,17 +3209,18 @@ export namespace PBRealmInfo {
|
|
2918
3209
|
}
|
2919
3210
|
|
2920
3211
|
// @public (undocumented)
|
2921
|
-
export interface
|
2922
|
-
|
2923
|
-
|
3212
|
+
export interface PBSpotlight {
|
3213
|
+
angle: number;
|
3214
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
3215
|
+
innerAngle?: number | undefined;
|
2924
3216
|
}
|
2925
3217
|
|
2926
3218
|
// @public (undocumented)
|
2927
|
-
export namespace
|
3219
|
+
export namespace PBSpotlight {
|
2928
3220
|
// (undocumented)
|
2929
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number):
|
3221
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
2930
3222
|
// (undocumented)
|
2931
|
-
export function encode(message:
|
3223
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
2932
3224
|
}
|
2933
3225
|
|
2934
3226
|
// @public (undocumented)
|
@@ -2964,6 +3256,32 @@ export namespace PBTextShape {
|
|
2964
3256
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
2965
3257
|
}
|
2966
3258
|
|
3259
|
+
// @public (undocumented)
|
3260
|
+
export interface PBTextureCamera {
|
3261
|
+
clearColor?: PBColor4 | undefined;
|
3262
|
+
farPlane?: number | undefined;
|
3263
|
+
height?: number | undefined;
|
3264
|
+
layer?: number | undefined;
|
3265
|
+
// (undocumented)
|
3266
|
+
mode?: {
|
3267
|
+
$case: "perspective";
|
3268
|
+
perspective: Perspective;
|
3269
|
+
} | {
|
3270
|
+
$case: "orthographic";
|
3271
|
+
orthographic: Orthographic;
|
3272
|
+
} | undefined;
|
3273
|
+
volume?: number | undefined;
|
3274
|
+
width?: number | undefined;
|
3275
|
+
}
|
3276
|
+
|
3277
|
+
// @public (undocumented)
|
3278
|
+
export namespace PBTextureCamera {
|
3279
|
+
// (undocumented)
|
3280
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
3281
|
+
// (undocumented)
|
3282
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
3283
|
+
}
|
3284
|
+
|
2967
3285
|
// @public (undocumented)
|
2968
3286
|
export interface PBTween {
|
2969
3287
|
currentTime?: number | undefined;
|
@@ -3045,6 +3363,23 @@ export namespace PBUiBackground {
|
|
3045
3363
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
3046
3364
|
}
|
3047
3365
|
|
3366
|
+
// @public (undocumented)
|
3367
|
+
export interface PBUiCanvas {
|
3368
|
+
color?: PBColor4 | undefined;
|
3369
|
+
// (undocumented)
|
3370
|
+
height: number;
|
3371
|
+
// (undocumented)
|
3372
|
+
width: number;
|
3373
|
+
}
|
3374
|
+
|
3375
|
+
// @public (undocumented)
|
3376
|
+
export namespace PBUiCanvas {
|
3377
|
+
// (undocumented)
|
3378
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3379
|
+
// (undocumented)
|
3380
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3381
|
+
}
|
3382
|
+
|
3048
3383
|
// @public (undocumented)
|
3049
3384
|
export interface PBUiCanvasInformation {
|
3050
3385
|
devicePixelRatio: number;
|
@@ -3138,11 +3473,27 @@ export namespace PBUiInputResult {
|
|
3138
3473
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3139
3474
|
}
|
3140
3475
|
|
3476
|
+
// @public (undocumented)
|
3477
|
+
export interface PBUiScrollResult {
|
3478
|
+
// (undocumented)
|
3479
|
+
value: PBVector2 | undefined;
|
3480
|
+
}
|
3481
|
+
|
3482
|
+
// @public (undocumented)
|
3483
|
+
export namespace PBUiScrollResult {
|
3484
|
+
// (undocumented)
|
3485
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3486
|
+
// (undocumented)
|
3487
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3488
|
+
}
|
3489
|
+
|
3141
3490
|
// @public (undocumented)
|
3142
3491
|
export interface PBUiText {
|
3143
3492
|
color?: PBColor4 | undefined;
|
3144
3493
|
font?: Font | undefined;
|
3145
3494
|
fontSize?: number | undefined;
|
3495
|
+
outlineColor?: PBColor4 | undefined;
|
3496
|
+
outlineWidth?: number | undefined;
|
3146
3497
|
textAlign?: TextAlignMode | undefined;
|
3147
3498
|
textWrap?: TextWrap | undefined;
|
3148
3499
|
value: string;
|
@@ -3193,6 +3544,7 @@ export interface PBUiTransform {
|
|
3193
3544
|
borderTopWidth?: number | undefined;
|
3194
3545
|
borderTopWidthUnit?: YGUnit | undefined;
|
3195
3546
|
display: YGDisplay;
|
3547
|
+
elementId?: string | undefined;
|
3196
3548
|
// (undocumented)
|
3197
3549
|
flexBasis: number;
|
3198
3550
|
flexBasisUnit: YGUnit;
|
@@ -3261,6 +3613,8 @@ export interface PBUiTransform {
|
|
3261
3613
|
positionType: YGPositionType;
|
3262
3614
|
// (undocumented)
|
3263
3615
|
rightOf: number;
|
3616
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3617
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3264
3618
|
// (undocumented)
|
3265
3619
|
width: number;
|
3266
3620
|
widthUnit: YGUnit;
|
@@ -3376,6 +3730,19 @@ export namespace PBVisibilityComponent {
|
|
3376
3730
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3377
3731
|
}
|
3378
3732
|
|
3733
|
+
// @public (undocumented)
|
3734
|
+
export interface Perspective {
|
3735
|
+
fieldOfView?: number | undefined;
|
3736
|
+
}
|
3737
|
+
|
3738
|
+
// @public (undocumented)
|
3739
|
+
export namespace Perspective {
|
3740
|
+
// (undocumented)
|
3741
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
3742
|
+
// (undocumented)
|
3743
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
3744
|
+
}
|
3745
|
+
|
3379
3746
|
// @public
|
3380
3747
|
export namespace Plane {
|
3381
3748
|
// (undocumented)
|
@@ -3421,12 +3788,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
3421
3788
|
|
3422
3789
|
// @public (undocumented)
|
3423
3790
|
export interface PointerEventsSystem {
|
3791
|
+
onPointerDown(pointerData: {
|
3792
|
+
entity: Entity;
|
3793
|
+
optsList: EventSystemOptionsCallback[];
|
3794
|
+
}): void;
|
3424
3795
|
onPointerDown(pointerData: {
|
3425
3796
|
entity: Entity;
|
3426
3797
|
opts?: Partial<EventSystemOptions>;
|
3427
3798
|
}, cb: EventSystemCallback): void;
|
3428
3799
|
// @deprecated (undocumented)
|
3429
3800
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3801
|
+
onPointerDrag(pointerData: {
|
3802
|
+
entity: Entity;
|
3803
|
+
optsList: EventSystemOptionsCallback[];
|
3804
|
+
}): void;
|
3805
|
+
onPointerDrag(pointerData: {
|
3806
|
+
entity: Entity;
|
3807
|
+
opts?: Partial<EventSystemOptions>;
|
3808
|
+
}, cb: EventSystemCallback): void;
|
3809
|
+
onPointerDragEnd(pointerData: {
|
3810
|
+
entity: Entity;
|
3811
|
+
optsList: EventSystemOptionsCallback[];
|
3812
|
+
}): void;
|
3813
|
+
onPointerDragEnd(pointerData: {
|
3814
|
+
entity: Entity;
|
3815
|
+
opts?: Partial<EventSystemOptions>;
|
3816
|
+
}, cb: EventSystemCallback): void;
|
3817
|
+
onPointerDragLocked(pointerData: {
|
3818
|
+
entity: Entity;
|
3819
|
+
optsList: EventSystemOptionsCallback[];
|
3820
|
+
}): void;
|
3821
|
+
onPointerDragLocked(pointerData: {
|
3822
|
+
entity: Entity;
|
3823
|
+
opts?: Partial<EventSystemOptions>;
|
3824
|
+
}, cb: EventSystemCallback): void;
|
3430
3825
|
onPointerHoverEnter(pointerData: {
|
3431
3826
|
entity: Entity;
|
3432
3827
|
opts?: Partial<EventSystemOptions>;
|
@@ -3435,6 +3830,10 @@ export interface PointerEventsSystem {
|
|
3435
3830
|
entity: Entity;
|
3436
3831
|
opts?: Partial<EventSystemOptions>;
|
3437
3832
|
}, cb: EventSystemCallback): void;
|
3833
|
+
onPointerUp(pointerData: {
|
3834
|
+
entity: Entity;
|
3835
|
+
optsList: EventSystemOptionsCallback[];
|
3836
|
+
}): void;
|
3438
3837
|
onPointerUp(pointerData: {
|
3439
3838
|
entity: Entity;
|
3440
3839
|
opts?: Partial<EventSystemOptions>;
|
@@ -3442,6 +3841,9 @@ export interface PointerEventsSystem {
|
|
3442
3841
|
// @deprecated (undocumented)
|
3443
3842
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3444
3843
|
removeOnPointerDown(entity: Entity): void;
|
3844
|
+
removeOnPointerDrag(entity: Entity): void;
|
3845
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
3846
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
3445
3847
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3446
3848
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3447
3849
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3455,6 +3857,12 @@ export const enum PointerEventType {
|
|
3455
3857
|
// (undocumented)
|
3456
3858
|
PET_DOWN = 1,
|
3457
3859
|
// (undocumented)
|
3860
|
+
PET_DRAG = 5,
|
3861
|
+
// (undocumented)
|
3862
|
+
PET_DRAG_END = 6,
|
3863
|
+
// (undocumented)
|
3864
|
+
PET_DRAG_LOCKED = 4,
|
3865
|
+
// (undocumented)
|
3458
3866
|
PET_HOVER_ENTER = 2,
|
3459
3867
|
// (undocumented)
|
3460
3868
|
PET_HOVER_LEAVE = 3,
|
@@ -3479,7 +3887,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
3479
3887
|
// @public (undocumented)
|
3480
3888
|
export const enum PointerType {
|
3481
3889
|
POT_MOUSE = 1,
|
3482
|
-
POT_NONE = 0
|
3890
|
+
POT_NONE = 0,
|
3891
|
+
// (undocumented)
|
3892
|
+
POT_PAD = 2,
|
3893
|
+
// (undocumented)
|
3894
|
+
POT_TOUCH = 3,
|
3895
|
+
// (undocumented)
|
3896
|
+
POT_WAND = 4
|
3483
3897
|
}
|
3484
3898
|
|
3485
3899
|
// @public
|
@@ -3724,6 +4138,8 @@ export interface ReactBasedUiSystem {
|
|
3724
4138
|
// (undocumented)
|
3725
4139
|
destroy(): void;
|
3726
4140
|
// (undocumented)
|
4141
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4142
|
+
// (undocumented)
|
3727
4143
|
setUiRenderer(ui: UiComponent): void;
|
3728
4144
|
}
|
3729
4145
|
|
@@ -3981,7 +4397,39 @@ export namespace Schemas {
|
|
3981
4397
|
}
|
3982
4398
|
|
3983
4399
|
// @public (undocumented)
|
3984
|
-
export
|
4400
|
+
export interface ScrollPositionValue {
|
4401
|
+
// (undocumented)
|
4402
|
+
value?: {
|
4403
|
+
$case: "position";
|
4404
|
+
position: PBVector2;
|
4405
|
+
} | {
|
4406
|
+
$case: "reference";
|
4407
|
+
reference: string;
|
4408
|
+
} | undefined;
|
4409
|
+
}
|
4410
|
+
|
4411
|
+
// @public (undocumented)
|
4412
|
+
export namespace ScrollPositionValue {
|
4413
|
+
// (undocumented)
|
4414
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4415
|
+
// (undocumented)
|
4416
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4417
|
+
}
|
4418
|
+
|
4419
|
+
// @public
|
4420
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4421
|
+
|
4422
|
+
// @public (undocumented)
|
4423
|
+
export const enum ShowScrollBar {
|
4424
|
+
// (undocumented)
|
4425
|
+
SSB_BOTH = 0,
|
4426
|
+
// (undocumented)
|
4427
|
+
SSB_HIDDEN = 3,
|
4428
|
+
// (undocumented)
|
4429
|
+
SSB_ONLY_HORIZONTAL = 2,
|
4430
|
+
// (undocumented)
|
4431
|
+
SSB_ONLY_VERTICAL = 1
|
4432
|
+
}
|
3985
4433
|
|
3986
4434
|
// @public (undocumented)
|
3987
4435
|
export interface Spec {
|
@@ -3989,6 +4437,9 @@ export interface Spec {
|
|
3989
4437
|
[key: string]: ISchema;
|
3990
4438
|
}
|
3991
4439
|
|
4440
|
+
// @public (undocumented)
|
4441
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4442
|
+
|
3992
4443
|
// @alpha
|
3993
4444
|
export const SyncComponents: ISyncComponents;
|
3994
4445
|
|
@@ -4072,6 +4523,9 @@ export namespace Texture {
|
|
4072
4523
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
4073
4524
|
}
|
4074
4525
|
|
4526
|
+
// @public (undocumented)
|
4527
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4528
|
+
|
4075
4529
|
// @public (undocumented)
|
4076
4530
|
export const enum TextureFilterMode {
|
4077
4531
|
// (undocumented)
|
@@ -4134,6 +4588,9 @@ export interface TextureUnion {
|
|
4134
4588
|
} | {
|
4135
4589
|
$case: "videoTexture";
|
4136
4590
|
videoTexture: VideoTexture;
|
4591
|
+
} | {
|
4592
|
+
$case: "uiTexture";
|
4593
|
+
uiTexture: UiCanvasTexture;
|
4137
4594
|
} | undefined;
|
4138
4595
|
}
|
4139
4596
|
|
@@ -4215,12 +4672,6 @@ export type TransformType = {
|
|
4215
4672
|
// @public (undocumented)
|
4216
4673
|
export type TransformTypeWithOptionals = Partial<TransformType>;
|
4217
4674
|
|
4218
|
-
// @public (undocumented)
|
4219
|
-
export const enum TransitionMode {
|
4220
|
-
TM_BACKWARD = 1,
|
4221
|
-
TM_FORWARD = 0
|
4222
|
-
}
|
4223
|
-
|
4224
4675
|
// @public (undocumented)
|
4225
4676
|
export type Transport = {
|
4226
4677
|
send(message: Uint8Array | Uint8Array[]): Promise<void>;
|
@@ -4310,6 +4761,7 @@ export interface UiBackgroundProps {
|
|
4310
4761
|
textureMode?: TextureMode;
|
4311
4762
|
textureSlices?: BorderRect | undefined;
|
4312
4763
|
uvs?: number[];
|
4764
|
+
videoTexture?: UiVideoTexture;
|
4313
4765
|
}
|
4314
4766
|
|
4315
4767
|
// @public
|
@@ -4318,9 +4770,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4318
4770
|
variant?: 'primary' | 'secondary';
|
4319
4771
|
}
|
4320
4772
|
|
4773
|
+
// @public (undocumented)
|
4774
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4775
|
+
|
4321
4776
|
// @public (undocumented)
|
4322
4777
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4323
4778
|
|
4779
|
+
// @public (undocumented)
|
4780
|
+
export interface UiCanvasTexture {
|
4781
|
+
filterMode?: TextureFilterMode | undefined;
|
4782
|
+
// (undocumented)
|
4783
|
+
uiCanvasEntity: number;
|
4784
|
+
wrapMode?: TextureWrapMode | undefined;
|
4785
|
+
}
|
4786
|
+
|
4787
|
+
// @public (undocumented)
|
4788
|
+
export namespace UiCanvasTexture {
|
4789
|
+
// (undocumented)
|
4790
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4791
|
+
// (undocumented)
|
4792
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4793
|
+
}
|
4794
|
+
|
4324
4795
|
// @public (undocumented)
|
4325
4796
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4326
4797
|
|
@@ -4375,6 +4846,8 @@ export interface UiLabelProps {
|
|
4375
4846
|
color?: PBColor4 | undefined;
|
4376
4847
|
font?: UiFontType | undefined;
|
4377
4848
|
fontSize?: ScaleUnit | undefined;
|
4849
|
+
outlineColor?: PBColor4 | undefined;
|
4850
|
+
outlineWidth?: number | undefined;
|
4378
4851
|
textAlign?: TextAlignType | undefined;
|
4379
4852
|
textWrap?: UiTextWrapType | undefined;
|
4380
4853
|
value: string;
|
@@ -4383,6 +4856,9 @@ export interface UiLabelProps {
|
|
4383
4856
|
// @public
|
4384
4857
|
export type uint32 = number;
|
4385
4858
|
|
4859
|
+
// @public (undocumented)
|
4860
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4861
|
+
|
4386
4862
|
// @public (undocumented)
|
4387
4863
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4388
4864
|
|
@@ -4411,6 +4887,7 @@ export interface UiTransformProps {
|
|
4411
4887
|
// (undocumented)
|
4412
4888
|
borderWidth?: Partial<Position> | PositionUnit;
|
4413
4889
|
display?: DisplayType;
|
4890
|
+
elementId?: string;
|
4414
4891
|
flex?: number;
|
4415
4892
|
flexBasis?: number;
|
4416
4893
|
flexDirection?: FlexDirectionType;
|
@@ -4430,10 +4907,22 @@ export interface UiTransformProps {
|
|
4430
4907
|
pointerFilter?: PointerFilterType;
|
4431
4908
|
position?: Partial<Position> | PositionShorthand;
|
4432
4909
|
positionType?: PositionType;
|
4910
|
+
scrollPosition?: PBVector2 | string;
|
4911
|
+
scrollVisible?: ScrollVisibleType;
|
4433
4912
|
width?: PositionUnit | 'auto';
|
4434
4913
|
zIndex?: number;
|
4435
4914
|
}
|
4436
4915
|
|
4916
|
+
// @public
|
4917
|
+
export interface UiVideoTexture {
|
4918
|
+
// (undocumented)
|
4919
|
+
filterMode?: TextureFilterType;
|
4920
|
+
// (undocumented)
|
4921
|
+
videoPlayerEntity: Entity;
|
4922
|
+
// (undocumented)
|
4923
|
+
wrapMode?: TextureWrapType;
|
4924
|
+
}
|
4925
|
+
|
4437
4926
|
// @public (undocumented)
|
4438
4927
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
4439
4928
|
|