@dcl/playground-assets 7.13.0 → 7.13.1-19516109426.commit-e1e79aa
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 +774 -19
- package/dist/beta.d.ts +774 -19
- package/dist/index.bundled.d.ts +774 -19
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +17 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +774 -19
- package/etc/playground-assets.api.json +11697 -4214
- package/etc/playground-assets.api.md +513 -10
- package/package.json +4 -4
|
@@ -136,12 +136,29 @@ 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
|
|
|
142
149
|
// @public (undocumented)
|
|
143
150
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
144
151
|
|
|
152
|
+
// @public (undocumented)
|
|
153
|
+
export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
154
|
+
|
|
155
|
+
// 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)
|
|
156
|
+
//
|
|
157
|
+
// @public (undocumented)
|
|
158
|
+
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
159
|
+
forceRender?: string[] | undefined;
|
|
160
|
+
};
|
|
161
|
+
|
|
145
162
|
// @public (undocumented)
|
|
146
163
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
147
164
|
|
|
@@ -151,9 +168,41 @@ export const enum AvatarModifierType {
|
|
|
151
168
|
AMT_HIDE_AVATARS = 0
|
|
152
169
|
}
|
|
153
170
|
|
|
171
|
+
// @public (undocumented)
|
|
172
|
+
export interface AvatarMovementSettings {
|
|
173
|
+
allowWeightedMovement?: boolean | undefined;
|
|
174
|
+
// (undocumented)
|
|
175
|
+
controlMode?: AvatarControlType | undefined;
|
|
176
|
+
friction?: number | undefined;
|
|
177
|
+
gravity?: number | undefined;
|
|
178
|
+
jumpHeight?: number | undefined;
|
|
179
|
+
maxFallSpeed?: number | undefined;
|
|
180
|
+
runSpeed?: number | undefined;
|
|
181
|
+
turnSpeed?: number | undefined;
|
|
182
|
+
walkSpeed?: number | undefined;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// @public (undocumented)
|
|
186
|
+
export namespace AvatarMovementSettings {
|
|
187
|
+
// (undocumented)
|
|
188
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
189
|
+
// (undocumented)
|
|
190
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
191
|
+
}
|
|
192
|
+
|
|
154
193
|
// @public (undocumented)
|
|
155
194
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
156
195
|
|
|
196
|
+
// @public (undocumented)
|
|
197
|
+
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
198
|
+
|
|
199
|
+
// 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)
|
|
200
|
+
//
|
|
201
|
+
// @public (undocumented)
|
|
202
|
+
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
203
|
+
forceRender?: string[] | undefined;
|
|
204
|
+
};
|
|
205
|
+
|
|
157
206
|
// @public (undocumented)
|
|
158
207
|
export interface AvatarTexture {
|
|
159
208
|
filterMode?: TextureFilterMode | undefined;
|
|
@@ -356,9 +405,15 @@ export interface ByteBuffer {
|
|
|
356
405
|
writeUtf8String(value: string, writeLength?: boolean): void;
|
|
357
406
|
}
|
|
358
407
|
|
|
359
|
-
// @public
|
|
408
|
+
// @public @deprecated
|
|
360
409
|
export type Callback = () => void;
|
|
361
410
|
|
|
411
|
+
// @public (undocumented)
|
|
412
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
413
|
+
|
|
414
|
+
// @public (undocumented)
|
|
415
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
416
|
+
|
|
362
417
|
// @public (undocumented)
|
|
363
418
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
364
419
|
|
|
@@ -407,6 +462,29 @@ export const enum CameraType {
|
|
|
407
462
|
// @public (undocumented)
|
|
408
463
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
409
464
|
|
|
465
|
+
// @public (undocumented)
|
|
466
|
+
export interface CinematicSettings {
|
|
467
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
468
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
469
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
470
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
471
|
+
allowManualRotation?: boolean | undefined;
|
|
472
|
+
cameraEntity: number;
|
|
473
|
+
pitchRange?: number | undefined;
|
|
474
|
+
rollRange?: number | undefined;
|
|
475
|
+
yawRange?: number | undefined;
|
|
476
|
+
zoomMax?: number | undefined;
|
|
477
|
+
zoomMin?: number | undefined;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
// @public (undocumented)
|
|
481
|
+
export namespace CinematicSettings {
|
|
482
|
+
// (undocumented)
|
|
483
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
484
|
+
// (undocumented)
|
|
485
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
486
|
+
}
|
|
487
|
+
|
|
410
488
|
// @public (undocumented)
|
|
411
489
|
export const enum ColliderLayer {
|
|
412
490
|
// (undocumented)
|
|
@@ -632,12 +710,17 @@ export const componentDefinitionByName: {
|
|
|
632
710
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
633
711
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
634
712
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
713
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
714
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
635
715
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
636
716
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
637
717
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
718
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
638
719
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
639
720
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
721
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
640
722
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
723
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
641
724
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
642
725
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
643
726
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -655,17 +738,20 @@ export const componentDefinitionByName: {
|
|
|
655
738
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
656
739
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
657
740
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
741
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
658
742
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
659
743
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
660
744
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
661
745
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
662
746
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
663
747
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
748
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
664
749
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
665
750
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
666
751
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
667
752
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
668
753
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
754
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
669
755
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
670
756
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
671
757
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1100,10 +1186,18 @@ export type EntityComponents = {
|
|
|
1100
1186
|
uiBackground: PBUiBackground;
|
|
1101
1187
|
uiInput: PBUiInput;
|
|
1102
1188
|
uiDropdown: PBUiDropdown;
|
|
1103
|
-
onMouseDown:
|
|
1104
|
-
onMouseUp:
|
|
1105
|
-
onMouseEnter:
|
|
1106
|
-
onMouseLeave:
|
|
1189
|
+
onMouseDown: EventSystemCallback;
|
|
1190
|
+
onMouseUp: EventSystemCallback;
|
|
1191
|
+
onMouseEnter: EventSystemCallback;
|
|
1192
|
+
onMouseLeave: EventSystemCallback;
|
|
1193
|
+
onMouseDrag: EventSystemCallback;
|
|
1194
|
+
onMouseDragLocked: EventSystemCallback;
|
|
1195
|
+
onMouseDragEnd: EventSystemCallback;
|
|
1196
|
+
onInputDown: MultiCallback;
|
|
1197
|
+
onInputUp: MultiCallback;
|
|
1198
|
+
onInputDrag: MultiCallback;
|
|
1199
|
+
onInputDragLocked: MultiCallback;
|
|
1200
|
+
onInputDragEnd: MultiCallback;
|
|
1107
1201
|
};
|
|
1108
1202
|
|
|
1109
1203
|
// @public (undocumented)
|
|
@@ -1155,6 +1249,11 @@ export type EventSystemOptions = {
|
|
|
1155
1249
|
showHighlight?: boolean;
|
|
1156
1250
|
};
|
|
1157
1251
|
|
|
1252
|
+
// @public (undocumented)
|
|
1253
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1254
|
+
cb: EventSystemCallback;
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1158
1257
|
// @public
|
|
1159
1258
|
export type ExcludeUndefined<T> = {
|
|
1160
1259
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
@@ -1207,6 +1306,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1207
1306
|
direction?: PBVector3;
|
|
1208
1307
|
};
|
|
1209
1308
|
|
|
1309
|
+
// @public (undocumented)
|
|
1310
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1311
|
+
|
|
1210
1312
|
// Warning: (ae-missing-release-tag) "GlobalTargetRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1211
1313
|
//
|
|
1212
1314
|
// @public (undocumented)
|
|
@@ -1225,9 +1327,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1225
1327
|
// @public (undocumented)
|
|
1226
1328
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1227
1329
|
|
|
1330
|
+
// @public (undocumented)
|
|
1331
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1332
|
+
|
|
1228
1333
|
// @public (undocumented)
|
|
1229
1334
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1230
1335
|
|
|
1336
|
+
// @public (undocumented)
|
|
1337
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1338
|
+
|
|
1339
|
+
// @public (undocumented)
|
|
1340
|
+
export const enum GltfNodeStateValue {
|
|
1341
|
+
// (undocumented)
|
|
1342
|
+
GNSV_FAILED = 1,
|
|
1343
|
+
// (undocumented)
|
|
1344
|
+
GNSV_PENDING = 0,
|
|
1345
|
+
// (undocumented)
|
|
1346
|
+
GNSV_READY = 2
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1231
1349
|
// @public (undocumented)
|
|
1232
1350
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1233
1351
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1352,6 +1470,7 @@ export type IInputSystem = {
|
|
|
1352
1470
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1353
1471
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1354
1472
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1473
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1355
1474
|
};
|
|
1356
1475
|
|
|
1357
1476
|
// @public
|
|
@@ -1601,10 +1720,18 @@ export interface LightSourceHelper {
|
|
|
1601
1720
|
|
|
1602
1721
|
// @public
|
|
1603
1722
|
export type Listeners = {
|
|
1604
|
-
onMouseDown?:
|
|
1605
|
-
onMouseUp?:
|
|
1606
|
-
onMouseEnter?:
|
|
1607
|
-
onMouseLeave?:
|
|
1723
|
+
onMouseDown?: EventSystemCallback;
|
|
1724
|
+
onMouseUp?: EventSystemCallback;
|
|
1725
|
+
onMouseEnter?: EventSystemCallback;
|
|
1726
|
+
onMouseLeave?: EventSystemCallback;
|
|
1727
|
+
onMouseDrag?: EventSystemCallback;
|
|
1728
|
+
onMouseDragLocked?: EventSystemCallback;
|
|
1729
|
+
onMouseDragEnd?: EventSystemCallback;
|
|
1730
|
+
onInputDown?: MultiCallback;
|
|
1731
|
+
onInputUp?: MultiCallback;
|
|
1732
|
+
onInputDrag?: MultiCallback;
|
|
1733
|
+
onInputDragLocked?: MultiCallback;
|
|
1734
|
+
onInputDragEnd?: MultiCallback;
|
|
1608
1735
|
};
|
|
1609
1736
|
|
|
1610
1737
|
// @public (undocumented)
|
|
@@ -1844,6 +1971,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
1844
1971
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
1845
1972
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1846
1973
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1974
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1847
1975
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1848
1976
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1849
1977
|
}
|
|
@@ -1857,6 +1985,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
1857
1985
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
1858
1986
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
1859
1987
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
1988
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
1860
1989
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
1861
1990
|
setSphere(entity: Entity): void;
|
|
1862
1991
|
}
|
|
@@ -1904,6 +2033,20 @@ export namespace MoveContinuous {
|
|
|
1904
2033
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
1905
2034
|
}
|
|
1906
2035
|
|
|
2036
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2037
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2038
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2039
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2040
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2041
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2042
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2043
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2044
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2045
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2046
|
+
//
|
|
2047
|
+
// @public
|
|
2048
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
|
2049
|
+
|
|
1907
2050
|
// Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1908
2051
|
//
|
|
1909
2052
|
// @public (undocumented)
|
|
@@ -2110,6 +2253,19 @@ export const onVideoEvent: Observable<{
|
|
|
2110
2253
|
totalVideoLength: number;
|
|
2111
2254
|
}>;
|
|
2112
2255
|
|
|
2256
|
+
// @public (undocumented)
|
|
2257
|
+
export interface Orthographic {
|
|
2258
|
+
verticalRange?: number | undefined;
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
// @public (undocumented)
|
|
2262
|
+
export namespace Orthographic {
|
|
2263
|
+
// (undocumented)
|
|
2264
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2265
|
+
// (undocumented)
|
|
2266
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2113
2269
|
// @public
|
|
2114
2270
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2115
2271
|
|
|
@@ -2250,6 +2406,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2250
2406
|
export interface PBAvatarEquippedData {
|
|
2251
2407
|
// (undocumented)
|
|
2252
2408
|
emoteUrns: string[];
|
|
2409
|
+
forceRender: string[];
|
|
2253
2410
|
// (undocumented)
|
|
2254
2411
|
wearableUrns: string[];
|
|
2255
2412
|
}
|
|
@@ -2267,6 +2424,9 @@ export interface PBAvatarModifierArea {
|
|
|
2267
2424
|
area: PBVector3 | undefined;
|
|
2268
2425
|
excludeIds: string[];
|
|
2269
2426
|
modifiers: AvatarModifierType[];
|
|
2427
|
+
// (undocumented)
|
|
2428
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
2429
|
+
useColliderRange?: boolean | undefined;
|
|
2270
2430
|
}
|
|
2271
2431
|
|
|
2272
2432
|
// @public (undocumented)
|
|
@@ -2284,6 +2444,7 @@ export interface PBAvatarShape {
|
|
|
2284
2444
|
expressionTriggerId?: string | undefined;
|
|
2285
2445
|
expressionTriggerTimestamp?: number | undefined;
|
|
2286
2446
|
eyeColor?: PBColor3 | undefined;
|
|
2447
|
+
forceRender: string[];
|
|
2287
2448
|
hairColor?: PBColor3 | undefined;
|
|
2288
2449
|
id: string;
|
|
2289
2450
|
name?: string | undefined;
|
|
@@ -2314,6 +2475,42 @@ export namespace PBBillboard {
|
|
|
2314
2475
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2315
2476
|
}
|
|
2316
2477
|
|
|
2478
|
+
// @public (undocumented)
|
|
2479
|
+
export interface PBCameraLayer {
|
|
2480
|
+
// (undocumented)
|
|
2481
|
+
ambientBrightnessOverride?: number | undefined;
|
|
2482
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2483
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
2484
|
+
directionalLight?: boolean | undefined;
|
|
2485
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2486
|
+
layer: number;
|
|
2487
|
+
showAvatars?: boolean | undefined;
|
|
2488
|
+
showFog?: boolean | undefined;
|
|
2489
|
+
showSkybox?: boolean | undefined;
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
// @public (undocumented)
|
|
2493
|
+
export namespace PBCameraLayer {
|
|
2494
|
+
// (undocumented)
|
|
2495
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2496
|
+
// (undocumented)
|
|
2497
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
// @public (undocumented)
|
|
2501
|
+
export interface PBCameraLayers {
|
|
2502
|
+
// (undocumented)
|
|
2503
|
+
layers: number[];
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
// @public (undocumented)
|
|
2507
|
+
export namespace PBCameraLayers {
|
|
2508
|
+
// (undocumented)
|
|
2509
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2510
|
+
// (undocumented)
|
|
2511
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2317
2514
|
// @public (undocumented)
|
|
2318
2515
|
export interface PBCameraMode {
|
|
2319
2516
|
mode: CameraType;
|
|
@@ -2330,7 +2527,10 @@ export namespace PBCameraMode {
|
|
|
2330
2527
|
// @public (undocumented)
|
|
2331
2528
|
export interface PBCameraModeArea {
|
|
2332
2529
|
area: PBVector3 | undefined;
|
|
2530
|
+
// (undocumented)
|
|
2531
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
2333
2532
|
mode: CameraType;
|
|
2533
|
+
useColliderRange?: boolean | undefined;
|
|
2334
2534
|
}
|
|
2335
2535
|
|
|
2336
2536
|
// @public (undocumented)
|
|
@@ -2394,6 +2594,21 @@ export namespace PBEngineInfo {
|
|
|
2394
2594
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2395
2595
|
}
|
|
2396
2596
|
|
|
2597
|
+
// @public (undocumented)
|
|
2598
|
+
export interface PBGlobalLight {
|
|
2599
|
+
ambientBrightness?: number | undefined;
|
|
2600
|
+
ambientColor?: PBColor3 | undefined;
|
|
2601
|
+
direction?: PBVector3 | undefined;
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
// @public (undocumented)
|
|
2605
|
+
export namespace PBGlobalLight {
|
|
2606
|
+
// (undocumented)
|
|
2607
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
2608
|
+
// (undocumented)
|
|
2609
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2397
2612
|
// @public (undocumented)
|
|
2398
2613
|
export interface PBGltfContainer {
|
|
2399
2614
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2411,8 +2626,13 @@ export namespace PBGltfContainer {
|
|
|
2411
2626
|
|
|
2412
2627
|
// @public (undocumented)
|
|
2413
2628
|
export interface PBGltfContainerLoadingState {
|
|
2629
|
+
animationNames: string[];
|
|
2414
2630
|
// (undocumented)
|
|
2415
2631
|
currentState: LoadingState;
|
|
2632
|
+
materialNames: string[];
|
|
2633
|
+
meshNames: string[];
|
|
2634
|
+
nodePaths: string[];
|
|
2635
|
+
skinNames: string[];
|
|
2416
2636
|
}
|
|
2417
2637
|
|
|
2418
2638
|
// @public (undocumented)
|
|
@@ -2423,6 +2643,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2423
2643
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2424
2644
|
}
|
|
2425
2645
|
|
|
2646
|
+
// @public (undocumented)
|
|
2647
|
+
export interface PBGltfNode {
|
|
2648
|
+
path: string;
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
// @public (undocumented)
|
|
2652
|
+
export namespace PBGltfNode {
|
|
2653
|
+
// (undocumented)
|
|
2654
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
2655
|
+
// (undocumented)
|
|
2656
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2426
2659
|
// @public (undocumented)
|
|
2427
2660
|
export interface PBGltfNodeModifiers {
|
|
2428
2661
|
// (undocumented)
|
|
@@ -2452,6 +2685,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2452
2685
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2453
2686
|
}
|
|
2454
2687
|
|
|
2688
|
+
// @public (undocumented)
|
|
2689
|
+
export interface PBGltfNodeState {
|
|
2690
|
+
// (undocumented)
|
|
2691
|
+
error?: string | undefined;
|
|
2692
|
+
// (undocumented)
|
|
2693
|
+
state: GltfNodeStateValue;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
// @public (undocumented)
|
|
2697
|
+
export namespace PBGltfNodeState {
|
|
2698
|
+
// (undocumented)
|
|
2699
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
2700
|
+
// (undocumented)
|
|
2701
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2455
2704
|
// @public (undocumented)
|
|
2456
2705
|
export interface PBInputModifier {
|
|
2457
2706
|
// (undocumented)
|
|
@@ -2560,6 +2809,7 @@ export namespace PBMainCamera {
|
|
|
2560
2809
|
|
|
2561
2810
|
// @public (undocumented)
|
|
2562
2811
|
export interface PBMaterial {
|
|
2812
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2563
2813
|
// (undocumented)
|
|
2564
2814
|
material?: {
|
|
2565
2815
|
$case: "unlit";
|
|
@@ -2578,6 +2828,22 @@ export namespace PBMaterial {
|
|
|
2578
2828
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2579
2829
|
}
|
|
2580
2830
|
|
|
2831
|
+
// @public (undocumented)
|
|
2832
|
+
export interface PBMaterial_GltfMaterial {
|
|
2833
|
+
// (undocumented)
|
|
2834
|
+
gltfSrc: string;
|
|
2835
|
+
// (undocumented)
|
|
2836
|
+
name: string;
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
// @public (undocumented)
|
|
2840
|
+
export namespace PBMaterial_GltfMaterial {
|
|
2841
|
+
// (undocumented)
|
|
2842
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
2843
|
+
// (undocumented)
|
|
2844
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2581
2847
|
// @public (undocumented)
|
|
2582
2848
|
export interface PBMaterial_PbrMaterial {
|
|
2583
2849
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -2639,6 +2905,9 @@ export interface PBMeshCollider {
|
|
|
2639
2905
|
} | {
|
|
2640
2906
|
$case: "plane";
|
|
2641
2907
|
plane: PBMeshCollider_PlaneMesh;
|
|
2908
|
+
} | {
|
|
2909
|
+
$case: "gltf";
|
|
2910
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
2642
2911
|
} | undefined;
|
|
2643
2912
|
}
|
|
2644
2913
|
|
|
@@ -2676,6 +2945,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
2676
2945
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2677
2946
|
}
|
|
2678
2947
|
|
|
2948
|
+
// @public (undocumented)
|
|
2949
|
+
export interface PBMeshCollider_GltfMesh {
|
|
2950
|
+
gltfSrc: string;
|
|
2951
|
+
name: string;
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
// @public (undocumented)
|
|
2955
|
+
export namespace PBMeshCollider_GltfMesh {
|
|
2956
|
+
// (undocumented)
|
|
2957
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
2958
|
+
// (undocumented)
|
|
2959
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2679
2962
|
// @public (undocumented)
|
|
2680
2963
|
export interface PBMeshCollider_PlaneMesh {
|
|
2681
2964
|
}
|
|
@@ -2715,6 +2998,9 @@ export interface PBMeshRenderer {
|
|
|
2715
2998
|
} | {
|
|
2716
2999
|
$case: "plane";
|
|
2717
3000
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3001
|
+
} | {
|
|
3002
|
+
$case: "gltf";
|
|
3003
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
2718
3004
|
} | undefined;
|
|
2719
3005
|
}
|
|
2720
3006
|
|
|
@@ -2753,6 +3039,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
2753
3039
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2754
3040
|
}
|
|
2755
3041
|
|
|
3042
|
+
// @public (undocumented)
|
|
3043
|
+
export interface PBMeshRenderer_GltfMesh {
|
|
3044
|
+
gltfSrc: string;
|
|
3045
|
+
name: string;
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
// @public (undocumented)
|
|
3049
|
+
export namespace PBMeshRenderer_GltfMesh {
|
|
3050
|
+
// (undocumented)
|
|
3051
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3052
|
+
// (undocumented)
|
|
3053
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3054
|
+
}
|
|
3055
|
+
|
|
2756
3056
|
// @public (undocumented)
|
|
2757
3057
|
export interface PBMeshRenderer_PlaneMesh {
|
|
2758
3058
|
uvs: number[];
|
|
@@ -3054,6 +3354,32 @@ export namespace PBTextShape {
|
|
|
3054
3354
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3055
3355
|
}
|
|
3056
3356
|
|
|
3357
|
+
// @public (undocumented)
|
|
3358
|
+
export interface PBTextureCamera {
|
|
3359
|
+
clearColor?: PBColor4 | undefined;
|
|
3360
|
+
farPlane?: number | undefined;
|
|
3361
|
+
height?: number | undefined;
|
|
3362
|
+
layer?: number | undefined;
|
|
3363
|
+
// (undocumented)
|
|
3364
|
+
mode?: {
|
|
3365
|
+
$case: "perspective";
|
|
3366
|
+
perspective: Perspective;
|
|
3367
|
+
} | {
|
|
3368
|
+
$case: "orthographic";
|
|
3369
|
+
orthographic: Orthographic;
|
|
3370
|
+
} | undefined;
|
|
3371
|
+
volume?: number | undefined;
|
|
3372
|
+
width?: number | undefined;
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3375
|
+
// @public (undocumented)
|
|
3376
|
+
export namespace PBTextureCamera {
|
|
3377
|
+
// (undocumented)
|
|
3378
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
3379
|
+
// (undocumented)
|
|
3380
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
3381
|
+
}
|
|
3382
|
+
|
|
3057
3383
|
// @public (undocumented)
|
|
3058
3384
|
export interface PBTriggerArea {
|
|
3059
3385
|
collisionMask?: number | undefined;
|
|
@@ -3194,6 +3520,23 @@ export namespace PBUiBackground {
|
|
|
3194
3520
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3195
3521
|
}
|
|
3196
3522
|
|
|
3523
|
+
// @public (undocumented)
|
|
3524
|
+
export interface PBUiCanvas {
|
|
3525
|
+
color?: PBColor4 | undefined;
|
|
3526
|
+
// (undocumented)
|
|
3527
|
+
height: number;
|
|
3528
|
+
// (undocumented)
|
|
3529
|
+
width: number;
|
|
3530
|
+
}
|
|
3531
|
+
|
|
3532
|
+
// @public (undocumented)
|
|
3533
|
+
export namespace PBUiCanvas {
|
|
3534
|
+
// (undocumented)
|
|
3535
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
3536
|
+
// (undocumented)
|
|
3537
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3197
3540
|
// @public (undocumented)
|
|
3198
3541
|
export interface PBUiCanvasInformation {
|
|
3199
3542
|
devicePixelRatio: number;
|
|
@@ -3287,11 +3630,27 @@ export namespace PBUiInputResult {
|
|
|
3287
3630
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3288
3631
|
}
|
|
3289
3632
|
|
|
3633
|
+
// @public (undocumented)
|
|
3634
|
+
export interface PBUiScrollResult {
|
|
3635
|
+
// (undocumented)
|
|
3636
|
+
value: PBVector2 | undefined;
|
|
3637
|
+
}
|
|
3638
|
+
|
|
3639
|
+
// @public (undocumented)
|
|
3640
|
+
export namespace PBUiScrollResult {
|
|
3641
|
+
// (undocumented)
|
|
3642
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
3643
|
+
// (undocumented)
|
|
3644
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3290
3647
|
// @public (undocumented)
|
|
3291
3648
|
export interface PBUiText {
|
|
3292
3649
|
color?: PBColor4 | undefined;
|
|
3293
3650
|
font?: Font | undefined;
|
|
3294
3651
|
fontSize?: number | undefined;
|
|
3652
|
+
outlineColor?: PBColor4 | undefined;
|
|
3653
|
+
outlineWidth?: number | undefined;
|
|
3295
3654
|
textAlign?: TextAlignMode | undefined;
|
|
3296
3655
|
textWrap?: TextWrap | undefined;
|
|
3297
3656
|
value: string;
|
|
@@ -3342,6 +3701,7 @@ export interface PBUiTransform {
|
|
|
3342
3701
|
borderTopWidth?: number | undefined;
|
|
3343
3702
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3344
3703
|
display: YGDisplay;
|
|
3704
|
+
elementId?: string | undefined;
|
|
3345
3705
|
// (undocumented)
|
|
3346
3706
|
flexBasis: number;
|
|
3347
3707
|
flexBasisUnit: YGUnit;
|
|
@@ -3410,6 +3770,8 @@ export interface PBUiTransform {
|
|
|
3410
3770
|
positionType: YGPositionType;
|
|
3411
3771
|
// (undocumented)
|
|
3412
3772
|
rightOf: number;
|
|
3773
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
3774
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
3413
3775
|
// (undocumented)
|
|
3414
3776
|
width: number;
|
|
3415
3777
|
widthUnit: YGUnit;
|
|
@@ -3525,6 +3887,19 @@ export namespace PBVisibilityComponent {
|
|
|
3525
3887
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
3526
3888
|
}
|
|
3527
3889
|
|
|
3890
|
+
// @public (undocumented)
|
|
3891
|
+
export interface Perspective {
|
|
3892
|
+
fieldOfView?: number | undefined;
|
|
3893
|
+
}
|
|
3894
|
+
|
|
3895
|
+
// @public (undocumented)
|
|
3896
|
+
export namespace Perspective {
|
|
3897
|
+
// (undocumented)
|
|
3898
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
3899
|
+
// (undocumented)
|
|
3900
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
3901
|
+
}
|
|
3902
|
+
|
|
3528
3903
|
// @public
|
|
3529
3904
|
export namespace Plane {
|
|
3530
3905
|
// (undocumented)
|
|
@@ -3570,12 +3945,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
3570
3945
|
|
|
3571
3946
|
// @public (undocumented)
|
|
3572
3947
|
export interface PointerEventsSystem {
|
|
3948
|
+
onPointerDown(pointerData: {
|
|
3949
|
+
entity: Entity;
|
|
3950
|
+
optsList: EventSystemOptionsCallback[];
|
|
3951
|
+
}): void;
|
|
3573
3952
|
onPointerDown(pointerData: {
|
|
3574
3953
|
entity: Entity;
|
|
3575
3954
|
opts?: Partial<EventSystemOptions>;
|
|
3576
3955
|
}, cb: EventSystemCallback): void;
|
|
3577
3956
|
// @deprecated (undocumented)
|
|
3578
3957
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3958
|
+
onPointerDrag(pointerData: {
|
|
3959
|
+
entity: Entity;
|
|
3960
|
+
optsList: EventSystemOptionsCallback[];
|
|
3961
|
+
}): void;
|
|
3962
|
+
onPointerDrag(pointerData: {
|
|
3963
|
+
entity: Entity;
|
|
3964
|
+
opts?: Partial<EventSystemOptions>;
|
|
3965
|
+
}, cb: EventSystemCallback): void;
|
|
3966
|
+
onPointerDragEnd(pointerData: {
|
|
3967
|
+
entity: Entity;
|
|
3968
|
+
optsList: EventSystemOptionsCallback[];
|
|
3969
|
+
}): void;
|
|
3970
|
+
onPointerDragEnd(pointerData: {
|
|
3971
|
+
entity: Entity;
|
|
3972
|
+
opts?: Partial<EventSystemOptions>;
|
|
3973
|
+
}, cb: EventSystemCallback): void;
|
|
3974
|
+
onPointerDragLocked(pointerData: {
|
|
3975
|
+
entity: Entity;
|
|
3976
|
+
optsList: EventSystemOptionsCallback[];
|
|
3977
|
+
}): void;
|
|
3978
|
+
onPointerDragLocked(pointerData: {
|
|
3979
|
+
entity: Entity;
|
|
3980
|
+
opts?: Partial<EventSystemOptions>;
|
|
3981
|
+
}, cb: EventSystemCallback): void;
|
|
3579
3982
|
onPointerHoverEnter(pointerData: {
|
|
3580
3983
|
entity: Entity;
|
|
3581
3984
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3584,6 +3987,10 @@ export interface PointerEventsSystem {
|
|
|
3584
3987
|
entity: Entity;
|
|
3585
3988
|
opts?: Partial<EventSystemOptions>;
|
|
3586
3989
|
}, cb: EventSystemCallback): void;
|
|
3990
|
+
onPointerUp(pointerData: {
|
|
3991
|
+
entity: Entity;
|
|
3992
|
+
optsList: EventSystemOptionsCallback[];
|
|
3993
|
+
}): void;
|
|
3587
3994
|
onPointerUp(pointerData: {
|
|
3588
3995
|
entity: Entity;
|
|
3589
3996
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3591,6 +3998,9 @@ export interface PointerEventsSystem {
|
|
|
3591
3998
|
// @deprecated (undocumented)
|
|
3592
3999
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3593
4000
|
removeOnPointerDown(entity: Entity): void;
|
|
4001
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
4002
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
4003
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
3594
4004
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3595
4005
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3596
4006
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -3604,6 +4014,12 @@ export const enum PointerEventType {
|
|
|
3604
4014
|
// (undocumented)
|
|
3605
4015
|
PET_DOWN = 1,
|
|
3606
4016
|
// (undocumented)
|
|
4017
|
+
PET_DRAG = 5,
|
|
4018
|
+
// (undocumented)
|
|
4019
|
+
PET_DRAG_END = 6,
|
|
4020
|
+
// (undocumented)
|
|
4021
|
+
PET_DRAG_LOCKED = 4,
|
|
4022
|
+
// (undocumented)
|
|
3607
4023
|
PET_HOVER_ENTER = 2,
|
|
3608
4024
|
// (undocumented)
|
|
3609
4025
|
PET_HOVER_LEAVE = 3,
|
|
@@ -3628,7 +4044,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
3628
4044
|
// @public (undocumented)
|
|
3629
4045
|
export const enum PointerType {
|
|
3630
4046
|
POT_MOUSE = 1,
|
|
3631
|
-
POT_NONE = 0
|
|
4047
|
+
POT_NONE = 0,
|
|
4048
|
+
// (undocumented)
|
|
4049
|
+
POT_PAD = 2,
|
|
4050
|
+
// (undocumented)
|
|
4051
|
+
POT_TOUCH = 3,
|
|
4052
|
+
// (undocumented)
|
|
4053
|
+
POT_WAND = 4
|
|
3632
4054
|
}
|
|
3633
4055
|
|
|
3634
4056
|
// @public
|
|
@@ -3873,6 +4295,8 @@ export interface ReactBasedUiSystem {
|
|
|
3873
4295
|
// (undocumented)
|
|
3874
4296
|
destroy(): void;
|
|
3875
4297
|
// (undocumented)
|
|
4298
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4299
|
+
// (undocumented)
|
|
3876
4300
|
setUiRenderer(ui: UiComponent): void;
|
|
3877
4301
|
}
|
|
3878
4302
|
|
|
@@ -4145,6 +4569,41 @@ export namespace Schemas {
|
|
|
4145
4569
|
}) => void;
|
|
4146
4570
|
}
|
|
4147
4571
|
|
|
4572
|
+
// @public (undocumented)
|
|
4573
|
+
export interface ScrollPositionValue {
|
|
4574
|
+
// (undocumented)
|
|
4575
|
+
value?: {
|
|
4576
|
+
$case: "position";
|
|
4577
|
+
position: PBVector2;
|
|
4578
|
+
} | {
|
|
4579
|
+
$case: "reference";
|
|
4580
|
+
reference: string;
|
|
4581
|
+
} | undefined;
|
|
4582
|
+
}
|
|
4583
|
+
|
|
4584
|
+
// @public (undocumented)
|
|
4585
|
+
export namespace ScrollPositionValue {
|
|
4586
|
+
// (undocumented)
|
|
4587
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
4588
|
+
// (undocumented)
|
|
4589
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
4590
|
+
}
|
|
4591
|
+
|
|
4592
|
+
// @public
|
|
4593
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4594
|
+
|
|
4595
|
+
// @public (undocumented)
|
|
4596
|
+
export const enum ShowScrollBar {
|
|
4597
|
+
// (undocumented)
|
|
4598
|
+
SSB_BOTH = 0,
|
|
4599
|
+
// (undocumented)
|
|
4600
|
+
SSB_HIDDEN = 3,
|
|
4601
|
+
// (undocumented)
|
|
4602
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
4603
|
+
// (undocumented)
|
|
4604
|
+
SSB_ONLY_VERTICAL = 1
|
|
4605
|
+
}
|
|
4606
|
+
|
|
4148
4607
|
// @public (undocumented)
|
|
4149
4608
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
4150
4609
|
|
|
@@ -4258,6 +4717,9 @@ export namespace Texture {
|
|
|
4258
4717
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4259
4718
|
}
|
|
4260
4719
|
|
|
4720
|
+
// @public (undocumented)
|
|
4721
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4722
|
+
|
|
4261
4723
|
// @public (undocumented)
|
|
4262
4724
|
export const enum TextureFilterMode {
|
|
4263
4725
|
// (undocumented)
|
|
@@ -4337,6 +4799,9 @@ export interface TextureUnion {
|
|
|
4337
4799
|
} | {
|
|
4338
4800
|
$case: "videoTexture";
|
|
4339
4801
|
videoTexture: VideoTexture;
|
|
4802
|
+
} | {
|
|
4803
|
+
$case: "uiTexture";
|
|
4804
|
+
uiTexture: UiCanvasTexture;
|
|
4340
4805
|
} | undefined;
|
|
4341
4806
|
}
|
|
4342
4807
|
|
|
@@ -4574,6 +5039,7 @@ export interface UiBackgroundProps {
|
|
|
4574
5039
|
textureMode?: TextureMode;
|
|
4575
5040
|
textureSlices?: BorderRect | undefined;
|
|
4576
5041
|
uvs?: number[];
|
|
5042
|
+
videoTexture?: UiVideoTexture;
|
|
4577
5043
|
}
|
|
4578
5044
|
|
|
4579
5045
|
// @public
|
|
@@ -4582,9 +5048,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4582
5048
|
variant?: 'primary' | 'secondary';
|
|
4583
5049
|
}
|
|
4584
5050
|
|
|
5051
|
+
// @public (undocumented)
|
|
5052
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5053
|
+
|
|
4585
5054
|
// @public (undocumented)
|
|
4586
5055
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
4587
5056
|
|
|
5057
|
+
// @public (undocumented)
|
|
5058
|
+
export interface UiCanvasTexture {
|
|
5059
|
+
filterMode?: TextureFilterMode | undefined;
|
|
5060
|
+
// (undocumented)
|
|
5061
|
+
uiCanvasEntity: number;
|
|
5062
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
// @public (undocumented)
|
|
5066
|
+
export namespace UiCanvasTexture {
|
|
5067
|
+
// (undocumented)
|
|
5068
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
5069
|
+
// (undocumented)
|
|
5070
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
5071
|
+
}
|
|
5072
|
+
|
|
4588
5073
|
// @public (undocumented)
|
|
4589
5074
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
4590
5075
|
|
|
@@ -4639,6 +5124,8 @@ export interface UiLabelProps {
|
|
|
4639
5124
|
color?: PBColor4 | undefined;
|
|
4640
5125
|
font?: UiFontType | undefined;
|
|
4641
5126
|
fontSize?: ScaleUnit | undefined;
|
|
5127
|
+
outlineColor?: PBColor4 | undefined;
|
|
5128
|
+
outlineWidth?: number | undefined;
|
|
4642
5129
|
textAlign?: TextAlignType | undefined;
|
|
4643
5130
|
textWrap?: UiTextWrapType | undefined;
|
|
4644
5131
|
value: string;
|
|
@@ -4647,6 +5134,9 @@ export interface UiLabelProps {
|
|
|
4647
5134
|
// @public
|
|
4648
5135
|
export type uint32 = number;
|
|
4649
5136
|
|
|
5137
|
+
// @public (undocumented)
|
|
5138
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5139
|
+
|
|
4650
5140
|
// @public (undocumented)
|
|
4651
5141
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
4652
5142
|
|
|
@@ -4675,6 +5165,7 @@ export interface UiTransformProps {
|
|
|
4675
5165
|
// (undocumented)
|
|
4676
5166
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
4677
5167
|
display?: DisplayType;
|
|
5168
|
+
elementId?: string;
|
|
4678
5169
|
flex?: number;
|
|
4679
5170
|
flexBasis?: number;
|
|
4680
5171
|
flexDirection?: FlexDirectionType;
|
|
@@ -4694,10 +5185,22 @@ export interface UiTransformProps {
|
|
|
4694
5185
|
pointerFilter?: PointerFilterType;
|
|
4695
5186
|
position?: Partial<Position> | PositionShorthand;
|
|
4696
5187
|
positionType?: PositionType;
|
|
5188
|
+
scrollPosition?: PBVector2 | string;
|
|
5189
|
+
scrollVisible?: ScrollVisibleType;
|
|
4697
5190
|
width?: PositionUnit | 'auto';
|
|
4698
5191
|
zIndex?: number;
|
|
4699
5192
|
}
|
|
4700
5193
|
|
|
5194
|
+
// @public
|
|
5195
|
+
export interface UiVideoTexture {
|
|
5196
|
+
// (undocumented)
|
|
5197
|
+
filterMode?: TextureFilterType;
|
|
5198
|
+
// (undocumented)
|
|
5199
|
+
videoPlayerEntity: Entity;
|
|
5200
|
+
// (undocumented)
|
|
5201
|
+
wrapMode?: TextureWrapType;
|
|
5202
|
+
}
|
|
5203
|
+
|
|
4701
5204
|
// @public (undocumented)
|
|
4702
5205
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
4703
5206
|
|