@dcl/playground-assets 7.31.1-40606969412.commit-24c05c3 → 7.31.1-40962203448.commit-c68a75f
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 +228 -879
- package/dist/beta.d.ts +228 -879
- package/dist/index.bundled.d.ts +228 -879
- package/dist/index.js +7 -7
- package/dist/playground/sdk/apis.d.ts +2 -37
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +228 -879
- package/etc/playground-assets.api.json +6378 -13025
- package/etc/playground-assets.api.md +137 -578
- package/package.json +5 -6
|
@@ -136,29 +136,6 @@ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElem
|
|
|
136
136
|
getAudioState(entity: Entity): PBAudioEvent | undefined;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
// @public (undocumented)
|
|
140
|
-
export type AuthoritativePutComponentMessage = CrdtMessageHeader & AuthoritativePutComponentMessageBody;
|
|
141
|
-
|
|
142
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
143
|
-
//
|
|
144
|
-
// @public
|
|
145
|
-
export type AuthoritativePutComponentMessageBody = {
|
|
146
|
-
type: CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT;
|
|
147
|
-
entityId: Entity;
|
|
148
|
-
componentId: number;
|
|
149
|
-
timestamp: number;
|
|
150
|
-
data: Uint8Array;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
// @public (undocumented)
|
|
154
|
-
export namespace AuthoritativePutComponentOperation {
|
|
155
|
-
const // (undocumented)
|
|
156
|
-
MESSAGE_HEADER_LENGTH = 16;
|
|
157
|
-
// (undocumented)
|
|
158
|
-
export function read(buf: ByteBuffer): AuthoritativePutComponentMessage | null;
|
|
159
|
-
export function write(entity: Entity, timestamp: number, componentId: number, data: Uint8Array, buf: ByteBuffer): void;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
139
|
// @public (undocumented)
|
|
163
140
|
export const enum AvatarAnchorPointType {
|
|
164
141
|
// (undocumented)
|
|
@@ -215,25 +192,6 @@ export const enum AvatarAnchorPointType {
|
|
|
215
192
|
AAPT_SPINE2 = 8
|
|
216
193
|
}
|
|
217
194
|
|
|
218
|
-
// @public (undocumented)
|
|
219
|
-
export interface AvatarAnimationState {
|
|
220
|
-
duration: number;
|
|
221
|
-
idle: boolean;
|
|
222
|
-
loop: boolean;
|
|
223
|
-
loopCount: number;
|
|
224
|
-
playbackTime: number;
|
|
225
|
-
speed: number;
|
|
226
|
-
src: string;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// @public (undocumented)
|
|
230
|
-
export namespace AvatarAnimationState {
|
|
231
|
-
// (undocumented)
|
|
232
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarAnimationState;
|
|
233
|
-
// (undocumented)
|
|
234
|
-
export function encode(message: AvatarAnimationState, writer?: _m0.Writer): _m0.Writer;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
195
|
// @public (undocumented)
|
|
238
196
|
export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
|
239
197
|
|
|
@@ -243,18 +201,8 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
|
|
|
243
201
|
// @public (undocumented)
|
|
244
202
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
245
203
|
|
|
246
|
-
// 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)
|
|
247
|
-
//
|
|
248
|
-
// @public (undocumented)
|
|
249
|
-
export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
|
|
250
|
-
|
|
251
204
|
// @public (undocumented)
|
|
252
|
-
export
|
|
253
|
-
|
|
254
|
-
// @public
|
|
255
|
-
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
256
|
-
forceRender?: string[] | undefined;
|
|
257
|
-
};
|
|
205
|
+
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
258
206
|
|
|
259
207
|
// @public (undocumented)
|
|
260
208
|
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
@@ -275,27 +223,11 @@ export const enum AvatarModifierType {
|
|
|
275
223
|
AMT_HIDE_NAMETAGS = 2
|
|
276
224
|
}
|
|
277
225
|
|
|
278
|
-
// @public (undocumented)
|
|
279
|
-
export const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
|
|
280
|
-
|
|
281
|
-
// @public (undocumented)
|
|
282
|
-
export const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
|
|
283
|
-
|
|
284
226
|
// @public (undocumented)
|
|
285
227
|
export const AvatarNametag: LastWriteWinElementSetComponentDefinition<PBAvatarNametag>;
|
|
286
228
|
|
|
287
|
-
// 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)
|
|
288
|
-
//
|
|
289
|
-
// @public (undocumented)
|
|
290
|
-
export const AvatarShape: AvatarShapeComponentDefinitionExtended;
|
|
291
|
-
|
|
292
229
|
// @public (undocumented)
|
|
293
|
-
export
|
|
294
|
-
|
|
295
|
-
// @public
|
|
296
|
-
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
297
|
-
forceRender?: string[] | undefined;
|
|
298
|
-
};
|
|
230
|
+
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
299
231
|
|
|
300
232
|
// @public (undocumented)
|
|
301
233
|
export interface AvatarTexture {
|
|
@@ -331,20 +263,12 @@ export interface BaseComponent<T> {
|
|
|
331
263
|
dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
|
|
332
264
|
entityDeleted(entity: Entity, markAsDirty: boolean): void;
|
|
333
265
|
get(entity: Entity): any;
|
|
334
|
-
getCrdtState(entity: Entity): {
|
|
335
|
-
data: Uint8Array;
|
|
336
|
-
timestamp: number;
|
|
337
|
-
} | null;
|
|
338
266
|
getCrdtUpdates(): Iterable<CrdtMessageBody>;
|
|
339
267
|
has(entity: Entity): boolean;
|
|
340
268
|
onChange(entity: Entity, cb: (value: T | undefined) => void): void;
|
|
341
269
|
// (undocumented)
|
|
342
270
|
readonly schema: ISchema<T>;
|
|
343
271
|
updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
|
|
344
|
-
// (undocumented)
|
|
345
|
-
validateBeforeChange(entity: Entity, cb: ValidateCallback<T>): void;
|
|
346
|
-
// (undocumented)
|
|
347
|
-
validateBeforeChange(cb: ValidateCallback<T>): void;
|
|
348
272
|
}
|
|
349
273
|
|
|
350
274
|
// @public (undocumented)
|
|
@@ -508,13 +432,7 @@ export interface ByteBuffer {
|
|
|
508
432
|
}
|
|
509
433
|
|
|
510
434
|
// @public
|
|
511
|
-
export type Callback = (
|
|
512
|
-
|
|
513
|
-
// @public (undocumented)
|
|
514
|
-
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
515
|
-
|
|
516
|
-
// @public (undocumented)
|
|
517
|
-
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
435
|
+
export type Callback = () => void;
|
|
518
436
|
|
|
519
437
|
// @public (undocumented)
|
|
520
438
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
@@ -746,6 +664,34 @@ export type Color4Type = {
|
|
|
746
664
|
a: number;
|
|
747
665
|
};
|
|
748
666
|
|
|
667
|
+
// @public (undocumented)
|
|
668
|
+
export interface ColorGradient {
|
|
669
|
+
// (undocumented)
|
|
670
|
+
keys: ColorKey[];
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
// @public (undocumented)
|
|
674
|
+
export namespace ColorGradient {
|
|
675
|
+
// (undocumented)
|
|
676
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ColorGradient;
|
|
677
|
+
// (undocumented)
|
|
678
|
+
export function encode(message: ColorGradient, writer?: _m0.Writer): _m0.Writer;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
// @public (undocumented)
|
|
682
|
+
export interface ColorKey {
|
|
683
|
+
color: PBColor4 | undefined;
|
|
684
|
+
time: number;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
// @public (undocumented)
|
|
688
|
+
export namespace ColorKey {
|
|
689
|
+
// (undocumented)
|
|
690
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ColorKey;
|
|
691
|
+
// (undocumented)
|
|
692
|
+
export function encode(message: ColorKey, writer?: _m0.Writer): _m0.Writer;
|
|
693
|
+
}
|
|
694
|
+
|
|
749
695
|
// @public (undocumented)
|
|
750
696
|
export interface ColorRange {
|
|
751
697
|
// (undocumented)
|
|
@@ -806,24 +752,18 @@ export const componentDefinitionByName: {
|
|
|
806
752
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
807
753
|
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
808
754
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
809
|
-
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
810
|
-
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
811
755
|
"core::AvatarNametag": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarNametag>>;
|
|
812
756
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
813
757
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
814
|
-
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
815
|
-
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
816
758
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
817
759
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
818
760
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
761
|
+
"core::EnvironmentFog": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEnvironmentFog>>;
|
|
819
762
|
"core::ExplorerItemPurchaseResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerItemPurchaseResult>>;
|
|
820
763
|
"core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
|
|
821
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
822
764
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
823
765
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
824
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
825
766
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
826
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
827
767
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
828
768
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
829
769
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -842,9 +782,10 @@ export const componentDefinitionByName: {
|
|
|
842
782
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
843
783
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
844
784
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
785
|
+
"core::Skybox": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkybox>>;
|
|
845
786
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
787
|
+
"core::Sun": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSun>>;
|
|
846
788
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
847
|
-
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
848
789
|
"core::TouchScreenControls": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>>;
|
|
849
790
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
850
791
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
@@ -852,14 +793,12 @@ export const componentDefinitionByName: {
|
|
|
852
793
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
853
794
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
854
795
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
855
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
856
796
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
857
797
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
858
798
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
859
799
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
860
800
|
"core::UiInputBinding": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputBinding>>;
|
|
861
801
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
862
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
863
802
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
864
803
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
865
804
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1001,10 +940,10 @@ export type Coords = {
|
|
|
1001
940
|
export const CRDT_MESSAGE_HEADER_LENGTH = 8;
|
|
1002
941
|
|
|
1003
942
|
// @public (undocumented)
|
|
1004
|
-
export type CrdtMessage = PutComponentMessage |
|
|
943
|
+
export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
1005
944
|
|
|
1006
945
|
// @public (undocumented)
|
|
1007
|
-
export type CrdtMessageBody = PutComponentMessageBody |
|
|
946
|
+
export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
1008
947
|
|
|
1009
948
|
// @public
|
|
1010
949
|
export type CrdtMessageHeader = {
|
|
@@ -1025,8 +964,6 @@ export enum CrdtMessageType {
|
|
|
1025
964
|
// (undocumented)
|
|
1026
965
|
APPEND_VALUE = 4,
|
|
1027
966
|
// (undocumented)
|
|
1028
|
-
AUTHORITATIVE_PUT_COMPONENT = 8,
|
|
1029
|
-
// (undocumented)
|
|
1030
967
|
DELETE_COMPONENT = 2,
|
|
1031
968
|
// (undocumented)
|
|
1032
969
|
DELETE_COMPONENT_NETWORK = 6,
|
|
@@ -1035,7 +972,7 @@ export enum CrdtMessageType {
|
|
|
1035
972
|
// (undocumented)
|
|
1036
973
|
DELETE_ENTITY_NETWORK = 7,
|
|
1037
974
|
// (undocumented)
|
|
1038
|
-
MAX_MESSAGE_TYPE =
|
|
975
|
+
MAX_MESSAGE_TYPE = 8,
|
|
1039
976
|
// (undocumented)
|
|
1040
977
|
PUT_COMPONENT = 1,
|
|
1041
978
|
// (undocumented)
|
|
@@ -1047,11 +984,6 @@ export enum CrdtMessageType {
|
|
|
1047
984
|
// @public (undocumented)
|
|
1048
985
|
export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
|
|
1049
986
|
|
|
1050
|
-
// Warning: (ae-missing-release-tag) "CreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1051
|
-
//
|
|
1052
|
-
// @public (undocumented)
|
|
1053
|
-
export const CreatedBy: ICreatedBy;
|
|
1054
|
-
|
|
1055
987
|
// @public (undocumented)
|
|
1056
988
|
export function createEntityContainer(opts?: {
|
|
1057
989
|
reservedStaticEntities: number;
|
|
@@ -1321,9 +1253,6 @@ export type EntityComponents = {
|
|
|
1321
1253
|
onMouseUp: Callback;
|
|
1322
1254
|
onMouseEnter: Callback;
|
|
1323
1255
|
onMouseLeave: Callback;
|
|
1324
|
-
onMouseDrag: Callback;
|
|
1325
|
-
onMouseDragLocked: Callback;
|
|
1326
|
-
onMouseDragEnd: Callback;
|
|
1327
1256
|
};
|
|
1328
1257
|
|
|
1329
1258
|
// @public (undocumented)
|
|
@@ -1361,6 +1290,9 @@ export namespace EntityUtils {
|
|
|
1361
1290
|
export function toEntityId(entityNumber: number, entityVersion: number): Entity;
|
|
1362
1291
|
}
|
|
1363
1292
|
|
|
1293
|
+
// @public (undocumented)
|
|
1294
|
+
export const EnvironmentFog: LastWriteWinElementSetComponentDefinition<PBEnvironmentFog>;
|
|
1295
|
+
|
|
1364
1296
|
// @public
|
|
1365
1297
|
export const Epsilon = 0.000001;
|
|
1366
1298
|
|
|
@@ -1514,9 +1446,6 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1514
1446
|
direction?: PBVector3;
|
|
1515
1447
|
};
|
|
1516
1448
|
|
|
1517
|
-
// @public (undocumented)
|
|
1518
|
-
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1519
|
-
|
|
1520
1449
|
// 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)
|
|
1521
1450
|
//
|
|
1522
1451
|
// @public (undocumented)
|
|
@@ -1535,25 +1464,9 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1535
1464
|
// @public (undocumented)
|
|
1536
1465
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1537
1466
|
|
|
1538
|
-
// @public (undocumented)
|
|
1539
|
-
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1540
|
-
|
|
1541
1467
|
// @public (undocumented)
|
|
1542
1468
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1543
1469
|
|
|
1544
|
-
// @public (undocumented)
|
|
1545
|
-
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1546
|
-
|
|
1547
|
-
// @public (undocumented)
|
|
1548
|
-
export const enum GltfNodeStateValue {
|
|
1549
|
-
// (undocumented)
|
|
1550
|
-
GNSV_FAILED = 1,
|
|
1551
|
-
// (undocumented)
|
|
1552
|
-
GNSV_PENDING = 0,
|
|
1553
|
-
// (undocumented)
|
|
1554
|
-
GNSV_READY = 2
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
1470
|
// @public (undocumented)
|
|
1558
1471
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1559
1472
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1567,19 +1480,6 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
|
|
|
1567
1480
|
// @public (undocumented)
|
|
1568
1481
|
export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
|
|
1569
1482
|
|
|
1570
|
-
// Warning: (ae-missing-release-tag) "ICreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1571
|
-
//
|
|
1572
|
-
// @public (undocumented)
|
|
1573
|
-
export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
|
|
1574
|
-
|
|
1575
|
-
// Warning: (ae-missing-release-tag) "ICreatedByType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1576
|
-
//
|
|
1577
|
-
// @public (undocumented)
|
|
1578
|
-
export interface ICreatedByType {
|
|
1579
|
-
// (undocumented)
|
|
1580
|
-
address: string;
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
1483
|
// @public (undocumented)
|
|
1584
1484
|
export interface IEngine {
|
|
1585
1485
|
addEntity(): Entity;
|
|
@@ -1836,20 +1736,6 @@ export const enum InteractionType {
|
|
|
1836
1736
|
PROXIMITY = 1
|
|
1837
1737
|
}
|
|
1838
1738
|
|
|
1839
|
-
// Warning: (ae-missing-release-tag) "InternalBaseComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1840
|
-
//
|
|
1841
|
-
// @public
|
|
1842
|
-
export interface InternalBaseComponent<T> extends BaseComponent<T> {
|
|
1843
|
-
__dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
|
|
1844
|
-
// (undocumented)
|
|
1845
|
-
__onChangeCallbacks(entity: Entity, value: T): void;
|
|
1846
|
-
// (undocumented)
|
|
1847
|
-
__run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
|
|
1848
|
-
// (undocumented)
|
|
1849
|
-
dirtyIterator(): Iterable<Entity>;
|
|
1850
|
-
iterator(): Iterable<[Entity, any]>;
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
1739
|
// @public (undocumented)
|
|
1854
1740
|
export interface ISchema<T = any> {
|
|
1855
1741
|
// (undocumented)
|
|
@@ -1982,9 +1868,6 @@ export type Listeners = {
|
|
|
1982
1868
|
onMouseUp?: Callback;
|
|
1983
1869
|
onMouseEnter?: Callback;
|
|
1984
1870
|
onMouseLeave?: Callback;
|
|
1985
|
-
onMouseDrag?: Callback;
|
|
1986
|
-
onMouseDragLocked?: Callback;
|
|
1987
|
-
onMouseDragEnd?: Callback;
|
|
1988
1871
|
};
|
|
1989
1872
|
|
|
1990
1873
|
// @public (undocumented)
|
|
@@ -2228,7 +2111,6 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
2228
2111
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
2229
2112
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2230
2113
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2231
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2232
2114
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2233
2115
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2234
2116
|
}
|
|
@@ -2242,7 +2124,6 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
2242
2124
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
2243
2125
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
2244
2126
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2245
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
2246
2127
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
2247
2128
|
setSphere(entity: Entity): void;
|
|
2248
2129
|
}
|
|
@@ -2290,25 +2171,6 @@ export namespace MoveContinuous {
|
|
|
2290
2171
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2291
2172
|
}
|
|
2292
2173
|
|
|
2293
|
-
// @public (undocumented)
|
|
2294
|
-
export interface MovementAnimation {
|
|
2295
|
-
idle: boolean;
|
|
2296
|
-
loop: boolean;
|
|
2297
|
-
playbackTime?: number | undefined;
|
|
2298
|
-
sounds: string[];
|
|
2299
|
-
speed: number;
|
|
2300
|
-
src: string;
|
|
2301
|
-
transitionSeconds?: number | undefined;
|
|
2302
|
-
}
|
|
2303
|
-
|
|
2304
|
-
// @public (undocumented)
|
|
2305
|
-
export namespace MovementAnimation {
|
|
2306
|
-
// (undocumented)
|
|
2307
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): MovementAnimation;
|
|
2308
|
-
// (undocumented)
|
|
2309
|
-
export function encode(message: MovementAnimation, writer?: _m0.Writer): _m0.Writer;
|
|
2310
|
-
}
|
|
2311
|
-
|
|
2312
2174
|
// @public (undocumented)
|
|
2313
2175
|
export interface MoveRotateScale {
|
|
2314
2176
|
// (undocumented)
|
|
@@ -2555,19 +2417,6 @@ export const onVideoEvent: Observable<{
|
|
|
2555
2417
|
totalVideoLength: number;
|
|
2556
2418
|
}>;
|
|
2557
2419
|
|
|
2558
|
-
// @public (undocumented)
|
|
2559
|
-
export interface Orthographic {
|
|
2560
|
-
verticalRange?: number | undefined;
|
|
2561
|
-
}
|
|
2562
|
-
|
|
2563
|
-
// @public (undocumented)
|
|
2564
|
-
export namespace Orthographic {
|
|
2565
|
-
// (undocumented)
|
|
2566
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2567
|
-
// (undocumented)
|
|
2568
|
-
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2569
|
-
}
|
|
2570
|
-
|
|
2571
2420
|
// @public
|
|
2572
2421
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2573
2422
|
|
|
@@ -2802,7 +2651,6 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2802
2651
|
export interface PBAvatarEquippedData {
|
|
2803
2652
|
// (undocumented)
|
|
2804
2653
|
emoteUrns: string[];
|
|
2805
|
-
forceRender: string[];
|
|
2806
2654
|
// (undocumented)
|
|
2807
2655
|
wearableUrns: string[];
|
|
2808
2656
|
}
|
|
@@ -2841,7 +2689,6 @@ export interface PBAvatarModifierArea {
|
|
|
2841
2689
|
area: PBVector3 | undefined;
|
|
2842
2690
|
excludeIds: string[];
|
|
2843
2691
|
modifiers: AvatarModifierType[];
|
|
2844
|
-
useColliderRange?: boolean | undefined;
|
|
2845
2692
|
}
|
|
2846
2693
|
|
|
2847
2694
|
// @public (undocumented)
|
|
@@ -2852,51 +2699,6 @@ export namespace PBAvatarModifierArea {
|
|
|
2852
2699
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2853
2700
|
}
|
|
2854
2701
|
|
|
2855
|
-
// @public (undocumented)
|
|
2856
|
-
export interface PBAvatarMovement {
|
|
2857
|
-
animation?: MovementAnimation | undefined;
|
|
2858
|
-
// (undocumented)
|
|
2859
|
-
groundDirection?: PBVector3 | undefined;
|
|
2860
|
-
orientation: number;
|
|
2861
|
-
tiltPitch?: number | undefined;
|
|
2862
|
-
tiltRoll?: number | undefined;
|
|
2863
|
-
// (undocumented)
|
|
2864
|
-
velocity: PBVector3 | undefined;
|
|
2865
|
-
walkSuccess?: boolean | undefined;
|
|
2866
|
-
}
|
|
2867
|
-
|
|
2868
|
-
// @public (undocumented)
|
|
2869
|
-
export namespace PBAvatarMovement {
|
|
2870
|
-
// (undocumented)
|
|
2871
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
|
|
2872
|
-
// (undocumented)
|
|
2873
|
-
export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
// @public (undocumented)
|
|
2877
|
-
export interface PBAvatarMovementInfo {
|
|
2878
|
-
activeAnimationState?: AvatarAnimationState | undefined;
|
|
2879
|
-
// (undocumented)
|
|
2880
|
-
activeAvatarLocomotionSettings: PBAvatarLocomotionSettings | undefined;
|
|
2881
|
-
// (undocumented)
|
|
2882
|
-
activeInputModifier: PBInputModifier | undefined;
|
|
2883
|
-
actualVelocity: PBVector3 | undefined;
|
|
2884
|
-
externalVelocity: PBVector3 | undefined;
|
|
2885
|
-
previousStepTime: number;
|
|
2886
|
-
requestedVelocity: PBVector3 | undefined;
|
|
2887
|
-
stepTime: number;
|
|
2888
|
-
walkTarget?: PBVector3 | undefined;
|
|
2889
|
-
walkThreshold?: number | undefined;
|
|
2890
|
-
}
|
|
2891
|
-
|
|
2892
|
-
// @public (undocumented)
|
|
2893
|
-
export namespace PBAvatarMovementInfo {
|
|
2894
|
-
// (undocumented)
|
|
2895
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
|
|
2896
|
-
// (undocumented)
|
|
2897
|
-
export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2898
|
-
}
|
|
2899
|
-
|
|
2900
2702
|
// @public (undocumented)
|
|
2901
2703
|
export interface PBAvatarNametag {
|
|
2902
2704
|
backgroundColor?: PBColor3 | undefined;
|
|
@@ -2920,7 +2722,6 @@ export interface PBAvatarShape {
|
|
|
2920
2722
|
expressionTriggerId?: string | undefined;
|
|
2921
2723
|
expressionTriggerTimestamp?: number | undefined;
|
|
2922
2724
|
eyeColor?: PBColor3 | undefined;
|
|
2923
|
-
forceRender: string[];
|
|
2924
2725
|
hairColor?: PBColor3 | undefined;
|
|
2925
2726
|
id: string;
|
|
2926
2727
|
name?: string | undefined;
|
|
@@ -2952,42 +2753,6 @@ export namespace PBBillboard {
|
|
|
2952
2753
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2953
2754
|
}
|
|
2954
2755
|
|
|
2955
|
-
// @public (undocumented)
|
|
2956
|
-
export interface PBCameraLayer {
|
|
2957
|
-
// (undocumented)
|
|
2958
|
-
ambientBrightnessOverride?: number | undefined;
|
|
2959
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2960
|
-
ambientColorOverride?: PBColor3 | undefined;
|
|
2961
|
-
directionalLight?: boolean | undefined;
|
|
2962
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2963
|
-
layer: number;
|
|
2964
|
-
showAvatars?: boolean | undefined;
|
|
2965
|
-
showFog?: boolean | undefined;
|
|
2966
|
-
showSkybox?: boolean | undefined;
|
|
2967
|
-
}
|
|
2968
|
-
|
|
2969
|
-
// @public (undocumented)
|
|
2970
|
-
export namespace PBCameraLayer {
|
|
2971
|
-
// (undocumented)
|
|
2972
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2973
|
-
// (undocumented)
|
|
2974
|
-
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2975
|
-
}
|
|
2976
|
-
|
|
2977
|
-
// @public (undocumented)
|
|
2978
|
-
export interface PBCameraLayers {
|
|
2979
|
-
// (undocumented)
|
|
2980
|
-
layers: number[];
|
|
2981
|
-
}
|
|
2982
|
-
|
|
2983
|
-
// @public (undocumented)
|
|
2984
|
-
export namespace PBCameraLayers {
|
|
2985
|
-
// (undocumented)
|
|
2986
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2987
|
-
// (undocumented)
|
|
2988
|
-
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2989
|
-
}
|
|
2990
|
-
|
|
2991
2756
|
// @public (undocumented)
|
|
2992
2757
|
export interface PBCameraMode {
|
|
2993
2758
|
mode: CameraType;
|
|
@@ -3005,7 +2770,6 @@ export namespace PBCameraMode {
|
|
|
3005
2770
|
export interface PBCameraModeArea {
|
|
3006
2771
|
area: PBVector3 | undefined;
|
|
3007
2772
|
mode: CameraType;
|
|
3008
|
-
useColliderRange?: boolean | undefined;
|
|
3009
2773
|
}
|
|
3010
2774
|
|
|
3011
2775
|
// @public (undocumented)
|
|
@@ -3070,6 +2834,21 @@ export namespace PBEngineInfo {
|
|
|
3070
2834
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
3071
2835
|
}
|
|
3072
2836
|
|
|
2837
|
+
// @public (undocumented)
|
|
2838
|
+
export interface PBEnvironmentFog {
|
|
2839
|
+
// (undocumented)
|
|
2840
|
+
color?: ColorGradient | undefined;
|
|
2841
|
+
density?: number | undefined;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
// @public (undocumented)
|
|
2845
|
+
export namespace PBEnvironmentFog {
|
|
2846
|
+
// (undocumented)
|
|
2847
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEnvironmentFog;
|
|
2848
|
+
// (undocumented)
|
|
2849
|
+
export function encode(message: PBEnvironmentFog, writer?: _m0.Writer): _m0.Writer;
|
|
2850
|
+
}
|
|
2851
|
+
|
|
3073
2852
|
// @public (undocumented)
|
|
3074
2853
|
export interface PBExplorerItemPurchaseResult {
|
|
3075
2854
|
requestId: number;
|
|
@@ -3180,21 +2959,6 @@ export namespace PBExplorerUiEventsResult_UiOpened {
|
|
|
3180
2959
|
export function encode(_: PBExplorerUiEventsResult_UiOpened, writer?: _m0.Writer): _m0.Writer;
|
|
3181
2960
|
}
|
|
3182
2961
|
|
|
3183
|
-
// @public (undocumented)
|
|
3184
|
-
export interface PBGlobalLight {
|
|
3185
|
-
ambientBrightness?: number | undefined;
|
|
3186
|
-
ambientColor?: PBColor3 | undefined;
|
|
3187
|
-
direction?: PBVector3 | undefined;
|
|
3188
|
-
}
|
|
3189
|
-
|
|
3190
|
-
// @public (undocumented)
|
|
3191
|
-
export namespace PBGlobalLight {
|
|
3192
|
-
// (undocumented)
|
|
3193
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
3194
|
-
// (undocumented)
|
|
3195
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
3196
|
-
}
|
|
3197
|
-
|
|
3198
2962
|
// @public (undocumented)
|
|
3199
2963
|
export interface PBGltfContainer {
|
|
3200
2964
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -3212,13 +2976,8 @@ export namespace PBGltfContainer {
|
|
|
3212
2976
|
|
|
3213
2977
|
// @public (undocumented)
|
|
3214
2978
|
export interface PBGltfContainerLoadingState {
|
|
3215
|
-
animationNames: string[];
|
|
3216
2979
|
// (undocumented)
|
|
3217
2980
|
currentState: LoadingState;
|
|
3218
|
-
materialNames: string[];
|
|
3219
|
-
meshNames: string[];
|
|
3220
|
-
nodePaths: string[];
|
|
3221
|
-
skinNames: string[];
|
|
3222
2981
|
}
|
|
3223
2982
|
|
|
3224
2983
|
// @public (undocumented)
|
|
@@ -3229,19 +2988,6 @@ export namespace PBGltfContainerLoadingState {
|
|
|
3229
2988
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
3230
2989
|
}
|
|
3231
2990
|
|
|
3232
|
-
// @public (undocumented)
|
|
3233
|
-
export interface PBGltfNode {
|
|
3234
|
-
path: string;
|
|
3235
|
-
}
|
|
3236
|
-
|
|
3237
|
-
// @public (undocumented)
|
|
3238
|
-
export namespace PBGltfNode {
|
|
3239
|
-
// (undocumented)
|
|
3240
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
3241
|
-
// (undocumented)
|
|
3242
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
3243
|
-
}
|
|
3244
|
-
|
|
3245
2991
|
// @public (undocumented)
|
|
3246
2992
|
export interface PBGltfNodeModifiers {
|
|
3247
2993
|
// (undocumented)
|
|
@@ -3271,22 +3017,6 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
3271
3017
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
3272
3018
|
}
|
|
3273
3019
|
|
|
3274
|
-
// @public (undocumented)
|
|
3275
|
-
export interface PBGltfNodeState {
|
|
3276
|
-
// (undocumented)
|
|
3277
|
-
error?: string | undefined;
|
|
3278
|
-
// (undocumented)
|
|
3279
|
-
state: GltfNodeStateValue;
|
|
3280
|
-
}
|
|
3281
|
-
|
|
3282
|
-
// @public (undocumented)
|
|
3283
|
-
export namespace PBGltfNodeState {
|
|
3284
|
-
// (undocumented)
|
|
3285
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
3286
|
-
// (undocumented)
|
|
3287
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
3288
|
-
}
|
|
3289
|
-
|
|
3290
3020
|
// @public (undocumented)
|
|
3291
3021
|
export interface PBInputModifier {
|
|
3292
3022
|
// (undocumented)
|
|
@@ -3399,7 +3129,6 @@ export namespace PBMainCamera {
|
|
|
3399
3129
|
|
|
3400
3130
|
// @public (undocumented)
|
|
3401
3131
|
export interface PBMaterial {
|
|
3402
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
3403
3132
|
// (undocumented)
|
|
3404
3133
|
material?: {
|
|
3405
3134
|
$case: "unlit";
|
|
@@ -3418,22 +3147,6 @@ export namespace PBMaterial {
|
|
|
3418
3147
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3419
3148
|
}
|
|
3420
3149
|
|
|
3421
|
-
// @public (undocumented)
|
|
3422
|
-
export interface PBMaterial_GltfMaterial {
|
|
3423
|
-
// (undocumented)
|
|
3424
|
-
gltfSrc: string;
|
|
3425
|
-
// (undocumented)
|
|
3426
|
-
name: string;
|
|
3427
|
-
}
|
|
3428
|
-
|
|
3429
|
-
// @public (undocumented)
|
|
3430
|
-
export namespace PBMaterial_GltfMaterial {
|
|
3431
|
-
// (undocumented)
|
|
3432
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
3433
|
-
// (undocumented)
|
|
3434
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3435
|
-
}
|
|
3436
|
-
|
|
3437
3150
|
// @public (undocumented)
|
|
3438
3151
|
export interface PBMaterial_PbrMaterial {
|
|
3439
3152
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -3495,9 +3208,6 @@ export interface PBMeshCollider {
|
|
|
3495
3208
|
} | {
|
|
3496
3209
|
$case: "plane";
|
|
3497
3210
|
plane: PBMeshCollider_PlaneMesh;
|
|
3498
|
-
} | {
|
|
3499
|
-
$case: "gltf";
|
|
3500
|
-
gltf: PBMeshCollider_GltfMesh;
|
|
3501
3211
|
} | undefined;
|
|
3502
3212
|
}
|
|
3503
3213
|
|
|
@@ -3535,20 +3245,6 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
3535
3245
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3536
3246
|
}
|
|
3537
3247
|
|
|
3538
|
-
// @public (undocumented)
|
|
3539
|
-
export interface PBMeshCollider_GltfMesh {
|
|
3540
|
-
gltfSrc: string;
|
|
3541
|
-
name: string;
|
|
3542
|
-
}
|
|
3543
|
-
|
|
3544
|
-
// @public (undocumented)
|
|
3545
|
-
export namespace PBMeshCollider_GltfMesh {
|
|
3546
|
-
// (undocumented)
|
|
3547
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
3548
|
-
// (undocumented)
|
|
3549
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3550
|
-
}
|
|
3551
|
-
|
|
3552
3248
|
// @public (undocumented)
|
|
3553
3249
|
export interface PBMeshCollider_PlaneMesh {
|
|
3554
3250
|
}
|
|
@@ -3588,9 +3284,6 @@ export interface PBMeshRenderer {
|
|
|
3588
3284
|
} | {
|
|
3589
3285
|
$case: "plane";
|
|
3590
3286
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3591
|
-
} | {
|
|
3592
|
-
$case: "gltf";
|
|
3593
|
-
gltf: PBMeshRenderer_GltfMesh;
|
|
3594
3287
|
} | undefined;
|
|
3595
3288
|
}
|
|
3596
3289
|
|
|
@@ -3629,20 +3322,6 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
3629
3322
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3630
3323
|
}
|
|
3631
3324
|
|
|
3632
|
-
// @public (undocumented)
|
|
3633
|
-
export interface PBMeshRenderer_GltfMesh {
|
|
3634
|
-
gltfSrc: string;
|
|
3635
|
-
name: string;
|
|
3636
|
-
}
|
|
3637
|
-
|
|
3638
|
-
// @public (undocumented)
|
|
3639
|
-
export namespace PBMeshRenderer_GltfMesh {
|
|
3640
|
-
// (undocumented)
|
|
3641
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3642
|
-
// (undocumented)
|
|
3643
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3644
|
-
}
|
|
3645
|
-
|
|
3646
3325
|
// @public (undocumented)
|
|
3647
3326
|
export interface PBMeshRenderer_PlaneMesh {
|
|
3648
3327
|
uvs: number[];
|
|
@@ -4071,11 +3750,9 @@ export interface PBRaycast {
|
|
|
4071
3750
|
$case: "targetEntity";
|
|
4072
3751
|
targetEntity: number;
|
|
4073
3752
|
} | undefined;
|
|
4074
|
-
includeWorld?: boolean | undefined;
|
|
4075
3753
|
maxDistance: number;
|
|
4076
3754
|
originOffset?: PBVector3 | undefined;
|
|
4077
3755
|
queryType: RaycastQueryType;
|
|
4078
|
-
shape?: RaycastShape | undefined;
|
|
4079
3756
|
timestamp?: number | undefined;
|
|
4080
3757
|
}
|
|
4081
3758
|
|
|
@@ -4123,6 +3800,67 @@ export namespace PBRealmInfo {
|
|
|
4123
3800
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
|
4124
3801
|
}
|
|
4125
3802
|
|
|
3803
|
+
// @public (undocumented)
|
|
3804
|
+
export interface PBSkybox {
|
|
3805
|
+
clouds?: PBSkybox_Clouds | undefined;
|
|
3806
|
+
skyboxTexture?: string | undefined;
|
|
3807
|
+
skyColors?: PBSkybox_SkyColors | undefined;
|
|
3808
|
+
stars?: PBSkybox_Stars | undefined;
|
|
3809
|
+
}
|
|
3810
|
+
|
|
3811
|
+
// @public (undocumented)
|
|
3812
|
+
export namespace PBSkybox {
|
|
3813
|
+
// (undocumented)
|
|
3814
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkybox;
|
|
3815
|
+
// (undocumented)
|
|
3816
|
+
export function encode(message: PBSkybox, writer?: _m0.Writer): _m0.Writer;
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
// @public (undocumented)
|
|
3820
|
+
export interface PBSkybox_Clouds {
|
|
3821
|
+
// (undocumented)
|
|
3822
|
+
color?: ColorGradient | undefined;
|
|
3823
|
+
opacity?: number | undefined;
|
|
3824
|
+
speed?: number | undefined;
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
// @public (undocumented)
|
|
3828
|
+
export namespace PBSkybox_Clouds {
|
|
3829
|
+
// (undocumented)
|
|
3830
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkybox_Clouds;
|
|
3831
|
+
// (undocumented)
|
|
3832
|
+
export function encode(message: PBSkybox_Clouds, writer?: _m0.Writer): _m0.Writer;
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3835
|
+
// @public (undocumented)
|
|
3836
|
+
export interface PBSkybox_SkyColors {
|
|
3837
|
+
horizon?: ColorGradient | undefined;
|
|
3838
|
+
nadir?: ColorGradient | undefined;
|
|
3839
|
+
rim?: ColorGradient | undefined;
|
|
3840
|
+
zenith?: ColorGradient | undefined;
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
// @public (undocumented)
|
|
3844
|
+
export namespace PBSkybox_SkyColors {
|
|
3845
|
+
// (undocumented)
|
|
3846
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkybox_SkyColors;
|
|
3847
|
+
// (undocumented)
|
|
3848
|
+
export function encode(message: PBSkybox_SkyColors, writer?: _m0.Writer): _m0.Writer;
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3851
|
+
// @public (undocumented)
|
|
3852
|
+
export interface PBSkybox_Stars {
|
|
3853
|
+
brightness?: number | undefined;
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3856
|
+
// @public (undocumented)
|
|
3857
|
+
export namespace PBSkybox_Stars {
|
|
3858
|
+
// (undocumented)
|
|
3859
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkybox_Stars;
|
|
3860
|
+
// (undocumented)
|
|
3861
|
+
export function encode(message: PBSkybox_Stars, writer?: _m0.Writer): _m0.Writer;
|
|
3862
|
+
}
|
|
3863
|
+
|
|
4126
3864
|
// @public (undocumented)
|
|
4127
3865
|
export interface PBSkyboxTime {
|
|
4128
3866
|
fixedTime: number;
|
|
@@ -4137,6 +3875,22 @@ export namespace PBSkyboxTime {
|
|
|
4137
3875
|
export function encode(message: PBSkyboxTime, writer?: _m0.Writer): _m0.Writer;
|
|
4138
3876
|
}
|
|
4139
3877
|
|
|
3878
|
+
// @public (undocumented)
|
|
3879
|
+
export interface PBSun {
|
|
3880
|
+
color?: ColorGradient | undefined;
|
|
3881
|
+
direction?: PBVector3 | undefined;
|
|
3882
|
+
intensity?: number | undefined;
|
|
3883
|
+
visible?: boolean | undefined;
|
|
3884
|
+
}
|
|
3885
|
+
|
|
3886
|
+
// @public (undocumented)
|
|
3887
|
+
export namespace PBSun {
|
|
3888
|
+
// (undocumented)
|
|
3889
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSun;
|
|
3890
|
+
// (undocumented)
|
|
3891
|
+
export function encode(message: PBSun, writer?: _m0.Writer): _m0.Writer;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
4140
3894
|
// @public (undocumented)
|
|
4141
3895
|
export interface PBTextShape {
|
|
4142
3896
|
font?: Font | undefined;
|
|
@@ -4171,32 +3925,6 @@ export namespace PBTextShape {
|
|
|
4171
3925
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
4172
3926
|
}
|
|
4173
3927
|
|
|
4174
|
-
// @public (undocumented)
|
|
4175
|
-
export interface PBTextureCamera {
|
|
4176
|
-
clearColor?: PBColor4 | undefined;
|
|
4177
|
-
farPlane?: number | undefined;
|
|
4178
|
-
height?: number | undefined;
|
|
4179
|
-
layer?: number | undefined;
|
|
4180
|
-
// (undocumented)
|
|
4181
|
-
mode?: {
|
|
4182
|
-
$case: "perspective";
|
|
4183
|
-
perspective: Perspective;
|
|
4184
|
-
} | {
|
|
4185
|
-
$case: "orthographic";
|
|
4186
|
-
orthographic: Orthographic;
|
|
4187
|
-
} | undefined;
|
|
4188
|
-
volume?: number | undefined;
|
|
4189
|
-
width?: number | undefined;
|
|
4190
|
-
}
|
|
4191
|
-
|
|
4192
|
-
// @public (undocumented)
|
|
4193
|
-
export namespace PBTextureCamera {
|
|
4194
|
-
// (undocumented)
|
|
4195
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
4196
|
-
// (undocumented)
|
|
4197
|
-
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
4198
|
-
}
|
|
4199
|
-
|
|
4200
3928
|
// @public (undocumented)
|
|
4201
3929
|
export interface PBTouchScreenControls {
|
|
4202
3930
|
hideCrosshair: boolean;
|
|
@@ -4372,23 +4100,6 @@ export namespace PBUiBackground {
|
|
|
4372
4100
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
4373
4101
|
}
|
|
4374
4102
|
|
|
4375
|
-
// @public (undocumented)
|
|
4376
|
-
export interface PBUiCanvas {
|
|
4377
|
-
color?: PBColor4 | undefined;
|
|
4378
|
-
// (undocumented)
|
|
4379
|
-
height: number;
|
|
4380
|
-
// (undocumented)
|
|
4381
|
-
width: number;
|
|
4382
|
-
}
|
|
4383
|
-
|
|
4384
|
-
// @public (undocumented)
|
|
4385
|
-
export namespace PBUiCanvas {
|
|
4386
|
-
// (undocumented)
|
|
4387
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
4388
|
-
// (undocumented)
|
|
4389
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
4390
|
-
}
|
|
4391
|
-
|
|
4392
4103
|
// @public (undocumented)
|
|
4393
4104
|
export interface PBUiCanvasInformation {
|
|
4394
4105
|
devicePixelRatio: number;
|
|
@@ -4448,14 +4159,12 @@ export namespace PBUiDropdownResult {
|
|
|
4448
4159
|
|
|
4449
4160
|
// @public (undocumented)
|
|
4450
4161
|
export interface PBUiInput {
|
|
4451
|
-
clearOnSubmit?: boolean | undefined;
|
|
4452
4162
|
color?: PBColor4 | undefined;
|
|
4453
4163
|
// (undocumented)
|
|
4454
4164
|
disabled: boolean;
|
|
4455
4165
|
font?: Font | undefined;
|
|
4456
4166
|
fontSize?: number | undefined;
|
|
4457
4167
|
fontSrc?: string | undefined;
|
|
4458
|
-
multiLine?: boolean | undefined;
|
|
4459
4168
|
// (undocumented)
|
|
4460
4169
|
placeholder: string;
|
|
4461
4170
|
placeholderColor?: PBColor4 | undefined;
|
|
@@ -4500,20 +4209,6 @@ export namespace PBUiInputResult {
|
|
|
4500
4209
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
4501
4210
|
}
|
|
4502
4211
|
|
|
4503
|
-
// @public (undocumented)
|
|
4504
|
-
export interface PBUiScrollResult {
|
|
4505
|
-
// (undocumented)
|
|
4506
|
-
value: PBVector2 | undefined;
|
|
4507
|
-
}
|
|
4508
|
-
|
|
4509
|
-
// @public (undocumented)
|
|
4510
|
-
export namespace PBUiScrollResult {
|
|
4511
|
-
// (undocumented)
|
|
4512
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
4513
|
-
// (undocumented)
|
|
4514
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
4515
|
-
}
|
|
4516
|
-
|
|
4517
4212
|
// @public (undocumented)
|
|
4518
4213
|
export interface PBUiText {
|
|
4519
4214
|
color?: PBColor4 | undefined;
|
|
@@ -4570,7 +4265,6 @@ export interface PBUiTransform {
|
|
|
4570
4265
|
borderTopWidth?: number | undefined;
|
|
4571
4266
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
4572
4267
|
display: YGDisplay;
|
|
4573
|
-
elementId?: string | undefined;
|
|
4574
4268
|
// (undocumented)
|
|
4575
4269
|
flexBasis: number;
|
|
4576
4270
|
flexBasisUnit: YGUnit;
|
|
@@ -4639,8 +4333,6 @@ export interface PBUiTransform {
|
|
|
4639
4333
|
positionType: YGPositionType;
|
|
4640
4334
|
// (undocumented)
|
|
4641
4335
|
rightOf: number;
|
|
4642
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
|
4643
|
-
scrollVisible?: ShowScrollBar | undefined;
|
|
4644
4336
|
// (undocumented)
|
|
4645
4337
|
width: number;
|
|
4646
4338
|
widthUnit: YGUnit;
|
|
@@ -4761,19 +4453,6 @@ export namespace PBVisibilityComponent {
|
|
|
4761
4453
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
4762
4454
|
}
|
|
4763
4455
|
|
|
4764
|
-
// @public (undocumented)
|
|
4765
|
-
export interface Perspective {
|
|
4766
|
-
fieldOfView?: number | undefined;
|
|
4767
|
-
}
|
|
4768
|
-
|
|
4769
|
-
// @public (undocumented)
|
|
4770
|
-
export namespace Perspective {
|
|
4771
|
-
// (undocumented)
|
|
4772
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
4773
|
-
// (undocumented)
|
|
4774
|
-
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
4775
|
-
}
|
|
4776
|
-
|
|
4777
4456
|
// @public
|
|
4778
4457
|
export const Physics: PhysicsSystem;
|
|
4779
4458
|
|
|
@@ -4850,18 +4529,6 @@ export interface PointerEventsSystem {
|
|
|
4850
4529
|
}, cb: EventSystemCallback): void;
|
|
4851
4530
|
// @deprecated (undocumented)
|
|
4852
4531
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4853
|
-
onPointerDrag(pointerData: {
|
|
4854
|
-
entity: Entity;
|
|
4855
|
-
opts?: Partial<EventSystemOptions>;
|
|
4856
|
-
}, cb: EventSystemCallback): void;
|
|
4857
|
-
onPointerDragEnd(pointerData: {
|
|
4858
|
-
entity: Entity;
|
|
4859
|
-
opts?: Partial<EventSystemOptions>;
|
|
4860
|
-
}, cb: EventSystemCallback): void;
|
|
4861
|
-
onPointerDragLocked(pointerData: {
|
|
4862
|
-
entity: Entity;
|
|
4863
|
-
opts?: Partial<EventSystemOptions>;
|
|
4864
|
-
}, cb: EventSystemCallback): void;
|
|
4865
4532
|
onPointerHoverEnter(pointerData: {
|
|
4866
4533
|
entity: Entity;
|
|
4867
4534
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -4893,9 +4560,6 @@ export interface PointerEventsSystem {
|
|
|
4893
4560
|
opts?: Partial<EventSystemOptions>;
|
|
4894
4561
|
}, cb: EventSystemCallback): void;
|
|
4895
4562
|
removeOnPointerDown(entity: Entity): void;
|
|
4896
|
-
removeOnPointerDrag(entity: Entity): void;
|
|
4897
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
|
4898
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
|
4899
4563
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
4900
4564
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
4901
4565
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -4913,12 +4577,6 @@ export const enum PointerEventType {
|
|
|
4913
4577
|
// (undocumented)
|
|
4914
4578
|
PET_DOWN = 1,
|
|
4915
4579
|
// (undocumented)
|
|
4916
|
-
PET_DRAG = 7,
|
|
4917
|
-
// (undocumented)
|
|
4918
|
-
PET_DRAG_END = 8,
|
|
4919
|
-
// (undocumented)
|
|
4920
|
-
PET_DRAG_LOCKED = 6,
|
|
4921
|
-
// (undocumented)
|
|
4922
4580
|
PET_HOVER_ENTER = 2,
|
|
4923
4581
|
// (undocumented)
|
|
4924
4582
|
PET_HOVER_LEAVE = 3,
|
|
@@ -4947,13 +4605,7 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
4947
4605
|
// @public (undocumented)
|
|
4948
4606
|
export const enum PointerType {
|
|
4949
4607
|
POT_MOUSE = 1,
|
|
4950
|
-
POT_NONE = 0
|
|
4951
|
-
// (undocumented)
|
|
4952
|
-
POT_PAD = 2,
|
|
4953
|
-
// (undocumented)
|
|
4954
|
-
POT_TOUCH = 3,
|
|
4955
|
-
// (undocumented)
|
|
4956
|
-
POT_WAND = 4
|
|
4608
|
+
POT_NONE = 0
|
|
4957
4609
|
}
|
|
4958
4610
|
|
|
4959
4611
|
// @public
|
|
@@ -5144,12 +4796,6 @@ export const enum RaycastQueryType {
|
|
|
5144
4796
|
// @public (undocumented)
|
|
5145
4797
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
5146
4798
|
|
|
5147
|
-
// @public (undocumented)
|
|
5148
|
-
export const enum RaycastShape {
|
|
5149
|
-
RS_AVATAR = 1,
|
|
5150
|
-
RS_RAY = 0
|
|
5151
|
-
}
|
|
5152
|
-
|
|
5153
4799
|
// @public (undocumented)
|
|
5154
4800
|
export interface RaycastSystem {
|
|
5155
4801
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -5197,17 +4843,13 @@ export type RaycastSystemOptions = {
|
|
|
5197
4843
|
queryType: RaycastQueryType;
|
|
5198
4844
|
continuous?: boolean | undefined;
|
|
5199
4845
|
collisionMask?: number | undefined;
|
|
5200
|
-
shape?: RaycastShape | undefined;
|
|
5201
|
-
includeWorld?: boolean | undefined;
|
|
5202
4846
|
};
|
|
5203
4847
|
|
|
5204
4848
|
// @public (undocumented)
|
|
5205
4849
|
export interface ReactBasedUiSystem {
|
|
5206
4850
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
5207
4851
|
destroy(): void;
|
|
5208
|
-
removeTextureRenderer(entity: Entity): void;
|
|
5209
4852
|
removeUiRenderer(entity: Entity): void;
|
|
5210
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
5211
4853
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
5212
4854
|
}
|
|
5213
4855
|
|
|
@@ -5515,29 +5157,6 @@ export namespace Schemas {
|
|
|
5515
5157
|
// @public
|
|
5516
5158
|
export function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
|
|
5517
5159
|
|
|
5518
|
-
// @public (undocumented)
|
|
5519
|
-
export interface ScrollPositionValue {
|
|
5520
|
-
// (undocumented)
|
|
5521
|
-
value?: {
|
|
5522
|
-
$case: "position";
|
|
5523
|
-
position: PBVector2;
|
|
5524
|
-
} | {
|
|
5525
|
-
$case: "reference";
|
|
5526
|
-
reference: string;
|
|
5527
|
-
} | undefined;
|
|
5528
|
-
}
|
|
5529
|
-
|
|
5530
|
-
// @public (undocumented)
|
|
5531
|
-
export namespace ScrollPositionValue {
|
|
5532
|
-
// (undocumented)
|
|
5533
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
5534
|
-
// (undocumented)
|
|
5535
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
5536
|
-
}
|
|
5537
|
-
|
|
5538
|
-
// @public
|
|
5539
|
-
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
5540
|
-
|
|
5541
5160
|
// @public
|
|
5542
5161
|
export function setCompositeProvider(engine: IEngine, provider: CompositeProvider): void;
|
|
5543
5162
|
|
|
@@ -5551,16 +5170,7 @@ export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
|
|
|
5551
5170
|
}
|
|
5552
5171
|
|
|
5553
5172
|
// @public (undocumented)
|
|
5554
|
-
export const
|
|
5555
|
-
// (undocumented)
|
|
5556
|
-
SSB_BOTH = 0,
|
|
5557
|
-
// (undocumented)
|
|
5558
|
-
SSB_HIDDEN = 3,
|
|
5559
|
-
// (undocumented)
|
|
5560
|
-
SSB_ONLY_HORIZONTAL = 2,
|
|
5561
|
-
// (undocumented)
|
|
5562
|
-
SSB_ONLY_VERTICAL = 1
|
|
5563
|
-
}
|
|
5173
|
+
export const Skybox: LastWriteWinElementSetComponentDefinition<PBSkybox>;
|
|
5564
5174
|
|
|
5565
5175
|
// @public (undocumented)
|
|
5566
5176
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
@@ -5571,6 +5181,9 @@ export interface Spec {
|
|
|
5571
5181
|
[key: string]: ISchema;
|
|
5572
5182
|
}
|
|
5573
5183
|
|
|
5184
|
+
// @public (undocumented)
|
|
5185
|
+
export const Sun: LastWriteWinElementSetComponentDefinition<PBSun>;
|
|
5186
|
+
|
|
5574
5187
|
// @alpha
|
|
5575
5188
|
export const SyncComponents: ISyncComponents;
|
|
5576
5189
|
|
|
@@ -5675,9 +5288,6 @@ export namespace Texture {
|
|
|
5675
5288
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
5676
5289
|
}
|
|
5677
5290
|
|
|
5678
|
-
// @public (undocumented)
|
|
5679
|
-
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
5680
|
-
|
|
5681
5291
|
// @public (undocumented)
|
|
5682
5292
|
export const enum TextureFilterMode {
|
|
5683
5293
|
// (undocumented)
|
|
@@ -5757,9 +5367,6 @@ export interface TextureUnion {
|
|
|
5757
5367
|
} | {
|
|
5758
5368
|
$case: "videoTexture";
|
|
5759
5369
|
videoTexture: VideoTexture;
|
|
5760
|
-
} | {
|
|
5761
|
-
$case: "uiTexture";
|
|
5762
|
-
uiTexture: UiCanvasTexture;
|
|
5763
5370
|
} | undefined;
|
|
5764
5371
|
}
|
|
5765
5372
|
|
|
@@ -5894,7 +5501,6 @@ export type Transport = {
|
|
|
5894
5501
|
onmessage?(message: Uint8Array): void;
|
|
5895
5502
|
filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
|
|
5896
5503
|
type?: string;
|
|
5897
|
-
allowReservedEntities?: boolean;
|
|
5898
5504
|
};
|
|
5899
5505
|
|
|
5900
5506
|
// @public (undocumented)
|
|
@@ -6042,7 +5648,6 @@ export interface UiBackgroundProps {
|
|
|
6042
5648
|
textureMode?: TextureMode;
|
|
6043
5649
|
textureSlices?: BorderRect | undefined;
|
|
6044
5650
|
uvs?: number[];
|
|
6045
|
-
videoTexture?: UiVideoTexture;
|
|
6046
5651
|
}
|
|
6047
5652
|
|
|
6048
5653
|
// @public
|
|
@@ -6051,28 +5656,9 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
6051
5656
|
variant?: 'primary' | 'secondary';
|
|
6052
5657
|
}
|
|
6053
5658
|
|
|
6054
|
-
// @public (undocumented)
|
|
6055
|
-
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
6056
|
-
|
|
6057
5659
|
// @public (undocumented)
|
|
6058
5660
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
6059
5661
|
|
|
6060
|
-
// @public (undocumented)
|
|
6061
|
-
export interface UiCanvasTexture {
|
|
6062
|
-
filterMode?: TextureFilterMode | undefined;
|
|
6063
|
-
// (undocumented)
|
|
6064
|
-
uiCanvasEntity: number;
|
|
6065
|
-
wrapMode?: TextureWrapMode | undefined;
|
|
6066
|
-
}
|
|
6067
|
-
|
|
6068
|
-
// @public (undocumented)
|
|
6069
|
-
export namespace UiCanvasTexture {
|
|
6070
|
-
// (undocumented)
|
|
6071
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
6072
|
-
// (undocumented)
|
|
6073
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
6074
|
-
}
|
|
6075
|
-
|
|
6076
5662
|
// @public (undocumented)
|
|
6077
5663
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
6078
5664
|
|
|
@@ -6160,9 +5746,6 @@ export type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
|
|
|
6160
5746
|
uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
|
|
6161
5747
|
};
|
|
6162
5748
|
|
|
6163
|
-
// @public (undocumented)
|
|
6164
|
-
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
6165
|
-
|
|
6166
5749
|
// @public (undocumented)
|
|
6167
5750
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
6168
5751
|
|
|
@@ -6191,7 +5774,6 @@ export interface UiTransformProps {
|
|
|
6191
5774
|
// (undocumented)
|
|
6192
5775
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
6193
5776
|
display?: DisplayType;
|
|
6194
|
-
elementId?: string;
|
|
6195
5777
|
flex?: number;
|
|
6196
5778
|
flexBasis?: number;
|
|
6197
5779
|
flexDirection?: FlexDirectionType;
|
|
@@ -6211,36 +5793,13 @@ export interface UiTransformProps {
|
|
|
6211
5793
|
pointerFilter?: PointerFilterType;
|
|
6212
5794
|
position?: Partial<Position> | PositionShorthand;
|
|
6213
5795
|
positionType?: PositionType;
|
|
6214
|
-
scrollPosition?: PBVector2 | string;
|
|
6215
|
-
scrollVisible?: ScrollVisibleType;
|
|
6216
5796
|
width?: PositionUnit | 'auto';
|
|
6217
5797
|
zIndex?: number;
|
|
6218
5798
|
}
|
|
6219
5799
|
|
|
6220
|
-
// @public
|
|
6221
|
-
export interface UiVideoTexture {
|
|
6222
|
-
// (undocumented)
|
|
6223
|
-
filterMode?: TextureFilterType;
|
|
6224
|
-
// (undocumented)
|
|
6225
|
-
videoPlayerEntity: Entity;
|
|
6226
|
-
// (undocumented)
|
|
6227
|
-
wrapMode?: TextureWrapType;
|
|
6228
|
-
}
|
|
6229
|
-
|
|
6230
5800
|
// @public (undocumented)
|
|
6231
5801
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
6232
5802
|
|
|
6233
|
-
// Warning: (ae-missing-release-tag) "ValidateCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
6234
|
-
//
|
|
6235
|
-
// @public (undocumented)
|
|
6236
|
-
export type ValidateCallback<T> = (value: {
|
|
6237
|
-
entity: Entity;
|
|
6238
|
-
currentValue: T | undefined;
|
|
6239
|
-
newValue: T | undefined;
|
|
6240
|
-
senderAddress: string;
|
|
6241
|
-
createdBy: string;
|
|
6242
|
-
}) => boolean;
|
|
6243
|
-
|
|
6244
5803
|
// @public (undocumented)
|
|
6245
5804
|
export type ValueSetOptions<T> = {
|
|
6246
5805
|
timestampFunction: (value: DeepReadonly<T>) => number;
|