@dcl/playground-assets 7.6.5-11859795746.commit-4bc5ec9 → 7.6.5-11955607143.commit-2c002ca
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 +25 -539
- package/dist/beta.d.ts +25 -539
- package/dist/index.bundled.d.ts +25 -539
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +25 -539
- package/etc/playground-assets.api.json +905 -5978
- package/etc/playground-assets.api.md +14 -329
- package/package.json +4 -4
@@ -178,18 +178,6 @@ 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
|
|
@@ -210,37 +198,6 @@ export declare const enum AvatarModifierType {
|
|
210
198
|
AMT_DISABLE_PASSPORTS = 1
|
211
199
|
}
|
212
200
|
|
213
|
-
/**
|
214
|
-
* @public
|
215
|
-
*/
|
216
|
-
export declare interface AvatarMovementSettings {
|
217
|
-
controlMode?: AvatarControlType | undefined;
|
218
|
-
/** if not explicitly set, the following properties default to user's preference settings */
|
219
|
-
runSpeed?: number | undefined;
|
220
|
-
/** how fast the player gets up to speed or comes to rest. higher = more responsive */
|
221
|
-
friction?: number | undefined;
|
222
|
-
/** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
|
223
|
-
gravity?: number | undefined;
|
224
|
-
/** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
|
225
|
-
jumpHeight?: number | undefined;
|
226
|
-
/** max fall speed in m/s. should normally be negative */
|
227
|
-
maxFallSpeed?: number | undefined;
|
228
|
-
/** speed the player turns in tank mode, in radians/s */
|
229
|
-
turnSpeed?: number | undefined;
|
230
|
-
/** speed the player walks at, in m/s */
|
231
|
-
walkSpeed?: number | undefined;
|
232
|
-
/** 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 */
|
233
|
-
allowWeightedMovement?: boolean | undefined;
|
234
|
-
}
|
235
|
-
|
236
|
-
/**
|
237
|
-
* @public
|
238
|
-
*/
|
239
|
-
export declare namespace AvatarMovementSettings {
|
240
|
-
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
241
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
242
|
-
}
|
243
|
-
|
244
201
|
/** @public */
|
245
202
|
export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
246
203
|
|
@@ -562,39 +519,6 @@ export declare const enum CameraType {
|
|
562
519
|
|
563
520
|
export declare type Children = ReactEcs.JSX.ReactNode;
|
564
521
|
|
565
|
-
/**
|
566
|
-
* @public
|
567
|
-
*/
|
568
|
-
export declare interface CinematicSettings {
|
569
|
-
/** Entity that defines the cinematic camera transform. */
|
570
|
-
cameraEntity: number;
|
571
|
-
/**
|
572
|
-
* Position -> camera's position
|
573
|
-
* Rotation -> camera's direction
|
574
|
-
* scale.z -> zoom level
|
575
|
-
* scale.x and scale.y -> unused
|
576
|
-
*/
|
577
|
-
allowManualRotation?: boolean | undefined;
|
578
|
-
/** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
|
579
|
-
yawRange?: number | undefined;
|
580
|
-
/** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
|
581
|
-
pitchRange?: number | undefined;
|
582
|
-
/** note: cameras can never look up/down further than Vec3::Y */
|
583
|
-
rollRange?: number | undefined;
|
584
|
-
/** minimum zoom level. must be greater than 0. defaults to the input zoom level */
|
585
|
-
zoomMin?: number | undefined;
|
586
|
-
/** maximum zoom level. must be greater than 0. defaults to the input zoom level */
|
587
|
-
zoomMax?: number | undefined;
|
588
|
-
}
|
589
|
-
|
590
|
-
/**
|
591
|
-
* @public
|
592
|
-
*/
|
593
|
-
export declare namespace CinematicSettings {
|
594
|
-
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
595
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
596
|
-
}
|
597
|
-
|
598
522
|
/** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
|
599
523
|
/**
|
600
524
|
* @public
|
@@ -1371,13 +1295,9 @@ export declare const componentDefinitionByName: {
|
|
1371
1295
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
1372
1296
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
1373
1297
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
1374
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
1375
1298
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
1376
1299
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
1377
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
1378
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
1379
1300
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
1380
|
-
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
1381
1301
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
1382
1302
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
1383
1303
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -1390,19 +1310,16 @@ export declare const componentDefinitionByName: {
|
|
1390
1310
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
1391
1311
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
1392
1312
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
1393
|
-
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
1394
1313
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
1395
1314
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
1396
1315
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
1397
1316
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
1398
1317
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
1399
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
1400
1318
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
1401
1319
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
1402
1320
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
1403
1321
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
1404
1322
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
1405
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
1406
1323
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
1407
1324
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
1408
1325
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -2117,9 +2034,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
|
|
2117
2034
|
direction?: PBVector3;
|
2118
2035
|
};
|
2119
2036
|
|
2120
|
-
/** @public */
|
2121
|
-
export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
2122
|
-
|
2123
2037
|
export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
|
2124
2038
|
|
2125
2039
|
export declare type GlobalTargetRaycastSystemOptions = {
|
@@ -2132,21 +2046,6 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
|
|
2132
2046
|
/** @public */
|
2133
2047
|
export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
2134
2048
|
|
2135
|
-
/** @public */
|
2136
|
-
export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
2137
|
-
|
2138
|
-
/** @public */
|
2139
|
-
export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
2140
|
-
|
2141
|
-
/**
|
2142
|
-
* @public
|
2143
|
-
*/
|
2144
|
-
export declare const enum GltfNodeStateValue {
|
2145
|
-
GNSV_PENDING = 0,
|
2146
|
-
GNSV_FAILED = 1,
|
2147
|
-
GNSV_READY = 2
|
2148
|
-
}
|
2149
|
-
|
2150
2049
|
/**
|
2151
2050
|
* @public
|
2152
2051
|
*/
|
@@ -2554,8 +2453,27 @@ export declare const enum InputAction {
|
|
2554
2453
|
IA_ACTION_6 = 13
|
2555
2454
|
}
|
2556
2455
|
|
2557
|
-
|
2558
|
-
|
2456
|
+
export declare const InputModifier: InputModifierComponentDefinitionExtended;
|
2457
|
+
|
2458
|
+
/**
|
2459
|
+
* @public
|
2460
|
+
*/
|
2461
|
+
export declare interface InputModifierComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBInputModifier> {
|
2462
|
+
/**
|
2463
|
+
* InputModifier helper with constructor
|
2464
|
+
*/
|
2465
|
+
Mode: InputModifierHelper;
|
2466
|
+
}
|
2467
|
+
|
2468
|
+
/**
|
2469
|
+
* @public
|
2470
|
+
*/
|
2471
|
+
export declare interface InputModifierHelper {
|
2472
|
+
/**
|
2473
|
+
* @returns a input modifier mode
|
2474
|
+
*/
|
2475
|
+
Standard: (standard: PBInputModifier_StandardInput) => PBInputModifier['mode'];
|
2476
|
+
}
|
2559
2477
|
|
2560
2478
|
/**
|
2561
2479
|
* @public
|
@@ -2731,9 +2649,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2731
2649
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2732
2650
|
}
|
2733
2651
|
|
2734
|
-
/** @public */
|
2735
|
-
export declare const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
2736
|
-
|
2737
2652
|
/**
|
2738
2653
|
* User key event Listeners
|
2739
2654
|
* @public
|
@@ -3611,14 +3526,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
|
|
3611
3526
|
* @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
|
3612
3527
|
*/
|
3613
3528
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
3614
|
-
/**
|
3615
|
-
* @public
|
3616
|
-
* Set a gltf internal mesh in the MeshCollider component
|
3617
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
3618
|
-
* @param source - the path to the gltf
|
3619
|
-
* @param meshName - the name of the mesh in the gltf
|
3620
|
-
*/
|
3621
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
3622
3529
|
}
|
3623
3530
|
|
3624
3531
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
@@ -3655,14 +3562,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
|
|
3655
3562
|
* @param entity - entity to create or replace the MeshRenderer component
|
3656
3563
|
*/
|
3657
3564
|
setSphere(entity: Entity): void;
|
3658
|
-
/**
|
3659
|
-
* @public
|
3660
|
-
* Set a gltf internal mesh in the MeshRenderer component
|
3661
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
3662
|
-
* @param source - the path to the gltf
|
3663
|
-
* @param meshName - the name of the mesh in the gltf
|
3664
|
-
*/
|
3665
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
3666
3565
|
}
|
3667
3566
|
|
3668
3567
|
/**
|
@@ -4335,9 +4234,6 @@ export declare interface PBAvatarModifierArea {
|
|
4335
4234
|
excludeIds: string[];
|
4336
4235
|
/** list of modifiers to apply */
|
4337
4236
|
modifiers: AvatarModifierType[];
|
4338
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
4339
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
4340
|
-
useColliderRange?: boolean | undefined;
|
4341
4237
|
}
|
4342
4238
|
|
4343
4239
|
/**
|
@@ -4450,7 +4346,7 @@ export declare namespace PBCameraMode {
|
|
4450
4346
|
|
4451
4347
|
/**
|
4452
4348
|
* The CameraModeArea component can be attached to an Entity to define a region of space where
|
4453
|
-
* the player's camera mode (1st-person
|
4349
|
+
* the player's camera mode (1st-person or 3rd-person) is overridden.
|
4454
4350
|
*
|
4455
4351
|
* The Entity's Transform position determines the center-point of the region, while its size is
|
4456
4352
|
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
@@ -4460,8 +4356,6 @@ export declare namespace PBCameraMode {
|
|
4460
4356
|
*
|
4461
4357
|
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
4462
4358
|
* is actually a 3D volume.
|
4463
|
-
*
|
4464
|
-
* When mode is set to CtCinematic, the cinematic_settings field must also be provided.
|
4465
4359
|
*/
|
4466
4360
|
/**
|
4467
4361
|
* @public
|
@@ -4471,9 +4365,6 @@ export declare interface PBCameraModeArea {
|
|
4471
4365
|
area: PBVector3 | undefined;
|
4472
4366
|
/** the camera mode to enforce */
|
4473
4367
|
mode: CameraType;
|
4474
|
-
cinematicSettings?: CinematicSettings | undefined;
|
4475
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
4476
|
-
useColliderRange?: boolean | undefined;
|
4477
4368
|
}
|
4478
4369
|
|
4479
4370
|
/**
|
@@ -4545,39 +4436,6 @@ export declare namespace PBEngineInfo {
|
|
4545
4436
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
4546
4437
|
}
|
4547
4438
|
|
4548
|
-
/**
|
4549
|
-
* defines the global scene light settings. must be added to the scene root.
|
4550
|
-
* to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
|
4551
|
-
*/
|
4552
|
-
/**
|
4553
|
-
* @public
|
4554
|
-
*/
|
4555
|
-
export declare interface PBGlobalLight {
|
4556
|
-
/**
|
4557
|
-
* the direction the directional light shines in.
|
4558
|
-
* default depends on time of day and explorer implementation
|
4559
|
-
*/
|
4560
|
-
direction?: PBVector3 | undefined;
|
4561
|
-
/**
|
4562
|
-
* ambient light color
|
4563
|
-
* default: White
|
4564
|
-
*/
|
4565
|
-
ambientColor?: PBColor3 | undefined;
|
4566
|
-
/**
|
4567
|
-
* ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
|
4568
|
-
* default 1
|
4569
|
-
*/
|
4570
|
-
ambientBrightness?: number | undefined;
|
4571
|
-
}
|
4572
|
-
|
4573
|
-
/**
|
4574
|
-
* @public
|
4575
|
-
*/
|
4576
|
-
export declare namespace PBGlobalLight {
|
4577
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
4578
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
4579
|
-
}
|
4580
|
-
|
4581
4439
|
/**
|
4582
4440
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
4583
4441
|
*
|
@@ -4613,25 +4471,6 @@ export declare namespace PBGltfContainer {
|
|
4613
4471
|
*/
|
4614
4472
|
export declare interface PBGltfContainerLoadingState {
|
4615
4473
|
currentState: LoadingState;
|
4616
|
-
/** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
|
4617
|
-
nodePaths: string[];
|
4618
|
-
/** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
|
4619
|
-
meshNames: string[];
|
4620
|
-
/**
|
4621
|
-
* where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
|
4622
|
-
* conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
|
4623
|
-
*/
|
4624
|
-
materialNames: string[];
|
4625
|
-
/**
|
4626
|
-
* X is the material index. note this may conflict with manually named materials - to avoid any issues make
|
4627
|
-
* sure all your materials are explicitly named.
|
4628
|
-
*/
|
4629
|
-
skinNames: string[];
|
4630
|
-
/**
|
4631
|
-
* X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
|
4632
|
-
* your skins are explicitly named.
|
4633
|
-
*/
|
4634
|
-
animationNames: string[];
|
4635
4474
|
}
|
4636
4475
|
|
4637
4476
|
/**
|
@@ -4642,77 +4481,6 @@ export declare namespace PBGltfContainerLoadingState {
|
|
4642
4481
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
|
4643
4482
|
}
|
4644
4483
|
|
4645
|
-
/**
|
4646
|
-
* a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
|
4647
|
-
* This component must be added to a direct child of an entity with a PBGltfContainer component, or
|
4648
|
-
* to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
|
4649
|
-
* in the parent.
|
4650
|
-
* The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
|
4651
|
-
*
|
4652
|
-
* The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
|
4653
|
-
* - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
|
4654
|
-
* - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
|
4655
|
-
* - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
|
4656
|
-
* - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
|
4657
|
-
*
|
4658
|
-
* After creation, if an animation moves the node, the `Transform` will be updated.
|
4659
|
-
*
|
4660
|
-
* From the scene, you can modify various components to alter the gltf node:
|
4661
|
-
* - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
|
4662
|
-
* regardless of any intermediate gltf node hierarchy.
|
4663
|
-
* If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
|
4664
|
-
* - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
|
4665
|
-
* - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
|
4666
|
-
* - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
|
4667
|
-
* - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
|
4668
|
-
* 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
|
4669
|
-
* PBMaterial will be maintained.
|
4670
|
-
*
|
4671
|
-
* The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
|
4672
|
-
* - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
|
4673
|
-
* change the state to `GNS_FAILED`.
|
4674
|
-
* - deleting the scene entity will not delete the gltf node.
|
4675
|
-
*
|
4676
|
-
* Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
|
4677
|
-
* are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
|
4678
|
-
* the gltf node will also be displayed.
|
4679
|
-
*/
|
4680
|
-
/**
|
4681
|
-
* @public
|
4682
|
-
*/
|
4683
|
-
export declare interface PBGltfNode {
|
4684
|
-
/** the path of the target node in the Gltf. */
|
4685
|
-
path: string;
|
4686
|
-
}
|
4687
|
-
|
4688
|
-
/**
|
4689
|
-
* @public
|
4690
|
-
*/
|
4691
|
-
export declare namespace PBGltfNode {
|
4692
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
4693
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
4694
|
-
}
|
4695
|
-
|
4696
|
-
/**
|
4697
|
-
* The state of a linked gltf node.
|
4698
|
-
* If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
|
4699
|
-
*/
|
4700
|
-
/**
|
4701
|
-
* @public
|
4702
|
-
*/
|
4703
|
-
export declare interface PBGltfNodeState {
|
4704
|
-
state: GltfNodeStateValue;
|
4705
|
-
error?: string | undefined;
|
4706
|
-
}
|
4707
|
-
|
4708
|
-
/**
|
4709
|
-
* @public
|
4710
|
-
*/
|
4711
|
-
export declare namespace PBGltfNodeState {
|
4712
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
4713
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
4714
|
-
}
|
4715
|
-
|
4716
4484
|
/**
|
4717
4485
|
* @public
|
4718
4486
|
*/
|
@@ -4752,62 +4520,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4752
4520
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4753
4521
|
}
|
4754
4522
|
|
4755
|
-
/**
|
4756
|
-
* defines a light source.
|
4757
|
-
* the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
|
4758
|
-
* a PBGlobalLight component can also be added to the root to control the directional light direction.
|
4759
|
-
* point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
|
4760
|
-
*/
|
4761
|
-
/**
|
4762
|
-
* @public
|
4763
|
-
*/
|
4764
|
-
export declare interface PBLight {
|
4765
|
-
/**
|
4766
|
-
* whether the light is on
|
4767
|
-
* default true
|
4768
|
-
*/
|
4769
|
-
enabled?: boolean | undefined;
|
4770
|
-
/**
|
4771
|
-
* light brightness in lux (lumens/m^2).
|
4772
|
-
*
|
4773
|
-
* for global directional light, this applies as a constant value at all surfaces and distances (though the effect on the surface still depends on incidence angle).
|
4774
|
-
* the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
|
4775
|
-
* for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
|
4776
|
-
*
|
4777
|
-
* for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
|
4778
|
-
* divide lumens by ~12 (4*pi).
|
4779
|
-
* e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
|
4780
|
-
* a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
|
4781
|
-
*
|
4782
|
-
* default
|
4783
|
-
* for point/spotlights: 10,000
|
4784
|
-
* for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
|
4785
|
-
*/
|
4786
|
-
illuminance?: number | undefined;
|
4787
|
-
/**
|
4788
|
-
* whether the light should cast shadows.
|
4789
|
-
* note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
|
4790
|
-
* of lights depending on the implementation, platform, and user settings.
|
4791
|
-
* default
|
4792
|
-
* for point/spotlights: false / off
|
4793
|
-
* for global directional light: true / on
|
4794
|
-
*/
|
4795
|
-
shadows?: boolean | undefined;
|
4796
|
-
/**
|
4797
|
-
* light color
|
4798
|
-
* default White
|
4799
|
-
*/
|
4800
|
-
color?: PBColor3 | undefined;
|
4801
|
-
}
|
4802
|
-
|
4803
|
-
/**
|
4804
|
-
* @public
|
4805
|
-
*/
|
4806
|
-
export declare namespace PBLight {
|
4807
|
-
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
4808
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
4809
|
-
}
|
4810
|
-
|
4811
4523
|
/**
|
4812
4524
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4813
4525
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -4839,14 +4551,6 @@ export declare interface PBMaterial {
|
|
4839
4551
|
$case: "pbr";
|
4840
4552
|
pbr: PBMaterial_PbrMaterial;
|
4841
4553
|
} | undefined;
|
4842
|
-
/**
|
4843
|
-
* A gltf material that may provide additional features not supported by the PbMaterial fields.
|
4844
|
-
* If both gltf and material fields are provided, the gltf will be used only for extended features not
|
4845
|
-
* supported by the PbMaterial.
|
4846
|
-
* If this is provided and the `material` field is not provided, the renderer will update the material
|
4847
|
-
* field with data that reflects the gltf material once it is loaded.
|
4848
|
-
*/
|
4849
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
4850
4554
|
}
|
4851
4555
|
|
4852
4556
|
/**
|
@@ -4857,22 +4561,6 @@ export declare namespace PBMaterial {
|
|
4857
4561
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
4858
4562
|
}
|
4859
4563
|
|
4860
|
-
/**
|
4861
|
-
* @public
|
4862
|
-
*/
|
4863
|
-
export declare interface PBMaterial_GltfMaterial {
|
4864
|
-
gltfSrc: string;
|
4865
|
-
name: string;
|
4866
|
-
}
|
4867
|
-
|
4868
|
-
/**
|
4869
|
-
* @public
|
4870
|
-
*/
|
4871
|
-
export declare namespace PBMaterial_GltfMaterial {
|
4872
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
4873
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
4874
|
-
}
|
4875
|
-
|
4876
4564
|
/**
|
4877
4565
|
* @public
|
4878
4566
|
*/
|
@@ -4969,9 +4657,6 @@ export declare interface PBMeshCollider {
|
|
4969
4657
|
} | {
|
4970
4658
|
$case: "plane";
|
4971
4659
|
plane: PBMeshCollider_PlaneMesh;
|
4972
|
-
} | {
|
4973
|
-
$case: "gltf";
|
4974
|
-
gltf: PBMeshCollider_GltfMesh;
|
4975
4660
|
} | undefined;
|
4976
4661
|
}
|
4977
4662
|
|
@@ -5017,25 +4702,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
|
|
5017
4702
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
5018
4703
|
}
|
5019
4704
|
|
5020
|
-
/** A collider constructed from a Gltf Mesh. */
|
5021
|
-
/**
|
5022
|
-
* @public
|
5023
|
-
*/
|
5024
|
-
export declare interface PBMeshCollider_GltfMesh {
|
5025
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
5026
|
-
gltfSrc: string;
|
5027
|
-
/** the name of the mesh asset */
|
5028
|
-
name: string;
|
5029
|
-
}
|
5030
|
-
|
5031
|
-
/**
|
5032
|
-
* @public
|
5033
|
-
*/
|
5034
|
-
export declare namespace PBMeshCollider_GltfMesh {
|
5035
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
5036
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
5037
|
-
}
|
5038
|
-
|
5039
4705
|
/** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
|
5040
4706
|
/**
|
5041
4707
|
* @public
|
@@ -5068,11 +4734,13 @@ export declare namespace PBMeshCollider_SphereMesh {
|
|
5068
4734
|
|
5069
4735
|
/**
|
5070
4736
|
* The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
5071
|
-
* plane, a sphere
|
4737
|
+
* plane, a sphere or a cylinder.
|
5072
4738
|
*
|
5073
4739
|
* The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
5074
4740
|
* texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
5075
4741
|
* `float` coordinates, one for each corner of each side of each face.
|
4742
|
+
*
|
4743
|
+
* More complex shapes require the use of a `GltfContainer` component.
|
5076
4744
|
*/
|
5077
4745
|
/**
|
5078
4746
|
* @public
|
@@ -5090,9 +4758,6 @@ export declare interface PBMeshRenderer {
|
|
5090
4758
|
} | {
|
5091
4759
|
$case: "plane";
|
5092
4760
|
plane: PBMeshRenderer_PlaneMesh;
|
5093
|
-
} | {
|
5094
|
-
$case: "gltf";
|
5095
|
-
gltf: PBMeshRenderer_GltfMesh;
|
5096
4761
|
} | undefined;
|
5097
4762
|
}
|
5098
4763
|
|
@@ -5140,25 +4805,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
|
|
5140
4805
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
5141
4806
|
}
|
5142
4807
|
|
5143
|
-
/** A mesh from a Gltf. */
|
5144
|
-
/**
|
5145
|
-
* @public
|
5146
|
-
*/
|
5147
|
-
export declare interface PBMeshRenderer_GltfMesh {
|
5148
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
5149
|
-
gltfSrc: string;
|
5150
|
-
/** the name of the mesh asset */
|
5151
|
-
name: string;
|
5152
|
-
}
|
5153
|
-
|
5154
|
-
/**
|
5155
|
-
* @public
|
5156
|
-
*/
|
5157
|
-
export declare namespace PBMeshRenderer_GltfMesh {
|
5158
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
5159
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
5160
|
-
}
|
5161
|
-
|
5162
4808
|
/** PlaneMesh renders a 2D rectangular shape. */
|
5163
4809
|
/**
|
5164
4810
|
* @public
|
@@ -5498,39 +5144,6 @@ export declare namespace PBRealmInfo {
|
|
5498
5144
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
|
5499
5145
|
}
|
5500
5146
|
|
5501
|
-
/**
|
5502
|
-
* defines a spotlight.
|
5503
|
-
* spotlights are point lights that emit light only in a cone around the transform's forward direction.
|
5504
|
-
* add this component together with the PBLight component to transform a point light into a spotlight.
|
5505
|
-
* note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
|
5506
|
-
* so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
|
5507
|
-
* a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
|
5508
|
-
* and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
|
5509
|
-
*/
|
5510
|
-
/**
|
5511
|
-
* @public
|
5512
|
-
*/
|
5513
|
-
export declare interface PBSpotlight {
|
5514
|
-
/**
|
5515
|
-
* the cone radius in radians. distance away from forward in which the light is visible.
|
5516
|
-
* for a torch a value around 0.15 is appropriate.
|
5517
|
-
*/
|
5518
|
-
angle: number;
|
5519
|
-
/**
|
5520
|
-
* optional angle at which the light is brightest. should be <= outer angle.
|
5521
|
-
* if specified, the light will fall off smoothly between `inner_angle` and `angle`.
|
5522
|
-
*/
|
5523
|
-
innerAngle?: number | undefined;
|
5524
|
-
}
|
5525
|
-
|
5526
|
-
/**
|
5527
|
-
* @public
|
5528
|
-
*/
|
5529
|
-
export declare namespace PBSpotlight {
|
5530
|
-
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
5531
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
5532
|
-
}
|
5533
|
-
|
5534
5147
|
/**
|
5535
5148
|
* The TextShape component renders customizable floating text.
|
5536
5149
|
*
|
@@ -5681,25 +5294,6 @@ export declare namespace PBUiBackground {
|
|
5681
5294
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
5682
5295
|
}
|
5683
5296
|
|
5684
|
-
/** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
|
5685
|
-
/**
|
5686
|
-
* @public
|
5687
|
-
*/
|
5688
|
-
export declare interface PBUiCanvas {
|
5689
|
-
width: number;
|
5690
|
-
height: number;
|
5691
|
-
/** default = (0.0, 0.0, 0.0, 0.0) / transparent */
|
5692
|
-
color?: PBColor4 | undefined;
|
5693
|
-
}
|
5694
|
-
|
5695
|
-
/**
|
5696
|
-
* @public
|
5697
|
-
*/
|
5698
|
-
export declare namespace PBUiCanvas {
|
5699
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
5700
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
5701
|
-
}
|
5702
|
-
|
5703
5297
|
/** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
|
5704
5298
|
/**
|
5705
5299
|
* @public
|
@@ -5816,21 +5410,6 @@ export declare namespace PBUiInputResult {
|
|
5816
5410
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
|
5817
5411
|
}
|
5818
5412
|
|
5819
|
-
/**
|
5820
|
-
* @public
|
5821
|
-
*/
|
5822
|
-
export declare interface PBUiScrollResult {
|
5823
|
-
value: PBVector2 | undefined;
|
5824
|
-
}
|
5825
|
-
|
5826
|
-
/**
|
5827
|
-
* @public
|
5828
|
-
*/
|
5829
|
-
export declare namespace PBUiScrollResult {
|
5830
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
5831
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
5832
|
-
}
|
5833
|
-
|
5834
5413
|
/**
|
5835
5414
|
* @public
|
5836
5415
|
*/
|
@@ -5847,10 +5426,6 @@ export declare interface PBUiText {
|
|
5847
5426
|
fontSize?: number | undefined;
|
5848
5427
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
5849
5428
|
textWrap?: TextWrap | undefined;
|
5850
|
-
/** width of the outline (default: 0) */
|
5851
|
-
outlineWidth?: number | undefined;
|
5852
|
-
/** RGBA color of the outline (default: opaque black) */
|
5853
|
-
outlineColor?: PBColor4 | undefined;
|
5854
5429
|
}
|
5855
5430
|
|
5856
5431
|
/**
|
@@ -5947,14 +5522,6 @@ export declare interface PBUiTransform {
|
|
5947
5522
|
paddingBottom: number;
|
5948
5523
|
/** default: PointerFilterMode.PFM_NONE */
|
5949
5524
|
pointerFilter?: PointerFilterMode | undefined;
|
5950
|
-
/** default: 1 */
|
5951
|
-
opacity?: number | undefined;
|
5952
|
-
/** default empty */
|
5953
|
-
elementId?: string | undefined;
|
5954
|
-
/** default position=(0,0) */
|
5955
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
5956
|
-
/** default ShowScrollBar.SSB_BOTH */
|
5957
|
-
scrollVisible?: ShowScrollBar | undefined;
|
5958
5525
|
}
|
5959
5526
|
|
5960
5527
|
/**
|
@@ -6888,7 +6455,6 @@ export declare type RaycastSystemOptions = {
|
|
6888
6455
|
export declare interface ReactBasedUiSystem {
|
6889
6456
|
destroy(): void;
|
6890
6457
|
setUiRenderer(ui: UiComponent): void;
|
6891
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
6892
6458
|
}
|
6893
6459
|
|
6894
6460
|
/**
|
@@ -7342,43 +6908,6 @@ export declare namespace Schemas {
|
|
7342
6908
|
}) => void;
|
7343
6909
|
}
|
7344
6910
|
|
7345
|
-
/**
|
7346
|
-
* @public
|
7347
|
-
*/
|
7348
|
-
export declare interface ScrollPositionValue {
|
7349
|
-
value?: {
|
7350
|
-
$case: "position";
|
7351
|
-
position: PBVector2;
|
7352
|
-
} | {
|
7353
|
-
$case: "reference";
|
7354
|
-
reference: string;
|
7355
|
-
} | undefined;
|
7356
|
-
}
|
7357
|
-
|
7358
|
-
/**
|
7359
|
-
* @public
|
7360
|
-
*/
|
7361
|
-
export declare namespace ScrollPositionValue {
|
7362
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
7363
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
7364
|
-
}
|
7365
|
-
|
7366
|
-
/**
|
7367
|
-
* @public
|
7368
|
-
* The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
|
7369
|
-
*/
|
7370
|
-
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
7371
|
-
|
7372
|
-
/**
|
7373
|
-
* @public
|
7374
|
-
*/
|
7375
|
-
export declare const enum ShowScrollBar {
|
7376
|
-
SSB_BOTH = 0,
|
7377
|
-
SSB_ONLY_VERTICAL = 1,
|
7378
|
-
SSB_ONLY_HORIZONTAL = 2,
|
7379
|
-
SSB_HIDDEN = 3
|
7380
|
-
}
|
7381
|
-
|
7382
6911
|
/**
|
7383
6912
|
* @public
|
7384
6913
|
*/
|
@@ -7386,9 +6915,6 @@ export declare interface Spec {
|
|
7386
6915
|
[key: string]: ISchema;
|
7387
6916
|
}
|
7388
6917
|
|
7389
|
-
/** @public */
|
7390
|
-
export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
7391
|
-
|
7392
6918
|
/**
|
7393
6919
|
* @alpha
|
7394
6920
|
* This is going to be used for sync components through a server.
|
@@ -7527,9 +7053,6 @@ export declare interface TextureUnion {
|
|
7527
7053
|
} | {
|
7528
7054
|
$case: "videoTexture";
|
7529
7055
|
videoTexture: VideoTexture;
|
7530
|
-
} | {
|
7531
|
-
$case: "uiTexture";
|
7532
|
-
uiTexture: UiCanvasTexture;
|
7533
7056
|
} | undefined;
|
7534
7057
|
}
|
7535
7058
|
|
@@ -7748,31 +7271,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
7748
7271
|
disabled?: boolean;
|
7749
7272
|
}
|
7750
7273
|
|
7751
|
-
/** @public */
|
7752
|
-
export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
7753
|
-
|
7754
7274
|
/** @public */
|
7755
7275
|
export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
7756
7276
|
|
7757
|
-
/**
|
7758
|
-
* @public
|
7759
|
-
*/
|
7760
|
-
export declare interface UiCanvasTexture {
|
7761
|
-
uiCanvasEntity: number;
|
7762
|
-
/** default = TextureWrapMode.Clamp */
|
7763
|
-
wrapMode?: TextureWrapMode | undefined;
|
7764
|
-
/** default = FilterMode.Bilinear */
|
7765
|
-
filterMode?: TextureFilterMode | undefined;
|
7766
|
-
}
|
7767
|
-
|
7768
|
-
/**
|
7769
|
-
* @public
|
7770
|
-
*/
|
7771
|
-
export declare namespace UiCanvasTexture {
|
7772
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
7773
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
7774
|
-
}
|
7775
|
-
|
7776
7277
|
/**
|
7777
7278
|
* @public
|
7778
7279
|
*/
|
@@ -7842,10 +7343,6 @@ export declare interface UiLabelProps {
|
|
7842
7343
|
textAlign?: TextAlignType | undefined;
|
7843
7344
|
/** Label font type. @defaultValue 'sans-serif' */
|
7844
7345
|
font?: UiFontType | undefined;
|
7845
|
-
/** Outline width of the text. @defaultValue 0 */
|
7846
|
-
outlineWidth?: number | undefined;
|
7847
|
-
/** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
|
7848
|
-
outlineColor?: PBColor4 | undefined;
|
7849
7346
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
7850
7347
|
textWrap?: UiTextWrapType | undefined;
|
7851
7348
|
}
|
@@ -7855,9 +7352,6 @@ export declare interface UiLabelProps {
|
|
7855
7352
|
*/
|
7856
7353
|
export declare type uint32 = number;
|
7857
7354
|
|
7858
|
-
/** @public */
|
7859
|
-
export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
7860
|
-
|
7861
7355
|
/** @public */
|
7862
7356
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
7863
7357
|
|
@@ -7930,14 +7424,6 @@ export declare interface UiTransformProps {
|
|
7930
7424
|
overflow?: OverflowType;
|
7931
7425
|
/** The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property) **/
|
7932
7426
|
pointerFilter?: PointerFilterType;
|
7933
|
-
/** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
|
7934
|
-
opacity?: number;
|
7935
|
-
/** A reference value to identify the element, default empty */
|
7936
|
-
elementId?: string;
|
7937
|
-
/** default position=(0,0) if it aplies, a vector or a reference-id */
|
7938
|
-
scrollPosition?: PBVector2 | string;
|
7939
|
-
/** default ShowScrollBar.SSB_BOTH */
|
7940
|
-
scrollVisible?: ScrollVisibleType;
|
7941
7427
|
}
|
7942
7428
|
|
7943
7429
|
/**
|