@dcl/playground-assets 7.21.1-22917715332.commit-e5d969d → 7.21.1-22918726402.commit-ee210ee
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 +9833 -0
- package/dist/beta.d.ts +9800 -0
- package/dist/index.bundled.d.ts +9800 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +47 -0
- package/dist/index.js.map +8 -0
- package/dist/playground/sdk/apis.d.ts +1666 -0
- package/dist/playground/sdk/dcl-sdk.package.json +39 -0
- package/dist/playground/snippets/billboard.ts +111 -0
- package/dist/playground/snippets/cube-spawner.ts +38 -0
- package/dist/playground/snippets/info.json +1 -0
- package/dist/playground/snippets/material.ts +50 -0
- package/dist/playground/snippets/mesh.ts +63 -0
- package/dist/playground/snippets/pointer-events.ts +59 -0
- package/dist/playground/snippets/raycast-hit-many.ts +64 -0
- package/dist/playground/snippets/raycast-hit.ts +65 -0
- package/dist/playground/snippets/ui-backgrounds.tsx +170 -0
- package/dist/playground/snippets/ui-dropdown.tsx +28 -0
- package/dist/playground/snippets/ui.tsx +132 -0
- package/dist/playground-assets.d.ts +9833 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/etc/playground-assets.api.json +92114 -0
- package/etc/playground-assets.api.md +173 -581
- package/package.json +6 -5
|
@@ -94,6 +94,29 @@ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElem
|
|
|
94
94
|
getAudioState(entity: Entity): PBAudioEvent | undefined;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
// @public (undocumented)
|
|
98
|
+
export type AuthoritativePutComponentMessage = CrdtMessageHeader & AuthoritativePutComponentMessageBody;
|
|
99
|
+
|
|
100
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
101
|
+
//
|
|
102
|
+
// @public
|
|
103
|
+
export type AuthoritativePutComponentMessageBody = {
|
|
104
|
+
type: CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT;
|
|
105
|
+
entityId: Entity;
|
|
106
|
+
componentId: number;
|
|
107
|
+
timestamp: number;
|
|
108
|
+
data: Uint8Array;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
// @public (undocumented)
|
|
112
|
+
export namespace AuthoritativePutComponentOperation {
|
|
113
|
+
const // (undocumented)
|
|
114
|
+
MESSAGE_HEADER_LENGTH = 16;
|
|
115
|
+
// (undocumented)
|
|
116
|
+
export function read(buf: ByteBuffer): AuthoritativePutComponentMessage | null;
|
|
117
|
+
export function write(entity: Entity, timestamp: number, componentId: number, data: Uint8Array, buf: ByteBuffer): void;
|
|
118
|
+
}
|
|
119
|
+
|
|
97
120
|
// @public (undocumented)
|
|
98
121
|
export const enum AvatarAnchorPointType {
|
|
99
122
|
// (undocumented)
|
|
@@ -156,32 +179,12 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
|
156
179
|
// @public (undocumented)
|
|
157
180
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
158
181
|
|
|
159
|
-
// @public (undocumented)
|
|
160
|
-
export const enum AvatarControlType {
|
|
161
|
-
CCT_NONE = 0,
|
|
162
|
-
CCT_RELATIVE = 1,
|
|
163
|
-
CCT_TANK = 2
|
|
164
|
-
}
|
|
165
|
-
|
|
166
182
|
// @public (undocumented)
|
|
167
183
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
168
184
|
|
|
169
185
|
// @public (undocumented)
|
|
170
186
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
171
187
|
|
|
172
|
-
// @public (undocumented)
|
|
173
|
-
export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
174
|
-
|
|
175
|
-
// 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)
|
|
176
|
-
//
|
|
177
|
-
// @public (undocumented)
|
|
178
|
-
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
179
|
-
forceRender?: string[] | undefined;
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
// @public (undocumented)
|
|
183
|
-
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
184
|
-
|
|
185
188
|
// @public (undocumented)
|
|
186
189
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
187
190
|
|
|
@@ -191,47 +194,9 @@ export const enum AvatarModifierType {
|
|
|
191
194
|
AMT_HIDE_AVATARS = 0
|
|
192
195
|
}
|
|
193
196
|
|
|
194
|
-
// @public (undocumented)
|
|
195
|
-
export const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
|
|
196
|
-
|
|
197
|
-
// @public (undocumented)
|
|
198
|
-
export const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
|
|
199
|
-
|
|
200
|
-
// @public (undocumented)
|
|
201
|
-
export interface AvatarMovementSettings {
|
|
202
|
-
allowWeightedMovement?: boolean | undefined;
|
|
203
|
-
// (undocumented)
|
|
204
|
-
controlMode?: AvatarControlType | undefined;
|
|
205
|
-
friction?: number | undefined;
|
|
206
|
-
gravity?: number | undefined;
|
|
207
|
-
jumpHeight?: number | undefined;
|
|
208
|
-
maxFallSpeed?: number | undefined;
|
|
209
|
-
runSpeed?: number | undefined;
|
|
210
|
-
turnSpeed?: number | undefined;
|
|
211
|
-
walkSpeed?: number | undefined;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
// @public (undocumented)
|
|
215
|
-
export namespace AvatarMovementSettings {
|
|
216
|
-
// (undocumented)
|
|
217
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
218
|
-
// (undocumented)
|
|
219
|
-
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
197
|
// @public (undocumented)
|
|
223
198
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
224
199
|
|
|
225
|
-
// @public (undocumented)
|
|
226
|
-
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
227
|
-
|
|
228
|
-
// 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)
|
|
229
|
-
//
|
|
230
|
-
// @public (undocumented)
|
|
231
|
-
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
232
|
-
forceRender?: string[] | undefined;
|
|
233
|
-
};
|
|
234
|
-
|
|
235
200
|
// @public (undocumented)
|
|
236
201
|
export interface AvatarTexture {
|
|
237
202
|
filterMode?: TextureFilterMode | undefined;
|
|
@@ -266,12 +231,20 @@ export interface BaseComponent<T> {
|
|
|
266
231
|
dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
|
|
267
232
|
entityDeleted(entity: Entity, markAsDirty: boolean): void;
|
|
268
233
|
get(entity: Entity): any;
|
|
234
|
+
getCrdtState(entity: Entity): {
|
|
235
|
+
data: Uint8Array;
|
|
236
|
+
timestamp: number;
|
|
237
|
+
} | null;
|
|
269
238
|
getCrdtUpdates(): Iterable<CrdtMessageBody>;
|
|
270
239
|
has(entity: Entity): boolean;
|
|
271
240
|
onChange(entity: Entity, cb: (value: T | undefined) => void): void;
|
|
272
241
|
// (undocumented)
|
|
273
242
|
readonly schema: ISchema<T>;
|
|
274
243
|
updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
|
|
244
|
+
// (undocumented)
|
|
245
|
+
validateBeforeChange(entity: Entity, cb: ValidateCallback<T>): void;
|
|
246
|
+
// (undocumented)
|
|
247
|
+
validateBeforeChange(cb: ValidateCallback<T>): void;
|
|
275
248
|
}
|
|
276
249
|
|
|
277
250
|
// @public (undocumented)
|
|
@@ -434,15 +407,9 @@ export interface ByteBuffer {
|
|
|
434
407
|
writeUtf8String(value: string, writeLength?: boolean): void;
|
|
435
408
|
}
|
|
436
409
|
|
|
437
|
-
// @public
|
|
410
|
+
// @public
|
|
438
411
|
export type Callback = () => void;
|
|
439
412
|
|
|
440
|
-
// @public (undocumented)
|
|
441
|
-
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
442
|
-
|
|
443
|
-
// @public (undocumented)
|
|
444
|
-
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
445
|
-
|
|
446
413
|
// @public (undocumented)
|
|
447
414
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
448
415
|
|
|
@@ -491,29 +458,6 @@ export const enum CameraType {
|
|
|
491
458
|
// @public (undocumented)
|
|
492
459
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
493
460
|
|
|
494
|
-
// @public (undocumented)
|
|
495
|
-
export interface CinematicSettings {
|
|
496
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
497
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
498
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
499
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
500
|
-
allowManualRotation?: boolean | undefined;
|
|
501
|
-
cameraEntity: number;
|
|
502
|
-
pitchRange?: number | undefined;
|
|
503
|
-
rollRange?: number | undefined;
|
|
504
|
-
yawRange?: number | undefined;
|
|
505
|
-
zoomMax?: number | undefined;
|
|
506
|
-
zoomMin?: number | undefined;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
// @public (undocumented)
|
|
510
|
-
export namespace CinematicSettings {
|
|
511
|
-
// (undocumented)
|
|
512
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
513
|
-
// (undocumented)
|
|
514
|
-
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
461
|
// @public (undocumented)
|
|
518
462
|
export const enum ColliderLayer {
|
|
519
463
|
// (undocumented)
|
|
@@ -738,23 +682,15 @@ export const componentDefinitionByName: {
|
|
|
738
682
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
739
683
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
740
684
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
741
|
-
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
742
685
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
743
|
-
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
744
|
-
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
745
686
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
746
687
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
747
|
-
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
748
|
-
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
749
688
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
750
689
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
751
690
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
752
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
753
691
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
754
692
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
755
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
756
693
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
757
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
758
694
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
759
695
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
760
696
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -762,6 +698,8 @@ export const componentDefinitionByName: {
|
|
|
762
698
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
763
699
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
764
700
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
701
|
+
"core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
|
|
702
|
+
"core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
|
|
765
703
|
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
|
766
704
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
|
767
705
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
|
@@ -772,20 +710,17 @@ export const componentDefinitionByName: {
|
|
|
772
710
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
773
711
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
774
712
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
775
|
-
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
776
713
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
777
714
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
778
715
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
779
716
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
780
717
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
781
718
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
782
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
783
719
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
784
720
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
785
721
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
786
722
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
787
723
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
788
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
789
724
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
790
725
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
791
726
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -922,10 +857,10 @@ export type Coords = {
|
|
|
922
857
|
export const CRDT_MESSAGE_HEADER_LENGTH = 8;
|
|
923
858
|
|
|
924
859
|
// @public (undocumented)
|
|
925
|
-
export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
860
|
+
export type CrdtMessage = PutComponentMessage | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
926
861
|
|
|
927
862
|
// @public (undocumented)
|
|
928
|
-
export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
863
|
+
export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
929
864
|
|
|
930
865
|
// @public
|
|
931
866
|
export type CrdtMessageHeader = {
|
|
@@ -946,6 +881,8 @@ export enum CrdtMessageType {
|
|
|
946
881
|
// (undocumented)
|
|
947
882
|
APPEND_VALUE = 4,
|
|
948
883
|
// (undocumented)
|
|
884
|
+
AUTHORITATIVE_PUT_COMPONENT = 8,
|
|
885
|
+
// (undocumented)
|
|
949
886
|
DELETE_COMPONENT = 2,
|
|
950
887
|
// (undocumented)
|
|
951
888
|
DELETE_COMPONENT_NETWORK = 6,
|
|
@@ -954,7 +891,7 @@ export enum CrdtMessageType {
|
|
|
954
891
|
// (undocumented)
|
|
955
892
|
DELETE_ENTITY_NETWORK = 7,
|
|
956
893
|
// (undocumented)
|
|
957
|
-
MAX_MESSAGE_TYPE =
|
|
894
|
+
MAX_MESSAGE_TYPE = 9,
|
|
958
895
|
// (undocumented)
|
|
959
896
|
PUT_COMPONENT = 1,
|
|
960
897
|
// (undocumented)
|
|
@@ -966,6 +903,11 @@ export enum CrdtMessageType {
|
|
|
966
903
|
// @public (undocumented)
|
|
967
904
|
export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
|
|
968
905
|
|
|
906
|
+
// 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)
|
|
907
|
+
//
|
|
908
|
+
// @public (undocumented)
|
|
909
|
+
export const CreatedBy: ICreatedBy;
|
|
910
|
+
|
|
969
911
|
// @public (undocumented)
|
|
970
912
|
export function createEntityContainer(opts?: {
|
|
971
913
|
reservedStaticEntities: number;
|
|
@@ -1223,18 +1165,10 @@ export type EntityComponents = {
|
|
|
1223
1165
|
uiBackground: PBUiBackground;
|
|
1224
1166
|
uiInput: PBUiInput;
|
|
1225
1167
|
uiDropdown: PBUiDropdown;
|
|
1226
|
-
onMouseDown:
|
|
1227
|
-
onMouseUp:
|
|
1228
|
-
onMouseEnter:
|
|
1229
|
-
onMouseLeave:
|
|
1230
|
-
onMouseDrag: EventSystemCallback;
|
|
1231
|
-
onMouseDragLocked: EventSystemCallback;
|
|
1232
|
-
onMouseDragEnd: EventSystemCallback;
|
|
1233
|
-
onInputDown: MultiCallback;
|
|
1234
|
-
onInputUp: MultiCallback;
|
|
1235
|
-
onInputDrag: MultiCallback;
|
|
1236
|
-
onInputDragLocked: MultiCallback;
|
|
1237
|
-
onInputDragEnd: MultiCallback;
|
|
1168
|
+
onMouseDown: Callback;
|
|
1169
|
+
onMouseUp: Callback;
|
|
1170
|
+
onMouseEnter: Callback;
|
|
1171
|
+
onMouseLeave: Callback;
|
|
1238
1172
|
};
|
|
1239
1173
|
|
|
1240
1174
|
// @public (undocumented)
|
|
@@ -1287,11 +1221,6 @@ export type EventSystemOptions = {
|
|
|
1287
1221
|
maxPlayerDistance?: number;
|
|
1288
1222
|
};
|
|
1289
1223
|
|
|
1290
|
-
// @public (undocumented)
|
|
1291
|
-
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1292
|
-
cb: EventSystemCallback;
|
|
1293
|
-
};
|
|
1294
|
-
|
|
1295
1224
|
// @public
|
|
1296
1225
|
export type ExcludeUndefined<T> = {
|
|
1297
1226
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
@@ -1383,9 +1312,6 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1383
1312
|
direction?: PBVector3;
|
|
1384
1313
|
};
|
|
1385
1314
|
|
|
1386
|
-
// @public (undocumented)
|
|
1387
|
-
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1388
|
-
|
|
1389
1315
|
// 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)
|
|
1390
1316
|
//
|
|
1391
1317
|
// @public (undocumented)
|
|
@@ -1404,25 +1330,9 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1404
1330
|
// @public (undocumented)
|
|
1405
1331
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1406
1332
|
|
|
1407
|
-
// @public (undocumented)
|
|
1408
|
-
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1409
|
-
|
|
1410
1333
|
// @public (undocumented)
|
|
1411
1334
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1412
1335
|
|
|
1413
|
-
// @public (undocumented)
|
|
1414
|
-
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1415
|
-
|
|
1416
|
-
// @public (undocumented)
|
|
1417
|
-
export const enum GltfNodeStateValue {
|
|
1418
|
-
// (undocumented)
|
|
1419
|
-
GNSV_FAILED = 1,
|
|
1420
|
-
// (undocumented)
|
|
1421
|
-
GNSV_PENDING = 0,
|
|
1422
|
-
// (undocumented)
|
|
1423
|
-
GNSV_READY = 2
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
1336
|
// @public (undocumented)
|
|
1427
1337
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1428
1338
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1436,6 +1346,19 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
|
|
|
1436
1346
|
// @public (undocumented)
|
|
1437
1347
|
export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
|
|
1438
1348
|
|
|
1349
|
+
// 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)
|
|
1350
|
+
//
|
|
1351
|
+
// @public (undocumented)
|
|
1352
|
+
export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
|
|
1353
|
+
|
|
1354
|
+
// 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)
|
|
1355
|
+
//
|
|
1356
|
+
// @public (undocumented)
|
|
1357
|
+
export interface ICreatedByType {
|
|
1358
|
+
// (undocumented)
|
|
1359
|
+
address: string;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1439
1362
|
// @public (undocumented)
|
|
1440
1363
|
export interface IEngine {
|
|
1441
1364
|
addEntity(): Entity;
|
|
@@ -1547,7 +1470,6 @@ export type IInputSystem = {
|
|
|
1547
1470
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1548
1471
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1549
1472
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1550
|
-
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1551
1473
|
};
|
|
1552
1474
|
|
|
1553
1475
|
// @public
|
|
@@ -1676,6 +1598,20 @@ export type InstanceCompositeOptions = {
|
|
|
1676
1598
|
alreadyRequestedSrc?: Set<string>;
|
|
1677
1599
|
};
|
|
1678
1600
|
|
|
1601
|
+
// 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)
|
|
1602
|
+
//
|
|
1603
|
+
// @public
|
|
1604
|
+
export interface InternalBaseComponent<T> extends BaseComponent<T> {
|
|
1605
|
+
__dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
|
|
1606
|
+
// (undocumented)
|
|
1607
|
+
__onChangeCallbacks(entity: Entity, value: T): void;
|
|
1608
|
+
// (undocumented)
|
|
1609
|
+
__run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
|
|
1610
|
+
// (undocumented)
|
|
1611
|
+
dirtyIterator(): Iterable<Entity>;
|
|
1612
|
+
iterator(): Iterable<[Entity, any]>;
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1679
1615
|
// @public (undocumented)
|
|
1680
1616
|
export interface ISchema<T = any> {
|
|
1681
1617
|
// (undocumented)
|
|
@@ -1797,18 +1733,10 @@ export interface LightSourceHelper {
|
|
|
1797
1733
|
|
|
1798
1734
|
// @public
|
|
1799
1735
|
export type Listeners = {
|
|
1800
|
-
onMouseDown?:
|
|
1801
|
-
onMouseUp?:
|
|
1802
|
-
onMouseEnter?:
|
|
1803
|
-
onMouseLeave?:
|
|
1804
|
-
onMouseDrag?: EventSystemCallback;
|
|
1805
|
-
onMouseDragLocked?: EventSystemCallback;
|
|
1806
|
-
onMouseDragEnd?: EventSystemCallback;
|
|
1807
|
-
onInputDown?: MultiCallback;
|
|
1808
|
-
onInputUp?: MultiCallback;
|
|
1809
|
-
onInputDrag?: MultiCallback;
|
|
1810
|
-
onInputDragLocked?: MultiCallback;
|
|
1811
|
-
onInputDragEnd?: MultiCallback;
|
|
1736
|
+
onMouseDown?: Callback;
|
|
1737
|
+
onMouseUp?: Callback;
|
|
1738
|
+
onMouseEnter?: Callback;
|
|
1739
|
+
onMouseLeave?: Callback;
|
|
1812
1740
|
};
|
|
1813
1741
|
|
|
1814
1742
|
// @public (undocumented)
|
|
@@ -2052,7 +1980,6 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
2052
1980
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
2053
1981
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2054
1982
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2055
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2056
1983
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2057
1984
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2058
1985
|
}
|
|
@@ -2066,7 +1993,6 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
2066
1993
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
2067
1994
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
2068
1995
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2069
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
2070
1996
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
2071
1997
|
setSphere(entity: Entity): void;
|
|
2072
1998
|
}
|
|
@@ -2114,19 +2040,45 @@ export namespace MoveContinuous {
|
|
|
2114
2040
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2115
2041
|
}
|
|
2116
2042
|
|
|
2117
|
-
//
|
|
2118
|
-
|
|
2119
|
-
//
|
|
2120
|
-
|
|
2121
|
-
//
|
|
2122
|
-
|
|
2123
|
-
//
|
|
2124
|
-
|
|
2125
|
-
//
|
|
2126
|
-
|
|
2127
|
-
//
|
|
2043
|
+
// @public (undocumented)
|
|
2044
|
+
export interface MoveRotateScale {
|
|
2045
|
+
// (undocumented)
|
|
2046
|
+
positionEnd: PBVector3 | undefined;
|
|
2047
|
+
// (undocumented)
|
|
2048
|
+
positionStart: PBVector3 | undefined;
|
|
2049
|
+
// (undocumented)
|
|
2050
|
+
rotationEnd: PBQuaternion | undefined;
|
|
2051
|
+
// (undocumented)
|
|
2052
|
+
rotationStart: PBQuaternion | undefined;
|
|
2053
|
+
// (undocumented)
|
|
2054
|
+
scaleEnd: PBVector3 | undefined;
|
|
2055
|
+
// (undocumented)
|
|
2056
|
+
scaleStart: PBVector3 | undefined;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
// @public (undocumented)
|
|
2060
|
+
export namespace MoveRotateScale {
|
|
2061
|
+
// (undocumented)
|
|
2062
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale;
|
|
2063
|
+
// (undocumented)
|
|
2064
|
+
export function encode(message: MoveRotateScale, writer?: _m0.Writer): _m0.Writer;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2128
2067
|
// @public
|
|
2129
|
-
export
|
|
2068
|
+
export interface MoveRotateScaleModeParams {
|
|
2069
|
+
position?: {
|
|
2070
|
+
start: PBVector3;
|
|
2071
|
+
end: PBVector3;
|
|
2072
|
+
};
|
|
2073
|
+
rotation?: {
|
|
2074
|
+
start: PBQuaternion;
|
|
2075
|
+
end: PBQuaternion;
|
|
2076
|
+
};
|
|
2077
|
+
scale?: {
|
|
2078
|
+
start: PBVector3;
|
|
2079
|
+
end: PBVector3;
|
|
2080
|
+
};
|
|
2081
|
+
}
|
|
2130
2082
|
|
|
2131
2083
|
// 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)
|
|
2132
2084
|
//
|
|
@@ -2334,19 +2286,6 @@ export const onVideoEvent: Observable<{
|
|
|
2334
2286
|
totalVideoLength: number;
|
|
2335
2287
|
}>;
|
|
2336
2288
|
|
|
2337
|
-
// @public (undocumented)
|
|
2338
|
-
export interface Orthographic {
|
|
2339
|
-
verticalRange?: number | undefined;
|
|
2340
|
-
}
|
|
2341
|
-
|
|
2342
|
-
// @public (undocumented)
|
|
2343
|
-
export namespace Orthographic {
|
|
2344
|
-
// (undocumented)
|
|
2345
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2346
|
-
// (undocumented)
|
|
2347
|
-
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
2289
|
// @public
|
|
2351
2290
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2352
2291
|
|
|
@@ -2519,7 +2458,6 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2519
2458
|
export interface PBAvatarEquippedData {
|
|
2520
2459
|
// (undocumented)
|
|
2521
2460
|
emoteUrns: string[];
|
|
2522
|
-
forceRender: string[];
|
|
2523
2461
|
// (undocumented)
|
|
2524
2462
|
wearableUrns: string[];
|
|
2525
2463
|
}
|
|
@@ -2532,32 +2470,11 @@ export namespace PBAvatarEquippedData {
|
|
|
2532
2470
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2533
2471
|
}
|
|
2534
2472
|
|
|
2535
|
-
// @public (undocumented)
|
|
2536
|
-
export interface PBAvatarLocomotionSettings {
|
|
2537
|
-
hardLandingCooldown?: number | undefined;
|
|
2538
|
-
jogSpeed?: number | undefined;
|
|
2539
|
-
jumpHeight?: number | undefined;
|
|
2540
|
-
runJumpHeight?: number | undefined;
|
|
2541
|
-
runSpeed?: number | undefined;
|
|
2542
|
-
walkSpeed?: number | undefined;
|
|
2543
|
-
}
|
|
2544
|
-
|
|
2545
|
-
// @public (undocumented)
|
|
2546
|
-
export namespace PBAvatarLocomotionSettings {
|
|
2547
|
-
// (undocumented)
|
|
2548
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
2549
|
-
// (undocumented)
|
|
2550
|
-
export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
2551
|
-
}
|
|
2552
|
-
|
|
2553
2473
|
// @public (undocumented)
|
|
2554
2474
|
export interface PBAvatarModifierArea {
|
|
2555
2475
|
area: PBVector3 | undefined;
|
|
2556
2476
|
excludeIds: string[];
|
|
2557
2477
|
modifiers: AvatarModifierType[];
|
|
2558
|
-
// (undocumented)
|
|
2559
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
|
2560
|
-
useColliderRange?: boolean | undefined;
|
|
2561
2478
|
}
|
|
2562
2479
|
|
|
2563
2480
|
// @public (undocumented)
|
|
@@ -2568,40 +2485,6 @@ export namespace PBAvatarModifierArea {
|
|
|
2568
2485
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2569
2486
|
}
|
|
2570
2487
|
|
|
2571
|
-
// @public (undocumented)
|
|
2572
|
-
export interface PBAvatarMovement {
|
|
2573
|
-
// (undocumented)
|
|
2574
|
-
groundDirection?: PBVector3 | undefined;
|
|
2575
|
-
orientation: number;
|
|
2576
|
-
// (undocumented)
|
|
2577
|
-
velocity: PBVector3 | undefined;
|
|
2578
|
-
}
|
|
2579
|
-
|
|
2580
|
-
// @public (undocumented)
|
|
2581
|
-
export namespace PBAvatarMovement {
|
|
2582
|
-
// (undocumented)
|
|
2583
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
|
|
2584
|
-
// (undocumented)
|
|
2585
|
-
export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
// @public (undocumented)
|
|
2589
|
-
export interface PBAvatarMovementInfo {
|
|
2590
|
-
actualVelocity: PBVector3 | undefined;
|
|
2591
|
-
externalVelocity: PBVector3 | undefined;
|
|
2592
|
-
previousStepTime: number;
|
|
2593
|
-
requestedVelocity: PBVector3 | undefined;
|
|
2594
|
-
stepTime: number;
|
|
2595
|
-
}
|
|
2596
|
-
|
|
2597
|
-
// @public (undocumented)
|
|
2598
|
-
export namespace PBAvatarMovementInfo {
|
|
2599
|
-
// (undocumented)
|
|
2600
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
|
|
2601
|
-
// (undocumented)
|
|
2602
|
-
export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2603
|
-
}
|
|
2604
|
-
|
|
2605
2488
|
// @public (undocumented)
|
|
2606
2489
|
export interface PBAvatarShape {
|
|
2607
2490
|
bodyShape?: string | undefined;
|
|
@@ -2609,7 +2492,6 @@ export interface PBAvatarShape {
|
|
|
2609
2492
|
expressionTriggerId?: string | undefined;
|
|
2610
2493
|
expressionTriggerTimestamp?: number | undefined;
|
|
2611
2494
|
eyeColor?: PBColor3 | undefined;
|
|
2612
|
-
forceRender: string[];
|
|
2613
2495
|
hairColor?: PBColor3 | undefined;
|
|
2614
2496
|
id: string;
|
|
2615
2497
|
name?: string | undefined;
|
|
@@ -2640,42 +2522,6 @@ export namespace PBBillboard {
|
|
|
2640
2522
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2641
2523
|
}
|
|
2642
2524
|
|
|
2643
|
-
// @public (undocumented)
|
|
2644
|
-
export interface PBCameraLayer {
|
|
2645
|
-
// (undocumented)
|
|
2646
|
-
ambientBrightnessOverride?: number | undefined;
|
|
2647
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2648
|
-
ambientColorOverride?: PBColor3 | undefined;
|
|
2649
|
-
directionalLight?: boolean | undefined;
|
|
2650
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2651
|
-
layer: number;
|
|
2652
|
-
showAvatars?: boolean | undefined;
|
|
2653
|
-
showFog?: boolean | undefined;
|
|
2654
|
-
showSkybox?: boolean | undefined;
|
|
2655
|
-
}
|
|
2656
|
-
|
|
2657
|
-
// @public (undocumented)
|
|
2658
|
-
export namespace PBCameraLayer {
|
|
2659
|
-
// (undocumented)
|
|
2660
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2661
|
-
// (undocumented)
|
|
2662
|
-
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2663
|
-
}
|
|
2664
|
-
|
|
2665
|
-
// @public (undocumented)
|
|
2666
|
-
export interface PBCameraLayers {
|
|
2667
|
-
// (undocumented)
|
|
2668
|
-
layers: number[];
|
|
2669
|
-
}
|
|
2670
|
-
|
|
2671
|
-
// @public (undocumented)
|
|
2672
|
-
export namespace PBCameraLayers {
|
|
2673
|
-
// (undocumented)
|
|
2674
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2675
|
-
// (undocumented)
|
|
2676
|
-
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
2525
|
// @public (undocumented)
|
|
2680
2526
|
export interface PBCameraMode {
|
|
2681
2527
|
mode: CameraType;
|
|
@@ -2692,10 +2538,7 @@ export namespace PBCameraMode {
|
|
|
2692
2538
|
// @public (undocumented)
|
|
2693
2539
|
export interface PBCameraModeArea {
|
|
2694
2540
|
area: PBVector3 | undefined;
|
|
2695
|
-
// (undocumented)
|
|
2696
|
-
cinematicSettings?: CinematicSettings | undefined;
|
|
2697
2541
|
mode: CameraType;
|
|
2698
|
-
useColliderRange?: boolean | undefined;
|
|
2699
2542
|
}
|
|
2700
2543
|
|
|
2701
2544
|
// @public (undocumented)
|
|
@@ -2759,21 +2602,6 @@ export namespace PBEngineInfo {
|
|
|
2759
2602
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2760
2603
|
}
|
|
2761
2604
|
|
|
2762
|
-
// @public (undocumented)
|
|
2763
|
-
export interface PBGlobalLight {
|
|
2764
|
-
ambientBrightness?: number | undefined;
|
|
2765
|
-
ambientColor?: PBColor3 | undefined;
|
|
2766
|
-
direction?: PBVector3 | undefined;
|
|
2767
|
-
}
|
|
2768
|
-
|
|
2769
|
-
// @public (undocumented)
|
|
2770
|
-
export namespace PBGlobalLight {
|
|
2771
|
-
// (undocumented)
|
|
2772
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
2773
|
-
// (undocumented)
|
|
2774
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
2775
|
-
}
|
|
2776
|
-
|
|
2777
2605
|
// @public (undocumented)
|
|
2778
2606
|
export interface PBGltfContainer {
|
|
2779
2607
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2791,13 +2619,8 @@ export namespace PBGltfContainer {
|
|
|
2791
2619
|
|
|
2792
2620
|
// @public (undocumented)
|
|
2793
2621
|
export interface PBGltfContainerLoadingState {
|
|
2794
|
-
animationNames: string[];
|
|
2795
2622
|
// (undocumented)
|
|
2796
2623
|
currentState: LoadingState;
|
|
2797
|
-
materialNames: string[];
|
|
2798
|
-
meshNames: string[];
|
|
2799
|
-
nodePaths: string[];
|
|
2800
|
-
skinNames: string[];
|
|
2801
2624
|
}
|
|
2802
2625
|
|
|
2803
2626
|
// @public (undocumented)
|
|
@@ -2808,19 +2631,6 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2808
2631
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2809
2632
|
}
|
|
2810
2633
|
|
|
2811
|
-
// @public (undocumented)
|
|
2812
|
-
export interface PBGltfNode {
|
|
2813
|
-
path: string;
|
|
2814
|
-
}
|
|
2815
|
-
|
|
2816
|
-
// @public (undocumented)
|
|
2817
|
-
export namespace PBGltfNode {
|
|
2818
|
-
// (undocumented)
|
|
2819
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
2820
|
-
// (undocumented)
|
|
2821
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
2822
|
-
}
|
|
2823
|
-
|
|
2824
2634
|
// @public (undocumented)
|
|
2825
2635
|
export interface PBGltfNodeModifiers {
|
|
2826
2636
|
// (undocumented)
|
|
@@ -2850,22 +2660,6 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2850
2660
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2851
2661
|
}
|
|
2852
2662
|
|
|
2853
|
-
// @public (undocumented)
|
|
2854
|
-
export interface PBGltfNodeState {
|
|
2855
|
-
// (undocumented)
|
|
2856
|
-
error?: string | undefined;
|
|
2857
|
-
// (undocumented)
|
|
2858
|
-
state: GltfNodeStateValue;
|
|
2859
|
-
}
|
|
2860
|
-
|
|
2861
|
-
// @public (undocumented)
|
|
2862
|
-
export namespace PBGltfNodeState {
|
|
2863
|
-
// (undocumented)
|
|
2864
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
2865
|
-
// (undocumented)
|
|
2866
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
2867
|
-
}
|
|
2868
|
-
|
|
2869
2663
|
// @public (undocumented)
|
|
2870
2664
|
export interface PBInputModifier {
|
|
2871
2665
|
// (undocumented)
|
|
@@ -2888,8 +2682,12 @@ export interface PBInputModifier_StandardInput {
|
|
|
2888
2682
|
// (undocumented)
|
|
2889
2683
|
disableAll?: boolean | undefined;
|
|
2890
2684
|
// (undocumented)
|
|
2685
|
+
disableDoubleJump?: boolean | undefined;
|
|
2686
|
+
// (undocumented)
|
|
2891
2687
|
disableEmote?: boolean | undefined;
|
|
2892
2688
|
// (undocumented)
|
|
2689
|
+
disableGliding?: boolean | undefined;
|
|
2690
|
+
// (undocumented)
|
|
2893
2691
|
disableJog?: boolean | undefined;
|
|
2894
2692
|
// (undocumented)
|
|
2895
2693
|
disableJump?: boolean | undefined;
|
|
@@ -2974,7 +2772,6 @@ export namespace PBMainCamera {
|
|
|
2974
2772
|
|
|
2975
2773
|
// @public (undocumented)
|
|
2976
2774
|
export interface PBMaterial {
|
|
2977
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2978
2775
|
// (undocumented)
|
|
2979
2776
|
material?: {
|
|
2980
2777
|
$case: "unlit";
|
|
@@ -2993,22 +2790,6 @@ export namespace PBMaterial {
|
|
|
2993
2790
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2994
2791
|
}
|
|
2995
2792
|
|
|
2996
|
-
// @public (undocumented)
|
|
2997
|
-
export interface PBMaterial_GltfMaterial {
|
|
2998
|
-
// (undocumented)
|
|
2999
|
-
gltfSrc: string;
|
|
3000
|
-
// (undocumented)
|
|
3001
|
-
name: string;
|
|
3002
|
-
}
|
|
3003
|
-
|
|
3004
|
-
// @public (undocumented)
|
|
3005
|
-
export namespace PBMaterial_GltfMaterial {
|
|
3006
|
-
// (undocumented)
|
|
3007
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
3008
|
-
// (undocumented)
|
|
3009
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3010
|
-
}
|
|
3011
|
-
|
|
3012
2793
|
// @public (undocumented)
|
|
3013
2794
|
export interface PBMaterial_PbrMaterial {
|
|
3014
2795
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -3070,9 +2851,6 @@ export interface PBMeshCollider {
|
|
|
3070
2851
|
} | {
|
|
3071
2852
|
$case: "plane";
|
|
3072
2853
|
plane: PBMeshCollider_PlaneMesh;
|
|
3073
|
-
} | {
|
|
3074
|
-
$case: "gltf";
|
|
3075
|
-
gltf: PBMeshCollider_GltfMesh;
|
|
3076
2854
|
} | undefined;
|
|
3077
2855
|
}
|
|
3078
2856
|
|
|
@@ -3110,20 +2888,6 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
3110
2888
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3111
2889
|
}
|
|
3112
2890
|
|
|
3113
|
-
// @public (undocumented)
|
|
3114
|
-
export interface PBMeshCollider_GltfMesh {
|
|
3115
|
-
gltfSrc: string;
|
|
3116
|
-
name: string;
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
// @public (undocumented)
|
|
3120
|
-
export namespace PBMeshCollider_GltfMesh {
|
|
3121
|
-
// (undocumented)
|
|
3122
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
3123
|
-
// (undocumented)
|
|
3124
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3125
|
-
}
|
|
3126
|
-
|
|
3127
2891
|
// @public (undocumented)
|
|
3128
2892
|
export interface PBMeshCollider_PlaneMesh {
|
|
3129
2893
|
}
|
|
@@ -3163,9 +2927,6 @@ export interface PBMeshRenderer {
|
|
|
3163
2927
|
} | {
|
|
3164
2928
|
$case: "plane";
|
|
3165
2929
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3166
|
-
} | {
|
|
3167
|
-
$case: "gltf";
|
|
3168
|
-
gltf: PBMeshRenderer_GltfMesh;
|
|
3169
2930
|
} | undefined;
|
|
3170
2931
|
}
|
|
3171
2932
|
|
|
@@ -3204,20 +2965,6 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
3204
2965
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3205
2966
|
}
|
|
3206
2967
|
|
|
3207
|
-
// @public (undocumented)
|
|
3208
|
-
export interface PBMeshRenderer_GltfMesh {
|
|
3209
|
-
gltfSrc: string;
|
|
3210
|
-
name: string;
|
|
3211
|
-
}
|
|
3212
|
-
|
|
3213
|
-
// @public (undocumented)
|
|
3214
|
-
export namespace PBMeshRenderer_GltfMesh {
|
|
3215
|
-
// (undocumented)
|
|
3216
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3217
|
-
// (undocumented)
|
|
3218
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3219
|
-
}
|
|
3220
|
-
|
|
3221
2968
|
// @public (undocumented)
|
|
3222
2969
|
export interface PBMeshRenderer_PlaneMesh {
|
|
3223
2970
|
uvs: number[];
|
|
@@ -3258,6 +3005,33 @@ export namespace PBNftShape {
|
|
|
3258
3005
|
export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
|
|
3259
3006
|
}
|
|
3260
3007
|
|
|
3008
|
+
// @public (undocumented)
|
|
3009
|
+
export interface PBPhysicsCombinedForce {
|
|
3010
|
+
vector: PBVector3 | undefined;
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
// @public (undocumented)
|
|
3014
|
+
export namespace PBPhysicsCombinedForce {
|
|
3015
|
+
// (undocumented)
|
|
3016
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedForce;
|
|
3017
|
+
// (undocumented)
|
|
3018
|
+
export function encode(message: PBPhysicsCombinedForce, writer?: _m0.Writer): _m0.Writer;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
// @public (undocumented)
|
|
3022
|
+
export interface PBPhysicsCombinedImpulse {
|
|
3023
|
+
eventId: number;
|
|
3024
|
+
vector: PBVector3 | undefined;
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
// @public (undocumented)
|
|
3028
|
+
export namespace PBPhysicsCombinedImpulse {
|
|
3029
|
+
// (undocumented)
|
|
3030
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedImpulse;
|
|
3031
|
+
// (undocumented)
|
|
3032
|
+
export function encode(message: PBPhysicsCombinedImpulse, writer?: _m0.Writer): _m0.Writer;
|
|
3033
|
+
}
|
|
3034
|
+
|
|
3261
3035
|
// @public (undocumented)
|
|
3262
3036
|
export interface PBPlayerIdentityData {
|
|
3263
3037
|
address: string;
|
|
@@ -3423,11 +3197,9 @@ export interface PBRaycast {
|
|
|
3423
3197
|
$case: "targetEntity";
|
|
3424
3198
|
targetEntity: number;
|
|
3425
3199
|
} | undefined;
|
|
3426
|
-
includeWorld?: boolean | undefined;
|
|
3427
3200
|
maxDistance: number;
|
|
3428
3201
|
originOffset?: PBVector3 | undefined;
|
|
3429
3202
|
queryType: RaycastQueryType;
|
|
3430
|
-
shape?: RaycastShape | undefined;
|
|
3431
3203
|
timestamp?: number | undefined;
|
|
3432
3204
|
}
|
|
3433
3205
|
|
|
@@ -3522,32 +3294,6 @@ export namespace PBTextShape {
|
|
|
3522
3294
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3523
3295
|
}
|
|
3524
3296
|
|
|
3525
|
-
// @public (undocumented)
|
|
3526
|
-
export interface PBTextureCamera {
|
|
3527
|
-
clearColor?: PBColor4 | undefined;
|
|
3528
|
-
farPlane?: number | undefined;
|
|
3529
|
-
height?: number | undefined;
|
|
3530
|
-
layer?: number | undefined;
|
|
3531
|
-
// (undocumented)
|
|
3532
|
-
mode?: {
|
|
3533
|
-
$case: "perspective";
|
|
3534
|
-
perspective: Perspective;
|
|
3535
|
-
} | {
|
|
3536
|
-
$case: "orthographic";
|
|
3537
|
-
orthographic: Orthographic;
|
|
3538
|
-
} | undefined;
|
|
3539
|
-
volume?: number | undefined;
|
|
3540
|
-
width?: number | undefined;
|
|
3541
|
-
}
|
|
3542
|
-
|
|
3543
|
-
// @public (undocumented)
|
|
3544
|
-
export namespace PBTextureCamera {
|
|
3545
|
-
// (undocumented)
|
|
3546
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
3547
|
-
// (undocumented)
|
|
3548
|
-
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
3549
|
-
}
|
|
3550
|
-
|
|
3551
3297
|
// @public (undocumented)
|
|
3552
3298
|
export interface PBTriggerArea {
|
|
3553
3299
|
collisionMask?: number | undefined;
|
|
@@ -3626,6 +3372,9 @@ export interface PBTween {
|
|
|
3626
3372
|
} | {
|
|
3627
3373
|
$case: "textureMoveContinuous";
|
|
3628
3374
|
textureMoveContinuous: TextureMoveContinuous;
|
|
3375
|
+
} | {
|
|
3376
|
+
$case: "moveRotateScale";
|
|
3377
|
+
moveRotateScale: MoveRotateScale;
|
|
3629
3378
|
} | undefined;
|
|
3630
3379
|
playing?: boolean | undefined;
|
|
3631
3380
|
}
|
|
@@ -3688,23 +3437,6 @@ export namespace PBUiBackground {
|
|
|
3688
3437
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3689
3438
|
}
|
|
3690
3439
|
|
|
3691
|
-
// @public (undocumented)
|
|
3692
|
-
export interface PBUiCanvas {
|
|
3693
|
-
color?: PBColor4 | undefined;
|
|
3694
|
-
// (undocumented)
|
|
3695
|
-
height: number;
|
|
3696
|
-
// (undocumented)
|
|
3697
|
-
width: number;
|
|
3698
|
-
}
|
|
3699
|
-
|
|
3700
|
-
// @public (undocumented)
|
|
3701
|
-
export namespace PBUiCanvas {
|
|
3702
|
-
// (undocumented)
|
|
3703
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
3704
|
-
// (undocumented)
|
|
3705
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
3706
|
-
}
|
|
3707
|
-
|
|
3708
3440
|
// @public (undocumented)
|
|
3709
3441
|
export interface PBUiCanvasInformation {
|
|
3710
3442
|
devicePixelRatio: number;
|
|
@@ -3798,27 +3530,11 @@ export namespace PBUiInputResult {
|
|
|
3798
3530
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3799
3531
|
}
|
|
3800
3532
|
|
|
3801
|
-
// @public (undocumented)
|
|
3802
|
-
export interface PBUiScrollResult {
|
|
3803
|
-
// (undocumented)
|
|
3804
|
-
value: PBVector2 | undefined;
|
|
3805
|
-
}
|
|
3806
|
-
|
|
3807
|
-
// @public (undocumented)
|
|
3808
|
-
export namespace PBUiScrollResult {
|
|
3809
|
-
// (undocumented)
|
|
3810
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
3811
|
-
// (undocumented)
|
|
3812
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
3813
|
-
}
|
|
3814
|
-
|
|
3815
3533
|
// @public (undocumented)
|
|
3816
3534
|
export interface PBUiText {
|
|
3817
3535
|
color?: PBColor4 | undefined;
|
|
3818
3536
|
font?: Font | undefined;
|
|
3819
3537
|
fontSize?: number | undefined;
|
|
3820
|
-
outlineColor?: PBColor4 | undefined;
|
|
3821
|
-
outlineWidth?: number | undefined;
|
|
3822
3538
|
textAlign?: TextAlignMode | undefined;
|
|
3823
3539
|
textWrap?: TextWrap | undefined;
|
|
3824
3540
|
value: string;
|
|
@@ -3869,7 +3585,6 @@ export interface PBUiTransform {
|
|
|
3869
3585
|
borderTopWidth?: number | undefined;
|
|
3870
3586
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3871
3587
|
display: YGDisplay;
|
|
3872
|
-
elementId?: string | undefined;
|
|
3873
3588
|
// (undocumented)
|
|
3874
3589
|
flexBasis: number;
|
|
3875
3590
|
flexBasisUnit: YGUnit;
|
|
@@ -3938,8 +3653,6 @@ export interface PBUiTransform {
|
|
|
3938
3653
|
positionType: YGPositionType;
|
|
3939
3654
|
// (undocumented)
|
|
3940
3655
|
rightOf: number;
|
|
3941
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
|
3942
|
-
scrollVisible?: ShowScrollBar | undefined;
|
|
3943
3656
|
// (undocumented)
|
|
3944
3657
|
width: number;
|
|
3945
3658
|
widthUnit: YGUnit;
|
|
@@ -4060,17 +3773,10 @@ export namespace PBVisibilityComponent {
|
|
|
4060
3773
|
}
|
|
4061
3774
|
|
|
4062
3775
|
// @public (undocumented)
|
|
4063
|
-
export
|
|
4064
|
-
fieldOfView?: number | undefined;
|
|
4065
|
-
}
|
|
3776
|
+
export const PhysicsCombinedForce: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>;
|
|
4066
3777
|
|
|
4067
3778
|
// @public (undocumented)
|
|
4068
|
-
export
|
|
4069
|
-
// (undocumented)
|
|
4070
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
4071
|
-
// (undocumented)
|
|
4072
|
-
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
4073
|
-
}
|
|
3779
|
+
export const PhysicsCombinedImpulse: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>;
|
|
4074
3780
|
|
|
4075
3781
|
// @public
|
|
4076
3782
|
export namespace Plane {
|
|
@@ -4117,40 +3823,12 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
4117
3823
|
|
|
4118
3824
|
// @public (undocumented)
|
|
4119
3825
|
export interface PointerEventsSystem {
|
|
4120
|
-
onPointerDown(pointerData: {
|
|
4121
|
-
entity: Entity;
|
|
4122
|
-
optsList: EventSystemOptionsCallback[];
|
|
4123
|
-
}): void;
|
|
4124
3826
|
onPointerDown(pointerData: {
|
|
4125
3827
|
entity: Entity;
|
|
4126
3828
|
opts?: Partial<EventSystemOptions>;
|
|
4127
3829
|
}, cb: EventSystemCallback): void;
|
|
4128
3830
|
// @deprecated (undocumented)
|
|
4129
3831
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4130
|
-
onPointerDrag(pointerData: {
|
|
4131
|
-
entity: Entity;
|
|
4132
|
-
optsList: EventSystemOptionsCallback[];
|
|
4133
|
-
}): void;
|
|
4134
|
-
onPointerDrag(pointerData: {
|
|
4135
|
-
entity: Entity;
|
|
4136
|
-
opts?: Partial<EventSystemOptions>;
|
|
4137
|
-
}, cb: EventSystemCallback): void;
|
|
4138
|
-
onPointerDragEnd(pointerData: {
|
|
4139
|
-
entity: Entity;
|
|
4140
|
-
optsList: EventSystemOptionsCallback[];
|
|
4141
|
-
}): void;
|
|
4142
|
-
onPointerDragEnd(pointerData: {
|
|
4143
|
-
entity: Entity;
|
|
4144
|
-
opts?: Partial<EventSystemOptions>;
|
|
4145
|
-
}, cb: EventSystemCallback): void;
|
|
4146
|
-
onPointerDragLocked(pointerData: {
|
|
4147
|
-
entity: Entity;
|
|
4148
|
-
optsList: EventSystemOptionsCallback[];
|
|
4149
|
-
}): void;
|
|
4150
|
-
onPointerDragLocked(pointerData: {
|
|
4151
|
-
entity: Entity;
|
|
4152
|
-
opts?: Partial<EventSystemOptions>;
|
|
4153
|
-
}, cb: EventSystemCallback): void;
|
|
4154
3832
|
onPointerHoverEnter(pointerData: {
|
|
4155
3833
|
entity: Entity;
|
|
4156
3834
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -4159,10 +3837,6 @@ export interface PointerEventsSystem {
|
|
|
4159
3837
|
entity: Entity;
|
|
4160
3838
|
opts?: Partial<EventSystemOptions>;
|
|
4161
3839
|
}, cb: EventSystemCallback): void;
|
|
4162
|
-
onPointerUp(pointerData: {
|
|
4163
|
-
entity: Entity;
|
|
4164
|
-
optsList: EventSystemOptionsCallback[];
|
|
4165
|
-
}): void;
|
|
4166
3840
|
onPointerUp(pointerData: {
|
|
4167
3841
|
entity: Entity;
|
|
4168
3842
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -4170,9 +3844,6 @@ export interface PointerEventsSystem {
|
|
|
4170
3844
|
// @deprecated (undocumented)
|
|
4171
3845
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4172
3846
|
removeOnPointerDown(entity: Entity): void;
|
|
4173
|
-
removeOnPointerDrag(entity: Entity): void;
|
|
4174
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
|
4175
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
|
4176
3847
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
4177
3848
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
4178
3849
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -4186,12 +3857,6 @@ export const enum PointerEventType {
|
|
|
4186
3857
|
// (undocumented)
|
|
4187
3858
|
PET_DOWN = 1,
|
|
4188
3859
|
// (undocumented)
|
|
4189
|
-
PET_DRAG = 5,
|
|
4190
|
-
// (undocumented)
|
|
4191
|
-
PET_DRAG_END = 6,
|
|
4192
|
-
// (undocumented)
|
|
4193
|
-
PET_DRAG_LOCKED = 4,
|
|
4194
|
-
// (undocumented)
|
|
4195
3860
|
PET_HOVER_ENTER = 2,
|
|
4196
3861
|
// (undocumented)
|
|
4197
3862
|
PET_HOVER_LEAVE = 3,
|
|
@@ -4216,13 +3881,7 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
4216
3881
|
// @public (undocumented)
|
|
4217
3882
|
export const enum PointerType {
|
|
4218
3883
|
POT_MOUSE = 1,
|
|
4219
|
-
POT_NONE = 0
|
|
4220
|
-
// (undocumented)
|
|
4221
|
-
POT_PAD = 2,
|
|
4222
|
-
// (undocumented)
|
|
4223
|
-
POT_TOUCH = 3,
|
|
4224
|
-
// (undocumented)
|
|
4225
|
-
POT_WAND = 4
|
|
3884
|
+
POT_NONE = 0
|
|
4226
3885
|
}
|
|
4227
3886
|
|
|
4228
3887
|
// @public
|
|
@@ -4413,12 +4072,6 @@ export const enum RaycastQueryType {
|
|
|
4413
4072
|
// @public (undocumented)
|
|
4414
4073
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
4415
4074
|
|
|
4416
|
-
// @public (undocumented)
|
|
4417
|
-
export const enum RaycastShape {
|
|
4418
|
-
RS_AVATAR = 1,
|
|
4419
|
-
RS_RAY = 0
|
|
4420
|
-
}
|
|
4421
|
-
|
|
4422
4075
|
// @public (undocumented)
|
|
4423
4076
|
export interface RaycastSystem {
|
|
4424
4077
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -4473,8 +4126,6 @@ export interface ReactBasedUiSystem {
|
|
|
4473
4126
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
4474
4127
|
destroy(): void;
|
|
4475
4128
|
removeUiRenderer(entity: Entity): void;
|
|
4476
|
-
// @deprecated
|
|
4477
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4478
4129
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
4479
4130
|
}
|
|
4480
4131
|
|
|
@@ -4510,7 +4161,7 @@ export namespace ReactEcs {
|
|
|
4510
4161
|
useEffect: EffectHook;
|
|
4511
4162
|
const // (undocumented)
|
|
4512
4163
|
useState: StateHook;
|
|
4513
|
-
|
|
4164
|
+
export {};
|
|
4514
4165
|
}
|
|
4515
4166
|
|
|
4516
4167
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
|
@@ -4774,42 +4425,13 @@ export namespace Schemas {
|
|
|
4774
4425
|
}) => void;
|
|
4775
4426
|
}
|
|
4776
4427
|
|
|
4777
|
-
// @public (undocumented)
|
|
4778
|
-
export interface ScrollPositionValue {
|
|
4779
|
-
// (undocumented)
|
|
4780
|
-
value?: {
|
|
4781
|
-
$case: "position";
|
|
4782
|
-
position: PBVector2;
|
|
4783
|
-
} | {
|
|
4784
|
-
$case: "reference";
|
|
4785
|
-
reference: string;
|
|
4786
|
-
} | undefined;
|
|
4787
|
-
}
|
|
4788
|
-
|
|
4789
|
-
// @public (undocumented)
|
|
4790
|
-
export namespace ScrollPositionValue {
|
|
4791
|
-
// (undocumented)
|
|
4792
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
4793
|
-
// (undocumented)
|
|
4794
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
4795
|
-
}
|
|
4796
|
-
|
|
4797
|
-
// @public
|
|
4798
|
-
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4799
|
-
|
|
4800
4428
|
// @public
|
|
4801
4429
|
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4802
4430
|
|
|
4803
|
-
// @public
|
|
4804
|
-
export
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
// (undocumented)
|
|
4808
|
-
SSB_HIDDEN = 3,
|
|
4809
|
-
// (undocumented)
|
|
4810
|
-
SSB_ONLY_HORIZONTAL = 2,
|
|
4811
|
-
// (undocumented)
|
|
4812
|
-
SSB_ONLY_VERTICAL = 1
|
|
4431
|
+
// @public
|
|
4432
|
+
export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
|
|
4433
|
+
duration: number;
|
|
4434
|
+
easingFunction?: EasingFunction;
|
|
4813
4435
|
}
|
|
4814
4436
|
|
|
4815
4437
|
// @public (undocumented)
|
|
@@ -4925,9 +4547,6 @@ export namespace Texture {
|
|
|
4925
4547
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4926
4548
|
}
|
|
4927
4549
|
|
|
4928
|
-
// @public (undocumented)
|
|
4929
|
-
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4930
|
-
|
|
4931
4550
|
// @public (undocumented)
|
|
4932
4551
|
export const enum TextureFilterMode {
|
|
4933
4552
|
// (undocumented)
|
|
@@ -5007,9 +4626,6 @@ export interface TextureUnion {
|
|
|
5007
4626
|
} | {
|
|
5008
4627
|
$case: "videoTexture";
|
|
5009
4628
|
videoTexture: VideoTexture;
|
|
5010
|
-
} | {
|
|
5011
|
-
$case: "uiTexture";
|
|
5012
|
-
uiTexture: UiCanvasTexture;
|
|
5013
4629
|
} | undefined;
|
|
5014
4630
|
}
|
|
5015
4631
|
|
|
@@ -5189,6 +4805,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
5189
4805
|
Mode: TweenHelper;
|
|
5190
4806
|
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
5191
4807
|
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
|
4808
|
+
setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
|
|
5192
4809
|
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
5193
4810
|
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
|
5194
4811
|
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -5203,6 +4820,8 @@ export interface TweenHelper {
|
|
|
5203
4820
|
// (undocumented)
|
|
5204
4821
|
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
|
5205
4822
|
// (undocumented)
|
|
4823
|
+
MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
|
|
4824
|
+
// (undocumented)
|
|
5206
4825
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
|
5207
4826
|
// (undocumented)
|
|
5208
4827
|
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
|
@@ -5270,7 +4889,6 @@ export interface UiBackgroundProps {
|
|
|
5270
4889
|
textureMode?: TextureMode;
|
|
5271
4890
|
textureSlices?: BorderRect | undefined;
|
|
5272
4891
|
uvs?: number[];
|
|
5273
|
-
videoTexture?: UiVideoTexture;
|
|
5274
4892
|
}
|
|
5275
4893
|
|
|
5276
4894
|
// @public
|
|
@@ -5279,28 +4897,9 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
5279
4897
|
variant?: 'primary' | 'secondary';
|
|
5280
4898
|
}
|
|
5281
4899
|
|
|
5282
|
-
// @public (undocumented)
|
|
5283
|
-
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5284
|
-
|
|
5285
4900
|
// @public (undocumented)
|
|
5286
4901
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
5287
4902
|
|
|
5288
|
-
// @public (undocumented)
|
|
5289
|
-
export interface UiCanvasTexture {
|
|
5290
|
-
filterMode?: TextureFilterMode | undefined;
|
|
5291
|
-
// (undocumented)
|
|
5292
|
-
uiCanvasEntity: number;
|
|
5293
|
-
wrapMode?: TextureWrapMode | undefined;
|
|
5294
|
-
}
|
|
5295
|
-
|
|
5296
|
-
// @public (undocumented)
|
|
5297
|
-
export namespace UiCanvasTexture {
|
|
5298
|
-
// (undocumented)
|
|
5299
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
5300
|
-
// (undocumented)
|
|
5301
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
5302
|
-
}
|
|
5303
|
-
|
|
5304
4903
|
// @public (undocumented)
|
|
5305
4904
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
5306
4905
|
|
|
@@ -5355,8 +4954,6 @@ export interface UiLabelProps {
|
|
|
5355
4954
|
color?: PBColor4 | undefined;
|
|
5356
4955
|
font?: UiFontType | undefined;
|
|
5357
4956
|
fontSize?: ScaleUnit | undefined;
|
|
5358
|
-
outlineColor?: PBColor4 | undefined;
|
|
5359
|
-
outlineWidth?: number | undefined;
|
|
5360
4957
|
textAlign?: TextAlignType | undefined;
|
|
5361
4958
|
textWrap?: UiTextWrapType | undefined;
|
|
5362
4959
|
value: string;
|
|
@@ -5371,9 +4968,6 @@ export type UiRendererOptions = {
|
|
|
5371
4968
|
virtualHeight: number;
|
|
5372
4969
|
};
|
|
5373
4970
|
|
|
5374
|
-
// @public (undocumented)
|
|
5375
|
-
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5376
|
-
|
|
5377
4971
|
// @public (undocumented)
|
|
5378
4972
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
5379
4973
|
|
|
@@ -5402,7 +4996,6 @@ export interface UiTransformProps {
|
|
|
5402
4996
|
// (undocumented)
|
|
5403
4997
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
5404
4998
|
display?: DisplayType;
|
|
5405
|
-
elementId?: string;
|
|
5406
4999
|
flex?: number;
|
|
5407
5000
|
flexBasis?: number;
|
|
5408
5001
|
flexDirection?: FlexDirectionType;
|
|
@@ -5422,25 +5015,24 @@ export interface UiTransformProps {
|
|
|
5422
5015
|
pointerFilter?: PointerFilterType;
|
|
5423
5016
|
position?: Partial<Position> | PositionShorthand;
|
|
5424
5017
|
positionType?: PositionType;
|
|
5425
|
-
scrollPosition?: PBVector2 | string;
|
|
5426
|
-
scrollVisible?: ScrollVisibleType;
|
|
5427
5018
|
width?: PositionUnit | 'auto';
|
|
5428
5019
|
zIndex?: number;
|
|
5429
5020
|
}
|
|
5430
5021
|
|
|
5431
|
-
// @public
|
|
5432
|
-
export interface UiVideoTexture {
|
|
5433
|
-
// (undocumented)
|
|
5434
|
-
filterMode?: TextureFilterType;
|
|
5435
|
-
// (undocumented)
|
|
5436
|
-
videoPlayerEntity: Entity;
|
|
5437
|
-
// (undocumented)
|
|
5438
|
-
wrapMode?: TextureWrapType;
|
|
5439
|
-
}
|
|
5440
|
-
|
|
5441
5022
|
// @public (undocumented)
|
|
5442
5023
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5443
5024
|
|
|
5025
|
+
// 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)
|
|
5026
|
+
//
|
|
5027
|
+
// @public (undocumented)
|
|
5028
|
+
export type ValidateCallback<T> = (value: {
|
|
5029
|
+
entity: Entity;
|
|
5030
|
+
currentValue: T | undefined;
|
|
5031
|
+
newValue: T | undefined;
|
|
5032
|
+
senderAddress: string;
|
|
5033
|
+
createdBy: string;
|
|
5034
|
+
}) => boolean;
|
|
5035
|
+
|
|
5444
5036
|
// @public (undocumented)
|
|
5445
5037
|
export type ValueSetOptions<T> = {
|
|
5446
5038
|
timestampFunction: (value: DeepReadonly<T>) => number;
|