@dcl/playground-assets 7.12.3-19270029495.commit-0b6cbd6 → 7.12.3-19323828833.commit-7df9c30
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 +19 -774
- package/dist/beta.d.ts +19 -774
- package/dist/index.bundled.d.ts +19 -774
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +0 -17
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +19 -774
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +4200 -11667
- package/etc/playground-assets.api.md +10 -513
- package/package.json +4 -4
package/dist/beta.d.ts
CHANGED
|
@@ -178,33 +178,12 @@ export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBA
|
|
|
178
178
|
/** @public */
|
|
179
179
|
export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
180
180
|
|
|
181
|
-
/**
|
|
182
|
-
* @public
|
|
183
|
-
*/
|
|
184
|
-
export declare const enum AvatarControlType {
|
|
185
|
-
/** CCT_NONE - avatar cannot move */
|
|
186
|
-
CCT_NONE = 0,
|
|
187
|
-
/** CCT_RELATIVE - avatar moves relative to the camera origin */
|
|
188
|
-
CCT_RELATIVE = 1,
|
|
189
|
-
/** CCT_TANK - avatar moves like a tank: left/right rotate the player, forward/backward advance/retreat the player */
|
|
190
|
-
CCT_TANK = 2
|
|
191
|
-
}
|
|
192
|
-
|
|
193
181
|
/** @public */
|
|
194
182
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
195
183
|
|
|
196
184
|
/** @public */
|
|
197
185
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
198
186
|
|
|
199
|
-
/**
|
|
200
|
-
* @public
|
|
201
|
-
*/
|
|
202
|
-
export declare type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
203
|
-
|
|
204
|
-
export declare type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
205
|
-
forceRender?: string[] | undefined;
|
|
206
|
-
};
|
|
207
|
-
|
|
208
187
|
/** @public */
|
|
209
188
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
210
189
|
|
|
@@ -219,49 +198,9 @@ export declare const enum AvatarModifierType {
|
|
|
219
198
|
AMT_DISABLE_PASSPORTS = 1
|
|
220
199
|
}
|
|
221
200
|
|
|
222
|
-
/**
|
|
223
|
-
* @public
|
|
224
|
-
*/
|
|
225
|
-
export declare interface AvatarMovementSettings {
|
|
226
|
-
controlMode?: AvatarControlType | undefined;
|
|
227
|
-
/** if not explicitly set, the following properties default to user's preference settings */
|
|
228
|
-
runSpeed?: number | undefined;
|
|
229
|
-
/** how fast the player gets up to speed or comes to rest. higher = more responsive */
|
|
230
|
-
friction?: number | undefined;
|
|
231
|
-
/** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
|
|
232
|
-
gravity?: number | undefined;
|
|
233
|
-
/** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
|
|
234
|
-
jumpHeight?: number | undefined;
|
|
235
|
-
/** max fall speed in m/s. should normally be negative */
|
|
236
|
-
maxFallSpeed?: number | undefined;
|
|
237
|
-
/** speed the player turns in tank mode, in radians/s */
|
|
238
|
-
turnSpeed?: number | undefined;
|
|
239
|
-
/** speed the player walks at, in m/s */
|
|
240
|
-
walkSpeed?: number | undefined;
|
|
241
|
-
/** whether to allow player to move at a slower speed (e.g. with a walk-key or when using a gamepad/joystick). defaults to true */
|
|
242
|
-
allowWeightedMovement?: boolean | undefined;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
export declare namespace AvatarMovementSettings {
|
|
249
|
-
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
250
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
201
|
/** @public */
|
|
254
202
|
export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
255
203
|
|
|
256
|
-
/**
|
|
257
|
-
* @public
|
|
258
|
-
*/
|
|
259
|
-
export declare type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
260
|
-
|
|
261
|
-
export declare type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
262
|
-
forceRender?: string[] | undefined;
|
|
263
|
-
};
|
|
264
|
-
|
|
265
204
|
/**
|
|
266
205
|
* @public
|
|
267
206
|
*/
|
|
@@ -529,19 +468,11 @@ export declare interface ByteBuffer {
|
|
|
529
468
|
}
|
|
530
469
|
|
|
531
470
|
/**
|
|
532
|
-
*
|
|
533
|
-
*
|
|
534
|
-
* @public @deprecated This type is no longer used in the sdk api, EventSystemCallback is
|
|
535
|
-
* used for listeners instead
|
|
471
|
+
* Callback function to be triggered on a specified event
|
|
472
|
+
* @public
|
|
536
473
|
*/
|
|
537
474
|
export declare type Callback = () => void;
|
|
538
475
|
|
|
539
|
-
/** @public */
|
|
540
|
-
export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
541
|
-
|
|
542
|
-
/** @public */
|
|
543
|
-
export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
544
|
-
|
|
545
476
|
/** @public */
|
|
546
477
|
export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
547
478
|
|
|
@@ -599,39 +530,6 @@ export declare const enum CameraType {
|
|
|
599
530
|
|
|
600
531
|
export declare type Children = ReactEcs.JSX.ReactNode;
|
|
601
532
|
|
|
602
|
-
/**
|
|
603
|
-
* @public
|
|
604
|
-
*/
|
|
605
|
-
export declare interface CinematicSettings {
|
|
606
|
-
/** Entity that defines the cinematic camera transform. */
|
|
607
|
-
cameraEntity: number;
|
|
608
|
-
/**
|
|
609
|
-
* Position -> camera's position
|
|
610
|
-
* Rotation -> camera's direction
|
|
611
|
-
* scale.z -> zoom level
|
|
612
|
-
* scale.x and scale.y -> unused
|
|
613
|
-
*/
|
|
614
|
-
allowManualRotation?: boolean | undefined;
|
|
615
|
-
/** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
|
|
616
|
-
yawRange?: number | undefined;
|
|
617
|
-
/** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
|
|
618
|
-
pitchRange?: number | undefined;
|
|
619
|
-
/** note: cameras can never look up/down further than Vec3::Y */
|
|
620
|
-
rollRange?: number | undefined;
|
|
621
|
-
/** minimum zoom level. must be greater than 0. defaults to the input zoom level */
|
|
622
|
-
zoomMin?: number | undefined;
|
|
623
|
-
/** maximum zoom level. must be greater than 0. defaults to the input zoom level */
|
|
624
|
-
zoomMax?: number | undefined;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* @public
|
|
629
|
-
*/
|
|
630
|
-
export declare namespace CinematicSettings {
|
|
631
|
-
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
632
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
533
|
/** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
|
|
636
534
|
/**
|
|
637
535
|
* @public
|
|
@@ -1406,17 +1304,12 @@ export declare const componentDefinitionByName: {
|
|
|
1406
1304
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
1407
1305
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
1408
1306
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
1409
|
-
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
1410
|
-
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
1411
1307
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
1412
1308
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
1413
1309
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
1414
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
1415
1310
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
1416
1311
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
1417
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
1418
1312
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
1419
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
1420
1313
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
1421
1314
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
1422
1315
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -1434,20 +1327,17 @@ export declare const componentDefinitionByName: {
|
|
|
1434
1327
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
1435
1328
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
1436
1329
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
1437
|
-
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
1438
1330
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
1439
1331
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
1440
1332
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
1441
1333
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
1442
1334
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
1443
1335
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
1444
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
1445
1336
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
1446
1337
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
1447
1338
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
1448
1339
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
1449
1340
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
1450
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
1451
1341
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
1452
1342
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
1453
1343
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -2014,18 +1904,10 @@ export declare type EntityComponents = {
|
|
|
2014
1904
|
uiBackground: PBUiBackground;
|
|
2015
1905
|
uiInput: PBUiInput;
|
|
2016
1906
|
uiDropdown: PBUiDropdown;
|
|
2017
|
-
onMouseDown:
|
|
2018
|
-
onMouseUp:
|
|
2019
|
-
onMouseEnter:
|
|
2020
|
-
onMouseLeave:
|
|
2021
|
-
onMouseDrag: EventSystemCallback;
|
|
2022
|
-
onMouseDragLocked: EventSystemCallback;
|
|
2023
|
-
onMouseDragEnd: EventSystemCallback;
|
|
2024
|
-
onInputDown: MultiCallback;
|
|
2025
|
-
onInputUp: MultiCallback;
|
|
2026
|
-
onInputDrag: MultiCallback;
|
|
2027
|
-
onInputDragLocked: MultiCallback;
|
|
2028
|
-
onInputDragEnd: MultiCallback;
|
|
1907
|
+
onMouseDown: Callback;
|
|
1908
|
+
onMouseUp: Callback;
|
|
1909
|
+
onMouseEnter: Callback;
|
|
1910
|
+
onMouseLeave: Callback;
|
|
2029
1911
|
};
|
|
2030
1912
|
|
|
2031
1913
|
/** @public */
|
|
@@ -2103,13 +1985,6 @@ export declare type EventSystemOptions = {
|
|
|
2103
1985
|
showHighlight?: boolean;
|
|
2104
1986
|
};
|
|
2105
1987
|
|
|
2106
|
-
/**
|
|
2107
|
-
* @public
|
|
2108
|
-
*/
|
|
2109
|
-
export declare type EventSystemOptionsCallback = EventSystemOptions & {
|
|
2110
|
-
cb: EventSystemCallback;
|
|
2111
|
-
};
|
|
2112
|
-
|
|
2113
1988
|
/**
|
|
2114
1989
|
* Excludes property keys from T where the property is assignable to U
|
|
2115
1990
|
* @public
|
|
@@ -2184,9 +2059,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
|
|
|
2184
2059
|
direction?: PBVector3;
|
|
2185
2060
|
};
|
|
2186
2061
|
|
|
2187
|
-
/** @public */
|
|
2188
|
-
export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
2189
|
-
|
|
2190
2062
|
export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
|
|
2191
2063
|
|
|
2192
2064
|
export declare type GlobalTargetRaycastSystemOptions = {
|
|
@@ -2199,24 +2071,9 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
|
|
|
2199
2071
|
/** @public */
|
|
2200
2072
|
export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
2201
2073
|
|
|
2202
|
-
/** @public */
|
|
2203
|
-
export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
2204
|
-
|
|
2205
2074
|
/** @public */
|
|
2206
2075
|
export declare const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
2207
2076
|
|
|
2208
|
-
/** @public */
|
|
2209
|
-
export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
2210
|
-
|
|
2211
|
-
/**
|
|
2212
|
-
* @public
|
|
2213
|
-
*/
|
|
2214
|
-
export declare const enum GltfNodeStateValue {
|
|
2215
|
-
GNSV_PENDING = 0,
|
|
2216
|
-
GNSV_FAILED = 1,
|
|
2217
|
-
GNSV_READY = 2
|
|
2218
|
-
}
|
|
2219
|
-
|
|
2220
2077
|
/**
|
|
2221
2078
|
* @public
|
|
2222
2079
|
*/
|
|
@@ -2562,12 +2419,6 @@ export declare type IInputSystem = {
|
|
|
2562
2419
|
* @returns the input command info or undefined if there is no command in the last tick-update
|
|
2563
2420
|
*/
|
|
2564
2421
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
2565
|
-
/**
|
|
2566
|
-
* @public
|
|
2567
|
-
* Get an ordered iterator over events received within the current frame.
|
|
2568
|
-
* @returns the iterator
|
|
2569
|
-
*/
|
|
2570
|
-
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
2571
2422
|
};
|
|
2572
2423
|
|
|
2573
2424
|
/**
|
|
@@ -2863,29 +2714,13 @@ export declare interface LightSourceHelper {
|
|
|
2863
2714
|
*/
|
|
2864
2715
|
export declare type Listeners = {
|
|
2865
2716
|
/** triggered on mouse down event */
|
|
2866
|
-
onMouseDown?:
|
|
2717
|
+
onMouseDown?: Callback;
|
|
2867
2718
|
/** triggered on mouse up event */
|
|
2868
|
-
onMouseUp?:
|
|
2719
|
+
onMouseUp?: Callback;
|
|
2869
2720
|
/** triggered on mouse hover event */
|
|
2870
|
-
onMouseEnter?:
|
|
2721
|
+
onMouseEnter?: Callback;
|
|
2871
2722
|
/** triggered on mouse leave event */
|
|
2872
|
-
onMouseLeave?:
|
|
2873
|
-
/** triggered on mouse drag event */
|
|
2874
|
-
onMouseDrag?: EventSystemCallback;
|
|
2875
|
-
/** triggered on mouse drag event */
|
|
2876
|
-
onMouseDragLocked?: EventSystemCallback;
|
|
2877
|
-
/** triggered on mouse drag event */
|
|
2878
|
-
onMouseDragEnd?: EventSystemCallback;
|
|
2879
|
-
/** triggered on input down event */
|
|
2880
|
-
onInputDown?: MultiCallback;
|
|
2881
|
-
/** triggered on input up event */
|
|
2882
|
-
onInputUp?: MultiCallback;
|
|
2883
|
-
/** triggered on input drag event */
|
|
2884
|
-
onInputDrag?: MultiCallback;
|
|
2885
|
-
/** triggered on input drag event */
|
|
2886
|
-
onInputDragLocked?: MultiCallback;
|
|
2887
|
-
/** triggered on input drag event */
|
|
2888
|
-
onInputDragEnd?: MultiCallback;
|
|
2723
|
+
onMouseLeave?: Callback;
|
|
2889
2724
|
};
|
|
2890
2725
|
|
|
2891
2726
|
/**
|
|
@@ -3754,14 +3589,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
|
|
|
3754
3589
|
* @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
|
|
3755
3590
|
*/
|
|
3756
3591
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
3757
|
-
/**
|
|
3758
|
-
* @public
|
|
3759
|
-
* Set a gltf internal mesh in the MeshCollider component
|
|
3760
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
|
3761
|
-
* @param source - the path to the gltf
|
|
3762
|
-
* @param meshName - the name of the mesh in the gltf
|
|
3763
|
-
*/
|
|
3764
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
3765
3592
|
}
|
|
3766
3593
|
|
|
3767
3594
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
@@ -3798,14 +3625,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
|
|
|
3798
3625
|
* @param entity - entity to create or replace the MeshRenderer component
|
|
3799
3626
|
*/
|
|
3800
3627
|
setSphere(entity: Entity): void;
|
|
3801
|
-
/**
|
|
3802
|
-
* @public
|
|
3803
|
-
* Set a gltf internal mesh in the MeshRenderer component
|
|
3804
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
|
3805
|
-
* @param source - the path to the gltf
|
|
3806
|
-
* @param meshName - the name of the mesh in the gltf
|
|
3807
|
-
*/
|
|
3808
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
3809
3628
|
}
|
|
3810
3629
|
|
|
3811
3630
|
/* Excluded from this release type: MessageBus */
|
|
@@ -3843,19 +3662,6 @@ export declare namespace MoveContinuous {
|
|
|
3843
3662
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveContinuous;
|
|
3844
3663
|
}
|
|
3845
3664
|
|
|
3846
|
-
/**
|
|
3847
|
-
* a record object mapping `InputAction`s to functions.
|
|
3848
|
-
*
|
|
3849
|
-
* @example
|
|
3850
|
-
* onInputDown={{
|
|
3851
|
-
* [InputAction.IA_PRIMARY]: (eventData) => { console.log("primary") },
|
|
3852
|
-
* [InputAction.IA_SECONDARY]: () => { console.log("secondary") },
|
|
3853
|
-
* }}
|
|
3854
|
-
*
|
|
3855
|
-
* @public
|
|
3856
|
-
*/
|
|
3857
|
-
export declare type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
|
3858
|
-
|
|
3859
3665
|
export declare const Name: NameComponent;
|
|
3860
3666
|
|
|
3861
3667
|
export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
|
|
@@ -4228,25 +4034,6 @@ export declare const onVideoEvent: Observable<{
|
|
|
4228
4034
|
totalVideoLength: number;
|
|
4229
4035
|
}>;
|
|
4230
4036
|
|
|
4231
|
-
/**
|
|
4232
|
-
* @public
|
|
4233
|
-
*/
|
|
4234
|
-
export declare interface Orthographic {
|
|
4235
|
-
/**
|
|
4236
|
-
* vertical extent of the visible range in meters
|
|
4237
|
-
* defaults to 4m
|
|
4238
|
-
*/
|
|
4239
|
-
verticalRange?: number | undefined;
|
|
4240
|
-
}
|
|
4241
|
-
|
|
4242
|
-
/**
|
|
4243
|
-
* @public
|
|
4244
|
-
*/
|
|
4245
|
-
export declare namespace Orthographic {
|
|
4246
|
-
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
4247
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
4248
|
-
}
|
|
4249
|
-
|
|
4250
4037
|
/**
|
|
4251
4038
|
* @public
|
|
4252
4039
|
* The overflow property controls what happens to content that is too big to fit into an area
|
|
@@ -4473,8 +4260,6 @@ export declare namespace PBAvatarEmoteCommand {
|
|
|
4473
4260
|
export declare interface PBAvatarEquippedData {
|
|
4474
4261
|
wearableUrns: string[];
|
|
4475
4262
|
emoteUrns: string[];
|
|
4476
|
-
/** slots that will render even if hidden */
|
|
4477
|
-
forceRender: string[];
|
|
4478
4263
|
}
|
|
4479
4264
|
|
|
4480
4265
|
/**
|
|
@@ -4509,9 +4294,6 @@ export declare interface PBAvatarModifierArea {
|
|
|
4509
4294
|
excludeIds: string[];
|
|
4510
4295
|
/** list of modifiers to apply */
|
|
4511
4296
|
modifiers: AvatarModifierType[];
|
|
4512
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
|
4513
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
4514
|
-
useColliderRange?: boolean | undefined;
|
|
4515
4297
|
}
|
|
4516
4298
|
|
|
4517
4299
|
/**
|
|
@@ -4570,8 +4352,6 @@ export declare interface PBAvatarShape {
|
|
|
4570
4352
|
emotes: string[];
|
|
4571
4353
|
/** hides the skin + hair + facial features (default: false) */
|
|
4572
4354
|
showOnlyWearables?: boolean | undefined;
|
|
4573
|
-
/** slots that will render even if hidden */
|
|
4574
|
-
forceRender: string[];
|
|
4575
4355
|
}
|
|
4576
4356
|
|
|
4577
4357
|
/**
|
|
@@ -4606,51 +4386,6 @@ export declare namespace PBBillboard {
|
|
|
4606
4386
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
|
|
4607
4387
|
}
|
|
4608
4388
|
|
|
4609
|
-
/**
|
|
4610
|
-
* @public
|
|
4611
|
-
*/
|
|
4612
|
-
export declare interface PBCameraLayer {
|
|
4613
|
-
/**
|
|
4614
|
-
* layer to which these settings apply. must be > 0
|
|
4615
|
-
* Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
|
|
4616
|
-
*/
|
|
4617
|
-
layer: number;
|
|
4618
|
-
/** should the sun light affect this layer? default false */
|
|
4619
|
-
directionalLight?: boolean | undefined;
|
|
4620
|
-
/** should this layer show player avatars? default false */
|
|
4621
|
-
showAvatars?: boolean | undefined;
|
|
4622
|
-
/** should this layer show the sky? default false */
|
|
4623
|
-
showSkybox?: boolean | undefined;
|
|
4624
|
-
/** should this layer show distance fog? default false */
|
|
4625
|
-
showFog?: boolean | undefined;
|
|
4626
|
-
/** ambient light overrides for this layer. default -> use same as main camera */
|
|
4627
|
-
ambientColorOverride?: PBColor3 | undefined;
|
|
4628
|
-
ambientBrightnessOverride?: number | undefined;
|
|
4629
|
-
}
|
|
4630
|
-
|
|
4631
|
-
/**
|
|
4632
|
-
* @public
|
|
4633
|
-
*/
|
|
4634
|
-
export declare namespace PBCameraLayer {
|
|
4635
|
-
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
4636
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
4637
|
-
}
|
|
4638
|
-
|
|
4639
|
-
/**
|
|
4640
|
-
* @public
|
|
4641
|
-
*/
|
|
4642
|
-
export declare interface PBCameraLayers {
|
|
4643
|
-
layers: number[];
|
|
4644
|
-
}
|
|
4645
|
-
|
|
4646
|
-
/**
|
|
4647
|
-
* @public
|
|
4648
|
-
*/
|
|
4649
|
-
export declare namespace PBCameraLayers {
|
|
4650
|
-
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
4651
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
4652
|
-
}
|
|
4653
|
-
|
|
4654
4389
|
/**
|
|
4655
4390
|
* The CameraMode component can be used to determine whether the player is using a first-person o
|
|
4656
4391
|
* third-person view.
|
|
@@ -4673,7 +4408,7 @@ export declare namespace PBCameraMode {
|
|
|
4673
4408
|
|
|
4674
4409
|
/**
|
|
4675
4410
|
* The CameraModeArea component can be attached to an Entity to define a region of space where
|
|
4676
|
-
* the player's camera mode (1st-person
|
|
4411
|
+
* the player's camera mode (1st-person or 3rd-person) is overridden.
|
|
4677
4412
|
*
|
|
4678
4413
|
* The Entity's Transform position determines the center-point of the region, while its size is
|
|
4679
4414
|
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
|
@@ -4683,8 +4418,6 @@ export declare namespace PBCameraMode {
|
|
|
4683
4418
|
*
|
|
4684
4419
|
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
|
4685
4420
|
* is actually a 3D volume.
|
|
4686
|
-
*
|
|
4687
|
-
* When mode is set to CtCinematic, the cinematic_settings field must also be provided.
|
|
4688
4421
|
*/
|
|
4689
4422
|
/**
|
|
4690
4423
|
* @public
|
|
@@ -4694,9 +4427,6 @@ export declare interface PBCameraModeArea {
|
|
|
4694
4427
|
area: PBVector3 | undefined;
|
|
4695
4428
|
/** the camera mode to enforce */
|
|
4696
4429
|
mode: CameraType;
|
|
4697
|
-
cinematicSettings?: CinematicSettings | undefined;
|
|
4698
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
4699
|
-
useColliderRange?: boolean | undefined;
|
|
4700
4430
|
}
|
|
4701
4431
|
|
|
4702
4432
|
/**
|
|
@@ -4768,39 +4498,6 @@ export declare namespace PBEngineInfo {
|
|
|
4768
4498
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
|
4769
4499
|
}
|
|
4770
4500
|
|
|
4771
|
-
/**
|
|
4772
|
-
* defines the global scene light settings. must be added to the scene root.
|
|
4773
|
-
* to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
|
|
4774
|
-
*/
|
|
4775
|
-
/**
|
|
4776
|
-
* @public
|
|
4777
|
-
*/
|
|
4778
|
-
export declare interface PBGlobalLight {
|
|
4779
|
-
/**
|
|
4780
|
-
* the direction the directional light shines in.
|
|
4781
|
-
* default depends on time of day and explorer implementation
|
|
4782
|
-
*/
|
|
4783
|
-
direction?: PBVector3 | undefined;
|
|
4784
|
-
/**
|
|
4785
|
-
* ambient light color
|
|
4786
|
-
* default: White
|
|
4787
|
-
*/
|
|
4788
|
-
ambientColor?: PBColor3 | undefined;
|
|
4789
|
-
/**
|
|
4790
|
-
* ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
|
|
4791
|
-
* default 1
|
|
4792
|
-
*/
|
|
4793
|
-
ambientBrightness?: number | undefined;
|
|
4794
|
-
}
|
|
4795
|
-
|
|
4796
|
-
/**
|
|
4797
|
-
* @public
|
|
4798
|
-
*/
|
|
4799
|
-
export declare namespace PBGlobalLight {
|
|
4800
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
4801
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
4802
|
-
}
|
|
4803
|
-
|
|
4804
4501
|
/**
|
|
4805
4502
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
|
4806
4503
|
*
|
|
@@ -4836,25 +4533,6 @@ export declare namespace PBGltfContainer {
|
|
|
4836
4533
|
*/
|
|
4837
4534
|
export declare interface PBGltfContainerLoadingState {
|
|
4838
4535
|
currentState: LoadingState;
|
|
4839
|
-
/** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
|
|
4840
|
-
nodePaths: string[];
|
|
4841
|
-
/** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
|
|
4842
|
-
meshNames: string[];
|
|
4843
|
-
/**
|
|
4844
|
-
* where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
|
|
4845
|
-
* conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
|
|
4846
|
-
*/
|
|
4847
|
-
materialNames: string[];
|
|
4848
|
-
/**
|
|
4849
|
-
* X is the material index. note this may conflict with manually named materials - to avoid any issues make
|
|
4850
|
-
* sure all your materials are explicitly named.
|
|
4851
|
-
*/
|
|
4852
|
-
skinNames: string[];
|
|
4853
|
-
/**
|
|
4854
|
-
* X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
|
|
4855
|
-
* your skins are explicitly named.
|
|
4856
|
-
*/
|
|
4857
|
-
animationNames: string[];
|
|
4858
4536
|
}
|
|
4859
4537
|
|
|
4860
4538
|
/**
|
|
@@ -4865,57 +4543,6 @@ export declare namespace PBGltfContainerLoadingState {
|
|
|
4865
4543
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
|
|
4866
4544
|
}
|
|
4867
4545
|
|
|
4868
|
-
/**
|
|
4869
|
-
* a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
|
|
4870
|
-
* This component must be added to a direct child of an entity with a PBGltfContainer component, or
|
|
4871
|
-
* to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
|
|
4872
|
-
* in the parent.
|
|
4873
|
-
* The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
|
|
4874
|
-
*
|
|
4875
|
-
* The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
|
|
4876
|
-
* - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
|
|
4877
|
-
* - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
|
|
4878
|
-
* - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
|
|
4879
|
-
* - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
|
|
4880
|
-
*
|
|
4881
|
-
* After creation, if an animation moves the node, the `Transform` will be updated.
|
|
4882
|
-
*
|
|
4883
|
-
* From the scene, you can modify various components to alter the gltf node:
|
|
4884
|
-
* - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
|
|
4885
|
-
* regardless of any intermediate gltf node hierarchy.
|
|
4886
|
-
* If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
|
|
4887
|
-
* - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
|
|
4888
|
-
* - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
|
|
4889
|
-
* - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
|
|
4890
|
-
* - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
|
|
4891
|
-
* used as a base, and any gltf features (e.g. occlusion maps) from the gtlf spec that the renderer supports but that are not exposed in the
|
|
4892
|
-
* PBMaterial will be maintained.
|
|
4893
|
-
*
|
|
4894
|
-
* The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
|
|
4895
|
-
* - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
|
|
4896
|
-
* change the state to `GNS_FAILED`.
|
|
4897
|
-
* - deleting the scene entity will not delete the gltf node.
|
|
4898
|
-
*
|
|
4899
|
-
* Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
|
|
4900
|
-
* are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
|
|
4901
|
-
* the gltf node will also be displayed.
|
|
4902
|
-
*/
|
|
4903
|
-
/**
|
|
4904
|
-
* @public
|
|
4905
|
-
*/
|
|
4906
|
-
export declare interface PBGltfNode {
|
|
4907
|
-
/** the path of the target node in the Gltf. */
|
|
4908
|
-
path: string;
|
|
4909
|
-
}
|
|
4910
|
-
|
|
4911
|
-
/**
|
|
4912
|
-
* @public
|
|
4913
|
-
*/
|
|
4914
|
-
export declare namespace PBGltfNode {
|
|
4915
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
4916
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
4917
|
-
}
|
|
4918
|
-
|
|
4919
4546
|
/**
|
|
4920
4547
|
* GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
|
|
4921
4548
|
*
|
|
@@ -4961,26 +4588,6 @@ export declare namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
4961
4588
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeModifiers_GltfNodeModifier;
|
|
4962
4589
|
}
|
|
4963
4590
|
|
|
4964
|
-
/**
|
|
4965
|
-
* The state of a linked gltf node.
|
|
4966
|
-
* If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
|
|
4967
|
-
*/
|
|
4968
|
-
/**
|
|
4969
|
-
* @public
|
|
4970
|
-
*/
|
|
4971
|
-
export declare interface PBGltfNodeState {
|
|
4972
|
-
state: GltfNodeStateValue;
|
|
4973
|
-
error?: string | undefined;
|
|
4974
|
-
}
|
|
4975
|
-
|
|
4976
|
-
/**
|
|
4977
|
-
* @public
|
|
4978
|
-
*/
|
|
4979
|
-
export declare namespace PBGltfNodeState {
|
|
4980
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
4981
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
4982
|
-
}
|
|
4983
|
-
|
|
4984
4591
|
/**
|
|
4985
4592
|
* @public
|
|
4986
4593
|
*/
|
|
@@ -5116,14 +4723,6 @@ export declare interface PBMaterial {
|
|
|
5116
4723
|
$case: "pbr";
|
|
5117
4724
|
pbr: PBMaterial_PbrMaterial;
|
|
5118
4725
|
} | undefined;
|
|
5119
|
-
/**
|
|
5120
|
-
* A gltf material that may provide additional features not supported by the PbMaterial fields.
|
|
5121
|
-
* If both gltf and material fields are provided, the gltf will be used only for extended features not
|
|
5122
|
-
* supported by the PbMaterial.
|
|
5123
|
-
* If this is provided and the `material` field is not provided, the renderer will update the material
|
|
5124
|
-
* field with data that reflects the gltf material once it is loaded.
|
|
5125
|
-
*/
|
|
5126
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
5127
4726
|
}
|
|
5128
4727
|
|
|
5129
4728
|
/**
|
|
@@ -5134,22 +4733,6 @@ export declare namespace PBMaterial {
|
|
|
5134
4733
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
|
5135
4734
|
}
|
|
5136
4735
|
|
|
5137
|
-
/**
|
|
5138
|
-
* @public
|
|
5139
|
-
*/
|
|
5140
|
-
export declare interface PBMaterial_GltfMaterial {
|
|
5141
|
-
gltfSrc: string;
|
|
5142
|
-
name: string;
|
|
5143
|
-
}
|
|
5144
|
-
|
|
5145
|
-
/**
|
|
5146
|
-
* @public
|
|
5147
|
-
*/
|
|
5148
|
-
export declare namespace PBMaterial_GltfMaterial {
|
|
5149
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
5150
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
5151
|
-
}
|
|
5152
|
-
|
|
5153
4736
|
/**
|
|
5154
4737
|
* @public
|
|
5155
4738
|
*/
|
|
@@ -5246,9 +4829,6 @@ export declare interface PBMeshCollider {
|
|
|
5246
4829
|
} | {
|
|
5247
4830
|
$case: "plane";
|
|
5248
4831
|
plane: PBMeshCollider_PlaneMesh;
|
|
5249
|
-
} | {
|
|
5250
|
-
$case: "gltf";
|
|
5251
|
-
gltf: PBMeshCollider_GltfMesh;
|
|
5252
4832
|
} | undefined;
|
|
5253
4833
|
}
|
|
5254
4834
|
|
|
@@ -5294,25 +4874,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
|
|
|
5294
4874
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
|
5295
4875
|
}
|
|
5296
4876
|
|
|
5297
|
-
/** A collider constructed from a Gltf Mesh. */
|
|
5298
|
-
/**
|
|
5299
|
-
* @public
|
|
5300
|
-
*/
|
|
5301
|
-
export declare interface PBMeshCollider_GltfMesh {
|
|
5302
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
|
5303
|
-
gltfSrc: string;
|
|
5304
|
-
/** the name of the mesh asset */
|
|
5305
|
-
name: string;
|
|
5306
|
-
}
|
|
5307
|
-
|
|
5308
|
-
/**
|
|
5309
|
-
* @public
|
|
5310
|
-
*/
|
|
5311
|
-
export declare namespace PBMeshCollider_GltfMesh {
|
|
5312
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
5313
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
5314
|
-
}
|
|
5315
|
-
|
|
5316
4877
|
/** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
|
|
5317
4878
|
/**
|
|
5318
4879
|
* @public
|
|
@@ -5345,11 +4906,13 @@ export declare namespace PBMeshCollider_SphereMesh {
|
|
|
5345
4906
|
|
|
5346
4907
|
/**
|
|
5347
4908
|
* The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
|
5348
|
-
* plane, a sphere
|
|
4909
|
+
* plane, a sphere or a cylinder.
|
|
5349
4910
|
*
|
|
5350
4911
|
* The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
|
5351
4912
|
* texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
|
5352
4913
|
* `float` coordinates, one for each corner of each side of each face.
|
|
4914
|
+
*
|
|
4915
|
+
* More complex shapes require the use of a `GltfContainer` component.
|
|
5353
4916
|
*/
|
|
5354
4917
|
/**
|
|
5355
4918
|
* @public
|
|
@@ -5367,9 +4930,6 @@ export declare interface PBMeshRenderer {
|
|
|
5367
4930
|
} | {
|
|
5368
4931
|
$case: "plane";
|
|
5369
4932
|
plane: PBMeshRenderer_PlaneMesh;
|
|
5370
|
-
} | {
|
|
5371
|
-
$case: "gltf";
|
|
5372
|
-
gltf: PBMeshRenderer_GltfMesh;
|
|
5373
4933
|
} | undefined;
|
|
5374
4934
|
}
|
|
5375
4935
|
|
|
@@ -5417,25 +4977,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
|
|
|
5417
4977
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
|
5418
4978
|
}
|
|
5419
4979
|
|
|
5420
|
-
/** A mesh from a Gltf. */
|
|
5421
|
-
/**
|
|
5422
|
-
* @public
|
|
5423
|
-
*/
|
|
5424
|
-
export declare interface PBMeshRenderer_GltfMesh {
|
|
5425
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
|
5426
|
-
gltfSrc: string;
|
|
5427
|
-
/** the name of the mesh asset */
|
|
5428
|
-
name: string;
|
|
5429
|
-
}
|
|
5430
|
-
|
|
5431
|
-
/**
|
|
5432
|
-
* @public
|
|
5433
|
-
*/
|
|
5434
|
-
export declare namespace PBMeshRenderer_GltfMesh {
|
|
5435
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
5436
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
5437
|
-
}
|
|
5438
|
-
|
|
5439
4980
|
/** PlaneMesh renders a 2D rectangular shape. */
|
|
5440
4981
|
/**
|
|
5441
4982
|
* @public
|
|
@@ -5684,10 +5225,7 @@ export declare interface PBPrimaryPointerInfo {
|
|
|
5684
5225
|
screenCoordinates?: PBVector2 | undefined;
|
|
5685
5226
|
/** Movement since last frame (pixels) */
|
|
5686
5227
|
screenDelta?: PBVector2 | undefined;
|
|
5687
|
-
/**
|
|
5688
|
-
* ray direction that can be used with the primary camera origin for
|
|
5689
|
-
* raycasting from the cursor into the world
|
|
5690
|
-
*/
|
|
5228
|
+
/** Direction vector for 3D ray casting */
|
|
5691
5229
|
worldRayDirection?: PBVector3 | undefined;
|
|
5692
5230
|
}
|
|
5693
5231
|
|
|
@@ -5913,46 +5451,6 @@ export declare namespace PBTextShape {
|
|
|
5913
5451
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
|
|
5914
5452
|
}
|
|
5915
5453
|
|
|
5916
|
-
/**
|
|
5917
|
-
* @public
|
|
5918
|
-
*/
|
|
5919
|
-
export declare interface PBTextureCamera {
|
|
5920
|
-
/** rendered texture width */
|
|
5921
|
-
width?: number | undefined;
|
|
5922
|
-
/** rendered texture height */
|
|
5923
|
-
height?: number | undefined;
|
|
5924
|
-
/**
|
|
5925
|
-
* which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
|
|
5926
|
-
* defaults to 0
|
|
5927
|
-
*/
|
|
5928
|
-
layer?: number | undefined;
|
|
5929
|
-
/** default black */
|
|
5930
|
-
clearColor?: PBColor4 | undefined;
|
|
5931
|
-
/** default infinity */
|
|
5932
|
-
farPlane?: number | undefined;
|
|
5933
|
-
mode?: {
|
|
5934
|
-
$case: "perspective";
|
|
5935
|
-
perspective: Perspective;
|
|
5936
|
-
} | {
|
|
5937
|
-
$case: "orthographic";
|
|
5938
|
-
orthographic: Orthographic;
|
|
5939
|
-
} | undefined;
|
|
5940
|
-
/**
|
|
5941
|
-
* controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
|
|
5942
|
-
* range: 0 (off) - 1 (full volume)
|
|
5943
|
-
* default: 0
|
|
5944
|
-
*/
|
|
5945
|
-
volume?: number | undefined;
|
|
5946
|
-
}
|
|
5947
|
-
|
|
5948
|
-
/**
|
|
5949
|
-
* @public
|
|
5950
|
-
*/
|
|
5951
|
-
export declare namespace PBTextureCamera {
|
|
5952
|
-
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
5953
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
5954
|
-
}
|
|
5955
|
-
|
|
5956
5454
|
/**
|
|
5957
5455
|
* The PBTriggerArea component is used to raise collision triggering events (through the TriggerAreaResult component)
|
|
5958
5456
|
* when entities enter this component's defined area.
|
|
@@ -6131,25 +5629,6 @@ export declare namespace PBUiBackground {
|
|
|
6131
5629
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
|
6132
5630
|
}
|
|
6133
5631
|
|
|
6134
|
-
/** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
|
|
6135
|
-
/**
|
|
6136
|
-
* @public
|
|
6137
|
-
*/
|
|
6138
|
-
export declare interface PBUiCanvas {
|
|
6139
|
-
width: number;
|
|
6140
|
-
height: number;
|
|
6141
|
-
/** default = (0.0, 0.0, 0.0, 0.0) / transparent */
|
|
6142
|
-
color?: PBColor4 | undefined;
|
|
6143
|
-
}
|
|
6144
|
-
|
|
6145
|
-
/**
|
|
6146
|
-
* @public
|
|
6147
|
-
*/
|
|
6148
|
-
export declare namespace PBUiCanvas {
|
|
6149
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
6150
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
6151
|
-
}
|
|
6152
|
-
|
|
6153
5632
|
/** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
|
|
6154
5633
|
/**
|
|
6155
5634
|
* @public
|
|
@@ -6266,21 +5745,6 @@ export declare namespace PBUiInputResult {
|
|
|
6266
5745
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
|
|
6267
5746
|
}
|
|
6268
5747
|
|
|
6269
|
-
/**
|
|
6270
|
-
* @public
|
|
6271
|
-
*/
|
|
6272
|
-
export declare interface PBUiScrollResult {
|
|
6273
|
-
value: PBVector2 | undefined;
|
|
6274
|
-
}
|
|
6275
|
-
|
|
6276
|
-
/**
|
|
6277
|
-
* @public
|
|
6278
|
-
*/
|
|
6279
|
-
export declare namespace PBUiScrollResult {
|
|
6280
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
6281
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
6282
|
-
}
|
|
6283
|
-
|
|
6284
5748
|
/**
|
|
6285
5749
|
* @public
|
|
6286
5750
|
*/
|
|
@@ -6297,10 +5761,6 @@ export declare interface PBUiText {
|
|
|
6297
5761
|
fontSize?: number | undefined;
|
|
6298
5762
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
|
6299
5763
|
textWrap?: TextWrap | undefined;
|
|
6300
|
-
/** width of the outline (default: 0) */
|
|
6301
|
-
outlineWidth?: number | undefined;
|
|
6302
|
-
/** RGBA color of the outline (default: opaque black) */
|
|
6303
|
-
outlineColor?: PBColor4 | undefined;
|
|
6304
5764
|
}
|
|
6305
5765
|
|
|
6306
5766
|
/**
|
|
@@ -6428,12 +5888,6 @@ export declare interface PBUiTransform {
|
|
|
6428
5888
|
borderRightColor?: PBColor4 | undefined;
|
|
6429
5889
|
/** default: 1 */
|
|
6430
5890
|
opacity?: number | undefined;
|
|
6431
|
-
/** reference for scroll_position. default empty */
|
|
6432
|
-
elementId?: string | undefined;
|
|
6433
|
-
/** default position=(0,0) */
|
|
6434
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
|
6435
|
-
/** default ShowScrollBar.SSB_BOTH */
|
|
6436
|
-
scrollVisible?: ShowScrollBar | undefined;
|
|
6437
5891
|
/** default: 0 — controls render stacking order. Higher values appear in front of lower values. */
|
|
6438
5892
|
zIndex?: number | undefined;
|
|
6439
5893
|
}
|
|
@@ -6565,25 +6019,6 @@ export declare namespace PBVisibilityComponent {
|
|
|
6565
6019
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
|
|
6566
6020
|
}
|
|
6567
6021
|
|
|
6568
|
-
/**
|
|
6569
|
-
* @public
|
|
6570
|
-
*/
|
|
6571
|
-
export declare interface Perspective {
|
|
6572
|
-
/**
|
|
6573
|
-
* vertical field of view in radians
|
|
6574
|
-
* defaults to pi/4 = 45 degrees
|
|
6575
|
-
*/
|
|
6576
|
-
fieldOfView?: number | undefined;
|
|
6577
|
-
}
|
|
6578
|
-
|
|
6579
|
-
/**
|
|
6580
|
-
* @public
|
|
6581
|
-
*/
|
|
6582
|
-
export declare namespace Perspective {
|
|
6583
|
-
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
6584
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
6585
|
-
}
|
|
6586
|
-
|
|
6587
6022
|
/**
|
|
6588
6023
|
* Represens a plane by the equation ax + by + cz + d = 0
|
|
6589
6024
|
* @public
|
|
@@ -6739,37 +6174,11 @@ export declare interface PointerEventsSystem {
|
|
|
6739
6174
|
* @param entity - Entity where the callback was attached
|
|
6740
6175
|
*/
|
|
6741
6176
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
6742
|
-
/**
|
|
6743
|
-
* @public
|
|
6744
|
-
* Remove the callback for onPointerDrag event
|
|
6745
|
-
* @param entity - Entity where the callback was attached
|
|
6746
|
-
*/
|
|
6747
|
-
removeOnPointerDrag(entity: Entity): void;
|
|
6748
|
-
/**
|
|
6749
|
-
* @public
|
|
6750
|
-
* Remove the callback for onPointerDragLocked event
|
|
6751
|
-
* @param entity - Entity where the callback was attached
|
|
6752
|
-
*/
|
|
6753
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
|
6754
|
-
/**
|
|
6755
|
-
* @public
|
|
6756
|
-
* Remove the callback for onPointerDragEnd event
|
|
6757
|
-
* @param entity - Entity where the callback was attached
|
|
6758
|
-
*/
|
|
6759
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
|
6760
|
-
/**
|
|
6761
|
-
* @public
|
|
6762
|
-
* Execute callbacks when the user presses one of the InputButtons pointing at the entity
|
|
6763
|
-
* @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
|
|
6764
|
-
*/
|
|
6765
|
-
onPointerDown(pointerData: {
|
|
6766
|
-
entity: Entity;
|
|
6767
|
-
optsList: EventSystemOptionsCallback[];
|
|
6768
|
-
}): void;
|
|
6769
6177
|
/**
|
|
6770
6178
|
* @public
|
|
6771
6179
|
* Execute callback when the user press the InputButton pointing at the entity
|
|
6772
6180
|
* @param pointerData - Entity to attach the callback, Opts to trigger Feedback and Button
|
|
6181
|
+
* @param cb - Function to execute when click fires
|
|
6773
6182
|
*/
|
|
6774
6183
|
onPointerDown(pointerData: {
|
|
6775
6184
|
entity: Entity;
|
|
@@ -6782,15 +6191,6 @@ export declare interface PointerEventsSystem {
|
|
|
6782
6191
|
* @param opts - Opts to trigger Feedback and Button
|
|
6783
6192
|
*/
|
|
6784
6193
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
6785
|
-
/**
|
|
6786
|
-
* @public
|
|
6787
|
-
* Execute callbacks when the user releases one of the InputButtons pointing at the entity
|
|
6788
|
-
* @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
|
|
6789
|
-
*/
|
|
6790
|
-
onPointerUp(pointerData: {
|
|
6791
|
-
entity: Entity;
|
|
6792
|
-
optsList: EventSystemOptionsCallback[];
|
|
6793
|
-
}): void;
|
|
6794
6194
|
/**
|
|
6795
6195
|
* @public
|
|
6796
6196
|
* Execute callback when the user releases the InputButton pointing at the entity
|
|
@@ -6828,64 +6228,6 @@ export declare interface PointerEventsSystem {
|
|
|
6828
6228
|
entity: Entity;
|
|
6829
6229
|
opts?: Partial<EventSystemOptions>;
|
|
6830
6230
|
}, cb: EventSystemCallback): void;
|
|
6831
|
-
/**
|
|
6832
|
-
* @public
|
|
6833
|
-
* Execute callbacks when the user drags the pointer from inside the entity
|
|
6834
|
-
* @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
|
|
6835
|
-
*/
|
|
6836
|
-
onPointerDrag(pointerData: {
|
|
6837
|
-
entity: Entity;
|
|
6838
|
-
optsList: EventSystemOptionsCallback[];
|
|
6839
|
-
}): void;
|
|
6840
|
-
/**
|
|
6841
|
-
* @public
|
|
6842
|
-
* Execute callback when the user clicks and drags the pointer from inside the entity
|
|
6843
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6844
|
-
* @param cb - Function to execute when click fires
|
|
6845
|
-
*/
|
|
6846
|
-
onPointerDrag(pointerData: {
|
|
6847
|
-
entity: Entity;
|
|
6848
|
-
opts?: Partial<EventSystemOptions>;
|
|
6849
|
-
}, cb: EventSystemCallback): void;
|
|
6850
|
-
/**
|
|
6851
|
-
* @public
|
|
6852
|
-
* Execute callbacks when the user drags the pointer from inside the entity, locking the cursor in place.
|
|
6853
|
-
* @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
|
|
6854
|
-
*/
|
|
6855
|
-
onPointerDragLocked(pointerData: {
|
|
6856
|
-
entity: Entity;
|
|
6857
|
-
optsList: EventSystemOptionsCallback[];
|
|
6858
|
-
}): void;
|
|
6859
|
-
/**
|
|
6860
|
-
* @public
|
|
6861
|
-
* Execute callback when the user clicks and drags the pointer from inside the entity,
|
|
6862
|
-
* locking the cursor in place
|
|
6863
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6864
|
-
* @param cb - Function to execute when click fires
|
|
6865
|
-
*/
|
|
6866
|
-
onPointerDragLocked(pointerData: {
|
|
6867
|
-
entity: Entity;
|
|
6868
|
-
opts?: Partial<EventSystemOptions>;
|
|
6869
|
-
}, cb: EventSystemCallback): void;
|
|
6870
|
-
/**
|
|
6871
|
-
* @public
|
|
6872
|
-
* Execute callbacks when the user releases a button after a drag
|
|
6873
|
-
* @param pointerData - Entity to attach the callbacks, list of options to trigger Feedback, Button, and Callback
|
|
6874
|
-
*/
|
|
6875
|
-
onPointerDragEnd(pointerData: {
|
|
6876
|
-
entity: Entity;
|
|
6877
|
-
optsList: EventSystemOptionsCallback[];
|
|
6878
|
-
}): void;
|
|
6879
|
-
/**
|
|
6880
|
-
* @public
|
|
6881
|
-
* Execute callback when the user releases the button after a drag
|
|
6882
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6883
|
-
* @param cb - Function to execute when click fires
|
|
6884
|
-
*/
|
|
6885
|
-
onPointerDragEnd(pointerData: {
|
|
6886
|
-
entity: Entity;
|
|
6887
|
-
opts?: Partial<EventSystemOptions>;
|
|
6888
|
-
}, cb: EventSystemCallback): void;
|
|
6889
6231
|
}
|
|
6890
6232
|
|
|
6891
6233
|
/**
|
|
@@ -6902,10 +6244,7 @@ export declare const enum PointerEventType {
|
|
|
6902
6244
|
PET_UP = 0,
|
|
6903
6245
|
PET_DOWN = 1,
|
|
6904
6246
|
PET_HOVER_ENTER = 2,
|
|
6905
|
-
PET_HOVER_LEAVE = 3
|
|
6906
|
-
PET_DRAG_LOCKED = 4,
|
|
6907
|
-
PET_DRAG = 5,
|
|
6908
|
-
PET_DRAG_END = 6
|
|
6247
|
+
PET_HOVER_LEAVE = 3
|
|
6909
6248
|
}
|
|
6910
6249
|
|
|
6911
6250
|
/**
|
|
@@ -6936,10 +6275,7 @@ export declare const enum PointerType {
|
|
|
6936
6275
|
/** POT_NONE - No pointer input */
|
|
6937
6276
|
POT_NONE = 0,
|
|
6938
6277
|
/** POT_MOUSE - Traditional mouse input */
|
|
6939
|
-
POT_MOUSE = 1
|
|
6940
|
-
POT_PAD = 2,
|
|
6941
|
-
POT_TOUCH = 3,
|
|
6942
|
-
POT_WAND = 4
|
|
6278
|
+
POT_MOUSE = 1
|
|
6943
6279
|
}
|
|
6944
6280
|
|
|
6945
6281
|
/**
|
|
@@ -7536,7 +6872,6 @@ export declare type RaycastSystemOptions = {
|
|
|
7536
6872
|
export declare interface ReactBasedUiSystem {
|
|
7537
6873
|
destroy(): void;
|
|
7538
6874
|
setUiRenderer(ui: UiComponent): void;
|
|
7539
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
7540
6875
|
}
|
|
7541
6876
|
|
|
7542
6877
|
/**
|
|
@@ -8015,43 +7350,6 @@ export declare namespace Schemas {
|
|
|
8015
7350
|
}) => void;
|
|
8016
7351
|
}
|
|
8017
7352
|
|
|
8018
|
-
/**
|
|
8019
|
-
* @public
|
|
8020
|
-
*/
|
|
8021
|
-
export declare interface ScrollPositionValue {
|
|
8022
|
-
value?: {
|
|
8023
|
-
$case: "position";
|
|
8024
|
-
position: PBVector2;
|
|
8025
|
-
} | {
|
|
8026
|
-
$case: "reference";
|
|
8027
|
-
reference: string;
|
|
8028
|
-
} | undefined;
|
|
8029
|
-
}
|
|
8030
|
-
|
|
8031
|
-
/**
|
|
8032
|
-
* @public
|
|
8033
|
-
*/
|
|
8034
|
-
export declare namespace ScrollPositionValue {
|
|
8035
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
8036
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
8037
|
-
}
|
|
8038
|
-
|
|
8039
|
-
/**
|
|
8040
|
-
* @public
|
|
8041
|
-
* The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
|
|
8042
|
-
*/
|
|
8043
|
-
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
8044
|
-
|
|
8045
|
-
/**
|
|
8046
|
-
* @public
|
|
8047
|
-
*/
|
|
8048
|
-
export declare const enum ShowScrollBar {
|
|
8049
|
-
SSB_BOTH = 0,
|
|
8050
|
-
SSB_ONLY_VERTICAL = 1,
|
|
8051
|
-
SSB_ONLY_HORIZONTAL = 2,
|
|
8052
|
-
SSB_HIDDEN = 3
|
|
8053
|
-
}
|
|
8054
|
-
|
|
8055
7353
|
/** @public */
|
|
8056
7354
|
export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
8057
7355
|
|
|
@@ -8158,9 +7456,6 @@ export declare namespace Texture {
|
|
|
8158
7456
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
|
|
8159
7457
|
}
|
|
8160
7458
|
|
|
8161
|
-
/** @public */
|
|
8162
|
-
export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
8163
|
-
|
|
8164
7459
|
/**
|
|
8165
7460
|
* @public
|
|
8166
7461
|
*/
|
|
@@ -8271,9 +7566,6 @@ export declare interface TextureUnion {
|
|
|
8271
7566
|
} | {
|
|
8272
7567
|
$case: "videoTexture";
|
|
8273
7568
|
videoTexture: VideoTexture;
|
|
8274
|
-
} | {
|
|
8275
|
-
$case: "uiTexture";
|
|
8276
|
-
uiTexture: UiCanvasTexture;
|
|
8277
7569
|
} | undefined;
|
|
8278
7570
|
}
|
|
8279
7571
|
|
|
@@ -8646,7 +7938,7 @@ export declare type TweenSystem = {
|
|
|
8646
7938
|
|
|
8647
7939
|
/**
|
|
8648
7940
|
* @public
|
|
8649
|
-
* Register callback functions to a particular entity on
|
|
7941
|
+
* Register callback functions to a particular entity on tween events.
|
|
8650
7942
|
*/
|
|
8651
7943
|
export declare const tweenSystem: TweenSystem;
|
|
8652
7944
|
|
|
@@ -8678,8 +7970,6 @@ export declare interface UiBackgroundProps {
|
|
|
8678
7970
|
uvs?: number[];
|
|
8679
7971
|
/** AvatarTexture for the background */
|
|
8680
7972
|
avatarTexture?: UiAvatarTexture;
|
|
8681
|
-
/** VideoTexture for the background */
|
|
8682
|
-
videoTexture?: UiVideoTexture;
|
|
8683
7973
|
/** Texture for the background */
|
|
8684
7974
|
texture?: UiTexture;
|
|
8685
7975
|
}
|
|
@@ -8699,31 +7989,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
8699
7989
|
disabled?: boolean;
|
|
8700
7990
|
}
|
|
8701
7991
|
|
|
8702
|
-
/** @public */
|
|
8703
|
-
export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
8704
|
-
|
|
8705
7992
|
/** @public */
|
|
8706
7993
|
export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
8707
7994
|
|
|
8708
|
-
/**
|
|
8709
|
-
* @public
|
|
8710
|
-
*/
|
|
8711
|
-
export declare interface UiCanvasTexture {
|
|
8712
|
-
uiCanvasEntity: number;
|
|
8713
|
-
/** default = TextureWrapMode.Clamp */
|
|
8714
|
-
wrapMode?: TextureWrapMode | undefined;
|
|
8715
|
-
/** default = FilterMode.Bilinear */
|
|
8716
|
-
filterMode?: TextureFilterMode | undefined;
|
|
8717
|
-
}
|
|
8718
|
-
|
|
8719
|
-
/**
|
|
8720
|
-
* @public
|
|
8721
|
-
*/
|
|
8722
|
-
export declare namespace UiCanvasTexture {
|
|
8723
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
8724
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
8725
|
-
}
|
|
8726
|
-
|
|
8727
7995
|
/**
|
|
8728
7996
|
* @public
|
|
8729
7997
|
*/
|
|
@@ -8793,10 +8061,6 @@ export declare interface UiLabelProps {
|
|
|
8793
8061
|
textAlign?: TextAlignType | undefined;
|
|
8794
8062
|
/** Label font type. @defaultValue 'sans-serif' */
|
|
8795
8063
|
font?: UiFontType | undefined;
|
|
8796
|
-
/** Outline width of the text. @defaultValue 0 */
|
|
8797
|
-
outlineWidth?: number | undefined;
|
|
8798
|
-
/** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
|
|
8799
|
-
outlineColor?: PBColor4 | undefined;
|
|
8800
8064
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
|
8801
8065
|
textWrap?: UiTextWrapType | undefined;
|
|
8802
8066
|
}
|
|
@@ -8806,9 +8070,6 @@ export declare interface UiLabelProps {
|
|
|
8806
8070
|
*/
|
|
8807
8071
|
export declare type uint32 = number;
|
|
8808
8072
|
|
|
8809
|
-
/** @public */
|
|
8810
|
-
export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
8811
|
-
|
|
8812
8073
|
/** @public */
|
|
8813
8074
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
8814
8075
|
|
|
@@ -8886,26 +8147,10 @@ export declare interface UiTransformProps {
|
|
|
8886
8147
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
8887
8148
|
/** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
|
|
8888
8149
|
opacity?: number;
|
|
8889
|
-
/** A reference value to identify the element, default empty */
|
|
8890
|
-
elementId?: string;
|
|
8891
|
-
/** default position=(0,0) if it aplies, a vector or a reference-id */
|
|
8892
|
-
scrollPosition?: PBVector2 | string;
|
|
8893
|
-
/** default ShowScrollBar.SSB_BOTH */
|
|
8894
|
-
scrollVisible?: ScrollVisibleType;
|
|
8895
8150
|
/** default 0 */
|
|
8896
8151
|
zIndex?: number;
|
|
8897
8152
|
}
|
|
8898
8153
|
|
|
8899
|
-
/**
|
|
8900
|
-
* Texture
|
|
8901
|
-
* @public
|
|
8902
|
-
*/
|
|
8903
|
-
export declare interface UiVideoTexture {
|
|
8904
|
-
videoPlayerEntity: Entity;
|
|
8905
|
-
wrapMode?: TextureWrapType;
|
|
8906
|
-
filterMode?: TextureFilterType;
|
|
8907
|
-
}
|
|
8908
|
-
|
|
8909
8154
|
/**
|
|
8910
8155
|
* @public
|
|
8911
8156
|
*/
|