@dcl/playground-assets 7.24.5-28985931443.commit-4a0bcfc → 7.24.5-29245621744.commit-336df45
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/etc/playground-assets.api.md +544 -502
- package/package.json +4 -4
- package/dist/alpha.d.ts +0 -10530
- package/dist/beta.d.ts +0 -10497
- package/dist/index.bundled.d.ts +0 -10497
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -47
- package/dist/playground/sdk/apis.d.ts +0 -1714
- package/dist/playground/sdk/dcl-sdk.package.json +0 -39
- package/dist/playground/snippets/billboard.ts +0 -111
- package/dist/playground/snippets/cube-spawner.ts +0 -38
- package/dist/playground/snippets/info.json +0 -1
- package/dist/playground/snippets/material.ts +0 -50
- package/dist/playground/snippets/mesh.ts +0 -63
- package/dist/playground/snippets/pointer-events.ts +0 -66
- package/dist/playground/snippets/raycast-hit-many.ts +0 -64
- package/dist/playground/snippets/raycast-hit.ts +0 -65
- package/dist/playground/snippets/ui-backgrounds.tsx +0 -170
- package/dist/playground/snippets/ui-dropdown.tsx +0 -28
- package/dist/playground/snippets/ui.tsx +0 -132
- package/dist/playground-assets.d.ts +0 -10530
- package/dist/tsdoc-metadata.json +0 -11
- package/etc/playground-assets.api.json +0 -98472
|
@@ -70,31 +70,6 @@ export const assetLoadLoadingStateSystem: AssetLoadLoadingStateSystem;
|
|
|
70
70
|
// @public (undocumented)
|
|
71
71
|
export type AssetLoadLoadingStateSystemCallback = (event: DeepReadonlyObject<PBAssetLoadLoadingState>) => void;
|
|
72
72
|
|
|
73
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysis" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
74
|
-
//
|
|
75
|
-
// @public (undocumented)
|
|
76
|
-
export const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
|
|
77
|
-
|
|
78
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysisComponentDefinitionExtended" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
79
|
-
//
|
|
80
|
-
// @public (undocumented)
|
|
81
|
-
export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
|
|
82
|
-
createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
83
|
-
amplitudeGain?: number, bandsGain?: number): void;
|
|
84
|
-
createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
85
|
-
amplitudeGain?: number, bandsGain?: number): void;
|
|
86
|
-
readIntoView(entity: Entity, out: AudioAnalysisView): void;
|
|
87
|
-
tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysisView" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
91
|
-
//
|
|
92
|
-
// @public
|
|
93
|
-
export type AudioAnalysisView = {
|
|
94
|
-
amplitude: number;
|
|
95
|
-
bands: number[];
|
|
96
|
-
};
|
|
97
|
-
|
|
98
73
|
// @public (undocumented)
|
|
99
74
|
export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
100
75
|
|
|
@@ -182,19 +157,28 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
|
182
157
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
183
158
|
|
|
184
159
|
// @public (undocumented)
|
|
185
|
-
export const
|
|
160
|
+
export const enum AvatarControlType {
|
|
161
|
+
CCT_NONE = 0,
|
|
162
|
+
CCT_RELATIVE = 1,
|
|
163
|
+
CCT_TANK = 2
|
|
164
|
+
}
|
|
186
165
|
|
|
187
166
|
// @public (undocumented)
|
|
188
|
-
export const
|
|
189
|
-
// (undocumented)
|
|
190
|
-
AEM_FULL_BODY = 0,
|
|
191
|
-
// (undocumented)
|
|
192
|
-
AEM_UPPER_BODY = 1
|
|
193
|
-
}
|
|
167
|
+
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
194
168
|
|
|
195
169
|
// @public (undocumented)
|
|
196
170
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
197
171
|
|
|
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
|
+
|
|
198
182
|
// @public (undocumented)
|
|
199
183
|
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
200
184
|
|
|
@@ -204,13 +188,50 @@ export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
204
188
|
// @public (undocumented)
|
|
205
189
|
export const enum AvatarModifierType {
|
|
206
190
|
AMT_DISABLE_PASSPORTS = 1,
|
|
207
|
-
AMT_HIDE_AVATARS = 0
|
|
208
|
-
|
|
191
|
+
AMT_HIDE_AVATARS = 0
|
|
192
|
+
}
|
|
193
|
+
|
|
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;
|
|
209
220
|
}
|
|
210
221
|
|
|
211
222
|
// @public (undocumented)
|
|
212
223
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
213
224
|
|
|
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
|
+
|
|
214
235
|
// @public (undocumented)
|
|
215
236
|
export interface AvatarTexture {
|
|
216
237
|
filterMode?: TextureFilterMode | undefined;
|
|
@@ -413,9 +434,15 @@ export interface ByteBuffer {
|
|
|
413
434
|
writeUtf8String(value: string, writeLength?: boolean): void;
|
|
414
435
|
}
|
|
415
436
|
|
|
416
|
-
// @public
|
|
437
|
+
// @public @deprecated
|
|
417
438
|
export type Callback = () => void;
|
|
418
439
|
|
|
440
|
+
// @public (undocumented)
|
|
441
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
442
|
+
|
|
443
|
+
// @public (undocumented)
|
|
444
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
445
|
+
|
|
419
446
|
// @public (undocumented)
|
|
420
447
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
421
448
|
|
|
@@ -464,6 +491,29 @@ export const enum CameraType {
|
|
|
464
491
|
// @public (undocumented)
|
|
465
492
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
466
493
|
|
|
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
|
+
|
|
467
517
|
// @public (undocumented)
|
|
468
518
|
export const enum ColliderLayer {
|
|
469
519
|
// (undocumented)
|
|
@@ -482,12 +532,13 @@ export const enum ColliderLayer {
|
|
|
482
532
|
CL_CUSTOM7 = 16384,
|
|
483
533
|
// (undocumented)
|
|
484
534
|
CL_CUSTOM8 = 32768,
|
|
485
|
-
CL_MAIN_PLAYER = 8,
|
|
486
535
|
CL_NONE = 0,
|
|
487
536
|
CL_PHYSICS = 2,
|
|
488
537
|
CL_PLAYER = 4,
|
|
489
538
|
CL_POINTER = 1,
|
|
490
539
|
// (undocumented)
|
|
540
|
+
CL_RESERVED2 = 8,
|
|
541
|
+
// (undocumented)
|
|
491
542
|
CL_RESERVED3 = 16,
|
|
492
543
|
// (undocumented)
|
|
493
544
|
CL_RESERVED4 = 32,
|
|
@@ -646,22 +697,6 @@ export type Color4Type = {
|
|
|
646
697
|
a: number;
|
|
647
698
|
};
|
|
648
699
|
|
|
649
|
-
// @public (undocumented)
|
|
650
|
-
export interface ColorRange {
|
|
651
|
-
// (undocumented)
|
|
652
|
-
end: PBColor4 | undefined;
|
|
653
|
-
// (undocumented)
|
|
654
|
-
start: PBColor4 | undefined;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
// @public (undocumented)
|
|
658
|
-
export namespace ColorRange {
|
|
659
|
-
// (undocumented)
|
|
660
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ColorRange;
|
|
661
|
-
// (undocumented)
|
|
662
|
-
export function encode(message: ColorRange, writer?: _m0.Writer): _m0.Writer;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
700
|
// @public (undocumented)
|
|
666
701
|
export interface ComponentData {
|
|
667
702
|
// (undocumented)
|
|
@@ -696,7 +731,6 @@ export const componentDefinitionByName: {
|
|
|
696
731
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
697
732
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
698
733
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
699
|
-
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
700
734
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
701
735
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
702
736
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -706,14 +740,21 @@ export const componentDefinitionByName: {
|
|
|
706
740
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
707
741
|
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
708
742
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
743
|
+
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
744
|
+
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
709
745
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
710
746
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
747
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
748
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
711
749
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
712
750
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
713
751
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
752
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
714
753
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
715
754
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
755
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
716
756
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
757
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
717
758
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
718
759
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
719
760
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -721,9 +762,6 @@ export const componentDefinitionByName: {
|
|
|
721
762
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
722
763
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
723
764
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
724
|
-
"core::ParticleSystem": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBParticleSystem>>;
|
|
725
|
-
"core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
|
|
726
|
-
"core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
|
|
727
765
|
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
|
728
766
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
|
729
767
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
|
@@ -734,17 +772,20 @@ export const componentDefinitionByName: {
|
|
|
734
772
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
735
773
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
736
774
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
775
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
737
776
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
738
777
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
739
778
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
740
779
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
741
780
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
742
781
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
782
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
743
783
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
744
784
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
745
785
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
746
786
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
747
787
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
788
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
748
789
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
749
790
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
750
791
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -772,7 +813,7 @@ export namespace Composite {
|
|
|
772
813
|
export function fromBinary(buffer: Uint8Array): Composite.Definition;
|
|
773
814
|
// (undocumented)
|
|
774
815
|
export function fromJson(object: any): Composite.Definition;
|
|
775
|
-
export function instance(engine: IEngine, compositeData: Composite.Resource, compositeProvider: CompositeProvider, options?: InstanceCompositeOptions):
|
|
816
|
+
export function instance(engine: IEngine, compositeData: Composite.Resource, compositeProvider: CompositeProvider, options?: InstanceCompositeOptions): void;
|
|
776
817
|
// (undocumented)
|
|
777
818
|
export type Provider = CompositeProvider;
|
|
778
819
|
export function resolveAndNormalizePath(src: string, cwd?: string): string;
|
|
@@ -849,11 +890,6 @@ export namespace CompositeDefinition {
|
|
|
849
890
|
// @public (undocumented)
|
|
850
891
|
export type CompositeProvider = {
|
|
851
892
|
getCompositeOrNull(src: string): CompositeResource | null;
|
|
852
|
-
loadComposite?: (src: string) => Promise<CompositeResource>;
|
|
853
|
-
schemas?: Iterable<{
|
|
854
|
-
name: string;
|
|
855
|
-
jsonSchema: any;
|
|
856
|
-
}>;
|
|
857
893
|
};
|
|
858
894
|
|
|
859
895
|
// @public (undocumented)
|
|
@@ -1187,10 +1223,18 @@ export type EntityComponents = {
|
|
|
1187
1223
|
uiBackground: PBUiBackground;
|
|
1188
1224
|
uiInput: PBUiInput;
|
|
1189
1225
|
uiDropdown: PBUiDropdown;
|
|
1190
|
-
onMouseDown:
|
|
1191
|
-
onMouseUp:
|
|
1192
|
-
onMouseEnter:
|
|
1193
|
-
onMouseLeave:
|
|
1226
|
+
onMouseDown: EventSystemCallback;
|
|
1227
|
+
onMouseUp: EventSystemCallback;
|
|
1228
|
+
onMouseEnter: EventSystemCallback;
|
|
1229
|
+
onMouseLeave: EventSystemCallback;
|
|
1230
|
+
onMouseDrag: EventSystemCallback;
|
|
1231
|
+
onMouseDragLocked: EventSystemCallback;
|
|
1232
|
+
onMouseDragEnd: EventSystemCallback;
|
|
1233
|
+
onInputDown: MultiCallback;
|
|
1234
|
+
onInputUp: MultiCallback;
|
|
1235
|
+
onInputDrag: MultiCallback;
|
|
1236
|
+
onInputDragLocked: MultiCallback;
|
|
1237
|
+
onInputDragEnd: MultiCallback;
|
|
1194
1238
|
};
|
|
1195
1239
|
|
|
1196
1240
|
// @public (undocumented)
|
|
@@ -1241,7 +1285,11 @@ export type EventSystemOptions = {
|
|
|
1241
1285
|
showFeedback?: boolean;
|
|
1242
1286
|
showHighlight?: boolean;
|
|
1243
1287
|
maxPlayerDistance?: number;
|
|
1244
|
-
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
// @public (undocumented)
|
|
1291
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1292
|
+
cb: EventSystemCallback;
|
|
1245
1293
|
};
|
|
1246
1294
|
|
|
1247
1295
|
// @public
|
|
@@ -1288,22 +1336,6 @@ export type FlexWrapType = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
|
1288
1336
|
// @public (undocumented)
|
|
1289
1337
|
export type FloatArray = number[];
|
|
1290
1338
|
|
|
1291
|
-
// @public (undocumented)
|
|
1292
|
-
export interface FloatRange {
|
|
1293
|
-
// (undocumented)
|
|
1294
|
-
end: number;
|
|
1295
|
-
// (undocumented)
|
|
1296
|
-
start: number;
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
// @public (undocumented)
|
|
1300
|
-
export namespace FloatRange {
|
|
1301
|
-
// (undocumented)
|
|
1302
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): FloatRange;
|
|
1303
|
-
// (undocumented)
|
|
1304
|
-
export function encode(message: FloatRange, writer?: _m0.Writer): _m0.Writer;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
1339
|
// @public (undocumented)
|
|
1308
1340
|
export const enum Font {
|
|
1309
1341
|
// (undocumented)
|
|
@@ -1319,9 +1351,6 @@ export function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEntitiesWith
|
|
|
1319
1351
|
parent?: Entity;
|
|
1320
1352
|
}>): Generator<Entity>;
|
|
1321
1353
|
|
|
1322
|
-
// @public
|
|
1323
|
-
export function getCompositeProvider(): CompositeProvider | null;
|
|
1324
|
-
|
|
1325
1354
|
// @public @deprecated (undocumented)
|
|
1326
1355
|
export function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
|
|
1327
1356
|
|
|
@@ -1354,6 +1383,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1354
1383
|
direction?: PBVector3;
|
|
1355
1384
|
};
|
|
1356
1385
|
|
|
1386
|
+
// @public (undocumented)
|
|
1387
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1388
|
+
|
|
1357
1389
|
// 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)
|
|
1358
1390
|
//
|
|
1359
1391
|
// @public (undocumented)
|
|
@@ -1372,9 +1404,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1372
1404
|
// @public (undocumented)
|
|
1373
1405
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1374
1406
|
|
|
1407
|
+
// @public (undocumented)
|
|
1408
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1409
|
+
|
|
1375
1410
|
// @public (undocumented)
|
|
1376
1411
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1377
1412
|
|
|
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
|
+
|
|
1378
1426
|
// @public (undocumented)
|
|
1379
1427
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1380
1428
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1499,6 +1547,7 @@ export type IInputSystem = {
|
|
|
1499
1547
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1500
1548
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1501
1549
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1550
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1502
1551
|
};
|
|
1503
1552
|
|
|
1504
1553
|
// @public
|
|
@@ -1583,7 +1632,6 @@ export const enum InputAction {
|
|
|
1583
1632
|
IA_JUMP = 8,
|
|
1584
1633
|
// (undocumented)
|
|
1585
1634
|
IA_LEFT = 7,
|
|
1586
|
-
IA_MODIFIER = 14,
|
|
1587
1635
|
// (undocumented)
|
|
1588
1636
|
IA_POINTER = 0,
|
|
1589
1637
|
// (undocumented)
|
|
@@ -1628,19 +1676,6 @@ export type InstanceCompositeOptions = {
|
|
|
1628
1676
|
alreadyRequestedSrc?: Set<string>;
|
|
1629
1677
|
};
|
|
1630
1678
|
|
|
1631
|
-
// Warning: (tsdoc-undefined-tag) The TSDoc tag "@category" is not defined in this configuration
|
|
1632
|
-
//
|
|
1633
|
-
// @public
|
|
1634
|
-
export function InteractableArea(props: UiInteractableAreaProps): ReactEcs.JSX.Element;
|
|
1635
|
-
|
|
1636
|
-
// @public (undocumented)
|
|
1637
|
-
export const enum InteractionType {
|
|
1638
|
-
// (undocumented)
|
|
1639
|
-
CURSOR = 0,
|
|
1640
|
-
// (undocumented)
|
|
1641
|
-
PROXIMITY = 1
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
1679
|
// @public (undocumented)
|
|
1645
1680
|
export interface ISchema<T = any> {
|
|
1646
1681
|
// (undocumented)
|
|
@@ -1715,13 +1750,6 @@ export type JustifyType = 'flex-start' | 'center' | 'flex-end' | 'space-between'
|
|
|
1715
1750
|
// @public
|
|
1716
1751
|
export type Key = number | string;
|
|
1717
1752
|
|
|
1718
|
-
// @public
|
|
1719
|
-
export enum KnockbackFalloff {
|
|
1720
|
-
CONSTANT = 0,
|
|
1721
|
-
INVERSE_SQUARE = 2,
|
|
1722
|
-
LINEAR = 1
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
1753
|
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
1726
1754
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
1727
1755
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
@@ -1769,10 +1797,18 @@ export interface LightSourceHelper {
|
|
|
1769
1797
|
|
|
1770
1798
|
// @public
|
|
1771
1799
|
export type Listeners = {
|
|
1772
|
-
onMouseDown?:
|
|
1773
|
-
onMouseUp?:
|
|
1774
|
-
onMouseEnter?:
|
|
1775
|
-
onMouseLeave?:
|
|
1800
|
+
onMouseDown?: EventSystemCallback;
|
|
1801
|
+
onMouseUp?: EventSystemCallback;
|
|
1802
|
+
onMouseEnter?: EventSystemCallback;
|
|
1803
|
+
onMouseLeave?: EventSystemCallback;
|
|
1804
|
+
onMouseDrag?: EventSystemCallback;
|
|
1805
|
+
onMouseDragLocked?: EventSystemCallback;
|
|
1806
|
+
onMouseDragEnd?: EventSystemCallback;
|
|
1807
|
+
onInputDown?: MultiCallback;
|
|
1808
|
+
onInputUp?: MultiCallback;
|
|
1809
|
+
onInputDrag?: MultiCallback;
|
|
1810
|
+
onInputDragLocked?: MultiCallback;
|
|
1811
|
+
onInputDragEnd?: MultiCallback;
|
|
1776
1812
|
};
|
|
1777
1813
|
|
|
1778
1814
|
// @public (undocumented)
|
|
@@ -2016,6 +2052,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
2016
2052
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
2017
2053
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2018
2054
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2055
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2019
2056
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2020
2057
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2021
2058
|
}
|
|
@@ -2029,6 +2066,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
2029
2066
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
2030
2067
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
2031
2068
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2069
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
2032
2070
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
2033
2071
|
setSphere(entity: Entity): void;
|
|
2034
2072
|
}
|
|
@@ -2076,45 +2114,19 @@ export namespace MoveContinuous {
|
|
|
2076
2114
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2077
2115
|
}
|
|
2078
2116
|
|
|
2079
|
-
//
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
scaleEnd: PBVector3 | undefined;
|
|
2091
|
-
// (undocumented)
|
|
2092
|
-
scaleStart: PBVector3 | undefined;
|
|
2093
|
-
}
|
|
2094
|
-
|
|
2095
|
-
// @public (undocumented)
|
|
2096
|
-
export namespace MoveRotateScale {
|
|
2097
|
-
// (undocumented)
|
|
2098
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale;
|
|
2099
|
-
// (undocumented)
|
|
2100
|
-
export function encode(message: MoveRotateScale, writer?: _m0.Writer): _m0.Writer;
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2117
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2118
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2119
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2120
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2121
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2122
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2123
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2124
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2125
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2126
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2127
|
+
//
|
|
2103
2128
|
// @public
|
|
2104
|
-
export
|
|
2105
|
-
position?: {
|
|
2106
|
-
start: PBVector3;
|
|
2107
|
-
end: PBVector3;
|
|
2108
|
-
};
|
|
2109
|
-
rotation?: {
|
|
2110
|
-
start: PBQuaternion;
|
|
2111
|
-
end: PBQuaternion;
|
|
2112
|
-
};
|
|
2113
|
-
scale?: {
|
|
2114
|
-
start: PBVector3;
|
|
2115
|
-
end: PBVector3;
|
|
2116
|
-
};
|
|
2117
|
-
}
|
|
2129
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
|
2118
2130
|
|
|
2119
2131
|
// 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)
|
|
2120
2132
|
//
|
|
@@ -2322,27 +2334,22 @@ export const onVideoEvent: Observable<{
|
|
|
2322
2334
|
totalVideoLength: number;
|
|
2323
2335
|
}>;
|
|
2324
2336
|
|
|
2325
|
-
// @public
|
|
2326
|
-
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2327
|
-
|
|
2328
|
-
// 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)
|
|
2329
|
-
//
|
|
2330
|
-
// @public (undocumented)
|
|
2331
|
-
export const ParticleSystem: ParticleSystemComponentDefinitionExtended;
|
|
2332
|
-
|
|
2333
2337
|
// @public (undocumented)
|
|
2334
|
-
export interface
|
|
2335
|
-
|
|
2338
|
+
export interface Orthographic {
|
|
2339
|
+
verticalRange?: number | undefined;
|
|
2336
2340
|
}
|
|
2337
2341
|
|
|
2338
2342
|
// @public (undocumented)
|
|
2339
|
-
export
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
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;
|
|
2344
2348
|
}
|
|
2345
2349
|
|
|
2350
|
+
// @public
|
|
2351
|
+
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2352
|
+
|
|
2346
2353
|
// @public (undocumented)
|
|
2347
2354
|
export interface PBAnimationState {
|
|
2348
2355
|
clip: string;
|
|
@@ -2403,46 +2410,6 @@ export namespace PBAssetLoadLoadingState {
|
|
|
2403
2410
|
export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2404
2411
|
}
|
|
2405
2412
|
|
|
2406
|
-
// @public (undocumented)
|
|
2407
|
-
export interface PBAudioAnalysis {
|
|
2408
|
-
amplitude: number;
|
|
2409
|
-
amplitudeGain?: number | undefined;
|
|
2410
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2411
|
-
band0: number;
|
|
2412
|
-
// (undocumented)
|
|
2413
|
-
band1: number;
|
|
2414
|
-
// (undocumented)
|
|
2415
|
-
band2: number;
|
|
2416
|
-
// (undocumented)
|
|
2417
|
-
band3: number;
|
|
2418
|
-
// (undocumented)
|
|
2419
|
-
band4: number;
|
|
2420
|
-
// (undocumented)
|
|
2421
|
-
band5: number;
|
|
2422
|
-
// (undocumented)
|
|
2423
|
-
band6: number;
|
|
2424
|
-
// (undocumented)
|
|
2425
|
-
band7: number;
|
|
2426
|
-
bandsGain?: number | undefined;
|
|
2427
|
-
mode: PBAudioAnalysisMode;
|
|
2428
|
-
}
|
|
2429
|
-
|
|
2430
|
-
// @public (undocumented)
|
|
2431
|
-
export namespace PBAudioAnalysis {
|
|
2432
|
-
// (undocumented)
|
|
2433
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
|
|
2434
|
-
// (undocumented)
|
|
2435
|
-
export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
|
-
// @public (undocumented)
|
|
2439
|
-
export const enum PBAudioAnalysisMode {
|
|
2440
|
-
// (undocumented)
|
|
2441
|
-
MODE_LOGARITHMIC = 1,
|
|
2442
|
-
// (undocumented)
|
|
2443
|
-
MODE_RAW = 0
|
|
2444
|
-
}
|
|
2445
|
-
|
|
2446
2413
|
// @public (undocumented)
|
|
2447
2414
|
export interface PBAudioEvent {
|
|
2448
2415
|
// (undocumented)
|
|
@@ -2552,6 +2519,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2552
2519
|
export interface PBAvatarEquippedData {
|
|
2553
2520
|
// (undocumented)
|
|
2554
2521
|
emoteUrns: string[];
|
|
2522
|
+
forceRender: string[];
|
|
2555
2523
|
// (undocumented)
|
|
2556
2524
|
wearableUrns: string[];
|
|
2557
2525
|
}
|
|
@@ -2566,9 +2534,6 @@ export namespace PBAvatarEquippedData {
|
|
|
2566
2534
|
|
|
2567
2535
|
// @public (undocumented)
|
|
2568
2536
|
export interface PBAvatarLocomotionSettings {
|
|
2569
|
-
doubleJumpHeight?: number | undefined;
|
|
2570
|
-
glidingFallingSpeed?: number | undefined;
|
|
2571
|
-
glidingSpeed?: number | undefined;
|
|
2572
2537
|
hardLandingCooldown?: number | undefined;
|
|
2573
2538
|
jogSpeed?: number | undefined;
|
|
2574
2539
|
jumpHeight?: number | undefined;
|
|
@@ -2590,6 +2555,9 @@ export interface PBAvatarModifierArea {
|
|
|
2590
2555
|
area: PBVector3 | undefined;
|
|
2591
2556
|
excludeIds: string[];
|
|
2592
2557
|
modifiers: AvatarModifierType[];
|
|
2558
|
+
// (undocumented)
|
|
2559
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
2560
|
+
useColliderRange?: boolean | undefined;
|
|
2593
2561
|
}
|
|
2594
2562
|
|
|
2595
2563
|
// @public (undocumented)
|
|
@@ -2600,6 +2568,40 @@ export namespace PBAvatarModifierArea {
|
|
|
2600
2568
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2601
2569
|
}
|
|
2602
2570
|
|
|
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
|
+
|
|
2603
2605
|
// @public (undocumented)
|
|
2604
2606
|
export interface PBAvatarShape {
|
|
2605
2607
|
bodyShape?: string | undefined;
|
|
@@ -2607,6 +2609,7 @@ export interface PBAvatarShape {
|
|
|
2607
2609
|
expressionTriggerId?: string | undefined;
|
|
2608
2610
|
expressionTriggerTimestamp?: number | undefined;
|
|
2609
2611
|
eyeColor?: PBColor3 | undefined;
|
|
2612
|
+
forceRender: string[];
|
|
2610
2613
|
hairColor?: PBColor3 | undefined;
|
|
2611
2614
|
id: string;
|
|
2612
2615
|
name?: string | undefined;
|
|
@@ -2627,7 +2630,6 @@ export namespace PBAvatarShape {
|
|
|
2627
2630
|
// @public (undocumented)
|
|
2628
2631
|
export interface PBBillboard {
|
|
2629
2632
|
billboardMode?: BillboardMode | undefined;
|
|
2630
|
-
targetEntity?: number | undefined;
|
|
2631
2633
|
}
|
|
2632
2634
|
|
|
2633
2635
|
// @public (undocumented)
|
|
@@ -2638,6 +2640,42 @@ export namespace PBBillboard {
|
|
|
2638
2640
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2639
2641
|
}
|
|
2640
2642
|
|
|
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
|
+
|
|
2641
2679
|
// @public (undocumented)
|
|
2642
2680
|
export interface PBCameraMode {
|
|
2643
2681
|
mode: CameraType;
|
|
@@ -2654,7 +2692,10 @@ export namespace PBCameraMode {
|
|
|
2654
2692
|
// @public (undocumented)
|
|
2655
2693
|
export interface PBCameraModeArea {
|
|
2656
2694
|
area: PBVector3 | undefined;
|
|
2695
|
+
// (undocumented)
|
|
2696
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
2657
2697
|
mode: CameraType;
|
|
2698
|
+
useColliderRange?: boolean | undefined;
|
|
2658
2699
|
}
|
|
2659
2700
|
|
|
2660
2701
|
// @public (undocumented)
|
|
@@ -2718,6 +2759,21 @@ export namespace PBEngineInfo {
|
|
|
2718
2759
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2719
2760
|
}
|
|
2720
2761
|
|
|
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
|
+
|
|
2721
2777
|
// @public (undocumented)
|
|
2722
2778
|
export interface PBGltfContainer {
|
|
2723
2779
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2735,8 +2791,13 @@ export namespace PBGltfContainer {
|
|
|
2735
2791
|
|
|
2736
2792
|
// @public (undocumented)
|
|
2737
2793
|
export interface PBGltfContainerLoadingState {
|
|
2794
|
+
animationNames: string[];
|
|
2738
2795
|
// (undocumented)
|
|
2739
2796
|
currentState: LoadingState;
|
|
2797
|
+
materialNames: string[];
|
|
2798
|
+
meshNames: string[];
|
|
2799
|
+
nodePaths: string[];
|
|
2800
|
+
skinNames: string[];
|
|
2740
2801
|
}
|
|
2741
2802
|
|
|
2742
2803
|
// @public (undocumented)
|
|
@@ -2747,6 +2808,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2747
2808
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2748
2809
|
}
|
|
2749
2810
|
|
|
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
|
+
|
|
2750
2824
|
// @public (undocumented)
|
|
2751
2825
|
export interface PBGltfNodeModifiers {
|
|
2752
2826
|
// (undocumented)
|
|
@@ -2776,6 +2850,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2776
2850
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2777
2851
|
}
|
|
2778
2852
|
|
|
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
|
+
|
|
2779
2869
|
// @public (undocumented)
|
|
2780
2870
|
export interface PBInputModifier {
|
|
2781
2871
|
// (undocumented)
|
|
@@ -2798,12 +2888,8 @@ export interface PBInputModifier_StandardInput {
|
|
|
2798
2888
|
// (undocumented)
|
|
2799
2889
|
disableAll?: boolean | undefined;
|
|
2800
2890
|
// (undocumented)
|
|
2801
|
-
disableDoubleJump?: boolean | undefined;
|
|
2802
|
-
// (undocumented)
|
|
2803
2891
|
disableEmote?: boolean | undefined;
|
|
2804
2892
|
// (undocumented)
|
|
2805
|
-
disableGliding?: boolean | undefined;
|
|
2806
|
-
// (undocumented)
|
|
2807
2893
|
disableJog?: boolean | undefined;
|
|
2808
2894
|
// (undocumented)
|
|
2809
2895
|
disableJump?: boolean | undefined;
|
|
@@ -2888,6 +2974,7 @@ export namespace PBMainCamera {
|
|
|
2888
2974
|
|
|
2889
2975
|
// @public (undocumented)
|
|
2890
2976
|
export interface PBMaterial {
|
|
2977
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2891
2978
|
// (undocumented)
|
|
2892
2979
|
material?: {
|
|
2893
2980
|
$case: "unlit";
|
|
@@ -2906,6 +2993,22 @@ export namespace PBMaterial {
|
|
|
2906
2993
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2907
2994
|
}
|
|
2908
2995
|
|
|
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
|
+
|
|
2909
3012
|
// @public (undocumented)
|
|
2910
3013
|
export interface PBMaterial_PbrMaterial {
|
|
2911
3014
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -2967,6 +3070,9 @@ export interface PBMeshCollider {
|
|
|
2967
3070
|
} | {
|
|
2968
3071
|
$case: "plane";
|
|
2969
3072
|
plane: PBMeshCollider_PlaneMesh;
|
|
3073
|
+
} | {
|
|
3074
|
+
$case: "gltf";
|
|
3075
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
2970
3076
|
} | undefined;
|
|
2971
3077
|
}
|
|
2972
3078
|
|
|
@@ -3004,6 +3110,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
3004
3110
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3005
3111
|
}
|
|
3006
3112
|
|
|
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
|
+
|
|
3007
3127
|
// @public (undocumented)
|
|
3008
3128
|
export interface PBMeshCollider_PlaneMesh {
|
|
3009
3129
|
}
|
|
@@ -3043,6 +3163,9 @@ export interface PBMeshRenderer {
|
|
|
3043
3163
|
} | {
|
|
3044
3164
|
$case: "plane";
|
|
3045
3165
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3166
|
+
} | {
|
|
3167
|
+
$case: "gltf";
|
|
3168
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
3046
3169
|
} | undefined;
|
|
3047
3170
|
}
|
|
3048
3171
|
|
|
@@ -3081,6 +3204,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
3081
3204
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3082
3205
|
}
|
|
3083
3206
|
|
|
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
|
+
|
|
3084
3221
|
// @public (undocumented)
|
|
3085
3222
|
export interface PBMeshRenderer_PlaneMesh {
|
|
3086
3223
|
uvs: number[];
|
|
@@ -3121,225 +3258,6 @@ export namespace PBNftShape {
|
|
|
3121
3258
|
export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
|
|
3122
3259
|
}
|
|
3123
3260
|
|
|
3124
|
-
// @public (undocumented)
|
|
3125
|
-
export interface PBParticleSystem {
|
|
3126
|
-
active?: boolean | undefined;
|
|
3127
|
-
additionalForce?: PBVector3 | undefined;
|
|
3128
|
-
billboard?: boolean | undefined;
|
|
3129
|
-
blendMode?: PBParticleSystem_BlendMode | undefined;
|
|
3130
|
-
bursts?: PBParticleSystem_BurstConfiguration | undefined;
|
|
3131
|
-
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3132
|
-
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3133
|
-
colorOverTime?: ColorRange | undefined;
|
|
3134
|
-
faceTravelDirection?: boolean | undefined;
|
|
3135
|
-
gravity?: number | undefined;
|
|
3136
|
-
initialColor?: ColorRange | undefined;
|
|
3137
|
-
initialRotation?: PBQuaternion | undefined;
|
|
3138
|
-
initialSize?: FloatRange | undefined;
|
|
3139
|
-
initialVelocitySpeed?: FloatRange | undefined;
|
|
3140
|
-
lifetime?: number | undefined;
|
|
3141
|
-
limitVelocity?: PBParticleSystem_LimitVelocity | undefined;
|
|
3142
|
-
loop?: boolean | undefined;
|
|
3143
|
-
maxParticles?: number | undefined;
|
|
3144
|
-
playbackState?: PBParticleSystem_PlaybackState | undefined;
|
|
3145
|
-
prewarm?: boolean | undefined;
|
|
3146
|
-
rate?: number | undefined;
|
|
3147
|
-
rotationOverTime?: PBQuaternion | undefined;
|
|
3148
|
-
// (undocumented)
|
|
3149
|
-
shape?: {
|
|
3150
|
-
$case: "point";
|
|
3151
|
-
point: PBParticleSystem_Point;
|
|
3152
|
-
} | {
|
|
3153
|
-
$case: "sphere";
|
|
3154
|
-
sphere: PBParticleSystem_Sphere;
|
|
3155
|
-
} | {
|
|
3156
|
-
$case: "cone";
|
|
3157
|
-
cone: PBParticleSystem_Cone;
|
|
3158
|
-
} | {
|
|
3159
|
-
$case: "box";
|
|
3160
|
-
box: PBParticleSystem_Box;
|
|
3161
|
-
} | undefined;
|
|
3162
|
-
simulationSpace?: PBParticleSystem_SimulationSpace | undefined;
|
|
3163
|
-
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3164
|
-
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3165
|
-
sizeOverTime?: FloatRange | undefined;
|
|
3166
|
-
spriteSheet?: PBParticleSystem_SpriteSheetAnimation | undefined;
|
|
3167
|
-
texture?: Texture | undefined;
|
|
3168
|
-
}
|
|
3169
|
-
|
|
3170
|
-
// @public (undocumented)
|
|
3171
|
-
export namespace PBParticleSystem {
|
|
3172
|
-
// (undocumented)
|
|
3173
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem;
|
|
3174
|
-
// (undocumented)
|
|
3175
|
-
export function encode(message: PBParticleSystem, writer?: _m0.Writer): _m0.Writer;
|
|
3176
|
-
}
|
|
3177
|
-
|
|
3178
|
-
// @public (undocumented)
|
|
3179
|
-
const enum PBParticleSystem_BlendMode {
|
|
3180
|
-
PSB_ADD = 1,
|
|
3181
|
-
PSB_ALPHA = 0,
|
|
3182
|
-
PSB_MULTIPLY = 2
|
|
3183
|
-
}
|
|
3184
|
-
export { PBParticleSystem_BlendMode }
|
|
3185
|
-
export { PBParticleSystem_BlendMode as ParticleSystemBlendMode }
|
|
3186
|
-
|
|
3187
|
-
// @public (undocumented)
|
|
3188
|
-
export interface PBParticleSystem_Box {
|
|
3189
|
-
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
3190
|
-
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
3191
|
-
size?: PBVector3 | undefined;
|
|
3192
|
-
}
|
|
3193
|
-
|
|
3194
|
-
// @public (undocumented)
|
|
3195
|
-
export namespace PBParticleSystem_Box {
|
|
3196
|
-
// (undocumented)
|
|
3197
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Box;
|
|
3198
|
-
// (undocumented)
|
|
3199
|
-
export function encode(message: PBParticleSystem_Box, writer?: _m0.Writer): _m0.Writer;
|
|
3200
|
-
}
|
|
3201
|
-
|
|
3202
|
-
// @public (undocumented)
|
|
3203
|
-
export interface PBParticleSystem_Burst {
|
|
3204
|
-
count: number;
|
|
3205
|
-
cycles?: number | undefined;
|
|
3206
|
-
interval?: number | undefined;
|
|
3207
|
-
probability?: number | undefined;
|
|
3208
|
-
time: number;
|
|
3209
|
-
}
|
|
3210
|
-
|
|
3211
|
-
// @public (undocumented)
|
|
3212
|
-
export namespace PBParticleSystem_Burst {
|
|
3213
|
-
// (undocumented)
|
|
3214
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Burst;
|
|
3215
|
-
// (undocumented)
|
|
3216
|
-
export function encode(message: PBParticleSystem_Burst, writer?: _m0.Writer): _m0.Writer;
|
|
3217
|
-
}
|
|
3218
|
-
|
|
3219
|
-
// @public (undocumented)
|
|
3220
|
-
export interface PBParticleSystem_BurstConfiguration {
|
|
3221
|
-
// (undocumented)
|
|
3222
|
-
values: PBParticleSystem_Burst[];
|
|
3223
|
-
}
|
|
3224
|
-
|
|
3225
|
-
// @public (undocumented)
|
|
3226
|
-
export namespace PBParticleSystem_BurstConfiguration {
|
|
3227
|
-
// (undocumented)
|
|
3228
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_BurstConfiguration;
|
|
3229
|
-
// (undocumented)
|
|
3230
|
-
export function encode(message: PBParticleSystem_BurstConfiguration, writer?: _m0.Writer): _m0.Writer;
|
|
3231
|
-
}
|
|
3232
|
-
|
|
3233
|
-
// @public (undocumented)
|
|
3234
|
-
export interface PBParticleSystem_Cone {
|
|
3235
|
-
angle?: number | undefined;
|
|
3236
|
-
radius?: number | undefined;
|
|
3237
|
-
}
|
|
3238
|
-
|
|
3239
|
-
// @public (undocumented)
|
|
3240
|
-
export namespace PBParticleSystem_Cone {
|
|
3241
|
-
// (undocumented)
|
|
3242
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Cone;
|
|
3243
|
-
// (undocumented)
|
|
3244
|
-
export function encode(message: PBParticleSystem_Cone, writer?: _m0.Writer): _m0.Writer;
|
|
3245
|
-
}
|
|
3246
|
-
|
|
3247
|
-
// @public (undocumented)
|
|
3248
|
-
export interface PBParticleSystem_LimitVelocity {
|
|
3249
|
-
dampen?: number | undefined;
|
|
3250
|
-
speed: number;
|
|
3251
|
-
}
|
|
3252
|
-
|
|
3253
|
-
// @public (undocumented)
|
|
3254
|
-
export namespace PBParticleSystem_LimitVelocity {
|
|
3255
|
-
// (undocumented)
|
|
3256
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_LimitVelocity;
|
|
3257
|
-
// (undocumented)
|
|
3258
|
-
export function encode(message: PBParticleSystem_LimitVelocity, writer?: _m0.Writer): _m0.Writer;
|
|
3259
|
-
}
|
|
3260
|
-
|
|
3261
|
-
// @public (undocumented)
|
|
3262
|
-
const enum PBParticleSystem_PlaybackState {
|
|
3263
|
-
PS_PAUSED = 1,
|
|
3264
|
-
PS_PLAYING = 0,
|
|
3265
|
-
PS_STOPPED = 2
|
|
3266
|
-
}
|
|
3267
|
-
export { PBParticleSystem_PlaybackState }
|
|
3268
|
-
export { PBParticleSystem_PlaybackState as ParticleSystemPlaybackState }
|
|
3269
|
-
|
|
3270
|
-
// @public (undocumented)
|
|
3271
|
-
export interface PBParticleSystem_Point {
|
|
3272
|
-
}
|
|
3273
|
-
|
|
3274
|
-
// @public (undocumented)
|
|
3275
|
-
export namespace PBParticleSystem_Point {
|
|
3276
|
-
// (undocumented)
|
|
3277
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Point;
|
|
3278
|
-
// (undocumented)
|
|
3279
|
-
export function encode(_: PBParticleSystem_Point, writer?: _m0.Writer): _m0.Writer;
|
|
3280
|
-
}
|
|
3281
|
-
|
|
3282
|
-
// @public (undocumented)
|
|
3283
|
-
export const enum PBParticleSystem_SimulationSpace {
|
|
3284
|
-
PSS_LOCAL = 0,
|
|
3285
|
-
PSS_WORLD = 1
|
|
3286
|
-
}
|
|
3287
|
-
|
|
3288
|
-
// @public (undocumented)
|
|
3289
|
-
export interface PBParticleSystem_Sphere {
|
|
3290
|
-
radius?: number | undefined;
|
|
3291
|
-
}
|
|
3292
|
-
|
|
3293
|
-
// @public (undocumented)
|
|
3294
|
-
export namespace PBParticleSystem_Sphere {
|
|
3295
|
-
// (undocumented)
|
|
3296
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Sphere;
|
|
3297
|
-
// (undocumented)
|
|
3298
|
-
export function encode(message: PBParticleSystem_Sphere, writer?: _m0.Writer): _m0.Writer;
|
|
3299
|
-
}
|
|
3300
|
-
|
|
3301
|
-
// @public (undocumented)
|
|
3302
|
-
export interface PBParticleSystem_SpriteSheetAnimation {
|
|
3303
|
-
framesPerSecond?: number | undefined;
|
|
3304
|
-
tilesX: number;
|
|
3305
|
-
tilesY: number;
|
|
3306
|
-
}
|
|
3307
|
-
|
|
3308
|
-
// @public (undocumented)
|
|
3309
|
-
export namespace PBParticleSystem_SpriteSheetAnimation {
|
|
3310
|
-
// (undocumented)
|
|
3311
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_SpriteSheetAnimation;
|
|
3312
|
-
// (undocumented)
|
|
3313
|
-
export function encode(message: PBParticleSystem_SpriteSheetAnimation, writer?: _m0.Writer): _m0.Writer;
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
// @public (undocumented)
|
|
3317
|
-
export interface PBPhysicsCombinedForce {
|
|
3318
|
-
vector: PBVector3 | undefined;
|
|
3319
|
-
}
|
|
3320
|
-
|
|
3321
|
-
// @public (undocumented)
|
|
3322
|
-
export namespace PBPhysicsCombinedForce {
|
|
3323
|
-
// (undocumented)
|
|
3324
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedForce;
|
|
3325
|
-
// (undocumented)
|
|
3326
|
-
export function encode(message: PBPhysicsCombinedForce, writer?: _m0.Writer): _m0.Writer;
|
|
3327
|
-
}
|
|
3328
|
-
|
|
3329
|
-
// @public (undocumented)
|
|
3330
|
-
export interface PBPhysicsCombinedImpulse {
|
|
3331
|
-
eventId: number;
|
|
3332
|
-
vector: PBVector3 | undefined;
|
|
3333
|
-
}
|
|
3334
|
-
|
|
3335
|
-
// @public (undocumented)
|
|
3336
|
-
export namespace PBPhysicsCombinedImpulse {
|
|
3337
|
-
// (undocumented)
|
|
3338
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedImpulse;
|
|
3339
|
-
// (undocumented)
|
|
3340
|
-
export function encode(message: PBPhysicsCombinedImpulse, writer?: _m0.Writer): _m0.Writer;
|
|
3341
|
-
}
|
|
3342
|
-
|
|
3343
3261
|
// @public (undocumented)
|
|
3344
3262
|
export interface PBPlayerIdentityData {
|
|
3345
3263
|
address: string;
|
|
@@ -3372,7 +3290,6 @@ export namespace PBPointerEvents {
|
|
|
3372
3290
|
export interface PBPointerEvents_Entry {
|
|
3373
3291
|
eventInfo: PBPointerEvents_Info | undefined;
|
|
3374
3292
|
eventType: PointerEventType;
|
|
3375
|
-
interactionType?: InteractionType | undefined;
|
|
3376
3293
|
}
|
|
3377
3294
|
|
|
3378
3295
|
// @public (undocumented)
|
|
@@ -3389,7 +3306,6 @@ export interface PBPointerEvents_Info {
|
|
|
3389
3306
|
hoverText?: string | undefined;
|
|
3390
3307
|
maxDistance?: number | undefined;
|
|
3391
3308
|
maxPlayerDistance?: number | undefined;
|
|
3392
|
-
priority?: number | undefined;
|
|
3393
3309
|
showFeedback?: boolean | undefined;
|
|
3394
3310
|
showHighlight?: boolean | undefined;
|
|
3395
3311
|
}
|
|
@@ -3507,9 +3423,11 @@ export interface PBRaycast {
|
|
|
3507
3423
|
$case: "targetEntity";
|
|
3508
3424
|
targetEntity: number;
|
|
3509
3425
|
} | undefined;
|
|
3426
|
+
includeWorld?: boolean | undefined;
|
|
3510
3427
|
maxDistance: number;
|
|
3511
3428
|
originOffset?: PBVector3 | undefined;
|
|
3512
3429
|
queryType: RaycastQueryType;
|
|
3430
|
+
shape?: RaycastShape | undefined;
|
|
3513
3431
|
timestamp?: number | undefined;
|
|
3514
3432
|
}
|
|
3515
3433
|
|
|
@@ -3604,6 +3522,32 @@ export namespace PBTextShape {
|
|
|
3604
3522
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3605
3523
|
}
|
|
3606
3524
|
|
|
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
|
+
|
|
3607
3551
|
// @public (undocumented)
|
|
3608
3552
|
export interface PBTriggerArea {
|
|
3609
3553
|
collisionMask?: number | undefined;
|
|
@@ -3682,9 +3626,6 @@ export interface PBTween {
|
|
|
3682
3626
|
} | {
|
|
3683
3627
|
$case: "textureMoveContinuous";
|
|
3684
3628
|
textureMoveContinuous: TextureMoveContinuous;
|
|
3685
|
-
} | {
|
|
3686
|
-
$case: "moveRotateScale";
|
|
3687
|
-
moveRotateScale: MoveRotateScale;
|
|
3688
3629
|
} | undefined;
|
|
3689
3630
|
playing?: boolean | undefined;
|
|
3690
3631
|
}
|
|
@@ -3747,12 +3688,28 @@ export namespace PBUiBackground {
|
|
|
3747
3688
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3748
3689
|
}
|
|
3749
3690
|
|
|
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
|
+
|
|
3750
3708
|
// @public (undocumented)
|
|
3751
3709
|
export interface PBUiCanvasInformation {
|
|
3752
3710
|
devicePixelRatio: number;
|
|
3753
3711
|
height: number;
|
|
3754
3712
|
interactableArea: BorderRect | undefined;
|
|
3755
|
-
screenInsetArea?: BorderRect | undefined;
|
|
3756
3713
|
width: number;
|
|
3757
3714
|
}
|
|
3758
3715
|
|
|
@@ -3841,11 +3798,27 @@ export namespace PBUiInputResult {
|
|
|
3841
3798
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3842
3799
|
}
|
|
3843
3800
|
|
|
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
|
+
|
|
3844
3815
|
// @public (undocumented)
|
|
3845
3816
|
export interface PBUiText {
|
|
3846
3817
|
color?: PBColor4 | undefined;
|
|
3847
3818
|
font?: Font | undefined;
|
|
3848
3819
|
fontSize?: number | undefined;
|
|
3820
|
+
outlineColor?: PBColor4 | undefined;
|
|
3821
|
+
outlineWidth?: number | undefined;
|
|
3849
3822
|
textAlign?: TextAlignMode | undefined;
|
|
3850
3823
|
textWrap?: TextWrap | undefined;
|
|
3851
3824
|
value: string;
|
|
@@ -3896,6 +3869,7 @@ export interface PBUiTransform {
|
|
|
3896
3869
|
borderTopWidth?: number | undefined;
|
|
3897
3870
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3898
3871
|
display: YGDisplay;
|
|
3872
|
+
elementId?: string | undefined;
|
|
3899
3873
|
// (undocumented)
|
|
3900
3874
|
flexBasis: number;
|
|
3901
3875
|
flexBasisUnit: YGUnit;
|
|
@@ -3964,6 +3938,8 @@ export interface PBUiTransform {
|
|
|
3964
3938
|
positionType: YGPositionType;
|
|
3965
3939
|
// (undocumented)
|
|
3966
3940
|
rightOf: number;
|
|
3941
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
3942
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
3967
3943
|
// (undocumented)
|
|
3968
3944
|
width: number;
|
|
3969
3945
|
widthUnit: YGUnit;
|
|
@@ -4057,7 +4033,6 @@ export namespace PBVideoPlayer {
|
|
|
4057
4033
|
export interface PBVirtualCamera {
|
|
4058
4034
|
// (undocumented)
|
|
4059
4035
|
defaultTransition?: CameraTransition | undefined;
|
|
4060
|
-
fov?: number | undefined;
|
|
4061
4036
|
// (undocumented)
|
|
4062
4037
|
lookAtEntity?: number | undefined;
|
|
4063
4038
|
}
|
|
@@ -4084,29 +4059,17 @@ export namespace PBVisibilityComponent {
|
|
|
4084
4059
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
4085
4060
|
}
|
|
4086
4061
|
|
|
4087
|
-
// @public
|
|
4088
|
-
export const Physics: PhysicsSystem;
|
|
4089
|
-
|
|
4090
4062
|
// @public (undocumented)
|
|
4091
|
-
export
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
export const PhysicsCombinedImpulse: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>;
|
|
4063
|
+
export interface Perspective {
|
|
4064
|
+
fieldOfView?: number | undefined;
|
|
4065
|
+
}
|
|
4095
4066
|
|
|
4096
4067
|
// @public (undocumented)
|
|
4097
|
-
export
|
|
4098
|
-
applyForceToPlayer(source: Entity, vector: Vector3Type): void;
|
|
4099
|
-
// (undocumented)
|
|
4100
|
-
applyForceToPlayer(source: Entity, direction: Vector3Type, magnitude: number): void;
|
|
4101
|
-
applyForceToPlayerForDuration(source: Entity, duration: number, vector: Vector3Type): void;
|
|
4068
|
+
export namespace Perspective {
|
|
4102
4069
|
// (undocumented)
|
|
4103
|
-
|
|
4104
|
-
applyImpulseToPlayer(vector: Vector3Type): void;
|
|
4070
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
4105
4071
|
// (undocumented)
|
|
4106
|
-
|
|
4107
|
-
applyKnockbackToPlayer(fromPosition: Vector3Type, magnitude: number, radius?: number, falloff?: KnockbackFalloff): void;
|
|
4108
|
-
applyRepulsionForceToPlayer(source: Entity, fromPosition: Vector3Type, magnitude: number, radius?: number, falloff?: KnockbackFalloff): void;
|
|
4109
|
-
removeForceFromPlayer(source: Entity): void;
|
|
4072
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
4110
4073
|
}
|
|
4111
4074
|
|
|
4112
4075
|
// @public
|
|
@@ -4154,50 +4117,65 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
4154
4117
|
|
|
4155
4118
|
// @public (undocumented)
|
|
4156
4119
|
export interface PointerEventsSystem {
|
|
4120
|
+
onPointerDown(pointerData: {
|
|
4121
|
+
entity: Entity;
|
|
4122
|
+
optsList: EventSystemOptionsCallback[];
|
|
4123
|
+
}): void;
|
|
4157
4124
|
onPointerDown(pointerData: {
|
|
4158
4125
|
entity: Entity;
|
|
4159
4126
|
opts?: Partial<EventSystemOptions>;
|
|
4160
4127
|
}, cb: EventSystemCallback): void;
|
|
4161
4128
|
// @deprecated (undocumented)
|
|
4162
4129
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4163
|
-
|
|
4130
|
+
onPointerDrag(pointerData: {
|
|
4164
4131
|
entity: Entity;
|
|
4165
|
-
|
|
4166
|
-
}
|
|
4167
|
-
|
|
4132
|
+
optsList: EventSystemOptionsCallback[];
|
|
4133
|
+
}): void;
|
|
4134
|
+
onPointerDrag(pointerData: {
|
|
4168
4135
|
entity: Entity;
|
|
4169
4136
|
opts?: Partial<EventSystemOptions>;
|
|
4170
4137
|
}, cb: EventSystemCallback): void;
|
|
4171
|
-
|
|
4138
|
+
onPointerDragEnd(pointerData: {
|
|
4139
|
+
entity: Entity;
|
|
4140
|
+
optsList: EventSystemOptionsCallback[];
|
|
4141
|
+
}): void;
|
|
4142
|
+
onPointerDragEnd(pointerData: {
|
|
4172
4143
|
entity: Entity;
|
|
4173
4144
|
opts?: Partial<EventSystemOptions>;
|
|
4174
4145
|
}, cb: EventSystemCallback): void;
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4146
|
+
onPointerDragLocked(pointerData: {
|
|
4147
|
+
entity: Entity;
|
|
4148
|
+
optsList: EventSystemOptionsCallback[];
|
|
4149
|
+
}): void;
|
|
4150
|
+
onPointerDragLocked(pointerData: {
|
|
4178
4151
|
entity: Entity;
|
|
4179
4152
|
opts?: Partial<EventSystemOptions>;
|
|
4180
4153
|
}, cb: EventSystemCallback): void;
|
|
4181
|
-
|
|
4154
|
+
onPointerHoverEnter(pointerData: {
|
|
4182
4155
|
entity: Entity;
|
|
4183
4156
|
opts?: Partial<EventSystemOptions>;
|
|
4184
4157
|
}, cb: EventSystemCallback): void;
|
|
4185
|
-
|
|
4158
|
+
onPointerHoverLeave(pointerData: {
|
|
4186
4159
|
entity: Entity;
|
|
4187
4160
|
opts?: Partial<EventSystemOptions>;
|
|
4188
4161
|
}, cb: EventSystemCallback): void;
|
|
4189
|
-
|
|
4162
|
+
onPointerUp(pointerData: {
|
|
4163
|
+
entity: Entity;
|
|
4164
|
+
optsList: EventSystemOptionsCallback[];
|
|
4165
|
+
}): void;
|
|
4166
|
+
onPointerUp(pointerData: {
|
|
4190
4167
|
entity: Entity;
|
|
4191
4168
|
opts?: Partial<EventSystemOptions>;
|
|
4192
4169
|
}, cb: EventSystemCallback): void;
|
|
4170
|
+
// @deprecated (undocumented)
|
|
4171
|
+
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4193
4172
|
removeOnPointerDown(entity: Entity): void;
|
|
4173
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
4174
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
4175
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
4194
4176
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
4195
4177
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
4196
4178
|
removeOnPointerUp(entity: Entity): void;
|
|
4197
|
-
removeOnProximityDown(entity: Entity): void;
|
|
4198
|
-
removeOnProximityEnter(entity: Entity): void;
|
|
4199
|
-
removeOnProximityLeave(entity: Entity): void;
|
|
4200
|
-
removeOnProximityUp(entity: Entity): void;
|
|
4201
4179
|
}
|
|
4202
4180
|
|
|
4203
4181
|
// @public
|
|
@@ -4208,13 +4186,15 @@ export const enum PointerEventType {
|
|
|
4208
4186
|
// (undocumented)
|
|
4209
4187
|
PET_DOWN = 1,
|
|
4210
4188
|
// (undocumented)
|
|
4211
|
-
|
|
4189
|
+
PET_DRAG = 5,
|
|
4212
4190
|
// (undocumented)
|
|
4213
|
-
|
|
4191
|
+
PET_DRAG_END = 6,
|
|
4214
4192
|
// (undocumented)
|
|
4215
|
-
|
|
4193
|
+
PET_DRAG_LOCKED = 4,
|
|
4216
4194
|
// (undocumented)
|
|
4217
|
-
|
|
4195
|
+
PET_HOVER_ENTER = 2,
|
|
4196
|
+
// (undocumented)
|
|
4197
|
+
PET_HOVER_LEAVE = 3,
|
|
4218
4198
|
// (undocumented)
|
|
4219
4199
|
PET_UP = 0
|
|
4220
4200
|
}
|
|
@@ -4236,7 +4216,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
4236
4216
|
// @public (undocumented)
|
|
4237
4217
|
export const enum PointerType {
|
|
4238
4218
|
POT_MOUSE = 1,
|
|
4239
|
-
POT_NONE = 0
|
|
4219
|
+
POT_NONE = 0,
|
|
4220
|
+
// (undocumented)
|
|
4221
|
+
POT_PAD = 2,
|
|
4222
|
+
// (undocumented)
|
|
4223
|
+
POT_TOUCH = 3,
|
|
4224
|
+
// (undocumented)
|
|
4225
|
+
POT_WAND = 4
|
|
4240
4226
|
}
|
|
4241
4227
|
|
|
4242
4228
|
// @public
|
|
@@ -4427,6 +4413,12 @@ export const enum RaycastQueryType {
|
|
|
4427
4413
|
// @public (undocumented)
|
|
4428
4414
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
4429
4415
|
|
|
4416
|
+
// @public (undocumented)
|
|
4417
|
+
export const enum RaycastShape {
|
|
4418
|
+
RS_AVATAR = 1,
|
|
4419
|
+
RS_RAY = 0
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4430
4422
|
// @public (undocumented)
|
|
4431
4423
|
export interface RaycastSystem {
|
|
4432
4424
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -4481,6 +4473,8 @@ export interface ReactBasedUiSystem {
|
|
|
4481
4473
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
4482
4474
|
destroy(): void;
|
|
4483
4475
|
removeUiRenderer(entity: Entity): void;
|
|
4476
|
+
// @deprecated
|
|
4477
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4484
4478
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
4485
4479
|
}
|
|
4486
4480
|
|
|
@@ -4516,7 +4510,7 @@ export namespace ReactEcs {
|
|
|
4516
4510
|
useEffect: EffectHook;
|
|
4517
4511
|
const // (undocumented)
|
|
4518
4512
|
useState: StateHook;
|
|
4519
|
-
|
|
4513
|
+
{};
|
|
4520
4514
|
}
|
|
4521
4515
|
|
|
4522
4516
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
|
@@ -4646,9 +4640,6 @@ export namespace RotateContinuous {
|
|
|
4646
4640
|
export function encode(message: RotateContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
4647
4641
|
}
|
|
4648
4642
|
|
|
4649
|
-
// @public
|
|
4650
|
-
export function rotateVectorByQuaternion(v: Vector3Type, q: QuaternionType): Vector3Type;
|
|
4651
|
-
|
|
4652
4643
|
// 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)
|
|
4653
4644
|
//
|
|
4654
4645
|
// @public (undocumented)
|
|
@@ -4783,21 +4774,42 @@ export namespace Schemas {
|
|
|
4783
4774
|
}) => void;
|
|
4784
4775
|
}
|
|
4785
4776
|
|
|
4786
|
-
//
|
|
4787
|
-
|
|
4788
|
-
//
|
|
4789
|
-
|
|
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
|
+
}
|
|
4790
4796
|
|
|
4791
4797
|
// @public
|
|
4792
|
-
export
|
|
4798
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4793
4799
|
|
|
4794
4800
|
// @public
|
|
4795
4801
|
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4796
4802
|
|
|
4797
|
-
// @public
|
|
4798
|
-
export
|
|
4799
|
-
|
|
4800
|
-
|
|
4803
|
+
// @public (undocumented)
|
|
4804
|
+
export const enum ShowScrollBar {
|
|
4805
|
+
// (undocumented)
|
|
4806
|
+
SSB_BOTH = 0,
|
|
4807
|
+
// (undocumented)
|
|
4808
|
+
SSB_HIDDEN = 3,
|
|
4809
|
+
// (undocumented)
|
|
4810
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
4811
|
+
// (undocumented)
|
|
4812
|
+
SSB_ONLY_VERTICAL = 1
|
|
4801
4813
|
}
|
|
4802
4814
|
|
|
4803
4815
|
// @public (undocumented)
|
|
@@ -4913,6 +4925,9 @@ export namespace Texture {
|
|
|
4913
4925
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4914
4926
|
}
|
|
4915
4927
|
|
|
4928
|
+
// @public (undocumented)
|
|
4929
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4930
|
+
|
|
4916
4931
|
// @public (undocumented)
|
|
4917
4932
|
export const enum TextureFilterMode {
|
|
4918
4933
|
// (undocumented)
|
|
@@ -4992,6 +5007,9 @@ export interface TextureUnion {
|
|
|
4992
5007
|
} | {
|
|
4993
5008
|
$case: "videoTexture";
|
|
4994
5009
|
videoTexture: VideoTexture;
|
|
5010
|
+
} | {
|
|
5011
|
+
$case: "uiTexture";
|
|
5012
|
+
uiTexture: UiCanvasTexture;
|
|
4995
5013
|
} | undefined;
|
|
4996
5014
|
}
|
|
4997
5015
|
|
|
@@ -5070,7 +5088,6 @@ export interface TransformComponentExtended extends TransformComponent {
|
|
|
5070
5088
|
create(entity: Entity, val?: TransformTypeWithOptionals): TransformType;
|
|
5071
5089
|
// (undocumented)
|
|
5072
5090
|
createOrReplace(entity: Entity, val?: TransformTypeWithOptionals): TransformType;
|
|
5073
|
-
localToWorldDirection(entity: Entity, localDirection: Vector3Type): Vector3Type;
|
|
5074
5091
|
}
|
|
5075
5092
|
|
|
5076
5093
|
// @public (undocumented)
|
|
@@ -5172,7 +5189,6 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
5172
5189
|
Mode: TweenHelper;
|
|
5173
5190
|
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
5174
5191
|
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
|
5175
|
-
setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
|
|
5176
5192
|
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
5177
5193
|
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
|
5178
5194
|
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -5187,8 +5203,6 @@ export interface TweenHelper {
|
|
|
5187
5203
|
// (undocumented)
|
|
5188
5204
|
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
|
5189
5205
|
// (undocumented)
|
|
5190
|
-
MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
|
|
5191
|
-
// (undocumented)
|
|
5192
5206
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
|
5193
5207
|
// (undocumented)
|
|
5194
5208
|
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
|
@@ -5256,6 +5270,7 @@ export interface UiBackgroundProps {
|
|
|
5256
5270
|
textureMode?: TextureMode;
|
|
5257
5271
|
textureSlices?: BorderRect | undefined;
|
|
5258
5272
|
uvs?: number[];
|
|
5273
|
+
videoTexture?: UiVideoTexture;
|
|
5259
5274
|
}
|
|
5260
5275
|
|
|
5261
5276
|
// @public
|
|
@@ -5264,9 +5279,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
5264
5279
|
variant?: 'primary' | 'secondary';
|
|
5265
5280
|
}
|
|
5266
5281
|
|
|
5282
|
+
// @public (undocumented)
|
|
5283
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5284
|
+
|
|
5267
5285
|
// @public (undocumented)
|
|
5268
5286
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
5269
5287
|
|
|
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
|
+
|
|
5270
5304
|
// @public (undocumented)
|
|
5271
5305
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
5272
5306
|
|
|
@@ -5316,16 +5350,13 @@ export interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign' | 'fo
|
|
|
5316
5350
|
// @public (undocumented)
|
|
5317
5351
|
export const UiInputResult: LastWriteWinElementSetComponentDefinition<PBUiInputResult>;
|
|
5318
5352
|
|
|
5319
|
-
// @public
|
|
5320
|
-
export type UiInteractableAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
|
|
5321
|
-
uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
|
|
5322
|
-
};
|
|
5323
|
-
|
|
5324
5353
|
// @public
|
|
5325
5354
|
export interface UiLabelProps {
|
|
5326
5355
|
color?: PBColor4 | undefined;
|
|
5327
5356
|
font?: UiFontType | undefined;
|
|
5328
5357
|
fontSize?: ScaleUnit | undefined;
|
|
5358
|
+
outlineColor?: PBColor4 | undefined;
|
|
5359
|
+
outlineWidth?: number | undefined;
|
|
5329
5360
|
textAlign?: TextAlignType | undefined;
|
|
5330
5361
|
textWrap?: UiTextWrapType | undefined;
|
|
5331
5362
|
value: string;
|
|
@@ -5340,10 +5371,8 @@ export type UiRendererOptions = {
|
|
|
5340
5371
|
virtualHeight: number;
|
|
5341
5372
|
};
|
|
5342
5373
|
|
|
5343
|
-
// @public
|
|
5344
|
-
export
|
|
5345
|
-
uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
|
|
5346
|
-
};
|
|
5374
|
+
// @public (undocumented)
|
|
5375
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5347
5376
|
|
|
5348
5377
|
// @public (undocumented)
|
|
5349
5378
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
@@ -5373,6 +5402,7 @@ export interface UiTransformProps {
|
|
|
5373
5402
|
// (undocumented)
|
|
5374
5403
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
5375
5404
|
display?: DisplayType;
|
|
5405
|
+
elementId?: string;
|
|
5376
5406
|
flex?: number;
|
|
5377
5407
|
flexBasis?: number;
|
|
5378
5408
|
flexDirection?: FlexDirectionType;
|
|
@@ -5392,10 +5422,22 @@ export interface UiTransformProps {
|
|
|
5392
5422
|
pointerFilter?: PointerFilterType;
|
|
5393
5423
|
position?: Partial<Position> | PositionShorthand;
|
|
5394
5424
|
positionType?: PositionType;
|
|
5425
|
+
scrollPosition?: PBVector2 | string;
|
|
5426
|
+
scrollVisible?: ScrollVisibleType;
|
|
5395
5427
|
width?: PositionUnit | 'auto';
|
|
5396
5428
|
zIndex?: number;
|
|
5397
5429
|
}
|
|
5398
5430
|
|
|
5431
|
+
// @public
|
|
5432
|
+
export interface UiVideoTexture {
|
|
5433
|
+
// (undocumented)
|
|
5434
|
+
filterMode?: TextureFilterType;
|
|
5435
|
+
// (undocumented)
|
|
5436
|
+
videoPlayerEntity: Entity;
|
|
5437
|
+
// (undocumented)
|
|
5438
|
+
wrapMode?: TextureWrapType;
|
|
5439
|
+
}
|
|
5440
|
+
|
|
5399
5441
|
// @public (undocumented)
|
|
5400
5442
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5401
5443
|
|