@dcl/playground-assets 7.8.12 → 7.8.13-15760884733.commit-646c526
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alpha.d.ts +774 -11
- package/dist/beta.d.ts +774 -11
- package/dist/index.bundled.d.ts +774 -11
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +12 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +774 -11
- package/etc/playground-assets.api.json +9331 -1762
- package/etc/playground-assets.api.md +499 -3
- package/package.json +4 -4
|
@@ -136,11 +136,30 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
|
136
136
|
// @public (undocumented)
|
|
137
137
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
138
138
|
|
|
139
|
+
// @public (undocumented)
|
|
140
|
+
export const enum AvatarControlType {
|
|
141
|
+
CCT_NONE = 0,
|
|
142
|
+
CCT_RELATIVE = 1,
|
|
143
|
+
CCT_TANK = 2
|
|
144
|
+
}
|
|
145
|
+
|
|
139
146
|
// @public (undocumented)
|
|
140
147
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
141
148
|
|
|
149
|
+
// Warning: (ae-missing-release-tag) "AvatarEquippedData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
150
|
+
//
|
|
142
151
|
// @public (undocumented)
|
|
143
|
-
export const AvatarEquippedData:
|
|
152
|
+
export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
|
|
153
|
+
|
|
154
|
+
// @public (undocumented)
|
|
155
|
+
export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
156
|
+
|
|
157
|
+
// 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)
|
|
158
|
+
//
|
|
159
|
+
// @public (undocumented)
|
|
160
|
+
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
161
|
+
forceRender?: string[] | undefined;
|
|
162
|
+
};
|
|
144
163
|
|
|
145
164
|
// @public (undocumented)
|
|
146
165
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
@@ -152,7 +171,41 @@ export const enum AvatarModifierType {
|
|
|
152
171
|
}
|
|
153
172
|
|
|
154
173
|
// @public (undocumented)
|
|
155
|
-
export
|
|
174
|
+
export interface AvatarMovementSettings {
|
|
175
|
+
allowWeightedMovement?: boolean | undefined;
|
|
176
|
+
// (undocumented)
|
|
177
|
+
controlMode?: AvatarControlType | undefined;
|
|
178
|
+
friction?: number | undefined;
|
|
179
|
+
gravity?: number | undefined;
|
|
180
|
+
jumpHeight?: number | undefined;
|
|
181
|
+
maxFallSpeed?: number | undefined;
|
|
182
|
+
runSpeed?: number | undefined;
|
|
183
|
+
turnSpeed?: number | undefined;
|
|
184
|
+
walkSpeed?: number | undefined;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// @public (undocumented)
|
|
188
|
+
export namespace AvatarMovementSettings {
|
|
189
|
+
// (undocumented)
|
|
190
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
191
|
+
// (undocumented)
|
|
192
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// Warning: (ae-missing-release-tag) "AvatarShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
196
|
+
//
|
|
197
|
+
// @public (undocumented)
|
|
198
|
+
export const AvatarShape: AvatarShapeComponentDefinitionExtended;
|
|
199
|
+
|
|
200
|
+
// @public (undocumented)
|
|
201
|
+
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
202
|
+
|
|
203
|
+
// 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)
|
|
204
|
+
//
|
|
205
|
+
// @public (undocumented)
|
|
206
|
+
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
207
|
+
forceRender?: string[] | undefined;
|
|
208
|
+
};
|
|
156
209
|
|
|
157
210
|
// @public (undocumented)
|
|
158
211
|
export interface AvatarTexture {
|
|
@@ -359,6 +412,12 @@ export interface ByteBuffer {
|
|
|
359
412
|
// @public
|
|
360
413
|
export type Callback = () => void;
|
|
361
414
|
|
|
415
|
+
// @public (undocumented)
|
|
416
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
417
|
+
|
|
418
|
+
// @public (undocumented)
|
|
419
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
420
|
+
|
|
362
421
|
// @public (undocumented)
|
|
363
422
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
364
423
|
|
|
@@ -407,6 +466,29 @@ export const enum CameraType {
|
|
|
407
466
|
// @public (undocumented)
|
|
408
467
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
409
468
|
|
|
469
|
+
// @public (undocumented)
|
|
470
|
+
export interface CinematicSettings {
|
|
471
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
472
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
473
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
474
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
475
|
+
allowManualRotation?: boolean | undefined;
|
|
476
|
+
cameraEntity: number;
|
|
477
|
+
pitchRange?: number | undefined;
|
|
478
|
+
rollRange?: number | undefined;
|
|
479
|
+
yawRange?: number | undefined;
|
|
480
|
+
zoomMax?: number | undefined;
|
|
481
|
+
zoomMin?: number | undefined;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
// @public (undocumented)
|
|
485
|
+
export namespace CinematicSettings {
|
|
486
|
+
// (undocumented)
|
|
487
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
488
|
+
// (undocumented)
|
|
489
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
490
|
+
}
|
|
491
|
+
|
|
410
492
|
// @public (undocumented)
|
|
411
493
|
export const enum ColliderLayer {
|
|
412
494
|
// (undocumented)
|
|
@@ -633,12 +715,18 @@ export const componentDefinitionByName: {
|
|
|
633
715
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
634
716
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
635
717
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
718
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
719
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
636
720
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
637
721
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
638
722
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
723
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
639
724
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
640
725
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
726
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
727
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
641
728
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
729
|
+
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
|
642
730
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
643
731
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
644
732
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -652,16 +740,20 @@ export const componentDefinitionByName: {
|
|
|
652
740
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
653
741
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
654
742
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
743
|
+
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
|
655
744
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
745
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
656
746
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
657
747
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
658
748
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
659
749
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
750
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
660
751
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
661
752
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
662
753
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
663
754
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
664
755
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
756
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
665
757
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
666
758
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
667
759
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1100,6 +1192,9 @@ export type EntityComponents = {
|
|
|
1100
1192
|
onMouseUp: Callback;
|
|
1101
1193
|
onMouseEnter: Callback;
|
|
1102
1194
|
onMouseLeave: Callback;
|
|
1195
|
+
onMouseDrag: Callback;
|
|
1196
|
+
onMouseDragLocked: Callback;
|
|
1197
|
+
onMouseDragEnd: Callback;
|
|
1103
1198
|
};
|
|
1104
1199
|
|
|
1105
1200
|
// @public (undocumented)
|
|
@@ -1203,6 +1298,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1203
1298
|
direction?: PBVector3;
|
|
1204
1299
|
};
|
|
1205
1300
|
|
|
1301
|
+
// @public (undocumented)
|
|
1302
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1303
|
+
|
|
1206
1304
|
// 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)
|
|
1207
1305
|
//
|
|
1208
1306
|
// @public (undocumented)
|
|
@@ -1221,6 +1319,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1221
1319
|
// @public (undocumented)
|
|
1222
1320
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1223
1321
|
|
|
1322
|
+
// @public (undocumented)
|
|
1323
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1324
|
+
|
|
1325
|
+
// @public (undocumented)
|
|
1326
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1327
|
+
|
|
1328
|
+
// @public (undocumented)
|
|
1329
|
+
export const enum GltfNodeStateValue {
|
|
1330
|
+
// (undocumented)
|
|
1331
|
+
GNSV_FAILED = 1,
|
|
1332
|
+
// (undocumented)
|
|
1333
|
+
GNSV_PENDING = 0,
|
|
1334
|
+
// (undocumented)
|
|
1335
|
+
GNSV_READY = 2
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1224
1338
|
// @public (undocumented)
|
|
1225
1339
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1226
1340
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1573,12 +1687,18 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
|
1573
1687
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
|
1574
1688
|
}
|
|
1575
1689
|
|
|
1690
|
+
// @public (undocumented)
|
|
1691
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
|
1692
|
+
|
|
1576
1693
|
// @public
|
|
1577
1694
|
export type Listeners = {
|
|
1578
1695
|
onMouseDown?: Callback;
|
|
1579
1696
|
onMouseUp?: Callback;
|
|
1580
1697
|
onMouseEnter?: Callback;
|
|
1581
1698
|
onMouseLeave?: Callback;
|
|
1699
|
+
onMouseDrag?: Callback;
|
|
1700
|
+
onMouseDragLocked?: Callback;
|
|
1701
|
+
onMouseDragEnd?: Callback;
|
|
1582
1702
|
};
|
|
1583
1703
|
|
|
1584
1704
|
// @public (undocumented)
|
|
@@ -1818,6 +1938,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
1818
1938
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
1819
1939
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1820
1940
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1941
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1821
1942
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1822
1943
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1823
1944
|
}
|
|
@@ -1831,6 +1952,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
1831
1952
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
1832
1953
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
1833
1954
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
1955
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
1834
1956
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
1835
1957
|
setSphere(entity: Entity): void;
|
|
1836
1958
|
}
|
|
@@ -2068,6 +2190,19 @@ export const onVideoEvent: Observable<{
|
|
|
2068
2190
|
totalVideoLength: number;
|
|
2069
2191
|
}>;
|
|
2070
2192
|
|
|
2193
|
+
// @public (undocumented)
|
|
2194
|
+
export interface Orthographic {
|
|
2195
|
+
verticalRange?: number | undefined;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
// @public (undocumented)
|
|
2199
|
+
export namespace Orthographic {
|
|
2200
|
+
// (undocumented)
|
|
2201
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2202
|
+
// (undocumented)
|
|
2203
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2071
2206
|
// @public
|
|
2072
2207
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2073
2208
|
|
|
@@ -2208,6 +2343,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2208
2343
|
export interface PBAvatarEquippedData {
|
|
2209
2344
|
// (undocumented)
|
|
2210
2345
|
emoteUrns: string[];
|
|
2346
|
+
forceRender: string[];
|
|
2211
2347
|
// (undocumented)
|
|
2212
2348
|
wearableUrns: string[];
|
|
2213
2349
|
}
|
|
@@ -2225,6 +2361,9 @@ export interface PBAvatarModifierArea {
|
|
|
2225
2361
|
area: PBVector3 | undefined;
|
|
2226
2362
|
excludeIds: string[];
|
|
2227
2363
|
modifiers: AvatarModifierType[];
|
|
2364
|
+
// (undocumented)
|
|
2365
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
2366
|
+
useColliderRange?: boolean | undefined;
|
|
2228
2367
|
}
|
|
2229
2368
|
|
|
2230
2369
|
// @public (undocumented)
|
|
@@ -2242,6 +2381,7 @@ export interface PBAvatarShape {
|
|
|
2242
2381
|
expressionTriggerId?: string | undefined;
|
|
2243
2382
|
expressionTriggerTimestamp?: number | undefined;
|
|
2244
2383
|
eyeColor?: PBColor3 | undefined;
|
|
2384
|
+
forceRender: string[];
|
|
2245
2385
|
hairColor?: PBColor3 | undefined;
|
|
2246
2386
|
id: string;
|
|
2247
2387
|
name?: string | undefined;
|
|
@@ -2271,6 +2411,42 @@ export namespace PBBillboard {
|
|
|
2271
2411
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2272
2412
|
}
|
|
2273
2413
|
|
|
2414
|
+
// @public (undocumented)
|
|
2415
|
+
export interface PBCameraLayer {
|
|
2416
|
+
// (undocumented)
|
|
2417
|
+
ambientBrightnessOverride?: number | undefined;
|
|
2418
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2419
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
2420
|
+
directionalLight?: boolean | undefined;
|
|
2421
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2422
|
+
layer: number;
|
|
2423
|
+
showAvatars?: boolean | undefined;
|
|
2424
|
+
showFog?: boolean | undefined;
|
|
2425
|
+
showSkybox?: boolean | undefined;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
// @public (undocumented)
|
|
2429
|
+
export namespace PBCameraLayer {
|
|
2430
|
+
// (undocumented)
|
|
2431
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2432
|
+
// (undocumented)
|
|
2433
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
// @public (undocumented)
|
|
2437
|
+
export interface PBCameraLayers {
|
|
2438
|
+
// (undocumented)
|
|
2439
|
+
layers: number[];
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
// @public (undocumented)
|
|
2443
|
+
export namespace PBCameraLayers {
|
|
2444
|
+
// (undocumented)
|
|
2445
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2446
|
+
// (undocumented)
|
|
2447
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2274
2450
|
// @public (undocumented)
|
|
2275
2451
|
export interface PBCameraMode {
|
|
2276
2452
|
mode: CameraType;
|
|
@@ -2287,7 +2463,10 @@ export namespace PBCameraMode {
|
|
|
2287
2463
|
// @public (undocumented)
|
|
2288
2464
|
export interface PBCameraModeArea {
|
|
2289
2465
|
area: PBVector3 | undefined;
|
|
2466
|
+
// (undocumented)
|
|
2467
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
2290
2468
|
mode: CameraType;
|
|
2469
|
+
useColliderRange?: boolean | undefined;
|
|
2291
2470
|
}
|
|
2292
2471
|
|
|
2293
2472
|
// @public (undocumented)
|
|
@@ -2351,6 +2530,21 @@ export namespace PBEngineInfo {
|
|
|
2351
2530
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2352
2531
|
}
|
|
2353
2532
|
|
|
2533
|
+
// @public (undocumented)
|
|
2534
|
+
export interface PBGlobalLight {
|
|
2535
|
+
ambientBrightness?: number | undefined;
|
|
2536
|
+
ambientColor?: PBColor3 | undefined;
|
|
2537
|
+
direction?: PBVector3 | undefined;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
// @public (undocumented)
|
|
2541
|
+
export namespace PBGlobalLight {
|
|
2542
|
+
// (undocumented)
|
|
2543
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
2544
|
+
// (undocumented)
|
|
2545
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2354
2548
|
// @public (undocumented)
|
|
2355
2549
|
export interface PBGltfContainer {
|
|
2356
2550
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2368,8 +2562,13 @@ export namespace PBGltfContainer {
|
|
|
2368
2562
|
|
|
2369
2563
|
// @public (undocumented)
|
|
2370
2564
|
export interface PBGltfContainerLoadingState {
|
|
2565
|
+
animationNames: string[];
|
|
2371
2566
|
// (undocumented)
|
|
2372
2567
|
currentState: LoadingState;
|
|
2568
|
+
materialNames: string[];
|
|
2569
|
+
meshNames: string[];
|
|
2570
|
+
nodePaths: string[];
|
|
2571
|
+
skinNames: string[];
|
|
2373
2572
|
}
|
|
2374
2573
|
|
|
2375
2574
|
// @public (undocumented)
|
|
@@ -2380,6 +2579,35 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2380
2579
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2381
2580
|
}
|
|
2382
2581
|
|
|
2582
|
+
// @public (undocumented)
|
|
2583
|
+
export interface PBGltfNode {
|
|
2584
|
+
path: string;
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
// @public (undocumented)
|
|
2588
|
+
export namespace PBGltfNode {
|
|
2589
|
+
// (undocumented)
|
|
2590
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
2591
|
+
// (undocumented)
|
|
2592
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
// @public (undocumented)
|
|
2596
|
+
export interface PBGltfNodeState {
|
|
2597
|
+
// (undocumented)
|
|
2598
|
+
error?: string | undefined;
|
|
2599
|
+
// (undocumented)
|
|
2600
|
+
state: GltfNodeStateValue;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
// @public (undocumented)
|
|
2604
|
+
export namespace PBGltfNodeState {
|
|
2605
|
+
// (undocumented)
|
|
2606
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
2607
|
+
// (undocumented)
|
|
2608
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2383
2611
|
// @public (undocumented)
|
|
2384
2612
|
export interface PBInputModifier {
|
|
2385
2613
|
// (undocumented)
|
|
@@ -2421,6 +2649,22 @@ export namespace PBInputModifier_StandardInput {
|
|
|
2421
2649
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
|
2422
2650
|
}
|
|
2423
2651
|
|
|
2652
|
+
// @public (undocumented)
|
|
2653
|
+
export interface PBLight {
|
|
2654
|
+
color?: PBColor3 | undefined;
|
|
2655
|
+
enabled?: boolean | undefined;
|
|
2656
|
+
illuminance?: number | undefined;
|
|
2657
|
+
shadows?: boolean | undefined;
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
// @public (undocumented)
|
|
2661
|
+
export namespace PBLight {
|
|
2662
|
+
// (undocumented)
|
|
2663
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
|
2664
|
+
// (undocumented)
|
|
2665
|
+
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2424
2668
|
// @public (undocumented)
|
|
2425
2669
|
export interface PBMainCamera {
|
|
2426
2670
|
virtualCameraEntity?: number | undefined;
|
|
@@ -2436,6 +2680,7 @@ export namespace PBMainCamera {
|
|
|
2436
2680
|
|
|
2437
2681
|
// @public (undocumented)
|
|
2438
2682
|
export interface PBMaterial {
|
|
2683
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2439
2684
|
// (undocumented)
|
|
2440
2685
|
material?: {
|
|
2441
2686
|
$case: "unlit";
|
|
@@ -2454,6 +2699,22 @@ export namespace PBMaterial {
|
|
|
2454
2699
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2455
2700
|
}
|
|
2456
2701
|
|
|
2702
|
+
// @public (undocumented)
|
|
2703
|
+
export interface PBMaterial_GltfMaterial {
|
|
2704
|
+
// (undocumented)
|
|
2705
|
+
gltfSrc: string;
|
|
2706
|
+
// (undocumented)
|
|
2707
|
+
name: string;
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
// @public (undocumented)
|
|
2711
|
+
export namespace PBMaterial_GltfMaterial {
|
|
2712
|
+
// (undocumented)
|
|
2713
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
2714
|
+
// (undocumented)
|
|
2715
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2457
2718
|
// @public (undocumented)
|
|
2458
2719
|
export interface PBMaterial_PbrMaterial {
|
|
2459
2720
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -2515,6 +2776,9 @@ export interface PBMeshCollider {
|
|
|
2515
2776
|
} | {
|
|
2516
2777
|
$case: "plane";
|
|
2517
2778
|
plane: PBMeshCollider_PlaneMesh;
|
|
2779
|
+
} | {
|
|
2780
|
+
$case: "gltf";
|
|
2781
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
2518
2782
|
} | undefined;
|
|
2519
2783
|
}
|
|
2520
2784
|
|
|
@@ -2552,6 +2816,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
2552
2816
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2553
2817
|
}
|
|
2554
2818
|
|
|
2819
|
+
// @public (undocumented)
|
|
2820
|
+
export interface PBMeshCollider_GltfMesh {
|
|
2821
|
+
gltfSrc: string;
|
|
2822
|
+
name: string;
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2825
|
+
// @public (undocumented)
|
|
2826
|
+
export namespace PBMeshCollider_GltfMesh {
|
|
2827
|
+
// (undocumented)
|
|
2828
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
2829
|
+
// (undocumented)
|
|
2830
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2555
2833
|
// @public (undocumented)
|
|
2556
2834
|
export interface PBMeshCollider_PlaneMesh {
|
|
2557
2835
|
}
|
|
@@ -2591,6 +2869,9 @@ export interface PBMeshRenderer {
|
|
|
2591
2869
|
} | {
|
|
2592
2870
|
$case: "plane";
|
|
2593
2871
|
plane: PBMeshRenderer_PlaneMesh;
|
|
2872
|
+
} | {
|
|
2873
|
+
$case: "gltf";
|
|
2874
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
2594
2875
|
} | undefined;
|
|
2595
2876
|
}
|
|
2596
2877
|
|
|
@@ -2629,6 +2910,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
2629
2910
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2630
2911
|
}
|
|
2631
2912
|
|
|
2913
|
+
// @public (undocumented)
|
|
2914
|
+
export interface PBMeshRenderer_GltfMesh {
|
|
2915
|
+
gltfSrc: string;
|
|
2916
|
+
name: string;
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
// @public (undocumented)
|
|
2920
|
+
export namespace PBMeshRenderer_GltfMesh {
|
|
2921
|
+
// (undocumented)
|
|
2922
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
2923
|
+
// (undocumented)
|
|
2924
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2632
2927
|
// @public (undocumented)
|
|
2633
2928
|
export interface PBMeshRenderer_PlaneMesh {
|
|
2634
2929
|
uvs: number[];
|
|
@@ -2883,6 +3178,21 @@ export namespace PBRealmInfo {
|
|
|
2883
3178
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2884
3179
|
}
|
|
2885
3180
|
|
|
3181
|
+
// @public (undocumented)
|
|
3182
|
+
export interface PBSpotlight {
|
|
3183
|
+
angle: number;
|
|
3184
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
|
3185
|
+
innerAngle?: number | undefined;
|
|
3186
|
+
}
|
|
3187
|
+
|
|
3188
|
+
// @public (undocumented)
|
|
3189
|
+
export namespace PBSpotlight {
|
|
3190
|
+
// (undocumented)
|
|
3191
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
|
3192
|
+
// (undocumented)
|
|
3193
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
|
3194
|
+
}
|
|
3195
|
+
|
|
2886
3196
|
// @public (undocumented)
|
|
2887
3197
|
export interface PBTextShape {
|
|
2888
3198
|
font?: Font | undefined;
|
|
@@ -2916,6 +3226,32 @@ export namespace PBTextShape {
|
|
|
2916
3226
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
2917
3227
|
}
|
|
2918
3228
|
|
|
3229
|
+
// @public (undocumented)
|
|
3230
|
+
export interface PBTextureCamera {
|
|
3231
|
+
clearColor?: PBColor4 | undefined;
|
|
3232
|
+
farPlane?: number | undefined;
|
|
3233
|
+
height?: number | undefined;
|
|
3234
|
+
layer?: number | undefined;
|
|
3235
|
+
// (undocumented)
|
|
3236
|
+
mode?: {
|
|
3237
|
+
$case: "perspective";
|
|
3238
|
+
perspective: Perspective;
|
|
3239
|
+
} | {
|
|
3240
|
+
$case: "orthographic";
|
|
3241
|
+
orthographic: Orthographic;
|
|
3242
|
+
} | undefined;
|
|
3243
|
+
volume?: number | undefined;
|
|
3244
|
+
width?: number | undefined;
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
// @public (undocumented)
|
|
3248
|
+
export namespace PBTextureCamera {
|
|
3249
|
+
// (undocumented)
|
|
3250
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
3251
|
+
// (undocumented)
|
|
3252
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
3253
|
+
}
|
|
3254
|
+
|
|
2919
3255
|
// @public (undocumented)
|
|
2920
3256
|
export interface PBTween {
|
|
2921
3257
|
currentTime?: number | undefined;
|
|
@@ -2997,6 +3333,23 @@ export namespace PBUiBackground {
|
|
|
2997
3333
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
2998
3334
|
}
|
|
2999
3335
|
|
|
3336
|
+
// @public (undocumented)
|
|
3337
|
+
export interface PBUiCanvas {
|
|
3338
|
+
color?: PBColor4 | undefined;
|
|
3339
|
+
// (undocumented)
|
|
3340
|
+
height: number;
|
|
3341
|
+
// (undocumented)
|
|
3342
|
+
width: number;
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
// @public (undocumented)
|
|
3346
|
+
export namespace PBUiCanvas {
|
|
3347
|
+
// (undocumented)
|
|
3348
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
3349
|
+
// (undocumented)
|
|
3350
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3000
3353
|
// @public (undocumented)
|
|
3001
3354
|
export interface PBUiCanvasInformation {
|
|
3002
3355
|
devicePixelRatio: number;
|
|
@@ -3090,11 +3443,27 @@ export namespace PBUiInputResult {
|
|
|
3090
3443
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3091
3444
|
}
|
|
3092
3445
|
|
|
3446
|
+
// @public (undocumented)
|
|
3447
|
+
export interface PBUiScrollResult {
|
|
3448
|
+
// (undocumented)
|
|
3449
|
+
value: PBVector2 | undefined;
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
// @public (undocumented)
|
|
3453
|
+
export namespace PBUiScrollResult {
|
|
3454
|
+
// (undocumented)
|
|
3455
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
3456
|
+
// (undocumented)
|
|
3457
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3093
3460
|
// @public (undocumented)
|
|
3094
3461
|
export interface PBUiText {
|
|
3095
3462
|
color?: PBColor4 | undefined;
|
|
3096
3463
|
font?: Font | undefined;
|
|
3097
3464
|
fontSize?: number | undefined;
|
|
3465
|
+
outlineColor?: PBColor4 | undefined;
|
|
3466
|
+
outlineWidth?: number | undefined;
|
|
3098
3467
|
textAlign?: TextAlignMode | undefined;
|
|
3099
3468
|
textWrap?: TextWrap | undefined;
|
|
3100
3469
|
value: string;
|
|
@@ -3145,6 +3514,7 @@ export interface PBUiTransform {
|
|
|
3145
3514
|
borderTopWidth?: number | undefined;
|
|
3146
3515
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3147
3516
|
display: YGDisplay;
|
|
3517
|
+
elementId?: string | undefined;
|
|
3148
3518
|
// (undocumented)
|
|
3149
3519
|
flexBasis: number;
|
|
3150
3520
|
flexBasisUnit: YGUnit;
|
|
@@ -3213,6 +3583,8 @@ export interface PBUiTransform {
|
|
|
3213
3583
|
positionType: YGPositionType;
|
|
3214
3584
|
// (undocumented)
|
|
3215
3585
|
rightOf: number;
|
|
3586
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
3587
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
3216
3588
|
// (undocumented)
|
|
3217
3589
|
width: number;
|
|
3218
3590
|
widthUnit: YGUnit;
|
|
@@ -3328,6 +3700,19 @@ export namespace PBVisibilityComponent {
|
|
|
3328
3700
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
3329
3701
|
}
|
|
3330
3702
|
|
|
3703
|
+
// @public (undocumented)
|
|
3704
|
+
export interface Perspective {
|
|
3705
|
+
fieldOfView?: number | undefined;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
// @public (undocumented)
|
|
3709
|
+
export namespace Perspective {
|
|
3710
|
+
// (undocumented)
|
|
3711
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
3712
|
+
// (undocumented)
|
|
3713
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3331
3716
|
// @public
|
|
3332
3717
|
export namespace Plane {
|
|
3333
3718
|
// (undocumented)
|
|
@@ -3379,6 +3764,18 @@ export interface PointerEventsSystem {
|
|
|
3379
3764
|
}, cb: EventSystemCallback): void;
|
|
3380
3765
|
// @deprecated (undocumented)
|
|
3381
3766
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3767
|
+
onPointerDrag(pointerData: {
|
|
3768
|
+
entity: Entity;
|
|
3769
|
+
opts?: Partial<EventSystemOptions>;
|
|
3770
|
+
}, cb: EventSystemCallback): void;
|
|
3771
|
+
onPointerDragEnd(pointerData: {
|
|
3772
|
+
entity: Entity;
|
|
3773
|
+
opts?: Partial<EventSystemOptions>;
|
|
3774
|
+
}, cb: EventSystemCallback): void;
|
|
3775
|
+
onPointerDragLocked(pointerData: {
|
|
3776
|
+
entity: Entity;
|
|
3777
|
+
opts?: Partial<EventSystemOptions>;
|
|
3778
|
+
}, cb: EventSystemCallback): void;
|
|
3382
3779
|
onPointerHoverEnter(pointerData: {
|
|
3383
3780
|
entity: Entity;
|
|
3384
3781
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3394,6 +3791,9 @@ export interface PointerEventsSystem {
|
|
|
3394
3791
|
// @deprecated (undocumented)
|
|
3395
3792
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3396
3793
|
removeOnPointerDown(entity: Entity): void;
|
|
3794
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
3795
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
3796
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
3397
3797
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3398
3798
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3399
3799
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -3407,6 +3807,12 @@ export const enum PointerEventType {
|
|
|
3407
3807
|
// (undocumented)
|
|
3408
3808
|
PET_DOWN = 1,
|
|
3409
3809
|
// (undocumented)
|
|
3810
|
+
PET_DRAG = 5,
|
|
3811
|
+
// (undocumented)
|
|
3812
|
+
PET_DRAG_END = 6,
|
|
3813
|
+
// (undocumented)
|
|
3814
|
+
PET_DRAG_LOCKED = 4,
|
|
3815
|
+
// (undocumented)
|
|
3410
3816
|
PET_HOVER_ENTER = 2,
|
|
3411
3817
|
// (undocumented)
|
|
3412
3818
|
PET_HOVER_LEAVE = 3,
|
|
@@ -3431,7 +3837,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
3431
3837
|
// @public (undocumented)
|
|
3432
3838
|
export const enum PointerType {
|
|
3433
3839
|
POT_MOUSE = 1,
|
|
3434
|
-
POT_NONE = 0
|
|
3840
|
+
POT_NONE = 0,
|
|
3841
|
+
// (undocumented)
|
|
3842
|
+
POT_PAD = 2,
|
|
3843
|
+
// (undocumented)
|
|
3844
|
+
POT_TOUCH = 3,
|
|
3845
|
+
// (undocumented)
|
|
3846
|
+
POT_WAND = 4
|
|
3435
3847
|
}
|
|
3436
3848
|
|
|
3437
3849
|
// @public
|
|
@@ -3676,6 +4088,8 @@ export interface ReactBasedUiSystem {
|
|
|
3676
4088
|
// (undocumented)
|
|
3677
4089
|
destroy(): void;
|
|
3678
4090
|
// (undocumented)
|
|
4091
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4092
|
+
// (undocumented)
|
|
3679
4093
|
setUiRenderer(ui: UiComponent): void;
|
|
3680
4094
|
}
|
|
3681
4095
|
|
|
@@ -3932,12 +4346,50 @@ export namespace Schemas {
|
|
|
3932
4346
|
}) => void;
|
|
3933
4347
|
}
|
|
3934
4348
|
|
|
4349
|
+
// @public (undocumented)
|
|
4350
|
+
export interface ScrollPositionValue {
|
|
4351
|
+
// (undocumented)
|
|
4352
|
+
value?: {
|
|
4353
|
+
$case: "position";
|
|
4354
|
+
position: PBVector2;
|
|
4355
|
+
} | {
|
|
4356
|
+
$case: "reference";
|
|
4357
|
+
reference: string;
|
|
4358
|
+
} | undefined;
|
|
4359
|
+
}
|
|
4360
|
+
|
|
4361
|
+
// @public (undocumented)
|
|
4362
|
+
export namespace ScrollPositionValue {
|
|
4363
|
+
// (undocumented)
|
|
4364
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
4365
|
+
// (undocumented)
|
|
4366
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
4367
|
+
}
|
|
4368
|
+
|
|
4369
|
+
// @public
|
|
4370
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4371
|
+
|
|
4372
|
+
// @public (undocumented)
|
|
4373
|
+
export const enum ShowScrollBar {
|
|
4374
|
+
// (undocumented)
|
|
4375
|
+
SSB_BOTH = 0,
|
|
4376
|
+
// (undocumented)
|
|
4377
|
+
SSB_HIDDEN = 3,
|
|
4378
|
+
// (undocumented)
|
|
4379
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
4380
|
+
// (undocumented)
|
|
4381
|
+
SSB_ONLY_VERTICAL = 1
|
|
4382
|
+
}
|
|
4383
|
+
|
|
3935
4384
|
// @public (undocumented)
|
|
3936
4385
|
export interface Spec {
|
|
3937
4386
|
// (undocumented)
|
|
3938
4387
|
[key: string]: ISchema;
|
|
3939
4388
|
}
|
|
3940
4389
|
|
|
4390
|
+
// @public (undocumented)
|
|
4391
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
|
4392
|
+
|
|
3941
4393
|
// @alpha
|
|
3942
4394
|
export const SyncComponents: ISyncComponents;
|
|
3943
4395
|
|
|
@@ -4021,6 +4473,9 @@ export namespace Texture {
|
|
|
4021
4473
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4022
4474
|
}
|
|
4023
4475
|
|
|
4476
|
+
// @public (undocumented)
|
|
4477
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4478
|
+
|
|
4024
4479
|
// @public (undocumented)
|
|
4025
4480
|
export const enum TextureFilterMode {
|
|
4026
4481
|
// (undocumented)
|
|
@@ -4083,6 +4538,9 @@ export interface TextureUnion {
|
|
|
4083
4538
|
} | {
|
|
4084
4539
|
$case: "videoTexture";
|
|
4085
4540
|
videoTexture: VideoTexture;
|
|
4541
|
+
} | {
|
|
4542
|
+
$case: "uiTexture";
|
|
4543
|
+
uiTexture: UiCanvasTexture;
|
|
4086
4544
|
} | undefined;
|
|
4087
4545
|
}
|
|
4088
4546
|
|
|
@@ -4253,6 +4711,7 @@ export interface UiBackgroundProps {
|
|
|
4253
4711
|
textureMode?: TextureMode;
|
|
4254
4712
|
textureSlices?: BorderRect | undefined;
|
|
4255
4713
|
uvs?: number[];
|
|
4714
|
+
videoTexture?: UiVideoTexture;
|
|
4256
4715
|
}
|
|
4257
4716
|
|
|
4258
4717
|
// @public
|
|
@@ -4261,9 +4720,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4261
4720
|
variant?: 'primary' | 'secondary';
|
|
4262
4721
|
}
|
|
4263
4722
|
|
|
4723
|
+
// @public (undocumented)
|
|
4724
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
4725
|
+
|
|
4264
4726
|
// @public (undocumented)
|
|
4265
4727
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
4266
4728
|
|
|
4729
|
+
// @public (undocumented)
|
|
4730
|
+
export interface UiCanvasTexture {
|
|
4731
|
+
filterMode?: TextureFilterMode | undefined;
|
|
4732
|
+
// (undocumented)
|
|
4733
|
+
uiCanvasEntity: number;
|
|
4734
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
4735
|
+
}
|
|
4736
|
+
|
|
4737
|
+
// @public (undocumented)
|
|
4738
|
+
export namespace UiCanvasTexture {
|
|
4739
|
+
// (undocumented)
|
|
4740
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
4741
|
+
// (undocumented)
|
|
4742
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
4743
|
+
}
|
|
4744
|
+
|
|
4267
4745
|
// @public (undocumented)
|
|
4268
4746
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
4269
4747
|
|
|
@@ -4318,6 +4796,8 @@ export interface UiLabelProps {
|
|
|
4318
4796
|
color?: PBColor4 | undefined;
|
|
4319
4797
|
font?: UiFontType | undefined;
|
|
4320
4798
|
fontSize?: ScaleUnit | undefined;
|
|
4799
|
+
outlineColor?: PBColor4 | undefined;
|
|
4800
|
+
outlineWidth?: number | undefined;
|
|
4321
4801
|
textAlign?: TextAlignType | undefined;
|
|
4322
4802
|
textWrap?: UiTextWrapType | undefined;
|
|
4323
4803
|
value: string;
|
|
@@ -4326,6 +4806,9 @@ export interface UiLabelProps {
|
|
|
4326
4806
|
// @public
|
|
4327
4807
|
export type uint32 = number;
|
|
4328
4808
|
|
|
4809
|
+
// @public (undocumented)
|
|
4810
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
4811
|
+
|
|
4329
4812
|
// @public (undocumented)
|
|
4330
4813
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
4331
4814
|
|
|
@@ -4354,6 +4837,7 @@ export interface UiTransformProps {
|
|
|
4354
4837
|
// (undocumented)
|
|
4355
4838
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
4356
4839
|
display?: DisplayType;
|
|
4840
|
+
elementId?: string;
|
|
4357
4841
|
flex?: number;
|
|
4358
4842
|
flexBasis?: number;
|
|
4359
4843
|
flexDirection?: FlexDirectionType;
|
|
@@ -4373,10 +4857,22 @@ export interface UiTransformProps {
|
|
|
4373
4857
|
pointerFilter?: PointerFilterType;
|
|
4374
4858
|
position?: Partial<Position> | PositionShorthand;
|
|
4375
4859
|
positionType?: PositionType;
|
|
4860
|
+
scrollPosition?: PBVector2 | string;
|
|
4861
|
+
scrollVisible?: ScrollVisibleType;
|
|
4376
4862
|
width?: PositionUnit | 'auto';
|
|
4377
4863
|
zIndex?: number;
|
|
4378
4864
|
}
|
|
4379
4865
|
|
|
4866
|
+
// @public
|
|
4867
|
+
export interface UiVideoTexture {
|
|
4868
|
+
// (undocumented)
|
|
4869
|
+
filterMode?: TextureFilterType;
|
|
4870
|
+
// (undocumented)
|
|
4871
|
+
videoPlayerEntity: Entity;
|
|
4872
|
+
// (undocumented)
|
|
4873
|
+
wrapMode?: TextureWrapType;
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4380
4876
|
// @public (undocumented)
|
|
4381
4877
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
4382
4878
|
|