@dcl/playground-assets 7.6.5-11859795746.commit-4bc5ec9 → 7.6.5-11861605587.commit-c13aef2
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 +4 -544
- package/dist/beta.d.ts +4 -544
- package/dist/index.bundled.d.ts +4 -544
- 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 +4 -544
- package/etc/playground-assets.api.json +774 -6034
- package/etc/playground-assets.api.md +0 -330
- package/package.json +4 -4
package/dist/index.bundled.d.ts
CHANGED
@@ -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
|
*/
|
@@ -2722,9 +2621,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2722
2621
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2723
2622
|
}
|
2724
2623
|
|
2725
|
-
/** @public */
|
2726
|
-
export declare const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
2727
|
-
|
2728
2624
|
/**
|
2729
2625
|
* User key event Listeners
|
2730
2626
|
* @public
|
@@ -3602,14 +3498,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
|
|
3602
3498
|
* @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
|
3603
3499
|
*/
|
3604
3500
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
3605
|
-
/**
|
3606
|
-
* @public
|
3607
|
-
* Set a gltf internal mesh in the MeshCollider component
|
3608
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
3609
|
-
* @param source - the path to the gltf
|
3610
|
-
* @param meshName - the name of the mesh in the gltf
|
3611
|
-
*/
|
3612
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
3613
3501
|
}
|
3614
3502
|
|
3615
3503
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
@@ -3646,14 +3534,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
|
|
3646
3534
|
* @param entity - entity to create or replace the MeshRenderer component
|
3647
3535
|
*/
|
3648
3536
|
setSphere(entity: Entity): void;
|
3649
|
-
/**
|
3650
|
-
* @public
|
3651
|
-
* Set a gltf internal mesh in the MeshRenderer component
|
3652
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
3653
|
-
* @param source - the path to the gltf
|
3654
|
-
* @param meshName - the name of the mesh in the gltf
|
3655
|
-
*/
|
3656
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
3657
3537
|
}
|
3658
3538
|
|
3659
3539
|
/* Excluded from this release type: MessageBus */
|
@@ -4307,9 +4187,6 @@ export declare interface PBAvatarModifierArea {
|
|
4307
4187
|
excludeIds: string[];
|
4308
4188
|
/** list of modifiers to apply */
|
4309
4189
|
modifiers: AvatarModifierType[];
|
4310
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
4311
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
4312
|
-
useColliderRange?: boolean | undefined;
|
4313
4190
|
}
|
4314
4191
|
|
4315
4192
|
/**
|
@@ -4422,7 +4299,7 @@ export declare namespace PBCameraMode {
|
|
4422
4299
|
|
4423
4300
|
/**
|
4424
4301
|
* The CameraModeArea component can be attached to an Entity to define a region of space where
|
4425
|
-
* the player's camera mode (1st-person
|
4302
|
+
* the player's camera mode (1st-person or 3rd-person) is overridden.
|
4426
4303
|
*
|
4427
4304
|
* The Entity's Transform position determines the center-point of the region, while its size is
|
4428
4305
|
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
@@ -4432,8 +4309,6 @@ export declare namespace PBCameraMode {
|
|
4432
4309
|
*
|
4433
4310
|
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
4434
4311
|
* is actually a 3D volume.
|
4435
|
-
*
|
4436
|
-
* When mode is set to CtCinematic, the cinematic_settings field must also be provided.
|
4437
4312
|
*/
|
4438
4313
|
/**
|
4439
4314
|
* @public
|
@@ -4443,9 +4318,6 @@ export declare interface PBCameraModeArea {
|
|
4443
4318
|
area: PBVector3 | undefined;
|
4444
4319
|
/** the camera mode to enforce */
|
4445
4320
|
mode: CameraType;
|
4446
|
-
cinematicSettings?: CinematicSettings | undefined;
|
4447
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
4448
|
-
useColliderRange?: boolean | undefined;
|
4449
4321
|
}
|
4450
4322
|
|
4451
4323
|
/**
|
@@ -4517,39 +4389,6 @@ export declare namespace PBEngineInfo {
|
|
4517
4389
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
4518
4390
|
}
|
4519
4391
|
|
4520
|
-
/**
|
4521
|
-
* defines the global scene light settings. must be added to the scene root.
|
4522
|
-
* to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
|
4523
|
-
*/
|
4524
|
-
/**
|
4525
|
-
* @public
|
4526
|
-
*/
|
4527
|
-
export declare interface PBGlobalLight {
|
4528
|
-
/**
|
4529
|
-
* the direction the directional light shines in.
|
4530
|
-
* default depends on time of day and explorer implementation
|
4531
|
-
*/
|
4532
|
-
direction?: PBVector3 | undefined;
|
4533
|
-
/**
|
4534
|
-
* ambient light color
|
4535
|
-
* default: White
|
4536
|
-
*/
|
4537
|
-
ambientColor?: PBColor3 | undefined;
|
4538
|
-
/**
|
4539
|
-
* ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
|
4540
|
-
* default 1
|
4541
|
-
*/
|
4542
|
-
ambientBrightness?: number | undefined;
|
4543
|
-
}
|
4544
|
-
|
4545
|
-
/**
|
4546
|
-
* @public
|
4547
|
-
*/
|
4548
|
-
export declare namespace PBGlobalLight {
|
4549
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
4550
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
4551
|
-
}
|
4552
|
-
|
4553
4392
|
/**
|
4554
4393
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
4555
4394
|
*
|
@@ -4585,25 +4424,6 @@ export declare namespace PBGltfContainer {
|
|
4585
4424
|
*/
|
4586
4425
|
export declare interface PBGltfContainerLoadingState {
|
4587
4426
|
currentState: LoadingState;
|
4588
|
-
/** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
|
4589
|
-
nodePaths: string[];
|
4590
|
-
/** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
|
4591
|
-
meshNames: string[];
|
4592
|
-
/**
|
4593
|
-
* where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
|
4594
|
-
* conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
|
4595
|
-
*/
|
4596
|
-
materialNames: string[];
|
4597
|
-
/**
|
4598
|
-
* X is the material index. note this may conflict with manually named materials - to avoid any issues make
|
4599
|
-
* sure all your materials are explicitly named.
|
4600
|
-
*/
|
4601
|
-
skinNames: string[];
|
4602
|
-
/**
|
4603
|
-
* X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
|
4604
|
-
* your skins are explicitly named.
|
4605
|
-
*/
|
4606
|
-
animationNames: string[];
|
4607
4427
|
}
|
4608
4428
|
|
4609
4429
|
/**
|
@@ -4614,77 +4434,6 @@ export declare namespace PBGltfContainerLoadingState {
|
|
4614
4434
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
|
4615
4435
|
}
|
4616
4436
|
|
4617
|
-
/**
|
4618
|
-
* a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
|
4619
|
-
* This component must be added to a direct child of an entity with a PBGltfContainer component, or
|
4620
|
-
* to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
|
4621
|
-
* in the parent.
|
4622
|
-
* The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
|
4623
|
-
*
|
4624
|
-
* The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
|
4625
|
-
* - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
|
4626
|
-
* - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
|
4627
|
-
* - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
|
4628
|
-
* - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
|
4629
|
-
*
|
4630
|
-
* After creation, if an animation moves the node, the `Transform` will be updated.
|
4631
|
-
*
|
4632
|
-
* From the scene, you can modify various components to alter the gltf node:
|
4633
|
-
* - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
|
4634
|
-
* regardless of any intermediate gltf node hierarchy.
|
4635
|
-
* If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
|
4636
|
-
* - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
|
4637
|
-
* - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
|
4638
|
-
* - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
|
4639
|
-
* - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
|
4640
|
-
* 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
|
4641
|
-
* PBMaterial will be maintained.
|
4642
|
-
*
|
4643
|
-
* The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
|
4644
|
-
* - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
|
4645
|
-
* change the state to `GNS_FAILED`.
|
4646
|
-
* - deleting the scene entity will not delete the gltf node.
|
4647
|
-
*
|
4648
|
-
* Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
|
4649
|
-
* are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
|
4650
|
-
* the gltf node will also be displayed.
|
4651
|
-
*/
|
4652
|
-
/**
|
4653
|
-
* @public
|
4654
|
-
*/
|
4655
|
-
export declare interface PBGltfNode {
|
4656
|
-
/** the path of the target node in the Gltf. */
|
4657
|
-
path: string;
|
4658
|
-
}
|
4659
|
-
|
4660
|
-
/**
|
4661
|
-
* @public
|
4662
|
-
*/
|
4663
|
-
export declare namespace PBGltfNode {
|
4664
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
4665
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
4666
|
-
}
|
4667
|
-
|
4668
|
-
/**
|
4669
|
-
* The state of a linked gltf node.
|
4670
|
-
* If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
|
4671
|
-
*/
|
4672
|
-
/**
|
4673
|
-
* @public
|
4674
|
-
*/
|
4675
|
-
export declare interface PBGltfNodeState {
|
4676
|
-
state: GltfNodeStateValue;
|
4677
|
-
error?: string | undefined;
|
4678
|
-
}
|
4679
|
-
|
4680
|
-
/**
|
4681
|
-
* @public
|
4682
|
-
*/
|
4683
|
-
export declare namespace PBGltfNodeState {
|
4684
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
4685
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
4686
|
-
}
|
4687
|
-
|
4688
4437
|
/**
|
4689
4438
|
* @public
|
4690
4439
|
*/
|
@@ -4724,62 +4473,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4724
4473
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4725
4474
|
}
|
4726
4475
|
|
4727
|
-
/**
|
4728
|
-
* defines a light source.
|
4729
|
-
* the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
|
4730
|
-
* a PBGlobalLight component can also be added to the root to control the directional light direction.
|
4731
|
-
* point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
|
4732
|
-
*/
|
4733
|
-
/**
|
4734
|
-
* @public
|
4735
|
-
*/
|
4736
|
-
export declare interface PBLight {
|
4737
|
-
/**
|
4738
|
-
* whether the light is on
|
4739
|
-
* default true
|
4740
|
-
*/
|
4741
|
-
enabled?: boolean | undefined;
|
4742
|
-
/**
|
4743
|
-
* light brightness in lux (lumens/m^2).
|
4744
|
-
*
|
4745
|
-
* 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).
|
4746
|
-
* the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
|
4747
|
-
* for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
|
4748
|
-
*
|
4749
|
-
* for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
|
4750
|
-
* divide lumens by ~12 (4*pi).
|
4751
|
-
* e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
|
4752
|
-
* a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
|
4753
|
-
*
|
4754
|
-
* default
|
4755
|
-
* for point/spotlights: 10,000
|
4756
|
-
* for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
|
4757
|
-
*/
|
4758
|
-
illuminance?: number | undefined;
|
4759
|
-
/**
|
4760
|
-
* whether the light should cast shadows.
|
4761
|
-
* note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
|
4762
|
-
* of lights depending on the implementation, platform, and user settings.
|
4763
|
-
* default
|
4764
|
-
* for point/spotlights: false / off
|
4765
|
-
* for global directional light: true / on
|
4766
|
-
*/
|
4767
|
-
shadows?: boolean | undefined;
|
4768
|
-
/**
|
4769
|
-
* light color
|
4770
|
-
* default White
|
4771
|
-
*/
|
4772
|
-
color?: PBColor3 | undefined;
|
4773
|
-
}
|
4774
|
-
|
4775
|
-
/**
|
4776
|
-
* @public
|
4777
|
-
*/
|
4778
|
-
export declare namespace PBLight {
|
4779
|
-
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
4780
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
4781
|
-
}
|
4782
|
-
|
4783
4476
|
/**
|
4784
4477
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4785
4478
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -4811,14 +4504,6 @@ export declare interface PBMaterial {
|
|
4811
4504
|
$case: "pbr";
|
4812
4505
|
pbr: PBMaterial_PbrMaterial;
|
4813
4506
|
} | undefined;
|
4814
|
-
/**
|
4815
|
-
* A gltf material that may provide additional features not supported by the PbMaterial fields.
|
4816
|
-
* If both gltf and material fields are provided, the gltf will be used only for extended features not
|
4817
|
-
* supported by the PbMaterial.
|
4818
|
-
* If this is provided and the `material` field is not provided, the renderer will update the material
|
4819
|
-
* field with data that reflects the gltf material once it is loaded.
|
4820
|
-
*/
|
4821
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
4822
4507
|
}
|
4823
4508
|
|
4824
4509
|
/**
|
@@ -4829,22 +4514,6 @@ export declare namespace PBMaterial {
|
|
4829
4514
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
4830
4515
|
}
|
4831
4516
|
|
4832
|
-
/**
|
4833
|
-
* @public
|
4834
|
-
*/
|
4835
|
-
export declare interface PBMaterial_GltfMaterial {
|
4836
|
-
gltfSrc: string;
|
4837
|
-
name: string;
|
4838
|
-
}
|
4839
|
-
|
4840
|
-
/**
|
4841
|
-
* @public
|
4842
|
-
*/
|
4843
|
-
export declare namespace PBMaterial_GltfMaterial {
|
4844
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
4845
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
4846
|
-
}
|
4847
|
-
|
4848
4517
|
/**
|
4849
4518
|
* @public
|
4850
4519
|
*/
|
@@ -4941,9 +4610,6 @@ export declare interface PBMeshCollider {
|
|
4941
4610
|
} | {
|
4942
4611
|
$case: "plane";
|
4943
4612
|
plane: PBMeshCollider_PlaneMesh;
|
4944
|
-
} | {
|
4945
|
-
$case: "gltf";
|
4946
|
-
gltf: PBMeshCollider_GltfMesh;
|
4947
4613
|
} | undefined;
|
4948
4614
|
}
|
4949
4615
|
|
@@ -4989,25 +4655,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
|
|
4989
4655
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
4990
4656
|
}
|
4991
4657
|
|
4992
|
-
/** A collider constructed from a Gltf Mesh. */
|
4993
|
-
/**
|
4994
|
-
* @public
|
4995
|
-
*/
|
4996
|
-
export declare interface PBMeshCollider_GltfMesh {
|
4997
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
4998
|
-
gltfSrc: string;
|
4999
|
-
/** the name of the mesh asset */
|
5000
|
-
name: string;
|
5001
|
-
}
|
5002
|
-
|
5003
|
-
/**
|
5004
|
-
* @public
|
5005
|
-
*/
|
5006
|
-
export declare namespace PBMeshCollider_GltfMesh {
|
5007
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
5008
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
5009
|
-
}
|
5010
|
-
|
5011
4658
|
/** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
|
5012
4659
|
/**
|
5013
4660
|
* @public
|
@@ -5040,11 +4687,13 @@ export declare namespace PBMeshCollider_SphereMesh {
|
|
5040
4687
|
|
5041
4688
|
/**
|
5042
4689
|
* The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
5043
|
-
* plane, a sphere
|
4690
|
+
* plane, a sphere or a cylinder.
|
5044
4691
|
*
|
5045
4692
|
* The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
5046
4693
|
* texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
5047
4694
|
* `float` coordinates, one for each corner of each side of each face.
|
4695
|
+
*
|
4696
|
+
* More complex shapes require the use of a `GltfContainer` component.
|
5048
4697
|
*/
|
5049
4698
|
/**
|
5050
4699
|
* @public
|
@@ -5062,9 +4711,6 @@ export declare interface PBMeshRenderer {
|
|
5062
4711
|
} | {
|
5063
4712
|
$case: "plane";
|
5064
4713
|
plane: PBMeshRenderer_PlaneMesh;
|
5065
|
-
} | {
|
5066
|
-
$case: "gltf";
|
5067
|
-
gltf: PBMeshRenderer_GltfMesh;
|
5068
4714
|
} | undefined;
|
5069
4715
|
}
|
5070
4716
|
|
@@ -5112,25 +4758,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
|
|
5112
4758
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
5113
4759
|
}
|
5114
4760
|
|
5115
|
-
/** A mesh from a Gltf. */
|
5116
|
-
/**
|
5117
|
-
* @public
|
5118
|
-
*/
|
5119
|
-
export declare interface PBMeshRenderer_GltfMesh {
|
5120
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
5121
|
-
gltfSrc: string;
|
5122
|
-
/** the name of the mesh asset */
|
5123
|
-
name: string;
|
5124
|
-
}
|
5125
|
-
|
5126
|
-
/**
|
5127
|
-
* @public
|
5128
|
-
*/
|
5129
|
-
export declare namespace PBMeshRenderer_GltfMesh {
|
5130
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
5131
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
5132
|
-
}
|
5133
|
-
|
5134
4761
|
/** PlaneMesh renders a 2D rectangular shape. */
|
5135
4762
|
/**
|
5136
4763
|
* @public
|
@@ -5470,39 +5097,6 @@ export declare namespace PBRealmInfo {
|
|
5470
5097
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
|
5471
5098
|
}
|
5472
5099
|
|
5473
|
-
/**
|
5474
|
-
* defines a spotlight.
|
5475
|
-
* spotlights are point lights that emit light only in a cone around the transform's forward direction.
|
5476
|
-
* add this component together with the PBLight component to transform a point light into a spotlight.
|
5477
|
-
* note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
|
5478
|
-
* so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
|
5479
|
-
* a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
|
5480
|
-
* and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
|
5481
|
-
*/
|
5482
|
-
/**
|
5483
|
-
* @public
|
5484
|
-
*/
|
5485
|
-
export declare interface PBSpotlight {
|
5486
|
-
/**
|
5487
|
-
* the cone radius in radians. distance away from forward in which the light is visible.
|
5488
|
-
* for a torch a value around 0.15 is appropriate.
|
5489
|
-
*/
|
5490
|
-
angle: number;
|
5491
|
-
/**
|
5492
|
-
* optional angle at which the light is brightest. should be <= outer angle.
|
5493
|
-
* if specified, the light will fall off smoothly between `inner_angle` and `angle`.
|
5494
|
-
*/
|
5495
|
-
innerAngle?: number | undefined;
|
5496
|
-
}
|
5497
|
-
|
5498
|
-
/**
|
5499
|
-
* @public
|
5500
|
-
*/
|
5501
|
-
export declare namespace PBSpotlight {
|
5502
|
-
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
5503
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
5504
|
-
}
|
5505
|
-
|
5506
5100
|
/**
|
5507
5101
|
* The TextShape component renders customizable floating text.
|
5508
5102
|
*
|
@@ -5653,25 +5247,6 @@ export declare namespace PBUiBackground {
|
|
5653
5247
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
5654
5248
|
}
|
5655
5249
|
|
5656
|
-
/** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
|
5657
|
-
/**
|
5658
|
-
* @public
|
5659
|
-
*/
|
5660
|
-
export declare interface PBUiCanvas {
|
5661
|
-
width: number;
|
5662
|
-
height: number;
|
5663
|
-
/** default = (0.0, 0.0, 0.0, 0.0) / transparent */
|
5664
|
-
color?: PBColor4 | undefined;
|
5665
|
-
}
|
5666
|
-
|
5667
|
-
/**
|
5668
|
-
* @public
|
5669
|
-
*/
|
5670
|
-
export declare namespace PBUiCanvas {
|
5671
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
5672
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
5673
|
-
}
|
5674
|
-
|
5675
5250
|
/** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
|
5676
5251
|
/**
|
5677
5252
|
* @public
|
@@ -5788,21 +5363,6 @@ export declare namespace PBUiInputResult {
|
|
5788
5363
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
|
5789
5364
|
}
|
5790
5365
|
|
5791
|
-
/**
|
5792
|
-
* @public
|
5793
|
-
*/
|
5794
|
-
export declare interface PBUiScrollResult {
|
5795
|
-
value: PBVector2 | undefined;
|
5796
|
-
}
|
5797
|
-
|
5798
|
-
/**
|
5799
|
-
* @public
|
5800
|
-
*/
|
5801
|
-
export declare namespace PBUiScrollResult {
|
5802
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
5803
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
5804
|
-
}
|
5805
|
-
|
5806
5366
|
/**
|
5807
5367
|
* @public
|
5808
5368
|
*/
|
@@ -5819,10 +5379,6 @@ export declare interface PBUiText {
|
|
5819
5379
|
fontSize?: number | undefined;
|
5820
5380
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
5821
5381
|
textWrap?: TextWrap | undefined;
|
5822
|
-
/** width of the outline (default: 0) */
|
5823
|
-
outlineWidth?: number | undefined;
|
5824
|
-
/** RGBA color of the outline (default: opaque black) */
|
5825
|
-
outlineColor?: PBColor4 | undefined;
|
5826
5382
|
}
|
5827
5383
|
|
5828
5384
|
/**
|
@@ -5919,14 +5475,6 @@ export declare interface PBUiTransform {
|
|
5919
5475
|
paddingBottom: number;
|
5920
5476
|
/** default: PointerFilterMode.PFM_NONE */
|
5921
5477
|
pointerFilter?: PointerFilterMode | undefined;
|
5922
|
-
/** default: 1 */
|
5923
|
-
opacity?: number | undefined;
|
5924
|
-
/** default empty */
|
5925
|
-
elementId?: string | undefined;
|
5926
|
-
/** default position=(0,0) */
|
5927
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
5928
|
-
/** default ShowScrollBar.SSB_BOTH */
|
5929
|
-
scrollVisible?: ShowScrollBar | undefined;
|
5930
5478
|
}
|
5931
5479
|
|
5932
5480
|
/**
|
@@ -6860,7 +6408,6 @@ export declare type RaycastSystemOptions = {
|
|
6860
6408
|
export declare interface ReactBasedUiSystem {
|
6861
6409
|
destroy(): void;
|
6862
6410
|
setUiRenderer(ui: UiComponent): void;
|
6863
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
6864
6411
|
}
|
6865
6412
|
|
6866
6413
|
/**
|
@@ -7314,43 +6861,6 @@ export declare namespace Schemas {
|
|
7314
6861
|
}) => void;
|
7315
6862
|
}
|
7316
6863
|
|
7317
|
-
/**
|
7318
|
-
* @public
|
7319
|
-
*/
|
7320
|
-
export declare interface ScrollPositionValue {
|
7321
|
-
value?: {
|
7322
|
-
$case: "position";
|
7323
|
-
position: PBVector2;
|
7324
|
-
} | {
|
7325
|
-
$case: "reference";
|
7326
|
-
reference: string;
|
7327
|
-
} | undefined;
|
7328
|
-
}
|
7329
|
-
|
7330
|
-
/**
|
7331
|
-
* @public
|
7332
|
-
*/
|
7333
|
-
export declare namespace ScrollPositionValue {
|
7334
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
7335
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
7336
|
-
}
|
7337
|
-
|
7338
|
-
/**
|
7339
|
-
* @public
|
7340
|
-
* The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
|
7341
|
-
*/
|
7342
|
-
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
7343
|
-
|
7344
|
-
/**
|
7345
|
-
* @public
|
7346
|
-
*/
|
7347
|
-
export declare const enum ShowScrollBar {
|
7348
|
-
SSB_BOTH = 0,
|
7349
|
-
SSB_ONLY_VERTICAL = 1,
|
7350
|
-
SSB_ONLY_HORIZONTAL = 2,
|
7351
|
-
SSB_HIDDEN = 3
|
7352
|
-
}
|
7353
|
-
|
7354
6864
|
/**
|
7355
6865
|
* @public
|
7356
6866
|
*/
|
@@ -7358,9 +6868,6 @@ export declare interface Spec {
|
|
7358
6868
|
[key: string]: ISchema;
|
7359
6869
|
}
|
7360
6870
|
|
7361
|
-
/** @public */
|
7362
|
-
export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
7363
|
-
|
7364
6871
|
/* Excluded from this release type: SyncComponents */
|
7365
6872
|
|
7366
6873
|
/**
|
@@ -7416,13 +6923,6 @@ export declare interface Texture {
|
|
7416
6923
|
wrapMode?: TextureWrapMode | undefined;
|
7417
6924
|
/** default = FilterMode.Bilinear */
|
7418
6925
|
filterMode?: TextureFilterMode | undefined;
|
7419
|
-
/**
|
7420
|
-
* Final uv = offset + (input_uv * tiling)
|
7421
|
-
* Offset for texture positioning.
|
7422
|
-
*/
|
7423
|
-
offset?: PBVector2 | undefined;
|
7424
|
-
/** Tiling multiplier for texture repetition. */
|
7425
|
-
tiling?: PBVector2 | undefined;
|
7426
6926
|
}
|
7427
6927
|
|
7428
6928
|
/**
|
@@ -7494,9 +6994,6 @@ export declare interface TextureUnion {
|
|
7494
6994
|
} | {
|
7495
6995
|
$case: "videoTexture";
|
7496
6996
|
videoTexture: VideoTexture;
|
7497
|
-
} | {
|
7498
|
-
$case: "uiTexture";
|
7499
|
-
uiTexture: UiCanvasTexture;
|
7500
6997
|
} | undefined;
|
7501
6998
|
}
|
7502
6999
|
|
@@ -7715,31 +7212,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
7715
7212
|
disabled?: boolean;
|
7716
7213
|
}
|
7717
7214
|
|
7718
|
-
/** @public */
|
7719
|
-
export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
7720
|
-
|
7721
7215
|
/** @public */
|
7722
7216
|
export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
7723
7217
|
|
7724
|
-
/**
|
7725
|
-
* @public
|
7726
|
-
*/
|
7727
|
-
export declare interface UiCanvasTexture {
|
7728
|
-
uiCanvasEntity: number;
|
7729
|
-
/** default = TextureWrapMode.Clamp */
|
7730
|
-
wrapMode?: TextureWrapMode | undefined;
|
7731
|
-
/** default = FilterMode.Bilinear */
|
7732
|
-
filterMode?: TextureFilterMode | undefined;
|
7733
|
-
}
|
7734
|
-
|
7735
|
-
/**
|
7736
|
-
* @public
|
7737
|
-
*/
|
7738
|
-
export declare namespace UiCanvasTexture {
|
7739
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
7740
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
7741
|
-
}
|
7742
|
-
|
7743
7218
|
/**
|
7744
7219
|
* @public
|
7745
7220
|
*/
|
@@ -7809,10 +7284,6 @@ export declare interface UiLabelProps {
|
|
7809
7284
|
textAlign?: TextAlignType | undefined;
|
7810
7285
|
/** Label font type. @defaultValue 'sans-serif' */
|
7811
7286
|
font?: UiFontType | undefined;
|
7812
|
-
/** Outline width of the text. @defaultValue 0 */
|
7813
|
-
outlineWidth?: number | undefined;
|
7814
|
-
/** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
|
7815
|
-
outlineColor?: PBColor4 | undefined;
|
7816
7287
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
7817
7288
|
textWrap?: UiTextWrapType | undefined;
|
7818
7289
|
}
|
@@ -7822,9 +7293,6 @@ export declare interface UiLabelProps {
|
|
7822
7293
|
*/
|
7823
7294
|
export declare type uint32 = number;
|
7824
7295
|
|
7825
|
-
/** @public */
|
7826
|
-
export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
7827
|
-
|
7828
7296
|
/** @public */
|
7829
7297
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
7830
7298
|
|
@@ -7897,14 +7365,6 @@ export declare interface UiTransformProps {
|
|
7897
7365
|
overflow?: OverflowType;
|
7898
7366
|
/** 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) **/
|
7899
7367
|
pointerFilter?: PointerFilterType;
|
7900
|
-
/** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
|
7901
|
-
opacity?: number;
|
7902
|
-
/** A reference value to identify the element, default empty */
|
7903
|
-
elementId?: string;
|
7904
|
-
/** default position=(0,0) if it aplies, a vector or a reference-id */
|
7905
|
-
scrollPosition?: PBVector2 | string;
|
7906
|
-
/** default ShowScrollBar.SSB_BOTH */
|
7907
|
-
scrollVisible?: ScrollVisibleType;
|
7908
7368
|
}
|
7909
7369
|
|
7910
7370
|
/**
|