@dcl/playground-assets 7.5.8-10967536696.commit-cfc4ce5 → 7.5.8-11020113946.commit-53f6ae5
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 +5 -537
- package/dist/beta.d.ts +5 -537
- package/dist/index.bundled.d.ts +5 -537
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +1 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +5 -537
- package/etc/playground-assets.api.json +847 -6016
- package/etc/playground-assets.api.md +2 -328
- 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>>;
|
@@ -2114,9 +2031,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
|
|
2114
2031
|
direction?: PBVector3;
|
2115
2032
|
};
|
2116
2033
|
|
2117
|
-
/** @public */
|
2118
|
-
export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
2119
|
-
|
2120
2034
|
export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
|
2121
2035
|
|
2122
2036
|
export declare type GlobalTargetRaycastSystemOptions = {
|
@@ -2129,21 +2043,6 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
|
|
2129
2043
|
/** @public */
|
2130
2044
|
export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
2131
2045
|
|
2132
|
-
/** @public */
|
2133
|
-
export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
2134
|
-
|
2135
|
-
/** @public */
|
2136
|
-
export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
2137
|
-
|
2138
|
-
/**
|
2139
|
-
* @public
|
2140
|
-
*/
|
2141
|
-
export declare const enum GltfNodeStateValue {
|
2142
|
-
GNSV_PENDING = 0,
|
2143
|
-
GNSV_FAILED = 1,
|
2144
|
-
GNSV_READY = 2
|
2145
|
-
}
|
2146
|
-
|
2147
2046
|
/**
|
2148
2047
|
* @public
|
2149
2048
|
*/
|
@@ -2728,9 +2627,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2728
2627
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2729
2628
|
}
|
2730
2629
|
|
2731
|
-
/** @public */
|
2732
|
-
export declare const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
2733
|
-
|
2734
2630
|
/**
|
2735
2631
|
* User key event Listeners
|
2736
2632
|
* @public
|
@@ -3608,14 +3504,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
|
|
3608
3504
|
* @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
|
3609
3505
|
*/
|
3610
3506
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
3611
|
-
/**
|
3612
|
-
* @public
|
3613
|
-
* Set a gltf internal mesh in the MeshCollider component
|
3614
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
3615
|
-
* @param source - the path to the gltf
|
3616
|
-
* @param meshName - the name of the mesh in the gltf
|
3617
|
-
*/
|
3618
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
3619
3507
|
}
|
3620
3508
|
|
3621
3509
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
@@ -3652,14 +3540,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
|
|
3652
3540
|
* @param entity - entity to create or replace the MeshRenderer component
|
3653
3541
|
*/
|
3654
3542
|
setSphere(entity: Entity): void;
|
3655
|
-
/**
|
3656
|
-
* @public
|
3657
|
-
* Set a gltf internal mesh in the MeshRenderer component
|
3658
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
3659
|
-
* @param source - the path to the gltf
|
3660
|
-
* @param meshName - the name of the mesh in the gltf
|
3661
|
-
*/
|
3662
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
3663
3543
|
}
|
3664
3544
|
|
3665
3545
|
/**
|
@@ -4332,9 +4212,6 @@ export declare interface PBAvatarModifierArea {
|
|
4332
4212
|
excludeIds: string[];
|
4333
4213
|
/** list of modifiers to apply */
|
4334
4214
|
modifiers: AvatarModifierType[];
|
4335
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
4336
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
4337
|
-
useColliderRange?: boolean | undefined;
|
4338
4215
|
}
|
4339
4216
|
|
4340
4217
|
/**
|
@@ -4447,7 +4324,7 @@ export declare namespace PBCameraMode {
|
|
4447
4324
|
|
4448
4325
|
/**
|
4449
4326
|
* The CameraModeArea component can be attached to an Entity to define a region of space where
|
4450
|
-
* the player's camera mode (1st-person
|
4327
|
+
* the player's camera mode (1st-person or 3rd-person) is overridden.
|
4451
4328
|
*
|
4452
4329
|
* The Entity's Transform position determines the center-point of the region, while its size is
|
4453
4330
|
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
@@ -4457,8 +4334,6 @@ export declare namespace PBCameraMode {
|
|
4457
4334
|
*
|
4458
4335
|
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
4459
4336
|
* is actually a 3D volume.
|
4460
|
-
*
|
4461
|
-
* When mode is set to CtCinematic, the cinematic_settings field must also be provided.
|
4462
4337
|
*/
|
4463
4338
|
/**
|
4464
4339
|
* @public
|
@@ -4468,9 +4343,6 @@ export declare interface PBCameraModeArea {
|
|
4468
4343
|
area: PBVector3 | undefined;
|
4469
4344
|
/** the camera mode to enforce */
|
4470
4345
|
mode: CameraType;
|
4471
|
-
cinematicSettings?: CinematicSettings | undefined;
|
4472
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
4473
|
-
useColliderRange?: boolean | undefined;
|
4474
4346
|
}
|
4475
4347
|
|
4476
4348
|
/**
|
@@ -4542,39 +4414,6 @@ export declare namespace PBEngineInfo {
|
|
4542
4414
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
4543
4415
|
}
|
4544
4416
|
|
4545
|
-
/**
|
4546
|
-
* defines the global scene light settings. must be added to the scene root.
|
4547
|
-
* to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
|
4548
|
-
*/
|
4549
|
-
/**
|
4550
|
-
* @public
|
4551
|
-
*/
|
4552
|
-
export declare interface PBGlobalLight {
|
4553
|
-
/**
|
4554
|
-
* the direction the directional light shines in.
|
4555
|
-
* default depends on time of day and explorer implementation
|
4556
|
-
*/
|
4557
|
-
direction?: PBVector3 | undefined;
|
4558
|
-
/**
|
4559
|
-
* ambient light color
|
4560
|
-
* default: White
|
4561
|
-
*/
|
4562
|
-
ambientColor?: PBColor3 | undefined;
|
4563
|
-
/**
|
4564
|
-
* ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
|
4565
|
-
* default 1
|
4566
|
-
*/
|
4567
|
-
ambientBrightness?: number | undefined;
|
4568
|
-
}
|
4569
|
-
|
4570
|
-
/**
|
4571
|
-
* @public
|
4572
|
-
*/
|
4573
|
-
export declare namespace PBGlobalLight {
|
4574
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
4575
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
4576
|
-
}
|
4577
|
-
|
4578
4417
|
/**
|
4579
4418
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
4580
4419
|
*
|
@@ -4610,25 +4449,6 @@ export declare namespace PBGltfContainer {
|
|
4610
4449
|
*/
|
4611
4450
|
export declare interface PBGltfContainerLoadingState {
|
4612
4451
|
currentState: LoadingState;
|
4613
|
-
/** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
|
4614
|
-
nodePaths: string[];
|
4615
|
-
/** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
|
4616
|
-
meshNames: string[];
|
4617
|
-
/**
|
4618
|
-
* where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
|
4619
|
-
* conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
|
4620
|
-
*/
|
4621
|
-
materialNames: string[];
|
4622
|
-
/**
|
4623
|
-
* X is the material index. note this may conflict with manually named materials - to avoid any issues make
|
4624
|
-
* sure all your materials are explicitly named.
|
4625
|
-
*/
|
4626
|
-
skinNames: string[];
|
4627
|
-
/**
|
4628
|
-
* X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
|
4629
|
-
* your skins are explicitly named.
|
4630
|
-
*/
|
4631
|
-
animationNames: string[];
|
4632
4452
|
}
|
4633
4453
|
|
4634
4454
|
/**
|
@@ -4639,77 +4459,6 @@ export declare namespace PBGltfContainerLoadingState {
|
|
4639
4459
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
|
4640
4460
|
}
|
4641
4461
|
|
4642
|
-
/**
|
4643
|
-
* a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
|
4644
|
-
* This component must be added to a direct child of an entity with a PBGltfContainer component, or
|
4645
|
-
* to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
|
4646
|
-
* in the parent.
|
4647
|
-
* The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
|
4648
|
-
*
|
4649
|
-
* The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
|
4650
|
-
* - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
|
4651
|
-
* - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
|
4652
|
-
* - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
|
4653
|
-
* - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
|
4654
|
-
*
|
4655
|
-
* After creation, if an animation moves the node, the `Transform` will be updated.
|
4656
|
-
*
|
4657
|
-
* From the scene, you can modify various components to alter the gltf node:
|
4658
|
-
* - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
|
4659
|
-
* regardless of any intermediate gltf node hierarchy.
|
4660
|
-
* If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
|
4661
|
-
* - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
|
4662
|
-
* - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
|
4663
|
-
* - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
|
4664
|
-
* - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
|
4665
|
-
* 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
|
4666
|
-
* PBMaterial will be maintained.
|
4667
|
-
*
|
4668
|
-
* The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
|
4669
|
-
* - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
|
4670
|
-
* change the state to `GNS_FAILED`.
|
4671
|
-
* - deleting the scene entity will not delete the gltf node.
|
4672
|
-
*
|
4673
|
-
* Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
|
4674
|
-
* are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
|
4675
|
-
* the gltf node will also be displayed.
|
4676
|
-
*/
|
4677
|
-
/**
|
4678
|
-
* @public
|
4679
|
-
*/
|
4680
|
-
export declare interface PBGltfNode {
|
4681
|
-
/** the path of the target node in the Gltf. */
|
4682
|
-
path: string;
|
4683
|
-
}
|
4684
|
-
|
4685
|
-
/**
|
4686
|
-
* @public
|
4687
|
-
*/
|
4688
|
-
export declare namespace PBGltfNode {
|
4689
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
4690
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
4691
|
-
}
|
4692
|
-
|
4693
|
-
/**
|
4694
|
-
* The state of a linked gltf node.
|
4695
|
-
* If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
|
4696
|
-
*/
|
4697
|
-
/**
|
4698
|
-
* @public
|
4699
|
-
*/
|
4700
|
-
export declare interface PBGltfNodeState {
|
4701
|
-
state: GltfNodeStateValue;
|
4702
|
-
error?: string | undefined;
|
4703
|
-
}
|
4704
|
-
|
4705
|
-
/**
|
4706
|
-
* @public
|
4707
|
-
*/
|
4708
|
-
export declare namespace PBGltfNodeState {
|
4709
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
4710
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
4711
|
-
}
|
4712
|
-
|
4713
4462
|
/**
|
4714
4463
|
* @public
|
4715
4464
|
*/
|
@@ -4749,62 +4498,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4749
4498
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4750
4499
|
}
|
4751
4500
|
|
4752
|
-
/**
|
4753
|
-
* defines a light source.
|
4754
|
-
* the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
|
4755
|
-
* a PBGlobalLight component can also be added to the root to control the directional light direction.
|
4756
|
-
* point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
|
4757
|
-
*/
|
4758
|
-
/**
|
4759
|
-
* @public
|
4760
|
-
*/
|
4761
|
-
export declare interface PBLight {
|
4762
|
-
/**
|
4763
|
-
* whether the light is on
|
4764
|
-
* default true
|
4765
|
-
*/
|
4766
|
-
enabled?: boolean | undefined;
|
4767
|
-
/**
|
4768
|
-
* light brightness in lux (lumens/m^2).
|
4769
|
-
*
|
4770
|
-
* 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).
|
4771
|
-
* the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
|
4772
|
-
* for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
|
4773
|
-
*
|
4774
|
-
* for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
|
4775
|
-
* divide lumens by ~12 (4*pi).
|
4776
|
-
* e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
|
4777
|
-
* a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
|
4778
|
-
*
|
4779
|
-
* default
|
4780
|
-
* for point/spotlights: 10,000
|
4781
|
-
* for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
|
4782
|
-
*/
|
4783
|
-
illuminance?: number | undefined;
|
4784
|
-
/**
|
4785
|
-
* whether the light should cast shadows.
|
4786
|
-
* note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
|
4787
|
-
* of lights depending on the implementation, platform, and user settings.
|
4788
|
-
* default
|
4789
|
-
* for point/spotlights: false / off
|
4790
|
-
* for global directional light: true / on
|
4791
|
-
*/
|
4792
|
-
shadows?: boolean | undefined;
|
4793
|
-
/**
|
4794
|
-
* light color
|
4795
|
-
* default White
|
4796
|
-
*/
|
4797
|
-
color?: PBColor3 | undefined;
|
4798
|
-
}
|
4799
|
-
|
4800
|
-
/**
|
4801
|
-
* @public
|
4802
|
-
*/
|
4803
|
-
export declare namespace PBLight {
|
4804
|
-
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
4805
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
4806
|
-
}
|
4807
|
-
|
4808
4501
|
/**
|
4809
4502
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4810
4503
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -4836,14 +4529,6 @@ export declare interface PBMaterial {
|
|
4836
4529
|
$case: "pbr";
|
4837
4530
|
pbr: PBMaterial_PbrMaterial;
|
4838
4531
|
} | undefined;
|
4839
|
-
/**
|
4840
|
-
* A gltf material that may provide additional features not supported by the PbMaterial fields.
|
4841
|
-
* If both gltf and material fields are provided, the gltf will be used only for extended features not
|
4842
|
-
* supported by the PbMaterial.
|
4843
|
-
* If this is provided and the `material` field is not provided, the renderer will update the material
|
4844
|
-
* field with data that reflects the gltf material once it is loaded.
|
4845
|
-
*/
|
4846
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
4847
4532
|
}
|
4848
4533
|
|
4849
4534
|
/**
|
@@ -4854,22 +4539,6 @@ export declare namespace PBMaterial {
|
|
4854
4539
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
4855
4540
|
}
|
4856
4541
|
|
4857
|
-
/**
|
4858
|
-
* @public
|
4859
|
-
*/
|
4860
|
-
export declare interface PBMaterial_GltfMaterial {
|
4861
|
-
gltfSrc: string;
|
4862
|
-
name: string;
|
4863
|
-
}
|
4864
|
-
|
4865
|
-
/**
|
4866
|
-
* @public
|
4867
|
-
*/
|
4868
|
-
export declare namespace PBMaterial_GltfMaterial {
|
4869
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
4870
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
4871
|
-
}
|
4872
|
-
|
4873
4542
|
/**
|
4874
4543
|
* @public
|
4875
4544
|
*/
|
@@ -4964,9 +4633,6 @@ export declare interface PBMeshCollider {
|
|
4964
4633
|
} | {
|
4965
4634
|
$case: "plane";
|
4966
4635
|
plane: PBMeshCollider_PlaneMesh;
|
4967
|
-
} | {
|
4968
|
-
$case: "gltf";
|
4969
|
-
gltf: PBMeshCollider_GltfMesh;
|
4970
4636
|
} | undefined;
|
4971
4637
|
}
|
4972
4638
|
|
@@ -5012,25 +4678,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
|
|
5012
4678
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
5013
4679
|
}
|
5014
4680
|
|
5015
|
-
/** A collider constructed from a Gltf Mesh. */
|
5016
|
-
/**
|
5017
|
-
* @public
|
5018
|
-
*/
|
5019
|
-
export declare interface PBMeshCollider_GltfMesh {
|
5020
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
5021
|
-
gltfSrc: string;
|
5022
|
-
/** the name of the mesh asset */
|
5023
|
-
name: string;
|
5024
|
-
}
|
5025
|
-
|
5026
|
-
/**
|
5027
|
-
* @public
|
5028
|
-
*/
|
5029
|
-
export declare namespace PBMeshCollider_GltfMesh {
|
5030
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
5031
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
5032
|
-
}
|
5033
|
-
|
5034
4681
|
/** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
|
5035
4682
|
/**
|
5036
4683
|
* @public
|
@@ -5063,11 +4710,13 @@ export declare namespace PBMeshCollider_SphereMesh {
|
|
5063
4710
|
|
5064
4711
|
/**
|
5065
4712
|
* The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
5066
|
-
* plane, a sphere
|
4713
|
+
* plane, a sphere or a cylinder.
|
5067
4714
|
*
|
5068
4715
|
* The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
5069
4716
|
* texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
5070
4717
|
* `float` coordinates, one for each corner of each side of each face.
|
4718
|
+
*
|
4719
|
+
* More complex shapes require the use of a `GltfContainer` component.
|
5071
4720
|
*/
|
5072
4721
|
/**
|
5073
4722
|
* @public
|
@@ -5085,9 +4734,6 @@ export declare interface PBMeshRenderer {
|
|
5085
4734
|
} | {
|
5086
4735
|
$case: "plane";
|
5087
4736
|
plane: PBMeshRenderer_PlaneMesh;
|
5088
|
-
} | {
|
5089
|
-
$case: "gltf";
|
5090
|
-
gltf: PBMeshRenderer_GltfMesh;
|
5091
4737
|
} | undefined;
|
5092
4738
|
}
|
5093
4739
|
|
@@ -5135,25 +4781,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
|
|
5135
4781
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
5136
4782
|
}
|
5137
4783
|
|
5138
|
-
/** A mesh from a Gltf. */
|
5139
|
-
/**
|
5140
|
-
* @public
|
5141
|
-
*/
|
5142
|
-
export declare interface PBMeshRenderer_GltfMesh {
|
5143
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
5144
|
-
gltfSrc: string;
|
5145
|
-
/** the name of the mesh asset */
|
5146
|
-
name: string;
|
5147
|
-
}
|
5148
|
-
|
5149
|
-
/**
|
5150
|
-
* @public
|
5151
|
-
*/
|
5152
|
-
export declare namespace PBMeshRenderer_GltfMesh {
|
5153
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
5154
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
5155
|
-
}
|
5156
|
-
|
5157
4784
|
/** PlaneMesh renders a 2D rectangular shape. */
|
5158
4785
|
/**
|
5159
4786
|
* @public
|
@@ -5480,6 +5107,7 @@ export declare interface PBRealmInfo {
|
|
5480
5107
|
commsAdapter: string;
|
5481
5108
|
isPreview: boolean;
|
5482
5109
|
room?: string | undefined;
|
5110
|
+
isConnectedSceneRoom?: boolean | undefined;
|
5483
5111
|
}
|
5484
5112
|
|
5485
5113
|
/**
|
@@ -5490,39 +5118,6 @@ export declare namespace PBRealmInfo {
|
|
5490
5118
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
|
5491
5119
|
}
|
5492
5120
|
|
5493
|
-
/**
|
5494
|
-
* defines a spotlight.
|
5495
|
-
* spotlights are point lights that emit light only in a cone around the transform's forward direction.
|
5496
|
-
* add this component together with the PBLight component to transform a point light into a spotlight.
|
5497
|
-
* note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
|
5498
|
-
* so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
|
5499
|
-
* a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
|
5500
|
-
* and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
|
5501
|
-
*/
|
5502
|
-
/**
|
5503
|
-
* @public
|
5504
|
-
*/
|
5505
|
-
export declare interface PBSpotlight {
|
5506
|
-
/**
|
5507
|
-
* the cone radius in radians. distance away from forward in which the light is visible.
|
5508
|
-
* for a torch a value around 0.15 is appropriate.
|
5509
|
-
*/
|
5510
|
-
angle: number;
|
5511
|
-
/**
|
5512
|
-
* optional angle at which the light is brightest. should be <= outer angle.
|
5513
|
-
* if specified, the light will fall off smoothly between `inner_angle` and `angle`.
|
5514
|
-
*/
|
5515
|
-
innerAngle?: number | undefined;
|
5516
|
-
}
|
5517
|
-
|
5518
|
-
/**
|
5519
|
-
* @public
|
5520
|
-
*/
|
5521
|
-
export declare namespace PBSpotlight {
|
5522
|
-
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
5523
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
5524
|
-
}
|
5525
|
-
|
5526
5121
|
/**
|
5527
5122
|
* The TextShape component renders customizable floating text.
|
5528
5123
|
*
|
@@ -5673,25 +5268,6 @@ export declare namespace PBUiBackground {
|
|
5673
5268
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
5674
5269
|
}
|
5675
5270
|
|
5676
|
-
/** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
|
5677
|
-
/**
|
5678
|
-
* @public
|
5679
|
-
*/
|
5680
|
-
export declare interface PBUiCanvas {
|
5681
|
-
width: number;
|
5682
|
-
height: number;
|
5683
|
-
/** default = (0.0, 0.0, 0.0, 0.0) / transparent */
|
5684
|
-
color?: PBColor4 | undefined;
|
5685
|
-
}
|
5686
|
-
|
5687
|
-
/**
|
5688
|
-
* @public
|
5689
|
-
*/
|
5690
|
-
export declare namespace PBUiCanvas {
|
5691
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
5692
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
5693
|
-
}
|
5694
|
-
|
5695
5271
|
/** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
|
5696
5272
|
/**
|
5697
5273
|
* @public
|
@@ -5808,21 +5384,6 @@ export declare namespace PBUiInputResult {
|
|
5808
5384
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
|
5809
5385
|
}
|
5810
5386
|
|
5811
|
-
/**
|
5812
|
-
* @public
|
5813
|
-
*/
|
5814
|
-
export declare interface PBUiScrollResult {
|
5815
|
-
value: PBVector2 | undefined;
|
5816
|
-
}
|
5817
|
-
|
5818
|
-
/**
|
5819
|
-
* @public
|
5820
|
-
*/
|
5821
|
-
export declare namespace PBUiScrollResult {
|
5822
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
5823
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
5824
|
-
}
|
5825
|
-
|
5826
5387
|
/**
|
5827
5388
|
* @public
|
5828
5389
|
*/
|
@@ -5839,10 +5400,6 @@ export declare interface PBUiText {
|
|
5839
5400
|
fontSize?: number | undefined;
|
5840
5401
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
5841
5402
|
textWrap?: TextWrap | undefined;
|
5842
|
-
/** width of the outline (default: 0) */
|
5843
|
-
outlineWidth?: number | undefined;
|
5844
|
-
/** RGBA color of the outline (default: opaque black) */
|
5845
|
-
outlineColor?: PBColor4 | undefined;
|
5846
5403
|
}
|
5847
5404
|
|
5848
5405
|
/**
|
@@ -5939,14 +5496,6 @@ export declare interface PBUiTransform {
|
|
5939
5496
|
paddingBottom: number;
|
5940
5497
|
/** default: PointerFilterMode.PFM_NONE */
|
5941
5498
|
pointerFilter?: PointerFilterMode | undefined;
|
5942
|
-
/** default: 1 */
|
5943
|
-
opacity?: number | undefined;
|
5944
|
-
/** default empty */
|
5945
|
-
elementId?: string | undefined;
|
5946
|
-
/** default position=(0,0) */
|
5947
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
5948
|
-
/** default ShowScrollBar.SSB_BOTH */
|
5949
|
-
scrollVisible?: ShowScrollBar | undefined;
|
5950
5499
|
}
|
5951
5500
|
|
5952
5501
|
/**
|
@@ -6880,7 +6429,6 @@ export declare type RaycastSystemOptions = {
|
|
6880
6429
|
export declare interface ReactBasedUiSystem {
|
6881
6430
|
destroy(): void;
|
6882
6431
|
setUiRenderer(ui: UiComponent): void;
|
6883
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
6884
6432
|
}
|
6885
6433
|
|
6886
6434
|
/**
|
@@ -7334,43 +6882,6 @@ export declare namespace Schemas {
|
|
7334
6882
|
}) => void;
|
7335
6883
|
}
|
7336
6884
|
|
7337
|
-
/**
|
7338
|
-
* @public
|
7339
|
-
*/
|
7340
|
-
export declare interface ScrollPositionValue {
|
7341
|
-
value?: {
|
7342
|
-
$case: "position";
|
7343
|
-
position: PBVector2;
|
7344
|
-
} | {
|
7345
|
-
$case: "reference";
|
7346
|
-
reference: string;
|
7347
|
-
} | undefined;
|
7348
|
-
}
|
7349
|
-
|
7350
|
-
/**
|
7351
|
-
* @public
|
7352
|
-
*/
|
7353
|
-
export declare namespace ScrollPositionValue {
|
7354
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
7355
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
7356
|
-
}
|
7357
|
-
|
7358
|
-
/**
|
7359
|
-
* @public
|
7360
|
-
* The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
|
7361
|
-
*/
|
7362
|
-
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
7363
|
-
|
7364
|
-
/**
|
7365
|
-
* @public
|
7366
|
-
*/
|
7367
|
-
export declare const enum ShowScrollBar {
|
7368
|
-
SSB_BOTH = 0,
|
7369
|
-
SSB_ONLY_VERTICAL = 1,
|
7370
|
-
SSB_ONLY_HORIZONTAL = 2,
|
7371
|
-
SSB_HIDDEN = 3
|
7372
|
-
}
|
7373
|
-
|
7374
6885
|
/**
|
7375
6886
|
* @public
|
7376
6887
|
*/
|
@@ -7378,9 +6889,6 @@ export declare interface Spec {
|
|
7378
6889
|
[key: string]: ISchema;
|
7379
6890
|
}
|
7380
6891
|
|
7381
|
-
/** @public */
|
7382
|
-
export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
7383
|
-
|
7384
6892
|
/**
|
7385
6893
|
* @alpha
|
7386
6894
|
* This is going to be used for sync components through a server.
|
@@ -7512,9 +7020,6 @@ export declare interface TextureUnion {
|
|
7512
7020
|
} | {
|
7513
7021
|
$case: "videoTexture";
|
7514
7022
|
videoTexture: VideoTexture;
|
7515
|
-
} | {
|
7516
|
-
$case: "uiTexture";
|
7517
|
-
uiTexture: UiCanvasTexture;
|
7518
7023
|
} | undefined;
|
7519
7024
|
}
|
7520
7025
|
|
@@ -7733,31 +7238,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
7733
7238
|
disabled?: boolean;
|
7734
7239
|
}
|
7735
7240
|
|
7736
|
-
/** @public */
|
7737
|
-
export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
7738
|
-
|
7739
7241
|
/** @public */
|
7740
7242
|
export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
7741
7243
|
|
7742
|
-
/**
|
7743
|
-
* @public
|
7744
|
-
*/
|
7745
|
-
export declare interface UiCanvasTexture {
|
7746
|
-
uiCanvasEntity: number;
|
7747
|
-
/** default = TextureWrapMode.Clamp */
|
7748
|
-
wrapMode?: TextureWrapMode | undefined;
|
7749
|
-
/** default = FilterMode.Bilinear */
|
7750
|
-
filterMode?: TextureFilterMode | undefined;
|
7751
|
-
}
|
7752
|
-
|
7753
|
-
/**
|
7754
|
-
* @public
|
7755
|
-
*/
|
7756
|
-
export declare namespace UiCanvasTexture {
|
7757
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
7758
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
7759
|
-
}
|
7760
|
-
|
7761
7244
|
/**
|
7762
7245
|
* @public
|
7763
7246
|
*/
|
@@ -7827,10 +7310,6 @@ export declare interface UiLabelProps {
|
|
7827
7310
|
textAlign?: TextAlignType | undefined;
|
7828
7311
|
/** Label font type. @defaultValue 'sans-serif' */
|
7829
7312
|
font?: UiFontType | undefined;
|
7830
|
-
/** Outline width of the text. @defaultValue 0 */
|
7831
|
-
outlineWidth?: number | undefined;
|
7832
|
-
/** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
|
7833
|
-
outlineColor?: PBColor4 | undefined;
|
7834
7313
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
7835
7314
|
textWrap?: UiTextWrapType | undefined;
|
7836
7315
|
}
|
@@ -7840,9 +7319,6 @@ export declare interface UiLabelProps {
|
|
7840
7319
|
*/
|
7841
7320
|
export declare type uint32 = number;
|
7842
7321
|
|
7843
|
-
/** @public */
|
7844
|
-
export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
7845
|
-
|
7846
7322
|
/** @public */
|
7847
7323
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
7848
7324
|
|
@@ -7915,14 +7391,6 @@ export declare interface UiTransformProps {
|
|
7915
7391
|
overflow?: OverflowType;
|
7916
7392
|
/** 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) **/
|
7917
7393
|
pointerFilter?: PointerFilterType;
|
7918
|
-
/** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
|
7919
|
-
opacity?: number;
|
7920
|
-
/** A reference value to identify the element, default empty */
|
7921
|
-
elementId?: string;
|
7922
|
-
/** default position=(0,0) if it aplies, a vector or a reference-id */
|
7923
|
-
scrollPosition?: PBVector2 | string;
|
7924
|
-
/** default ShowScrollBar.SSB_BOTH */
|
7925
|
-
scrollVisible?: ScrollVisibleType;
|
7926
7394
|
}
|
7927
7395
|
|
7928
7396
|
/**
|