@dcl/playground-assets 7.22.6-25007982108.commit-83012ab → 7.22.6-25321038582.commit-63ddb3f
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 +10344 -0
- package/dist/beta.d.ts +10311 -0
- package/dist/index.bundled.d.ts +10311 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +47 -0
- package/dist/playground/sdk/apis.d.ts +1671 -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 +66 -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 +10344 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/etc/playground-assets.api.json +97459 -0
- package/etc/playground-assets.api.md +470 -570
- 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)
|
|
@@ -697,6 +641,22 @@ export type Color4Type = {
|
|
|
697
641
|
a: number;
|
|
698
642
|
};
|
|
699
643
|
|
|
644
|
+
// @public (undocumented)
|
|
645
|
+
export interface ColorRange {
|
|
646
|
+
// (undocumented)
|
|
647
|
+
end: PBColor4 | undefined;
|
|
648
|
+
// (undocumented)
|
|
649
|
+
start: PBColor4 | undefined;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
// @public (undocumented)
|
|
653
|
+
export namespace ColorRange {
|
|
654
|
+
// (undocumented)
|
|
655
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ColorRange;
|
|
656
|
+
// (undocumented)
|
|
657
|
+
export function encode(message: ColorRange, writer?: _m0.Writer): _m0.Writer;
|
|
658
|
+
}
|
|
659
|
+
|
|
700
660
|
// @public (undocumented)
|
|
701
661
|
export interface ComponentData {
|
|
702
662
|
// (undocumented)
|
|
@@ -738,23 +698,15 @@ export const componentDefinitionByName: {
|
|
|
738
698
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
739
699
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
740
700
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
741
|
-
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
742
701
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
743
|
-
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
744
|
-
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
745
702
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
746
703
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
747
|
-
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
748
|
-
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
749
704
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
750
705
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
751
706
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
752
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
753
707
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
754
708
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
755
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
756
709
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
757
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
758
710
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
759
711
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
760
712
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -762,6 +714,9 @@ export const componentDefinitionByName: {
|
|
|
762
714
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
763
715
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
764
716
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
717
|
+
"core::ParticleSystem": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBParticleSystem>>;
|
|
718
|
+
"core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
|
|
719
|
+
"core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
|
|
765
720
|
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
|
766
721
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
|
767
722
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
|
@@ -772,20 +727,17 @@ export const componentDefinitionByName: {
|
|
|
772
727
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
773
728
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
774
729
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
775
|
-
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
776
730
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
777
731
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
778
732
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
779
733
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
780
734
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
781
735
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
782
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
783
736
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
784
737
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
785
738
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
786
739
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
787
740
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
788
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
789
741
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
790
742
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
791
743
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -922,10 +874,10 @@ export type Coords = {
|
|
|
922
874
|
export const CRDT_MESSAGE_HEADER_LENGTH = 8;
|
|
923
875
|
|
|
924
876
|
// @public (undocumented)
|
|
925
|
-
export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
877
|
+
export type CrdtMessage = PutComponentMessage | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
926
878
|
|
|
927
879
|
// @public (undocumented)
|
|
928
|
-
export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
880
|
+
export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
929
881
|
|
|
930
882
|
// @public
|
|
931
883
|
export type CrdtMessageHeader = {
|
|
@@ -946,6 +898,8 @@ export enum CrdtMessageType {
|
|
|
946
898
|
// (undocumented)
|
|
947
899
|
APPEND_VALUE = 4,
|
|
948
900
|
// (undocumented)
|
|
901
|
+
AUTHORITATIVE_PUT_COMPONENT = 8,
|
|
902
|
+
// (undocumented)
|
|
949
903
|
DELETE_COMPONENT = 2,
|
|
950
904
|
// (undocumented)
|
|
951
905
|
DELETE_COMPONENT_NETWORK = 6,
|
|
@@ -954,7 +908,7 @@ export enum CrdtMessageType {
|
|
|
954
908
|
// (undocumented)
|
|
955
909
|
DELETE_ENTITY_NETWORK = 7,
|
|
956
910
|
// (undocumented)
|
|
957
|
-
MAX_MESSAGE_TYPE =
|
|
911
|
+
MAX_MESSAGE_TYPE = 9,
|
|
958
912
|
// (undocumented)
|
|
959
913
|
PUT_COMPONENT = 1,
|
|
960
914
|
// (undocumented)
|
|
@@ -966,6 +920,11 @@ export enum CrdtMessageType {
|
|
|
966
920
|
// @public (undocumented)
|
|
967
921
|
export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
|
|
968
922
|
|
|
923
|
+
// 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)
|
|
924
|
+
//
|
|
925
|
+
// @public (undocumented)
|
|
926
|
+
export const CreatedBy: ICreatedBy;
|
|
927
|
+
|
|
969
928
|
// @public (undocumented)
|
|
970
929
|
export function createEntityContainer(opts?: {
|
|
971
930
|
reservedStaticEntities: number;
|
|
@@ -1223,18 +1182,10 @@ export type EntityComponents = {
|
|
|
1223
1182
|
uiBackground: PBUiBackground;
|
|
1224
1183
|
uiInput: PBUiInput;
|
|
1225
1184
|
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;
|
|
1185
|
+
onMouseDown: Callback;
|
|
1186
|
+
onMouseUp: Callback;
|
|
1187
|
+
onMouseEnter: Callback;
|
|
1188
|
+
onMouseLeave: Callback;
|
|
1238
1189
|
};
|
|
1239
1190
|
|
|
1240
1191
|
// @public (undocumented)
|
|
@@ -1285,11 +1236,7 @@ export type EventSystemOptions = {
|
|
|
1285
1236
|
showFeedback?: boolean;
|
|
1286
1237
|
showHighlight?: boolean;
|
|
1287
1238
|
maxPlayerDistance?: number;
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
// @public (undocumented)
|
|
1291
|
-
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1292
|
-
cb: EventSystemCallback;
|
|
1239
|
+
priority?: number;
|
|
1293
1240
|
};
|
|
1294
1241
|
|
|
1295
1242
|
// @public
|
|
@@ -1336,6 +1283,22 @@ export type FlexWrapType = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
|
1336
1283
|
// @public (undocumented)
|
|
1337
1284
|
export type FloatArray = number[];
|
|
1338
1285
|
|
|
1286
|
+
// @public (undocumented)
|
|
1287
|
+
export interface FloatRange {
|
|
1288
|
+
// (undocumented)
|
|
1289
|
+
end: number;
|
|
1290
|
+
// (undocumented)
|
|
1291
|
+
start: number;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
// @public (undocumented)
|
|
1295
|
+
export namespace FloatRange {
|
|
1296
|
+
// (undocumented)
|
|
1297
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): FloatRange;
|
|
1298
|
+
// (undocumented)
|
|
1299
|
+
export function encode(message: FloatRange, writer?: _m0.Writer): _m0.Writer;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1339
1302
|
// @public (undocumented)
|
|
1340
1303
|
export const enum Font {
|
|
1341
1304
|
// (undocumented)
|
|
@@ -1383,9 +1346,6 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1383
1346
|
direction?: PBVector3;
|
|
1384
1347
|
};
|
|
1385
1348
|
|
|
1386
|
-
// @public (undocumented)
|
|
1387
|
-
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1388
|
-
|
|
1389
1349
|
// 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
1350
|
//
|
|
1391
1351
|
// @public (undocumented)
|
|
@@ -1404,25 +1364,9 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1404
1364
|
// @public (undocumented)
|
|
1405
1365
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1406
1366
|
|
|
1407
|
-
// @public (undocumented)
|
|
1408
|
-
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1409
|
-
|
|
1410
1367
|
// @public (undocumented)
|
|
1411
1368
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1412
1369
|
|
|
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
1370
|
// @public (undocumented)
|
|
1427
1371
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1428
1372
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1436,6 +1380,19 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
|
|
|
1436
1380
|
// @public (undocumented)
|
|
1437
1381
|
export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
|
|
1438
1382
|
|
|
1383
|
+
// 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)
|
|
1384
|
+
//
|
|
1385
|
+
// @public (undocumented)
|
|
1386
|
+
export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
|
|
1387
|
+
|
|
1388
|
+
// 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)
|
|
1389
|
+
//
|
|
1390
|
+
// @public (undocumented)
|
|
1391
|
+
export interface ICreatedByType {
|
|
1392
|
+
// (undocumented)
|
|
1393
|
+
address: string;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1439
1396
|
// @public (undocumented)
|
|
1440
1397
|
export interface IEngine {
|
|
1441
1398
|
addEntity(): Entity;
|
|
@@ -1547,7 +1504,6 @@ export type IInputSystem = {
|
|
|
1547
1504
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1548
1505
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1549
1506
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1550
|
-
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1551
1507
|
};
|
|
1552
1508
|
|
|
1553
1509
|
// @public
|
|
@@ -1676,6 +1632,28 @@ export type InstanceCompositeOptions = {
|
|
|
1676
1632
|
alreadyRequestedSrc?: Set<string>;
|
|
1677
1633
|
};
|
|
1678
1634
|
|
|
1635
|
+
// @public (undocumented)
|
|
1636
|
+
export const enum InteractionType {
|
|
1637
|
+
// (undocumented)
|
|
1638
|
+
CURSOR = 0,
|
|
1639
|
+
// (undocumented)
|
|
1640
|
+
PROXIMITY = 1
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
// 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)
|
|
1644
|
+
//
|
|
1645
|
+
// @public
|
|
1646
|
+
export interface InternalBaseComponent<T> extends BaseComponent<T> {
|
|
1647
|
+
__dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
|
|
1648
|
+
// (undocumented)
|
|
1649
|
+
__onChangeCallbacks(entity: Entity, value: T): void;
|
|
1650
|
+
// (undocumented)
|
|
1651
|
+
__run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
|
|
1652
|
+
// (undocumented)
|
|
1653
|
+
dirtyIterator(): Iterable<Entity>;
|
|
1654
|
+
iterator(): Iterable<[Entity, any]>;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1679
1657
|
// @public (undocumented)
|
|
1680
1658
|
export interface ISchema<T = any> {
|
|
1681
1659
|
// (undocumented)
|
|
@@ -1750,6 +1728,13 @@ export type JustifyType = 'flex-start' | 'center' | 'flex-end' | 'space-between'
|
|
|
1750
1728
|
// @public
|
|
1751
1729
|
export type Key = number | string;
|
|
1752
1730
|
|
|
1731
|
+
// @public
|
|
1732
|
+
export enum KnockbackFalloff {
|
|
1733
|
+
CONSTANT = 0,
|
|
1734
|
+
INVERSE_SQUARE = 2,
|
|
1735
|
+
LINEAR = 1
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1753
1738
|
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
1754
1739
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
1755
1740
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
@@ -1797,18 +1782,10 @@ export interface LightSourceHelper {
|
|
|
1797
1782
|
|
|
1798
1783
|
// @public
|
|
1799
1784
|
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;
|
|
1785
|
+
onMouseDown?: Callback;
|
|
1786
|
+
onMouseUp?: Callback;
|
|
1787
|
+
onMouseEnter?: Callback;
|
|
1788
|
+
onMouseLeave?: Callback;
|
|
1812
1789
|
};
|
|
1813
1790
|
|
|
1814
1791
|
// @public (undocumented)
|
|
@@ -2052,7 +2029,6 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
2052
2029
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
2053
2030
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2054
2031
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2055
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2056
2032
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2057
2033
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2058
2034
|
}
|
|
@@ -2066,7 +2042,6 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
2066
2042
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
2067
2043
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
2068
2044
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2069
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
2070
2045
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
2071
2046
|
setSphere(entity: Entity): void;
|
|
2072
2047
|
}
|
|
@@ -2114,19 +2089,45 @@ export namespace MoveContinuous {
|
|
|
2114
2089
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2115
2090
|
}
|
|
2116
2091
|
|
|
2117
|
-
//
|
|
2118
|
-
|
|
2119
|
-
//
|
|
2120
|
-
|
|
2121
|
-
//
|
|
2122
|
-
|
|
2123
|
-
//
|
|
2124
|
-
|
|
2125
|
-
//
|
|
2126
|
-
|
|
2127
|
-
//
|
|
2092
|
+
// @public (undocumented)
|
|
2093
|
+
export interface MoveRotateScale {
|
|
2094
|
+
// (undocumented)
|
|
2095
|
+
positionEnd: PBVector3 | undefined;
|
|
2096
|
+
// (undocumented)
|
|
2097
|
+
positionStart: PBVector3 | undefined;
|
|
2098
|
+
// (undocumented)
|
|
2099
|
+
rotationEnd: PBQuaternion | undefined;
|
|
2100
|
+
// (undocumented)
|
|
2101
|
+
rotationStart: PBQuaternion | undefined;
|
|
2102
|
+
// (undocumented)
|
|
2103
|
+
scaleEnd: PBVector3 | undefined;
|
|
2104
|
+
// (undocumented)
|
|
2105
|
+
scaleStart: PBVector3 | undefined;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
// @public (undocumented)
|
|
2109
|
+
export namespace MoveRotateScale {
|
|
2110
|
+
// (undocumented)
|
|
2111
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale;
|
|
2112
|
+
// (undocumented)
|
|
2113
|
+
export function encode(message: MoveRotateScale, writer?: _m0.Writer): _m0.Writer;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2128
2116
|
// @public
|
|
2129
|
-
export
|
|
2117
|
+
export interface MoveRotateScaleModeParams {
|
|
2118
|
+
position?: {
|
|
2119
|
+
start: PBVector3;
|
|
2120
|
+
end: PBVector3;
|
|
2121
|
+
};
|
|
2122
|
+
rotation?: {
|
|
2123
|
+
start: PBQuaternion;
|
|
2124
|
+
end: PBQuaternion;
|
|
2125
|
+
};
|
|
2126
|
+
scale?: {
|
|
2127
|
+
start: PBVector3;
|
|
2128
|
+
end: PBVector3;
|
|
2129
|
+
};
|
|
2130
|
+
}
|
|
2130
2131
|
|
|
2131
2132
|
// 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
2133
|
//
|
|
@@ -2334,21 +2335,26 @@ export const onVideoEvent: Observable<{
|
|
|
2334
2335
|
totalVideoLength: number;
|
|
2335
2336
|
}>;
|
|
2336
2337
|
|
|
2338
|
+
// @public
|
|
2339
|
+
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2340
|
+
|
|
2341
|
+
// Warning: (ae-missing-release-tag) "ParticleSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2342
|
+
//
|
|
2337
2343
|
// @public (undocumented)
|
|
2338
|
-
export
|
|
2339
|
-
verticalRange?: number | undefined;
|
|
2340
|
-
}
|
|
2344
|
+
export const ParticleSystem: ParticleSystemComponentDefinitionExtended;
|
|
2341
2345
|
|
|
2342
2346
|
// @public (undocumented)
|
|
2343
|
-
export
|
|
2344
|
-
|
|
2345
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2346
|
-
// (undocumented)
|
|
2347
|
-
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2347
|
+
export interface ParticleSystemComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBParticleSystem> {
|
|
2348
|
+
Shape: ParticleSystemHelper;
|
|
2348
2349
|
}
|
|
2349
2350
|
|
|
2350
|
-
// @public
|
|
2351
|
-
export
|
|
2351
|
+
// @public (undocumented)
|
|
2352
|
+
export interface ParticleSystemHelper {
|
|
2353
|
+
Box: (box?: PBParticleSystem_Box) => PBParticleSystem['shape'];
|
|
2354
|
+
Cone: (cone?: PBParticleSystem_Cone) => PBParticleSystem['shape'];
|
|
2355
|
+
Point: (point?: PBParticleSystem_Point) => PBParticleSystem['shape'];
|
|
2356
|
+
Sphere: (sphere?: PBParticleSystem_Sphere) => PBParticleSystem['shape'];
|
|
2357
|
+
}
|
|
2352
2358
|
|
|
2353
2359
|
// @public (undocumented)
|
|
2354
2360
|
export interface PBAnimationState {
|
|
@@ -2519,7 +2525,6 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2519
2525
|
export interface PBAvatarEquippedData {
|
|
2520
2526
|
// (undocumented)
|
|
2521
2527
|
emoteUrns: string[];
|
|
2522
|
-
forceRender: string[];
|
|
2523
2528
|
// (undocumented)
|
|
2524
2529
|
wearableUrns: string[];
|
|
2525
2530
|
}
|
|
@@ -2532,32 +2537,11 @@ export namespace PBAvatarEquippedData {
|
|
|
2532
2537
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2533
2538
|
}
|
|
2534
2539
|
|
|
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
2540
|
// @public (undocumented)
|
|
2554
2541
|
export interface PBAvatarModifierArea {
|
|
2555
2542
|
area: PBVector3 | undefined;
|
|
2556
2543
|
excludeIds: string[];
|
|
2557
2544
|
modifiers: AvatarModifierType[];
|
|
2558
|
-
// (undocumented)
|
|
2559
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
|
2560
|
-
useColliderRange?: boolean | undefined;
|
|
2561
2545
|
}
|
|
2562
2546
|
|
|
2563
2547
|
// @public (undocumented)
|
|
@@ -2568,40 +2552,6 @@ export namespace PBAvatarModifierArea {
|
|
|
2568
2552
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2569
2553
|
}
|
|
2570
2554
|
|
|
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
2555
|
// @public (undocumented)
|
|
2606
2556
|
export interface PBAvatarShape {
|
|
2607
2557
|
bodyShape?: string | undefined;
|
|
@@ -2609,7 +2559,6 @@ export interface PBAvatarShape {
|
|
|
2609
2559
|
expressionTriggerId?: string | undefined;
|
|
2610
2560
|
expressionTriggerTimestamp?: number | undefined;
|
|
2611
2561
|
eyeColor?: PBColor3 | undefined;
|
|
2612
|
-
forceRender: string[];
|
|
2613
2562
|
hairColor?: PBColor3 | undefined;
|
|
2614
2563
|
id: string;
|
|
2615
2564
|
name?: string | undefined;
|
|
@@ -2640,42 +2589,6 @@ export namespace PBBillboard {
|
|
|
2640
2589
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2641
2590
|
}
|
|
2642
2591
|
|
|
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
2592
|
// @public (undocumented)
|
|
2680
2593
|
export interface PBCameraMode {
|
|
2681
2594
|
mode: CameraType;
|
|
@@ -2692,10 +2605,7 @@ export namespace PBCameraMode {
|
|
|
2692
2605
|
// @public (undocumented)
|
|
2693
2606
|
export interface PBCameraModeArea {
|
|
2694
2607
|
area: PBVector3 | undefined;
|
|
2695
|
-
// (undocumented)
|
|
2696
|
-
cinematicSettings?: CinematicSettings | undefined;
|
|
2697
2608
|
mode: CameraType;
|
|
2698
|
-
useColliderRange?: boolean | undefined;
|
|
2699
2609
|
}
|
|
2700
2610
|
|
|
2701
2611
|
// @public (undocumented)
|
|
@@ -2759,21 +2669,6 @@ export namespace PBEngineInfo {
|
|
|
2759
2669
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2760
2670
|
}
|
|
2761
2671
|
|
|
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
2672
|
// @public (undocumented)
|
|
2778
2673
|
export interface PBGltfContainer {
|
|
2779
2674
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2791,13 +2686,8 @@ export namespace PBGltfContainer {
|
|
|
2791
2686
|
|
|
2792
2687
|
// @public (undocumented)
|
|
2793
2688
|
export interface PBGltfContainerLoadingState {
|
|
2794
|
-
animationNames: string[];
|
|
2795
2689
|
// (undocumented)
|
|
2796
2690
|
currentState: LoadingState;
|
|
2797
|
-
materialNames: string[];
|
|
2798
|
-
meshNames: string[];
|
|
2799
|
-
nodePaths: string[];
|
|
2800
|
-
skinNames: string[];
|
|
2801
2691
|
}
|
|
2802
2692
|
|
|
2803
2693
|
// @public (undocumented)
|
|
@@ -2808,19 +2698,6 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2808
2698
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2809
2699
|
}
|
|
2810
2700
|
|
|
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
2701
|
// @public (undocumented)
|
|
2825
2702
|
export interface PBGltfNodeModifiers {
|
|
2826
2703
|
// (undocumented)
|
|
@@ -2850,22 +2727,6 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2850
2727
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2851
2728
|
}
|
|
2852
2729
|
|
|
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
2730
|
// @public (undocumented)
|
|
2870
2731
|
export interface PBInputModifier {
|
|
2871
2732
|
// (undocumented)
|
|
@@ -2888,8 +2749,12 @@ export interface PBInputModifier_StandardInput {
|
|
|
2888
2749
|
// (undocumented)
|
|
2889
2750
|
disableAll?: boolean | undefined;
|
|
2890
2751
|
// (undocumented)
|
|
2752
|
+
disableDoubleJump?: boolean | undefined;
|
|
2753
|
+
// (undocumented)
|
|
2891
2754
|
disableEmote?: boolean | undefined;
|
|
2892
2755
|
// (undocumented)
|
|
2756
|
+
disableGliding?: boolean | undefined;
|
|
2757
|
+
// (undocumented)
|
|
2893
2758
|
disableJog?: boolean | undefined;
|
|
2894
2759
|
// (undocumented)
|
|
2895
2760
|
disableJump?: boolean | undefined;
|
|
@@ -2974,7 +2839,6 @@ export namespace PBMainCamera {
|
|
|
2974
2839
|
|
|
2975
2840
|
// @public (undocumented)
|
|
2976
2841
|
export interface PBMaterial {
|
|
2977
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2978
2842
|
// (undocumented)
|
|
2979
2843
|
material?: {
|
|
2980
2844
|
$case: "unlit";
|
|
@@ -2993,22 +2857,6 @@ export namespace PBMaterial {
|
|
|
2993
2857
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2994
2858
|
}
|
|
2995
2859
|
|
|
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
2860
|
// @public (undocumented)
|
|
3013
2861
|
export interface PBMaterial_PbrMaterial {
|
|
3014
2862
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -3070,9 +2918,6 @@ export interface PBMeshCollider {
|
|
|
3070
2918
|
} | {
|
|
3071
2919
|
$case: "plane";
|
|
3072
2920
|
plane: PBMeshCollider_PlaneMesh;
|
|
3073
|
-
} | {
|
|
3074
|
-
$case: "gltf";
|
|
3075
|
-
gltf: PBMeshCollider_GltfMesh;
|
|
3076
2921
|
} | undefined;
|
|
3077
2922
|
}
|
|
3078
2923
|
|
|
@@ -3110,20 +2955,6 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
3110
2955
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3111
2956
|
}
|
|
3112
2957
|
|
|
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
2958
|
// @public (undocumented)
|
|
3128
2959
|
export interface PBMeshCollider_PlaneMesh {
|
|
3129
2960
|
}
|
|
@@ -3163,9 +2994,6 @@ export interface PBMeshRenderer {
|
|
|
3163
2994
|
} | {
|
|
3164
2995
|
$case: "plane";
|
|
3165
2996
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3166
|
-
} | {
|
|
3167
|
-
$case: "gltf";
|
|
3168
|
-
gltf: PBMeshRenderer_GltfMesh;
|
|
3169
2997
|
} | undefined;
|
|
3170
2998
|
}
|
|
3171
2999
|
|
|
@@ -3204,20 +3032,6 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
3204
3032
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3205
3033
|
}
|
|
3206
3034
|
|
|
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
3035
|
// @public (undocumented)
|
|
3222
3036
|
export interface PBMeshRenderer_PlaneMesh {
|
|
3223
3037
|
uvs: number[];
|
|
@@ -3258,6 +3072,225 @@ export namespace PBNftShape {
|
|
|
3258
3072
|
export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
|
|
3259
3073
|
}
|
|
3260
3074
|
|
|
3075
|
+
// @public (undocumented)
|
|
3076
|
+
export interface PBParticleSystem {
|
|
3077
|
+
active?: boolean | undefined;
|
|
3078
|
+
additionalForce?: PBVector3 | undefined;
|
|
3079
|
+
billboard?: boolean | undefined;
|
|
3080
|
+
blendMode?: PBParticleSystem_BlendMode | undefined;
|
|
3081
|
+
bursts?: PBParticleSystem_BurstConfiguration | undefined;
|
|
3082
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3083
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3084
|
+
colorOverTime?: ColorRange | undefined;
|
|
3085
|
+
faceTravelDirection?: boolean | undefined;
|
|
3086
|
+
gravity?: number | undefined;
|
|
3087
|
+
initialColor?: ColorRange | undefined;
|
|
3088
|
+
initialRotation?: PBQuaternion | undefined;
|
|
3089
|
+
initialSize?: FloatRange | undefined;
|
|
3090
|
+
initialVelocitySpeed?: FloatRange | undefined;
|
|
3091
|
+
lifetime?: number | undefined;
|
|
3092
|
+
limitVelocity?: PBParticleSystem_LimitVelocity | undefined;
|
|
3093
|
+
loop?: boolean | undefined;
|
|
3094
|
+
maxParticles?: number | undefined;
|
|
3095
|
+
playbackState?: PBParticleSystem_PlaybackState | undefined;
|
|
3096
|
+
prewarm?: boolean | undefined;
|
|
3097
|
+
rate?: number | undefined;
|
|
3098
|
+
rotationOverTime?: PBQuaternion | undefined;
|
|
3099
|
+
// (undocumented)
|
|
3100
|
+
shape?: {
|
|
3101
|
+
$case: "point";
|
|
3102
|
+
point: PBParticleSystem_Point;
|
|
3103
|
+
} | {
|
|
3104
|
+
$case: "sphere";
|
|
3105
|
+
sphere: PBParticleSystem_Sphere;
|
|
3106
|
+
} | {
|
|
3107
|
+
$case: "cone";
|
|
3108
|
+
cone: PBParticleSystem_Cone;
|
|
3109
|
+
} | {
|
|
3110
|
+
$case: "box";
|
|
3111
|
+
box: PBParticleSystem_Box;
|
|
3112
|
+
} | undefined;
|
|
3113
|
+
simulationSpace?: PBParticleSystem_SimulationSpace | undefined;
|
|
3114
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3115
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3116
|
+
sizeOverTime?: FloatRange | undefined;
|
|
3117
|
+
spriteSheet?: PBParticleSystem_SpriteSheetAnimation | undefined;
|
|
3118
|
+
texture?: Texture | undefined;
|
|
3119
|
+
}
|
|
3120
|
+
|
|
3121
|
+
// @public (undocumented)
|
|
3122
|
+
export namespace PBParticleSystem {
|
|
3123
|
+
// (undocumented)
|
|
3124
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem;
|
|
3125
|
+
// (undocumented)
|
|
3126
|
+
export function encode(message: PBParticleSystem, writer?: _m0.Writer): _m0.Writer;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
// @public (undocumented)
|
|
3130
|
+
const enum PBParticleSystem_BlendMode {
|
|
3131
|
+
PSB_ADD = 1,
|
|
3132
|
+
PSB_ALPHA = 0,
|
|
3133
|
+
PSB_MULTIPLY = 2
|
|
3134
|
+
}
|
|
3135
|
+
export { PBParticleSystem_BlendMode }
|
|
3136
|
+
export { PBParticleSystem_BlendMode as ParticleSystemBlendMode }
|
|
3137
|
+
|
|
3138
|
+
// @public (undocumented)
|
|
3139
|
+
export interface PBParticleSystem_Box {
|
|
3140
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3141
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3142
|
+
size?: PBVector3 | undefined;
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
// @public (undocumented)
|
|
3146
|
+
export namespace PBParticleSystem_Box {
|
|
3147
|
+
// (undocumented)
|
|
3148
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Box;
|
|
3149
|
+
// (undocumented)
|
|
3150
|
+
export function encode(message: PBParticleSystem_Box, writer?: _m0.Writer): _m0.Writer;
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
// @public (undocumented)
|
|
3154
|
+
export interface PBParticleSystem_Burst {
|
|
3155
|
+
count: number;
|
|
3156
|
+
cycles?: number | undefined;
|
|
3157
|
+
interval?: number | undefined;
|
|
3158
|
+
probability?: number | undefined;
|
|
3159
|
+
time: number;
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3162
|
+
// @public (undocumented)
|
|
3163
|
+
export namespace PBParticleSystem_Burst {
|
|
3164
|
+
// (undocumented)
|
|
3165
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Burst;
|
|
3166
|
+
// (undocumented)
|
|
3167
|
+
export function encode(message: PBParticleSystem_Burst, writer?: _m0.Writer): _m0.Writer;
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
// @public (undocumented)
|
|
3171
|
+
export interface PBParticleSystem_BurstConfiguration {
|
|
3172
|
+
// (undocumented)
|
|
3173
|
+
values: PBParticleSystem_Burst[];
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
// @public (undocumented)
|
|
3177
|
+
export namespace PBParticleSystem_BurstConfiguration {
|
|
3178
|
+
// (undocumented)
|
|
3179
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_BurstConfiguration;
|
|
3180
|
+
// (undocumented)
|
|
3181
|
+
export function encode(message: PBParticleSystem_BurstConfiguration, writer?: _m0.Writer): _m0.Writer;
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
// @public (undocumented)
|
|
3185
|
+
export interface PBParticleSystem_Cone {
|
|
3186
|
+
angle?: number | undefined;
|
|
3187
|
+
radius?: number | undefined;
|
|
3188
|
+
}
|
|
3189
|
+
|
|
3190
|
+
// @public (undocumented)
|
|
3191
|
+
export namespace PBParticleSystem_Cone {
|
|
3192
|
+
// (undocumented)
|
|
3193
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Cone;
|
|
3194
|
+
// (undocumented)
|
|
3195
|
+
export function encode(message: PBParticleSystem_Cone, writer?: _m0.Writer): _m0.Writer;
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
// @public (undocumented)
|
|
3199
|
+
export interface PBParticleSystem_LimitVelocity {
|
|
3200
|
+
dampen?: number | undefined;
|
|
3201
|
+
speed: number;
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
// @public (undocumented)
|
|
3205
|
+
export namespace PBParticleSystem_LimitVelocity {
|
|
3206
|
+
// (undocumented)
|
|
3207
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_LimitVelocity;
|
|
3208
|
+
// (undocumented)
|
|
3209
|
+
export function encode(message: PBParticleSystem_LimitVelocity, writer?: _m0.Writer): _m0.Writer;
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3212
|
+
// @public (undocumented)
|
|
3213
|
+
const enum PBParticleSystem_PlaybackState {
|
|
3214
|
+
PS_PAUSED = 1,
|
|
3215
|
+
PS_PLAYING = 0,
|
|
3216
|
+
PS_STOPPED = 2
|
|
3217
|
+
}
|
|
3218
|
+
export { PBParticleSystem_PlaybackState }
|
|
3219
|
+
export { PBParticleSystem_PlaybackState as ParticleSystemPlaybackState }
|
|
3220
|
+
|
|
3221
|
+
// @public (undocumented)
|
|
3222
|
+
export interface PBParticleSystem_Point {
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
// @public (undocumented)
|
|
3226
|
+
export namespace PBParticleSystem_Point {
|
|
3227
|
+
// (undocumented)
|
|
3228
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Point;
|
|
3229
|
+
// (undocumented)
|
|
3230
|
+
export function encode(_: PBParticleSystem_Point, writer?: _m0.Writer): _m0.Writer;
|
|
3231
|
+
}
|
|
3232
|
+
|
|
3233
|
+
// @public (undocumented)
|
|
3234
|
+
export const enum PBParticleSystem_SimulationSpace {
|
|
3235
|
+
PSS_LOCAL = 0,
|
|
3236
|
+
PSS_WORLD = 1
|
|
3237
|
+
}
|
|
3238
|
+
|
|
3239
|
+
// @public (undocumented)
|
|
3240
|
+
export interface PBParticleSystem_Sphere {
|
|
3241
|
+
radius?: number | undefined;
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3244
|
+
// @public (undocumented)
|
|
3245
|
+
export namespace PBParticleSystem_Sphere {
|
|
3246
|
+
// (undocumented)
|
|
3247
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Sphere;
|
|
3248
|
+
// (undocumented)
|
|
3249
|
+
export function encode(message: PBParticleSystem_Sphere, writer?: _m0.Writer): _m0.Writer;
|
|
3250
|
+
}
|
|
3251
|
+
|
|
3252
|
+
// @public (undocumented)
|
|
3253
|
+
export interface PBParticleSystem_SpriteSheetAnimation {
|
|
3254
|
+
framesPerSecond?: number | undefined;
|
|
3255
|
+
tilesX: number;
|
|
3256
|
+
tilesY: number;
|
|
3257
|
+
}
|
|
3258
|
+
|
|
3259
|
+
// @public (undocumented)
|
|
3260
|
+
export namespace PBParticleSystem_SpriteSheetAnimation {
|
|
3261
|
+
// (undocumented)
|
|
3262
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_SpriteSheetAnimation;
|
|
3263
|
+
// (undocumented)
|
|
3264
|
+
export function encode(message: PBParticleSystem_SpriteSheetAnimation, writer?: _m0.Writer): _m0.Writer;
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
// @public (undocumented)
|
|
3268
|
+
export interface PBPhysicsCombinedForce {
|
|
3269
|
+
vector: PBVector3 | undefined;
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
// @public (undocumented)
|
|
3273
|
+
export namespace PBPhysicsCombinedForce {
|
|
3274
|
+
// (undocumented)
|
|
3275
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedForce;
|
|
3276
|
+
// (undocumented)
|
|
3277
|
+
export function encode(message: PBPhysicsCombinedForce, writer?: _m0.Writer): _m0.Writer;
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
// @public (undocumented)
|
|
3281
|
+
export interface PBPhysicsCombinedImpulse {
|
|
3282
|
+
eventId: number;
|
|
3283
|
+
vector: PBVector3 | undefined;
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
// @public (undocumented)
|
|
3287
|
+
export namespace PBPhysicsCombinedImpulse {
|
|
3288
|
+
// (undocumented)
|
|
3289
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedImpulse;
|
|
3290
|
+
// (undocumented)
|
|
3291
|
+
export function encode(message: PBPhysicsCombinedImpulse, writer?: _m0.Writer): _m0.Writer;
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3261
3294
|
// @public (undocumented)
|
|
3262
3295
|
export interface PBPlayerIdentityData {
|
|
3263
3296
|
address: string;
|
|
@@ -3290,6 +3323,7 @@ export namespace PBPointerEvents {
|
|
|
3290
3323
|
export interface PBPointerEvents_Entry {
|
|
3291
3324
|
eventInfo: PBPointerEvents_Info | undefined;
|
|
3292
3325
|
eventType: PointerEventType;
|
|
3326
|
+
interactionType?: InteractionType | undefined;
|
|
3293
3327
|
}
|
|
3294
3328
|
|
|
3295
3329
|
// @public (undocumented)
|
|
@@ -3306,6 +3340,7 @@ export interface PBPointerEvents_Info {
|
|
|
3306
3340
|
hoverText?: string | undefined;
|
|
3307
3341
|
maxDistance?: number | undefined;
|
|
3308
3342
|
maxPlayerDistance?: number | undefined;
|
|
3343
|
+
priority?: number | undefined;
|
|
3309
3344
|
showFeedback?: boolean | undefined;
|
|
3310
3345
|
showHighlight?: boolean | undefined;
|
|
3311
3346
|
}
|
|
@@ -3423,11 +3458,9 @@ export interface PBRaycast {
|
|
|
3423
3458
|
$case: "targetEntity";
|
|
3424
3459
|
targetEntity: number;
|
|
3425
3460
|
} | undefined;
|
|
3426
|
-
includeWorld?: boolean | undefined;
|
|
3427
3461
|
maxDistance: number;
|
|
3428
3462
|
originOffset?: PBVector3 | undefined;
|
|
3429
3463
|
queryType: RaycastQueryType;
|
|
3430
|
-
shape?: RaycastShape | undefined;
|
|
3431
3464
|
timestamp?: number | undefined;
|
|
3432
3465
|
}
|
|
3433
3466
|
|
|
@@ -3522,32 +3555,6 @@ export namespace PBTextShape {
|
|
|
3522
3555
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3523
3556
|
}
|
|
3524
3557
|
|
|
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
3558
|
// @public (undocumented)
|
|
3552
3559
|
export interface PBTriggerArea {
|
|
3553
3560
|
collisionMask?: number | undefined;
|
|
@@ -3626,6 +3633,9 @@ export interface PBTween {
|
|
|
3626
3633
|
} | {
|
|
3627
3634
|
$case: "textureMoveContinuous";
|
|
3628
3635
|
textureMoveContinuous: TextureMoveContinuous;
|
|
3636
|
+
} | {
|
|
3637
|
+
$case: "moveRotateScale";
|
|
3638
|
+
moveRotateScale: MoveRotateScale;
|
|
3629
3639
|
} | undefined;
|
|
3630
3640
|
playing?: boolean | undefined;
|
|
3631
3641
|
}
|
|
@@ -3688,23 +3698,6 @@ export namespace PBUiBackground {
|
|
|
3688
3698
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3689
3699
|
}
|
|
3690
3700
|
|
|
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
3701
|
// @public (undocumented)
|
|
3709
3702
|
export interface PBUiCanvasInformation {
|
|
3710
3703
|
devicePixelRatio: number;
|
|
@@ -3798,27 +3791,11 @@ export namespace PBUiInputResult {
|
|
|
3798
3791
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3799
3792
|
}
|
|
3800
3793
|
|
|
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
3794
|
// @public (undocumented)
|
|
3816
3795
|
export interface PBUiText {
|
|
3817
3796
|
color?: PBColor4 | undefined;
|
|
3818
3797
|
font?: Font | undefined;
|
|
3819
3798
|
fontSize?: number | undefined;
|
|
3820
|
-
outlineColor?: PBColor4 | undefined;
|
|
3821
|
-
outlineWidth?: number | undefined;
|
|
3822
3799
|
textAlign?: TextAlignMode | undefined;
|
|
3823
3800
|
textWrap?: TextWrap | undefined;
|
|
3824
3801
|
value: string;
|
|
@@ -3869,7 +3846,6 @@ export interface PBUiTransform {
|
|
|
3869
3846
|
borderTopWidth?: number | undefined;
|
|
3870
3847
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3871
3848
|
display: YGDisplay;
|
|
3872
|
-
elementId?: string | undefined;
|
|
3873
3849
|
// (undocumented)
|
|
3874
3850
|
flexBasis: number;
|
|
3875
3851
|
flexBasisUnit: YGUnit;
|
|
@@ -3938,8 +3914,6 @@ export interface PBUiTransform {
|
|
|
3938
3914
|
positionType: YGPositionType;
|
|
3939
3915
|
// (undocumented)
|
|
3940
3916
|
rightOf: number;
|
|
3941
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
|
3942
|
-
scrollVisible?: ShowScrollBar | undefined;
|
|
3943
3917
|
// (undocumented)
|
|
3944
3918
|
width: number;
|
|
3945
3919
|
widthUnit: YGUnit;
|
|
@@ -4059,17 +4033,29 @@ export namespace PBVisibilityComponent {
|
|
|
4059
4033
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
4060
4034
|
}
|
|
4061
4035
|
|
|
4036
|
+
// @public
|
|
4037
|
+
export const Physics: PhysicsSystem;
|
|
4038
|
+
|
|
4062
4039
|
// @public (undocumented)
|
|
4063
|
-
export
|
|
4064
|
-
|
|
4065
|
-
|
|
4040
|
+
export const PhysicsCombinedForce: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>;
|
|
4041
|
+
|
|
4042
|
+
// @public (undocumented)
|
|
4043
|
+
export const PhysicsCombinedImpulse: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>;
|
|
4066
4044
|
|
|
4067
4045
|
// @public (undocumented)
|
|
4068
|
-
export
|
|
4046
|
+
export interface PhysicsSystem {
|
|
4047
|
+
applyForceToPlayer(source: Entity, vector: Vector3Type): void;
|
|
4069
4048
|
// (undocumented)
|
|
4070
|
-
|
|
4049
|
+
applyForceToPlayer(source: Entity, direction: Vector3Type, magnitude: number): void;
|
|
4050
|
+
applyForceToPlayerForDuration(source: Entity, duration: number, vector: Vector3Type): void;
|
|
4071
4051
|
// (undocumented)
|
|
4072
|
-
|
|
4052
|
+
applyForceToPlayerForDuration(source: Entity, duration: number, direction: Vector3Type, magnitude: number): void;
|
|
4053
|
+
applyImpulseToPlayer(vector: Vector3Type): void;
|
|
4054
|
+
// (undocumented)
|
|
4055
|
+
applyImpulseToPlayer(direction: Vector3Type, magnitude: number): void;
|
|
4056
|
+
applyKnockbackToPlayer(fromPosition: Vector3Type, magnitude: number, radius?: number, falloff?: KnockbackFalloff): void;
|
|
4057
|
+
applyRepulsionForceToPlayer(source: Entity, fromPosition: Vector3Type, magnitude: number, radius?: number, falloff?: KnockbackFalloff): void;
|
|
4058
|
+
removeForceFromPlayer(source: Entity): void;
|
|
4073
4059
|
}
|
|
4074
4060
|
|
|
4075
4061
|
// @public
|
|
@@ -4117,65 +4103,50 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
4117
4103
|
|
|
4118
4104
|
// @public (undocumented)
|
|
4119
4105
|
export interface PointerEventsSystem {
|
|
4120
|
-
onPointerDown(pointerData: {
|
|
4121
|
-
entity: Entity;
|
|
4122
|
-
optsList: EventSystemOptionsCallback[];
|
|
4123
|
-
}): void;
|
|
4124
4106
|
onPointerDown(pointerData: {
|
|
4125
4107
|
entity: Entity;
|
|
4126
4108
|
opts?: Partial<EventSystemOptions>;
|
|
4127
4109
|
}, cb: EventSystemCallback): void;
|
|
4128
4110
|
// @deprecated (undocumented)
|
|
4129
4111
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4130
|
-
|
|
4131
|
-
entity: Entity;
|
|
4132
|
-
optsList: EventSystemOptionsCallback[];
|
|
4133
|
-
}): void;
|
|
4134
|
-
onPointerDrag(pointerData: {
|
|
4112
|
+
onPointerHoverEnter(pointerData: {
|
|
4135
4113
|
entity: Entity;
|
|
4136
4114
|
opts?: Partial<EventSystemOptions>;
|
|
4137
4115
|
}, cb: EventSystemCallback): void;
|
|
4138
|
-
|
|
4139
|
-
entity: Entity;
|
|
4140
|
-
optsList: EventSystemOptionsCallback[];
|
|
4141
|
-
}): void;
|
|
4142
|
-
onPointerDragEnd(pointerData: {
|
|
4116
|
+
onPointerHoverLeave(pointerData: {
|
|
4143
4117
|
entity: Entity;
|
|
4144
4118
|
opts?: Partial<EventSystemOptions>;
|
|
4145
4119
|
}, cb: EventSystemCallback): void;
|
|
4146
|
-
|
|
4147
|
-
entity: Entity;
|
|
4148
|
-
optsList: EventSystemOptionsCallback[];
|
|
4149
|
-
}): void;
|
|
4150
|
-
onPointerDragLocked(pointerData: {
|
|
4120
|
+
onPointerUp(pointerData: {
|
|
4151
4121
|
entity: Entity;
|
|
4152
4122
|
opts?: Partial<EventSystemOptions>;
|
|
4153
4123
|
}, cb: EventSystemCallback): void;
|
|
4154
|
-
|
|
4124
|
+
// @deprecated (undocumented)
|
|
4125
|
+
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4126
|
+
onProximityDown(pointerData: {
|
|
4155
4127
|
entity: Entity;
|
|
4156
4128
|
opts?: Partial<EventSystemOptions>;
|
|
4157
4129
|
}, cb: EventSystemCallback): void;
|
|
4158
|
-
|
|
4130
|
+
onProximityEnter(pointerData: {
|
|
4159
4131
|
entity: Entity;
|
|
4160
4132
|
opts?: Partial<EventSystemOptions>;
|
|
4161
4133
|
}, cb: EventSystemCallback): void;
|
|
4162
|
-
|
|
4134
|
+
onProximityLeave(pointerData: {
|
|
4163
4135
|
entity: Entity;
|
|
4164
|
-
|
|
4165
|
-
}): void;
|
|
4166
|
-
|
|
4136
|
+
opts?: Partial<EventSystemOptions>;
|
|
4137
|
+
}, cb: EventSystemCallback): void;
|
|
4138
|
+
onProximityUp(pointerData: {
|
|
4167
4139
|
entity: Entity;
|
|
4168
4140
|
opts?: Partial<EventSystemOptions>;
|
|
4169
4141
|
}, cb: EventSystemCallback): void;
|
|
4170
|
-
// @deprecated (undocumented)
|
|
4171
|
-
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4172
4142
|
removeOnPointerDown(entity: Entity): void;
|
|
4173
|
-
removeOnPointerDrag(entity: Entity): void;
|
|
4174
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
|
4175
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
|
4176
4143
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
4177
4144
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
4178
4145
|
removeOnPointerUp(entity: Entity): void;
|
|
4146
|
+
removeOnProximityDown(entity: Entity): void;
|
|
4147
|
+
removeOnProximityEnter(entity: Entity): void;
|
|
4148
|
+
removeOnProximityLeave(entity: Entity): void;
|
|
4149
|
+
removeOnProximityUp(entity: Entity): void;
|
|
4179
4150
|
}
|
|
4180
4151
|
|
|
4181
4152
|
// @public
|
|
@@ -4186,16 +4157,14 @@ export const enum PointerEventType {
|
|
|
4186
4157
|
// (undocumented)
|
|
4187
4158
|
PET_DOWN = 1,
|
|
4188
4159
|
// (undocumented)
|
|
4189
|
-
PET_DRAG = 5,
|
|
4190
|
-
// (undocumented)
|
|
4191
|
-
PET_DRAG_END = 6,
|
|
4192
|
-
// (undocumented)
|
|
4193
|
-
PET_DRAG_LOCKED = 4,
|
|
4194
|
-
// (undocumented)
|
|
4195
4160
|
PET_HOVER_ENTER = 2,
|
|
4196
4161
|
// (undocumented)
|
|
4197
4162
|
PET_HOVER_LEAVE = 3,
|
|
4198
4163
|
// (undocumented)
|
|
4164
|
+
PET_PROXIMITY_ENTER = 4,
|
|
4165
|
+
// (undocumented)
|
|
4166
|
+
PET_PROXIMITY_LEAVE = 5,
|
|
4167
|
+
// (undocumented)
|
|
4199
4168
|
PET_UP = 0
|
|
4200
4169
|
}
|
|
4201
4170
|
|
|
@@ -4216,13 +4185,7 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
4216
4185
|
// @public (undocumented)
|
|
4217
4186
|
export const enum PointerType {
|
|
4218
4187
|
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
|
|
4188
|
+
POT_NONE = 0
|
|
4226
4189
|
}
|
|
4227
4190
|
|
|
4228
4191
|
// @public
|
|
@@ -4413,12 +4376,6 @@ export const enum RaycastQueryType {
|
|
|
4413
4376
|
// @public (undocumented)
|
|
4414
4377
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
4415
4378
|
|
|
4416
|
-
// @public (undocumented)
|
|
4417
|
-
export const enum RaycastShape {
|
|
4418
|
-
RS_AVATAR = 1,
|
|
4419
|
-
RS_RAY = 0
|
|
4420
|
-
}
|
|
4421
|
-
|
|
4422
4379
|
// @public (undocumented)
|
|
4423
4380
|
export interface RaycastSystem {
|
|
4424
4381
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -4473,8 +4430,6 @@ export interface ReactBasedUiSystem {
|
|
|
4473
4430
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
4474
4431
|
destroy(): void;
|
|
4475
4432
|
removeUiRenderer(entity: Entity): void;
|
|
4476
|
-
// @deprecated
|
|
4477
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4478
4433
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
4479
4434
|
}
|
|
4480
4435
|
|
|
@@ -4510,7 +4465,7 @@ export namespace ReactEcs {
|
|
|
4510
4465
|
useEffect: EffectHook;
|
|
4511
4466
|
const // (undocumented)
|
|
4512
4467
|
useState: StateHook;
|
|
4513
|
-
|
|
4468
|
+
export {};
|
|
4514
4469
|
}
|
|
4515
4470
|
|
|
4516
4471
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
|
@@ -4640,6 +4595,9 @@ export namespace RotateContinuous {
|
|
|
4640
4595
|
export function encode(message: RotateContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
4641
4596
|
}
|
|
4642
4597
|
|
|
4598
|
+
// @public
|
|
4599
|
+
export function rotateVectorByQuaternion(v: Vector3Type, q: QuaternionType): Vector3Type;
|
|
4600
|
+
|
|
4643
4601
|
// Warning: (ae-missing-release-tag) "RPCSendableMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
4644
4602
|
//
|
|
4645
4603
|
// @public (undocumented)
|
|
@@ -4774,42 +4732,13 @@ export namespace Schemas {
|
|
|
4774
4732
|
}) => void;
|
|
4775
4733
|
}
|
|
4776
4734
|
|
|
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
4735
|
// @public
|
|
4801
4736
|
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4802
4737
|
|
|
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
|
|
4738
|
+
// @public
|
|
4739
|
+
export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
|
|
4740
|
+
duration: number;
|
|
4741
|
+
easingFunction?: EasingFunction;
|
|
4813
4742
|
}
|
|
4814
4743
|
|
|
4815
4744
|
// @public (undocumented)
|
|
@@ -4925,9 +4854,6 @@ export namespace Texture {
|
|
|
4925
4854
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4926
4855
|
}
|
|
4927
4856
|
|
|
4928
|
-
// @public (undocumented)
|
|
4929
|
-
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4930
|
-
|
|
4931
4857
|
// @public (undocumented)
|
|
4932
4858
|
export const enum TextureFilterMode {
|
|
4933
4859
|
// (undocumented)
|
|
@@ -5007,9 +4933,6 @@ export interface TextureUnion {
|
|
|
5007
4933
|
} | {
|
|
5008
4934
|
$case: "videoTexture";
|
|
5009
4935
|
videoTexture: VideoTexture;
|
|
5010
|
-
} | {
|
|
5011
|
-
$case: "uiTexture";
|
|
5012
|
-
uiTexture: UiCanvasTexture;
|
|
5013
4936
|
} | undefined;
|
|
5014
4937
|
}
|
|
5015
4938
|
|
|
@@ -5088,6 +5011,7 @@ export interface TransformComponentExtended extends TransformComponent {
|
|
|
5088
5011
|
create(entity: Entity, val?: TransformTypeWithOptionals): TransformType;
|
|
5089
5012
|
// (undocumented)
|
|
5090
5013
|
createOrReplace(entity: Entity, val?: TransformTypeWithOptionals): TransformType;
|
|
5014
|
+
localToWorldDirection(entity: Entity, localDirection: Vector3Type): Vector3Type;
|
|
5091
5015
|
}
|
|
5092
5016
|
|
|
5093
5017
|
// @public (undocumented)
|
|
@@ -5189,6 +5113,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
5189
5113
|
Mode: TweenHelper;
|
|
5190
5114
|
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
5191
5115
|
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
|
5116
|
+
setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
|
|
5192
5117
|
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
5193
5118
|
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
|
5194
5119
|
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -5203,6 +5128,8 @@ export interface TweenHelper {
|
|
|
5203
5128
|
// (undocumented)
|
|
5204
5129
|
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
|
5205
5130
|
// (undocumented)
|
|
5131
|
+
MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
|
|
5132
|
+
// (undocumented)
|
|
5206
5133
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
|
5207
5134
|
// (undocumented)
|
|
5208
5135
|
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
|
@@ -5270,7 +5197,6 @@ export interface UiBackgroundProps {
|
|
|
5270
5197
|
textureMode?: TextureMode;
|
|
5271
5198
|
textureSlices?: BorderRect | undefined;
|
|
5272
5199
|
uvs?: number[];
|
|
5273
|
-
videoTexture?: UiVideoTexture;
|
|
5274
5200
|
}
|
|
5275
5201
|
|
|
5276
5202
|
// @public
|
|
@@ -5279,28 +5205,9 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
5279
5205
|
variant?: 'primary' | 'secondary';
|
|
5280
5206
|
}
|
|
5281
5207
|
|
|
5282
|
-
// @public (undocumented)
|
|
5283
|
-
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5284
|
-
|
|
5285
5208
|
// @public (undocumented)
|
|
5286
5209
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
5287
5210
|
|
|
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
5211
|
// @public (undocumented)
|
|
5305
5212
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
5306
5213
|
|
|
@@ -5355,8 +5262,6 @@ export interface UiLabelProps {
|
|
|
5355
5262
|
color?: PBColor4 | undefined;
|
|
5356
5263
|
font?: UiFontType | undefined;
|
|
5357
5264
|
fontSize?: ScaleUnit | undefined;
|
|
5358
|
-
outlineColor?: PBColor4 | undefined;
|
|
5359
|
-
outlineWidth?: number | undefined;
|
|
5360
5265
|
textAlign?: TextAlignType | undefined;
|
|
5361
5266
|
textWrap?: UiTextWrapType | undefined;
|
|
5362
5267
|
value: string;
|
|
@@ -5371,9 +5276,6 @@ export type UiRendererOptions = {
|
|
|
5371
5276
|
virtualHeight: number;
|
|
5372
5277
|
};
|
|
5373
5278
|
|
|
5374
|
-
// @public (undocumented)
|
|
5375
|
-
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5376
|
-
|
|
5377
5279
|
// @public (undocumented)
|
|
5378
5280
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
5379
5281
|
|
|
@@ -5402,7 +5304,6 @@ export interface UiTransformProps {
|
|
|
5402
5304
|
// (undocumented)
|
|
5403
5305
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
5404
5306
|
display?: DisplayType;
|
|
5405
|
-
elementId?: string;
|
|
5406
5307
|
flex?: number;
|
|
5407
5308
|
flexBasis?: number;
|
|
5408
5309
|
flexDirection?: FlexDirectionType;
|
|
@@ -5422,25 +5323,24 @@ export interface UiTransformProps {
|
|
|
5422
5323
|
pointerFilter?: PointerFilterType;
|
|
5423
5324
|
position?: Partial<Position> | PositionShorthand;
|
|
5424
5325
|
positionType?: PositionType;
|
|
5425
|
-
scrollPosition?: PBVector2 | string;
|
|
5426
|
-
scrollVisible?: ScrollVisibleType;
|
|
5427
5326
|
width?: PositionUnit | 'auto';
|
|
5428
5327
|
zIndex?: number;
|
|
5429
5328
|
}
|
|
5430
5329
|
|
|
5431
|
-
// @public
|
|
5432
|
-
export interface UiVideoTexture {
|
|
5433
|
-
// (undocumented)
|
|
5434
|
-
filterMode?: TextureFilterType;
|
|
5435
|
-
// (undocumented)
|
|
5436
|
-
videoPlayerEntity: Entity;
|
|
5437
|
-
// (undocumented)
|
|
5438
|
-
wrapMode?: TextureWrapType;
|
|
5439
|
-
}
|
|
5440
|
-
|
|
5441
5330
|
// @public (undocumented)
|
|
5442
5331
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5443
5332
|
|
|
5333
|
+
// 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)
|
|
5334
|
+
//
|
|
5335
|
+
// @public (undocumented)
|
|
5336
|
+
export type ValidateCallback<T> = (value: {
|
|
5337
|
+
entity: Entity;
|
|
5338
|
+
currentValue: T | undefined;
|
|
5339
|
+
newValue: T | undefined;
|
|
5340
|
+
senderAddress: string;
|
|
5341
|
+
createdBy: string;
|
|
5342
|
+
}) => boolean;
|
|
5343
|
+
|
|
5444
5344
|
// @public (undocumented)
|
|
5445
5345
|
export type ValueSetOptions<T> = {
|
|
5446
5346
|
timestampFunction: (value: DeepReadonly<T>) => number;
|