@dcl/playground-assets 7.8.11 → 7.8.13-15759056248.commit-2d07483
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alpha.d.ts +774 -11
- package/dist/beta.d.ts +774 -11
- package/dist/index.bundled.d.ts +774 -11
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +12 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +774 -11
- package/etc/playground-assets.api.json +9331 -1762
- package/etc/playground-assets.api.md +499 -3
- package/package.json +4 -4
|
@@ -178,11 +178,31 @@ 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
|
+
|
|
181
193
|
/** @public */
|
|
182
194
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
183
195
|
|
|
184
|
-
|
|
185
|
-
|
|
196
|
+
export declare const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export declare type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
202
|
+
|
|
203
|
+
export declare type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
204
|
+
forceRender?: string[] | undefined;
|
|
205
|
+
};
|
|
186
206
|
|
|
187
207
|
/** @public */
|
|
188
208
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
@@ -198,8 +218,47 @@ export declare const enum AvatarModifierType {
|
|
|
198
218
|
AMT_DISABLE_PASSPORTS = 1
|
|
199
219
|
}
|
|
200
220
|
|
|
201
|
-
/**
|
|
202
|
-
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
export declare interface AvatarMovementSettings {
|
|
225
|
+
controlMode?: AvatarControlType | undefined;
|
|
226
|
+
/** if not explicitly set, the following properties default to user's preference settings */
|
|
227
|
+
runSpeed?: number | undefined;
|
|
228
|
+
/** how fast the player gets up to speed or comes to rest. higher = more responsive */
|
|
229
|
+
friction?: number | undefined;
|
|
230
|
+
/** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
|
|
231
|
+
gravity?: number | undefined;
|
|
232
|
+
/** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
|
|
233
|
+
jumpHeight?: number | undefined;
|
|
234
|
+
/** max fall speed in m/s. should normally be negative */
|
|
235
|
+
maxFallSpeed?: number | undefined;
|
|
236
|
+
/** speed the player turns in tank mode, in radians/s */
|
|
237
|
+
turnSpeed?: number | undefined;
|
|
238
|
+
/** speed the player walks at, in m/s */
|
|
239
|
+
walkSpeed?: number | undefined;
|
|
240
|
+
/** 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 */
|
|
241
|
+
allowWeightedMovement?: boolean | undefined;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export declare namespace AvatarMovementSettings {
|
|
248
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
249
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export declare const AvatarShape: AvatarShapeComponentDefinitionExtended;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
export declare type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
258
|
+
|
|
259
|
+
export declare type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
260
|
+
forceRender?: string[] | undefined;
|
|
261
|
+
};
|
|
203
262
|
|
|
204
263
|
/**
|
|
205
264
|
* @public
|
|
@@ -473,6 +532,12 @@ export declare interface ByteBuffer {
|
|
|
473
532
|
*/
|
|
474
533
|
export declare type Callback = () => void;
|
|
475
534
|
|
|
535
|
+
/** @public */
|
|
536
|
+
export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
537
|
+
|
|
538
|
+
/** @public */
|
|
539
|
+
export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
540
|
+
|
|
476
541
|
/** @public */
|
|
477
542
|
export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
478
543
|
|
|
@@ -530,6 +595,39 @@ export declare const enum CameraType {
|
|
|
530
595
|
|
|
531
596
|
export declare type Children = ReactEcs.JSX.ReactNode;
|
|
532
597
|
|
|
598
|
+
/**
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
export declare interface CinematicSettings {
|
|
602
|
+
/** Entity that defines the cinematic camera transform. */
|
|
603
|
+
cameraEntity: number;
|
|
604
|
+
/**
|
|
605
|
+
* Position -> camera's position
|
|
606
|
+
* Rotation -> camera's direction
|
|
607
|
+
* scale.z -> zoom level
|
|
608
|
+
* scale.x and scale.y -> unused
|
|
609
|
+
*/
|
|
610
|
+
allowManualRotation?: boolean | undefined;
|
|
611
|
+
/** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
|
|
612
|
+
yawRange?: number | undefined;
|
|
613
|
+
/** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
|
|
614
|
+
pitchRange?: number | undefined;
|
|
615
|
+
/** note: cameras can never look up/down further than Vec3::Y */
|
|
616
|
+
rollRange?: number | undefined;
|
|
617
|
+
/** minimum zoom level. must be greater than 0. defaults to the input zoom level */
|
|
618
|
+
zoomMin?: number | undefined;
|
|
619
|
+
/** maximum zoom level. must be greater than 0. defaults to the input zoom level */
|
|
620
|
+
zoomMax?: number | undefined;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
export declare namespace CinematicSettings {
|
|
627
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
628
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
629
|
+
}
|
|
630
|
+
|
|
533
631
|
/** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
|
|
534
632
|
/**
|
|
535
633
|
* @public
|
|
@@ -1303,12 +1401,18 @@ export declare const componentDefinitionByName: {
|
|
|
1303
1401
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
1304
1402
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
1305
1403
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
1404
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
1405
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
1306
1406
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
1307
1407
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
1308
1408
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
1409
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
1309
1410
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
1310
1411
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
1412
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
1413
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
1311
1414
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
1415
|
+
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
|
1312
1416
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
1313
1417
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
1314
1418
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -1322,16 +1426,20 @@ export declare const componentDefinitionByName: {
|
|
|
1322
1426
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
1323
1427
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
1324
1428
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
1429
|
+
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
|
1325
1430
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
1431
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
1326
1432
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
1327
1433
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
1328
1434
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
1329
1435
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
1436
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
1330
1437
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
1331
1438
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
1332
1439
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
1333
1440
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
1334
1441
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
1442
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
1335
1443
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
1336
1444
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
1337
1445
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1902,6 +2010,9 @@ export declare type EntityComponents = {
|
|
|
1902
2010
|
onMouseUp: Callback;
|
|
1903
2011
|
onMouseEnter: Callback;
|
|
1904
2012
|
onMouseLeave: Callback;
|
|
2013
|
+
onMouseDrag: Callback;
|
|
2014
|
+
onMouseDragLocked: Callback;
|
|
2015
|
+
onMouseDragEnd: Callback;
|
|
1905
2016
|
};
|
|
1906
2017
|
|
|
1907
2018
|
/** @public */
|
|
@@ -2053,6 +2164,9 @@ export declare type GlobalDirectionRaycastSystemOptions = {
|
|
|
2053
2164
|
direction?: PBVector3;
|
|
2054
2165
|
};
|
|
2055
2166
|
|
|
2167
|
+
/** @public */
|
|
2168
|
+
export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
2169
|
+
|
|
2056
2170
|
export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
|
|
2057
2171
|
|
|
2058
2172
|
export declare type GlobalTargetRaycastSystemOptions = {
|
|
@@ -2065,6 +2179,21 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
|
|
|
2065
2179
|
/** @public */
|
|
2066
2180
|
export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
2067
2181
|
|
|
2182
|
+
/** @public */
|
|
2183
|
+
export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
2184
|
+
|
|
2185
|
+
/** @public */
|
|
2186
|
+
export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* @public
|
|
2190
|
+
*/
|
|
2191
|
+
export declare const enum GltfNodeStateValue {
|
|
2192
|
+
GNSV_PENDING = 0,
|
|
2193
|
+
GNSV_FAILED = 1,
|
|
2194
|
+
GNSV_READY = 2
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2068
2197
|
/**
|
|
2069
2198
|
* @public
|
|
2070
2199
|
*/
|
|
@@ -2675,6 +2804,9 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
|
2675
2804
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
|
2676
2805
|
}
|
|
2677
2806
|
|
|
2807
|
+
/** @public */
|
|
2808
|
+
export declare const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
|
2809
|
+
|
|
2678
2810
|
/**
|
|
2679
2811
|
* User key event Listeners
|
|
2680
2812
|
* @public
|
|
@@ -2688,6 +2820,12 @@ export declare type Listeners = {
|
|
|
2688
2820
|
onMouseEnter?: Callback;
|
|
2689
2821
|
/** triggered on mouse leave event */
|
|
2690
2822
|
onMouseLeave?: Callback;
|
|
2823
|
+
/** triggered on mouse drag event */
|
|
2824
|
+
onMouseDrag?: Callback;
|
|
2825
|
+
/** triggered on mouse drag event */
|
|
2826
|
+
onMouseDragLocked?: Callback;
|
|
2827
|
+
/** triggered on mouse drag event */
|
|
2828
|
+
onMouseDragEnd?: Callback;
|
|
2691
2829
|
};
|
|
2692
2830
|
|
|
2693
2831
|
/**
|
|
@@ -3556,6 +3694,14 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
|
|
|
3556
3694
|
* @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
|
|
3557
3695
|
*/
|
|
3558
3696
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
3697
|
+
/**
|
|
3698
|
+
* @public
|
|
3699
|
+
* Set a gltf internal mesh in the MeshCollider component
|
|
3700
|
+
* @param entity - entity to create or replace the MeshRenderer component
|
|
3701
|
+
* @param source - the path to the gltf
|
|
3702
|
+
* @param meshName - the name of the mesh in the gltf
|
|
3703
|
+
*/
|
|
3704
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
3559
3705
|
}
|
|
3560
3706
|
|
|
3561
3707
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
@@ -3592,6 +3738,14 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
|
|
|
3592
3738
|
* @param entity - entity to create or replace the MeshRenderer component
|
|
3593
3739
|
*/
|
|
3594
3740
|
setSphere(entity: Entity): void;
|
|
3741
|
+
/**
|
|
3742
|
+
* @public
|
|
3743
|
+
* Set a gltf internal mesh in the MeshRenderer component
|
|
3744
|
+
* @param entity - entity to create or replace the MeshRenderer component
|
|
3745
|
+
* @param source - the path to the gltf
|
|
3746
|
+
* @param meshName - the name of the mesh in the gltf
|
|
3747
|
+
*/
|
|
3748
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
3595
3749
|
}
|
|
3596
3750
|
|
|
3597
3751
|
/**
|
|
@@ -4004,6 +4158,25 @@ export declare const onVideoEvent: Observable<{
|
|
|
4004
4158
|
totalVideoLength: number;
|
|
4005
4159
|
}>;
|
|
4006
4160
|
|
|
4161
|
+
/**
|
|
4162
|
+
* @public
|
|
4163
|
+
*/
|
|
4164
|
+
export declare interface Orthographic {
|
|
4165
|
+
/**
|
|
4166
|
+
* vertical extent of the visible range in meters
|
|
4167
|
+
* defaults to 4m
|
|
4168
|
+
*/
|
|
4169
|
+
verticalRange?: number | undefined;
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* @public
|
|
4174
|
+
*/
|
|
4175
|
+
export declare namespace Orthographic {
|
|
4176
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
4177
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4007
4180
|
/**
|
|
4008
4181
|
* @public
|
|
4009
4182
|
* The overflow property controls what happens to content that is too big to fit into an area
|
|
@@ -4230,6 +4403,8 @@ export declare namespace PBAvatarEmoteCommand {
|
|
|
4230
4403
|
export declare interface PBAvatarEquippedData {
|
|
4231
4404
|
wearableUrns: string[];
|
|
4232
4405
|
emoteUrns: string[];
|
|
4406
|
+
/** slots that will render even if hidden */
|
|
4407
|
+
forceRender: string[];
|
|
4233
4408
|
}
|
|
4234
4409
|
|
|
4235
4410
|
/**
|
|
@@ -4264,6 +4439,9 @@ export declare interface PBAvatarModifierArea {
|
|
|
4264
4439
|
excludeIds: string[];
|
|
4265
4440
|
/** list of modifiers to apply */
|
|
4266
4441
|
modifiers: AvatarModifierType[];
|
|
4442
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
4443
|
+
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
4444
|
+
useColliderRange?: boolean | undefined;
|
|
4267
4445
|
}
|
|
4268
4446
|
|
|
4269
4447
|
/**
|
|
@@ -4320,6 +4498,8 @@ export declare interface PBAvatarShape {
|
|
|
4320
4498
|
wearables: string[];
|
|
4321
4499
|
/** available emotes (default empty) */
|
|
4322
4500
|
emotes: string[];
|
|
4501
|
+
/** slots that will render even if hidden */
|
|
4502
|
+
forceRender: string[];
|
|
4323
4503
|
}
|
|
4324
4504
|
|
|
4325
4505
|
/**
|
|
@@ -4354,6 +4534,51 @@ export declare namespace PBBillboard {
|
|
|
4354
4534
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
|
|
4355
4535
|
}
|
|
4356
4536
|
|
|
4537
|
+
/**
|
|
4538
|
+
* @public
|
|
4539
|
+
*/
|
|
4540
|
+
export declare interface PBCameraLayer {
|
|
4541
|
+
/**
|
|
4542
|
+
* layer to which these settings apply. must be > 0
|
|
4543
|
+
* Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
|
|
4544
|
+
*/
|
|
4545
|
+
layer: number;
|
|
4546
|
+
/** should the sun light affect this layer? default false */
|
|
4547
|
+
directionalLight?: boolean | undefined;
|
|
4548
|
+
/** should this layer show player avatars? default false */
|
|
4549
|
+
showAvatars?: boolean | undefined;
|
|
4550
|
+
/** should this layer show the sky? default false */
|
|
4551
|
+
showSkybox?: boolean | undefined;
|
|
4552
|
+
/** should this layer show distance fog? default false */
|
|
4553
|
+
showFog?: boolean | undefined;
|
|
4554
|
+
/** ambient light overrides for this layer. default -> use same as main camera */
|
|
4555
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
4556
|
+
ambientBrightnessOverride?: number | undefined;
|
|
4557
|
+
}
|
|
4558
|
+
|
|
4559
|
+
/**
|
|
4560
|
+
* @public
|
|
4561
|
+
*/
|
|
4562
|
+
export declare namespace PBCameraLayer {
|
|
4563
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
4564
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4567
|
+
/**
|
|
4568
|
+
* @public
|
|
4569
|
+
*/
|
|
4570
|
+
export declare interface PBCameraLayers {
|
|
4571
|
+
layers: number[];
|
|
4572
|
+
}
|
|
4573
|
+
|
|
4574
|
+
/**
|
|
4575
|
+
* @public
|
|
4576
|
+
*/
|
|
4577
|
+
export declare namespace PBCameraLayers {
|
|
4578
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
4579
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
4580
|
+
}
|
|
4581
|
+
|
|
4357
4582
|
/**
|
|
4358
4583
|
* The CameraMode component can be used to determine whether the player is using a first-person o
|
|
4359
4584
|
* third-person view.
|
|
@@ -4376,7 +4601,7 @@ export declare namespace PBCameraMode {
|
|
|
4376
4601
|
|
|
4377
4602
|
/**
|
|
4378
4603
|
* The CameraModeArea component can be attached to an Entity to define a region of space where
|
|
4379
|
-
* the player's camera mode (1st-person
|
|
4604
|
+
* the player's camera mode (1st-person, 3rd-person or cinematic) is overridden.
|
|
4380
4605
|
*
|
|
4381
4606
|
* The Entity's Transform position determines the center-point of the region, while its size is
|
|
4382
4607
|
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
|
@@ -4386,6 +4611,8 @@ export declare namespace PBCameraMode {
|
|
|
4386
4611
|
*
|
|
4387
4612
|
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
|
4388
4613
|
* is actually a 3D volume.
|
|
4614
|
+
*
|
|
4615
|
+
* When mode is set to CtCinematic, the cinematic_settings field must also be provided.
|
|
4389
4616
|
*/
|
|
4390
4617
|
/**
|
|
4391
4618
|
* @public
|
|
@@ -4395,6 +4622,9 @@ export declare interface PBCameraModeArea {
|
|
|
4395
4622
|
area: PBVector3 | undefined;
|
|
4396
4623
|
/** the camera mode to enforce */
|
|
4397
4624
|
mode: CameraType;
|
|
4625
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
4626
|
+
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
4627
|
+
useColliderRange?: boolean | undefined;
|
|
4398
4628
|
}
|
|
4399
4629
|
|
|
4400
4630
|
/**
|
|
@@ -4466,6 +4696,39 @@ export declare namespace PBEngineInfo {
|
|
|
4466
4696
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
|
4467
4697
|
}
|
|
4468
4698
|
|
|
4699
|
+
/**
|
|
4700
|
+
* defines the global scene light settings. must be added to the scene root.
|
|
4701
|
+
* to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
|
|
4702
|
+
*/
|
|
4703
|
+
/**
|
|
4704
|
+
* @public
|
|
4705
|
+
*/
|
|
4706
|
+
export declare interface PBGlobalLight {
|
|
4707
|
+
/**
|
|
4708
|
+
* the direction the directional light shines in.
|
|
4709
|
+
* default depends on time of day and explorer implementation
|
|
4710
|
+
*/
|
|
4711
|
+
direction?: PBVector3 | undefined;
|
|
4712
|
+
/**
|
|
4713
|
+
* ambient light color
|
|
4714
|
+
* default: White
|
|
4715
|
+
*/
|
|
4716
|
+
ambientColor?: PBColor3 | undefined;
|
|
4717
|
+
/**
|
|
4718
|
+
* ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
|
|
4719
|
+
* default 1
|
|
4720
|
+
*/
|
|
4721
|
+
ambientBrightness?: number | undefined;
|
|
4722
|
+
}
|
|
4723
|
+
|
|
4724
|
+
/**
|
|
4725
|
+
* @public
|
|
4726
|
+
*/
|
|
4727
|
+
export declare namespace PBGlobalLight {
|
|
4728
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
4729
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
4730
|
+
}
|
|
4731
|
+
|
|
4469
4732
|
/**
|
|
4470
4733
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
|
4471
4734
|
*
|
|
@@ -4501,6 +4764,25 @@ export declare namespace PBGltfContainer {
|
|
|
4501
4764
|
*/
|
|
4502
4765
|
export declare interface PBGltfContainerLoadingState {
|
|
4503
4766
|
currentState: LoadingState;
|
|
4767
|
+
/** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
|
|
4768
|
+
nodePaths: string[];
|
|
4769
|
+
/** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
|
|
4770
|
+
meshNames: string[];
|
|
4771
|
+
/**
|
|
4772
|
+
* where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
|
|
4773
|
+
* conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
|
|
4774
|
+
*/
|
|
4775
|
+
materialNames: string[];
|
|
4776
|
+
/**
|
|
4777
|
+
* X is the material index. note this may conflict with manually named materials - to avoid any issues make
|
|
4778
|
+
* sure all your materials are explicitly named.
|
|
4779
|
+
*/
|
|
4780
|
+
skinNames: string[];
|
|
4781
|
+
/**
|
|
4782
|
+
* X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
|
|
4783
|
+
* your skins are explicitly named.
|
|
4784
|
+
*/
|
|
4785
|
+
animationNames: string[];
|
|
4504
4786
|
}
|
|
4505
4787
|
|
|
4506
4788
|
/**
|
|
@@ -4511,6 +4793,77 @@ export declare namespace PBGltfContainerLoadingState {
|
|
|
4511
4793
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
|
|
4512
4794
|
}
|
|
4513
4795
|
|
|
4796
|
+
/**
|
|
4797
|
+
* a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
|
|
4798
|
+
* This component must be added to a direct child of an entity with a PBGltfContainer component, or
|
|
4799
|
+
* to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
|
|
4800
|
+
* in the parent.
|
|
4801
|
+
* The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
|
|
4802
|
+
*
|
|
4803
|
+
* The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
|
|
4804
|
+
* - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
|
|
4805
|
+
* - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
|
|
4806
|
+
* - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
|
|
4807
|
+
* - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
|
|
4808
|
+
*
|
|
4809
|
+
* After creation, if an animation moves the node, the `Transform` will be updated.
|
|
4810
|
+
*
|
|
4811
|
+
* From the scene, you can modify various components to alter the gltf node:
|
|
4812
|
+
* - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
|
|
4813
|
+
* regardless of any intermediate gltf node hierarchy.
|
|
4814
|
+
* If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
|
|
4815
|
+
* - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
|
|
4816
|
+
* - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
|
|
4817
|
+
* - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
|
|
4818
|
+
* - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
|
|
4819
|
+
* 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
|
|
4820
|
+
* PBMaterial will be maintained.
|
|
4821
|
+
*
|
|
4822
|
+
* The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
|
|
4823
|
+
* - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
|
|
4824
|
+
* change the state to `GNS_FAILED`.
|
|
4825
|
+
* - deleting the scene entity will not delete the gltf node.
|
|
4826
|
+
*
|
|
4827
|
+
* Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
|
|
4828
|
+
* are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
|
|
4829
|
+
* the gltf node will also be displayed.
|
|
4830
|
+
*/
|
|
4831
|
+
/**
|
|
4832
|
+
* @public
|
|
4833
|
+
*/
|
|
4834
|
+
export declare interface PBGltfNode {
|
|
4835
|
+
/** the path of the target node in the Gltf. */
|
|
4836
|
+
path: string;
|
|
4837
|
+
}
|
|
4838
|
+
|
|
4839
|
+
/**
|
|
4840
|
+
* @public
|
|
4841
|
+
*/
|
|
4842
|
+
export declare namespace PBGltfNode {
|
|
4843
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
4844
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4847
|
+
/**
|
|
4848
|
+
* The state of a linked gltf node.
|
|
4849
|
+
* If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
|
|
4850
|
+
*/
|
|
4851
|
+
/**
|
|
4852
|
+
* @public
|
|
4853
|
+
*/
|
|
4854
|
+
export declare interface PBGltfNodeState {
|
|
4855
|
+
state: GltfNodeStateValue;
|
|
4856
|
+
error?: string | undefined;
|
|
4857
|
+
}
|
|
4858
|
+
|
|
4859
|
+
/**
|
|
4860
|
+
* @public
|
|
4861
|
+
*/
|
|
4862
|
+
export declare namespace PBGltfNodeState {
|
|
4863
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
4864
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
4865
|
+
}
|
|
4866
|
+
|
|
4514
4867
|
/**
|
|
4515
4868
|
* @public
|
|
4516
4869
|
*/
|
|
@@ -4550,6 +4903,62 @@ export declare namespace PBInputModifier_StandardInput {
|
|
|
4550
4903
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
|
4551
4904
|
}
|
|
4552
4905
|
|
|
4906
|
+
/**
|
|
4907
|
+
* defines a light source.
|
|
4908
|
+
* the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
|
|
4909
|
+
* a PBGlobalLight component can also be added to the root to control the directional light direction.
|
|
4910
|
+
* point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
|
|
4911
|
+
*/
|
|
4912
|
+
/**
|
|
4913
|
+
* @public
|
|
4914
|
+
*/
|
|
4915
|
+
export declare interface PBLight {
|
|
4916
|
+
/**
|
|
4917
|
+
* whether the light is on
|
|
4918
|
+
* default true
|
|
4919
|
+
*/
|
|
4920
|
+
enabled?: boolean | undefined;
|
|
4921
|
+
/**
|
|
4922
|
+
* light brightness in lux (lumens/m^2).
|
|
4923
|
+
*
|
|
4924
|
+
* 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).
|
|
4925
|
+
* the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
|
|
4926
|
+
* for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
|
|
4927
|
+
*
|
|
4928
|
+
* for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
|
|
4929
|
+
* divide lumens by ~12 (4*pi).
|
|
4930
|
+
* e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
|
|
4931
|
+
* a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
|
|
4932
|
+
*
|
|
4933
|
+
* default
|
|
4934
|
+
* for point/spotlights: 10,000
|
|
4935
|
+
* for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
|
|
4936
|
+
*/
|
|
4937
|
+
illuminance?: number | undefined;
|
|
4938
|
+
/**
|
|
4939
|
+
* whether the light should cast shadows.
|
|
4940
|
+
* note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
|
|
4941
|
+
* of lights depending on the implementation, platform, and user settings.
|
|
4942
|
+
* default
|
|
4943
|
+
* for point/spotlights: false / off
|
|
4944
|
+
* for global directional light: true / on
|
|
4945
|
+
*/
|
|
4946
|
+
shadows?: boolean | undefined;
|
|
4947
|
+
/**
|
|
4948
|
+
* light color
|
|
4949
|
+
* default White
|
|
4950
|
+
*/
|
|
4951
|
+
color?: PBColor3 | undefined;
|
|
4952
|
+
}
|
|
4953
|
+
|
|
4954
|
+
/**
|
|
4955
|
+
* @public
|
|
4956
|
+
*/
|
|
4957
|
+
export declare namespace PBLight {
|
|
4958
|
+
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
|
4959
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4553
4962
|
/**
|
|
4554
4963
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
|
4555
4964
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
|
@@ -4581,6 +4990,14 @@ export declare interface PBMaterial {
|
|
|
4581
4990
|
$case: "pbr";
|
|
4582
4991
|
pbr: PBMaterial_PbrMaterial;
|
|
4583
4992
|
} | undefined;
|
|
4993
|
+
/**
|
|
4994
|
+
* A gltf material that may provide additional features not supported by the PbMaterial fields.
|
|
4995
|
+
* If both gltf and material fields are provided, the gltf will be used only for extended features not
|
|
4996
|
+
* supported by the PbMaterial.
|
|
4997
|
+
* If this is provided and the `material` field is not provided, the renderer will update the material
|
|
4998
|
+
* field with data that reflects the gltf material once it is loaded.
|
|
4999
|
+
*/
|
|
5000
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
4584
5001
|
}
|
|
4585
5002
|
|
|
4586
5003
|
/**
|
|
@@ -4591,6 +5008,22 @@ export declare namespace PBMaterial {
|
|
|
4591
5008
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
|
4592
5009
|
}
|
|
4593
5010
|
|
|
5011
|
+
/**
|
|
5012
|
+
* @public
|
|
5013
|
+
*/
|
|
5014
|
+
export declare interface PBMaterial_GltfMaterial {
|
|
5015
|
+
gltfSrc: string;
|
|
5016
|
+
name: string;
|
|
5017
|
+
}
|
|
5018
|
+
|
|
5019
|
+
/**
|
|
5020
|
+
* @public
|
|
5021
|
+
*/
|
|
5022
|
+
export declare namespace PBMaterial_GltfMaterial {
|
|
5023
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
5024
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
5025
|
+
}
|
|
5026
|
+
|
|
4594
5027
|
/**
|
|
4595
5028
|
* @public
|
|
4596
5029
|
*/
|
|
@@ -4687,6 +5120,9 @@ export declare interface PBMeshCollider {
|
|
|
4687
5120
|
} | {
|
|
4688
5121
|
$case: "plane";
|
|
4689
5122
|
plane: PBMeshCollider_PlaneMesh;
|
|
5123
|
+
} | {
|
|
5124
|
+
$case: "gltf";
|
|
5125
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
4690
5126
|
} | undefined;
|
|
4691
5127
|
}
|
|
4692
5128
|
|
|
@@ -4732,6 +5168,25 @@ export declare namespace PBMeshCollider_CylinderMesh {
|
|
|
4732
5168
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
|
4733
5169
|
}
|
|
4734
5170
|
|
|
5171
|
+
/** A collider constructed from a Gltf Mesh. */
|
|
5172
|
+
/**
|
|
5173
|
+
* @public
|
|
5174
|
+
*/
|
|
5175
|
+
export declare interface PBMeshCollider_GltfMesh {
|
|
5176
|
+
/** the GLTF file path as listed in the scene's manifest. */
|
|
5177
|
+
gltfSrc: string;
|
|
5178
|
+
/** the name of the mesh asset */
|
|
5179
|
+
name: string;
|
|
5180
|
+
}
|
|
5181
|
+
|
|
5182
|
+
/**
|
|
5183
|
+
* @public
|
|
5184
|
+
*/
|
|
5185
|
+
export declare namespace PBMeshCollider_GltfMesh {
|
|
5186
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
5187
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
5188
|
+
}
|
|
5189
|
+
|
|
4735
5190
|
/** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
|
|
4736
5191
|
/**
|
|
4737
5192
|
* @public
|
|
@@ -4764,13 +5219,11 @@ export declare namespace PBMeshCollider_SphereMesh {
|
|
|
4764
5219
|
|
|
4765
5220
|
/**
|
|
4766
5221
|
* The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
|
4767
|
-
* plane, a sphere or a
|
|
5222
|
+
* plane, a sphere, a cylinder, or a Gltf mesh.
|
|
4768
5223
|
*
|
|
4769
5224
|
* The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
|
4770
5225
|
* texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
|
4771
5226
|
* `float` coordinates, one for each corner of each side of each face.
|
|
4772
|
-
*
|
|
4773
|
-
* More complex shapes require the use of a `GltfContainer` component.
|
|
4774
5227
|
*/
|
|
4775
5228
|
/**
|
|
4776
5229
|
* @public
|
|
@@ -4788,6 +5241,9 @@ export declare interface PBMeshRenderer {
|
|
|
4788
5241
|
} | {
|
|
4789
5242
|
$case: "plane";
|
|
4790
5243
|
plane: PBMeshRenderer_PlaneMesh;
|
|
5244
|
+
} | {
|
|
5245
|
+
$case: "gltf";
|
|
5246
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
4791
5247
|
} | undefined;
|
|
4792
5248
|
}
|
|
4793
5249
|
|
|
@@ -4835,6 +5291,25 @@ export declare namespace PBMeshRenderer_CylinderMesh {
|
|
|
4835
5291
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
|
4836
5292
|
}
|
|
4837
5293
|
|
|
5294
|
+
/** A mesh from a Gltf. */
|
|
5295
|
+
/**
|
|
5296
|
+
* @public
|
|
5297
|
+
*/
|
|
5298
|
+
export declare interface PBMeshRenderer_GltfMesh {
|
|
5299
|
+
/** the GLTF file path as listed in the scene's manifest. */
|
|
5300
|
+
gltfSrc: string;
|
|
5301
|
+
/** the name of the mesh asset */
|
|
5302
|
+
name: string;
|
|
5303
|
+
}
|
|
5304
|
+
|
|
5305
|
+
/**
|
|
5306
|
+
* @public
|
|
5307
|
+
*/
|
|
5308
|
+
export declare namespace PBMeshRenderer_GltfMesh {
|
|
5309
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
5310
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
5311
|
+
}
|
|
5312
|
+
|
|
4838
5313
|
/** PlaneMesh renders a 2D rectangular shape. */
|
|
4839
5314
|
/**
|
|
4840
5315
|
* @public
|
|
@@ -5083,7 +5558,10 @@ export declare interface PBPrimaryPointerInfo {
|
|
|
5083
5558
|
screenCoordinates?: PBVector2 | undefined;
|
|
5084
5559
|
/** Movement since last frame (pixels) */
|
|
5085
5560
|
screenDelta?: PBVector2 | undefined;
|
|
5086
|
-
/**
|
|
5561
|
+
/**
|
|
5562
|
+
* ray direction that can be used with the primary camera origin for
|
|
5563
|
+
* raycasting from the cursor into the world
|
|
5564
|
+
*/
|
|
5087
5565
|
worldRayDirection?: PBVector3 | undefined;
|
|
5088
5566
|
}
|
|
5089
5567
|
|
|
@@ -5223,6 +5701,39 @@ export declare namespace PBRealmInfo {
|
|
|
5223
5701
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
|
|
5224
5702
|
}
|
|
5225
5703
|
|
|
5704
|
+
/**
|
|
5705
|
+
* defines a spotlight.
|
|
5706
|
+
* spotlights are point lights that emit light only in a cone around the transform's forward direction.
|
|
5707
|
+
* add this component together with the PBLight component to transform a point light into a spotlight.
|
|
5708
|
+
* note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
|
|
5709
|
+
* so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
|
|
5710
|
+
* a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
|
|
5711
|
+
* and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
|
|
5712
|
+
*/
|
|
5713
|
+
/**
|
|
5714
|
+
* @public
|
|
5715
|
+
*/
|
|
5716
|
+
export declare interface PBSpotlight {
|
|
5717
|
+
/**
|
|
5718
|
+
* the cone radius in radians. distance away from forward in which the light is visible.
|
|
5719
|
+
* for a torch a value around 0.15 is appropriate.
|
|
5720
|
+
*/
|
|
5721
|
+
angle: number;
|
|
5722
|
+
/**
|
|
5723
|
+
* optional angle at which the light is brightest. should be <= outer angle.
|
|
5724
|
+
* if specified, the light will fall off smoothly between `inner_angle` and `angle`.
|
|
5725
|
+
*/
|
|
5726
|
+
innerAngle?: number | undefined;
|
|
5727
|
+
}
|
|
5728
|
+
|
|
5729
|
+
/**
|
|
5730
|
+
* @public
|
|
5731
|
+
*/
|
|
5732
|
+
export declare namespace PBSpotlight {
|
|
5733
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
|
5734
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
|
5735
|
+
}
|
|
5736
|
+
|
|
5226
5737
|
/**
|
|
5227
5738
|
* The TextShape component renders customizable floating text.
|
|
5228
5739
|
*
|
|
@@ -5287,6 +5798,46 @@ export declare namespace PBTextShape {
|
|
|
5287
5798
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
|
|
5288
5799
|
}
|
|
5289
5800
|
|
|
5801
|
+
/**
|
|
5802
|
+
* @public
|
|
5803
|
+
*/
|
|
5804
|
+
export declare interface PBTextureCamera {
|
|
5805
|
+
/** rendered texture width */
|
|
5806
|
+
width?: number | undefined;
|
|
5807
|
+
/** rendered texture height */
|
|
5808
|
+
height?: number | undefined;
|
|
5809
|
+
/**
|
|
5810
|
+
* which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
|
|
5811
|
+
* defaults to 0
|
|
5812
|
+
*/
|
|
5813
|
+
layer?: number | undefined;
|
|
5814
|
+
/** default black */
|
|
5815
|
+
clearColor?: PBColor4 | undefined;
|
|
5816
|
+
/** default infinity */
|
|
5817
|
+
farPlane?: number | undefined;
|
|
5818
|
+
mode?: {
|
|
5819
|
+
$case: "perspective";
|
|
5820
|
+
perspective: Perspective;
|
|
5821
|
+
} | {
|
|
5822
|
+
$case: "orthographic";
|
|
5823
|
+
orthographic: Orthographic;
|
|
5824
|
+
} | undefined;
|
|
5825
|
+
/**
|
|
5826
|
+
* controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
|
|
5827
|
+
* range: 0 (off) - 1 (full volume)
|
|
5828
|
+
* default: 0
|
|
5829
|
+
*/
|
|
5830
|
+
volume?: number | undefined;
|
|
5831
|
+
}
|
|
5832
|
+
|
|
5833
|
+
/**
|
|
5834
|
+
* @public
|
|
5835
|
+
*/
|
|
5836
|
+
export declare namespace PBTextureCamera {
|
|
5837
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
5838
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
5839
|
+
}
|
|
5840
|
+
|
|
5290
5841
|
/**
|
|
5291
5842
|
* @public
|
|
5292
5843
|
*/
|
|
@@ -5376,6 +5927,25 @@ export declare namespace PBUiBackground {
|
|
|
5376
5927
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
|
5377
5928
|
}
|
|
5378
5929
|
|
|
5930
|
+
/** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
|
|
5931
|
+
/**
|
|
5932
|
+
* @public
|
|
5933
|
+
*/
|
|
5934
|
+
export declare interface PBUiCanvas {
|
|
5935
|
+
width: number;
|
|
5936
|
+
height: number;
|
|
5937
|
+
/** default = (0.0, 0.0, 0.0, 0.0) / transparent */
|
|
5938
|
+
color?: PBColor4 | undefined;
|
|
5939
|
+
}
|
|
5940
|
+
|
|
5941
|
+
/**
|
|
5942
|
+
* @public
|
|
5943
|
+
*/
|
|
5944
|
+
export declare namespace PBUiCanvas {
|
|
5945
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
5946
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
5947
|
+
}
|
|
5948
|
+
|
|
5379
5949
|
/** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
|
|
5380
5950
|
/**
|
|
5381
5951
|
* @public
|
|
@@ -5492,6 +6062,21 @@ export declare namespace PBUiInputResult {
|
|
|
5492
6062
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
|
|
5493
6063
|
}
|
|
5494
6064
|
|
|
6065
|
+
/**
|
|
6066
|
+
* @public
|
|
6067
|
+
*/
|
|
6068
|
+
export declare interface PBUiScrollResult {
|
|
6069
|
+
value: PBVector2 | undefined;
|
|
6070
|
+
}
|
|
6071
|
+
|
|
6072
|
+
/**
|
|
6073
|
+
* @public
|
|
6074
|
+
*/
|
|
6075
|
+
export declare namespace PBUiScrollResult {
|
|
6076
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
6077
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
6078
|
+
}
|
|
6079
|
+
|
|
5495
6080
|
/**
|
|
5496
6081
|
* @public
|
|
5497
6082
|
*/
|
|
@@ -5508,6 +6093,10 @@ export declare interface PBUiText {
|
|
|
5508
6093
|
fontSize?: number | undefined;
|
|
5509
6094
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
|
5510
6095
|
textWrap?: TextWrap | undefined;
|
|
6096
|
+
/** width of the outline (default: 0) */
|
|
6097
|
+
outlineWidth?: number | undefined;
|
|
6098
|
+
/** RGBA color of the outline (default: opaque black) */
|
|
6099
|
+
outlineColor?: PBColor4 | undefined;
|
|
5511
6100
|
}
|
|
5512
6101
|
|
|
5513
6102
|
/**
|
|
@@ -5635,6 +6224,12 @@ export declare interface PBUiTransform {
|
|
|
5635
6224
|
borderRightColor?: PBColor4 | undefined;
|
|
5636
6225
|
/** default: 1 */
|
|
5637
6226
|
opacity?: number | undefined;
|
|
6227
|
+
/** reference for scroll_position. default empty */
|
|
6228
|
+
elementId?: string | undefined;
|
|
6229
|
+
/** default position=(0,0) */
|
|
6230
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
6231
|
+
/** default ShowScrollBar.SSB_BOTH */
|
|
6232
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
5638
6233
|
/** default: 0 — controls render stacking order. Higher values appear in front of lower values. */
|
|
5639
6234
|
zIndex?: number | undefined;
|
|
5640
6235
|
}
|
|
@@ -5766,6 +6361,25 @@ export declare namespace PBVisibilityComponent {
|
|
|
5766
6361
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
|
|
5767
6362
|
}
|
|
5768
6363
|
|
|
6364
|
+
/**
|
|
6365
|
+
* @public
|
|
6366
|
+
*/
|
|
6367
|
+
export declare interface Perspective {
|
|
6368
|
+
/**
|
|
6369
|
+
* vertical field of view in radians
|
|
6370
|
+
* defaults to pi/4 = 45 degrees
|
|
6371
|
+
*/
|
|
6372
|
+
fieldOfView?: number | undefined;
|
|
6373
|
+
}
|
|
6374
|
+
|
|
6375
|
+
/**
|
|
6376
|
+
* @public
|
|
6377
|
+
*/
|
|
6378
|
+
export declare namespace Perspective {
|
|
6379
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
6380
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
6381
|
+
}
|
|
6382
|
+
|
|
5769
6383
|
/**
|
|
5770
6384
|
* Represens a plane by the equation ax + by + cz + d = 0
|
|
5771
6385
|
* @public
|
|
@@ -5921,6 +6535,24 @@ export declare interface PointerEventsSystem {
|
|
|
5921
6535
|
* @param entity - Entity where the callback was attached
|
|
5922
6536
|
*/
|
|
5923
6537
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
6538
|
+
/**
|
|
6539
|
+
* @public
|
|
6540
|
+
* Remove the callback for onPointerDrag event
|
|
6541
|
+
* @param entity - Entity where the callback was attached
|
|
6542
|
+
*/
|
|
6543
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
6544
|
+
/**
|
|
6545
|
+
* @public
|
|
6546
|
+
* Remove the callback for onPointerDragLocked event
|
|
6547
|
+
* @param entity - Entity where the callback was attached
|
|
6548
|
+
*/
|
|
6549
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
6550
|
+
/**
|
|
6551
|
+
* @public
|
|
6552
|
+
* Remove the callback for onPointerDragEnd event
|
|
6553
|
+
* @param entity - Entity where the callback was attached
|
|
6554
|
+
*/
|
|
6555
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
5924
6556
|
/**
|
|
5925
6557
|
* @public
|
|
5926
6558
|
* Execute callback when the user press the InputButton pointing at the entity
|
|
@@ -5975,6 +6607,37 @@ export declare interface PointerEventsSystem {
|
|
|
5975
6607
|
entity: Entity;
|
|
5976
6608
|
opts?: Partial<EventSystemOptions>;
|
|
5977
6609
|
}, cb: EventSystemCallback): void;
|
|
6610
|
+
/**
|
|
6611
|
+
* @public
|
|
6612
|
+
* Execute callback when the user clicks and drags the pointer from inside the entity
|
|
6613
|
+
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6614
|
+
* @param cb - Function to execute when click fires
|
|
6615
|
+
*/
|
|
6616
|
+
onPointerDrag(pointerData: {
|
|
6617
|
+
entity: Entity;
|
|
6618
|
+
opts?: Partial<EventSystemOptions>;
|
|
6619
|
+
}, cb: EventSystemCallback): void;
|
|
6620
|
+
/**
|
|
6621
|
+
* @public
|
|
6622
|
+
* Execute callback when the user clicks and drags the pointer from inside the entity,
|
|
6623
|
+
* locking the cursor in place
|
|
6624
|
+
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6625
|
+
* @param cb - Function to execute when click fires
|
|
6626
|
+
*/
|
|
6627
|
+
onPointerDragLocked(pointerData: {
|
|
6628
|
+
entity: Entity;
|
|
6629
|
+
opts?: Partial<EventSystemOptions>;
|
|
6630
|
+
}, cb: EventSystemCallback): void;
|
|
6631
|
+
/**
|
|
6632
|
+
* @public
|
|
6633
|
+
* Execute callback when the user releases the button after a drag
|
|
6634
|
+
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6635
|
+
* @param cb - Function to execute when click fires
|
|
6636
|
+
*/
|
|
6637
|
+
onPointerDragEnd(pointerData: {
|
|
6638
|
+
entity: Entity;
|
|
6639
|
+
opts?: Partial<EventSystemOptions>;
|
|
6640
|
+
}, cb: EventSystemCallback): void;
|
|
5978
6641
|
}
|
|
5979
6642
|
|
|
5980
6643
|
/**
|
|
@@ -5991,7 +6654,10 @@ export declare const enum PointerEventType {
|
|
|
5991
6654
|
PET_UP = 0,
|
|
5992
6655
|
PET_DOWN = 1,
|
|
5993
6656
|
PET_HOVER_ENTER = 2,
|
|
5994
|
-
PET_HOVER_LEAVE = 3
|
|
6657
|
+
PET_HOVER_LEAVE = 3,
|
|
6658
|
+
PET_DRAG_LOCKED = 4,
|
|
6659
|
+
PET_DRAG = 5,
|
|
6660
|
+
PET_DRAG_END = 6
|
|
5995
6661
|
}
|
|
5996
6662
|
|
|
5997
6663
|
/**
|
|
@@ -6022,7 +6688,10 @@ export declare const enum PointerType {
|
|
|
6022
6688
|
/** POT_NONE - No pointer input */
|
|
6023
6689
|
POT_NONE = 0,
|
|
6024
6690
|
/** POT_MOUSE - Traditional mouse input */
|
|
6025
|
-
POT_MOUSE = 1
|
|
6691
|
+
POT_MOUSE = 1,
|
|
6692
|
+
POT_PAD = 2,
|
|
6693
|
+
POT_TOUCH = 3,
|
|
6694
|
+
POT_WAND = 4
|
|
6026
6695
|
}
|
|
6027
6696
|
|
|
6028
6697
|
/**
|
|
@@ -6619,6 +7288,7 @@ export declare type RaycastSystemOptions = {
|
|
|
6619
7288
|
export declare interface ReactBasedUiSystem {
|
|
6620
7289
|
destroy(): void;
|
|
6621
7290
|
setUiRenderer(ui: UiComponent): void;
|
|
7291
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
6622
7292
|
}
|
|
6623
7293
|
|
|
6624
7294
|
/**
|
|
@@ -7081,6 +7751,43 @@ export declare namespace Schemas {
|
|
|
7081
7751
|
}) => void;
|
|
7082
7752
|
}
|
|
7083
7753
|
|
|
7754
|
+
/**
|
|
7755
|
+
* @public
|
|
7756
|
+
*/
|
|
7757
|
+
export declare interface ScrollPositionValue {
|
|
7758
|
+
value?: {
|
|
7759
|
+
$case: "position";
|
|
7760
|
+
position: PBVector2;
|
|
7761
|
+
} | {
|
|
7762
|
+
$case: "reference";
|
|
7763
|
+
reference: string;
|
|
7764
|
+
} | undefined;
|
|
7765
|
+
}
|
|
7766
|
+
|
|
7767
|
+
/**
|
|
7768
|
+
* @public
|
|
7769
|
+
*/
|
|
7770
|
+
export declare namespace ScrollPositionValue {
|
|
7771
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
7772
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
7773
|
+
}
|
|
7774
|
+
|
|
7775
|
+
/**
|
|
7776
|
+
* @public
|
|
7777
|
+
* The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
|
|
7778
|
+
*/
|
|
7779
|
+
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
7780
|
+
|
|
7781
|
+
/**
|
|
7782
|
+
* @public
|
|
7783
|
+
*/
|
|
7784
|
+
export declare const enum ShowScrollBar {
|
|
7785
|
+
SSB_BOTH = 0,
|
|
7786
|
+
SSB_ONLY_VERTICAL = 1,
|
|
7787
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
7788
|
+
SSB_HIDDEN = 3
|
|
7789
|
+
}
|
|
7790
|
+
|
|
7084
7791
|
/**
|
|
7085
7792
|
* @public
|
|
7086
7793
|
*/
|
|
@@ -7088,6 +7795,9 @@ export declare interface Spec {
|
|
|
7088
7795
|
[key: string]: ISchema;
|
|
7089
7796
|
}
|
|
7090
7797
|
|
|
7798
|
+
/** @public */
|
|
7799
|
+
export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
|
7800
|
+
|
|
7091
7801
|
/**
|
|
7092
7802
|
* @alpha
|
|
7093
7803
|
* This is going to be used for sync components through a server.
|
|
@@ -7162,6 +7872,9 @@ export declare namespace Texture {
|
|
|
7162
7872
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
|
|
7163
7873
|
}
|
|
7164
7874
|
|
|
7875
|
+
/** @public */
|
|
7876
|
+
export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
7877
|
+
|
|
7165
7878
|
/**
|
|
7166
7879
|
* @public
|
|
7167
7880
|
*/
|
|
@@ -7254,6 +7967,9 @@ export declare interface TextureUnion {
|
|
|
7254
7967
|
} | {
|
|
7255
7968
|
$case: "videoTexture";
|
|
7256
7969
|
videoTexture: VideoTexture;
|
|
7970
|
+
} | {
|
|
7971
|
+
$case: "uiTexture";
|
|
7972
|
+
uiTexture: UiCanvasTexture;
|
|
7257
7973
|
} | undefined;
|
|
7258
7974
|
}
|
|
7259
7975
|
|
|
@@ -7461,6 +8177,8 @@ export declare interface UiBackgroundProps {
|
|
|
7461
8177
|
uvs?: number[];
|
|
7462
8178
|
/** AvatarTexture for the background */
|
|
7463
8179
|
avatarTexture?: UiAvatarTexture;
|
|
8180
|
+
/** VideoTexture for the background */
|
|
8181
|
+
videoTexture?: UiVideoTexture;
|
|
7464
8182
|
/** Texture for the background */
|
|
7465
8183
|
texture?: UiTexture;
|
|
7466
8184
|
}
|
|
@@ -7480,9 +8198,31 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
7480
8198
|
disabled?: boolean;
|
|
7481
8199
|
}
|
|
7482
8200
|
|
|
8201
|
+
/** @public */
|
|
8202
|
+
export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
8203
|
+
|
|
7483
8204
|
/** @public */
|
|
7484
8205
|
export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
7485
8206
|
|
|
8207
|
+
/**
|
|
8208
|
+
* @public
|
|
8209
|
+
*/
|
|
8210
|
+
export declare interface UiCanvasTexture {
|
|
8211
|
+
uiCanvasEntity: number;
|
|
8212
|
+
/** default = TextureWrapMode.Clamp */
|
|
8213
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
8214
|
+
/** default = FilterMode.Bilinear */
|
|
8215
|
+
filterMode?: TextureFilterMode | undefined;
|
|
8216
|
+
}
|
|
8217
|
+
|
|
8218
|
+
/**
|
|
8219
|
+
* @public
|
|
8220
|
+
*/
|
|
8221
|
+
export declare namespace UiCanvasTexture {
|
|
8222
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
8223
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
8224
|
+
}
|
|
8225
|
+
|
|
7486
8226
|
/**
|
|
7487
8227
|
* @public
|
|
7488
8228
|
*/
|
|
@@ -7552,6 +8292,10 @@ export declare interface UiLabelProps {
|
|
|
7552
8292
|
textAlign?: TextAlignType | undefined;
|
|
7553
8293
|
/** Label font type. @defaultValue 'sans-serif' */
|
|
7554
8294
|
font?: UiFontType | undefined;
|
|
8295
|
+
/** Outline width of the text. @defaultValue 0 */
|
|
8296
|
+
outlineWidth?: number | undefined;
|
|
8297
|
+
/** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
|
|
8298
|
+
outlineColor?: PBColor4 | undefined;
|
|
7555
8299
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
|
7556
8300
|
textWrap?: UiTextWrapType | undefined;
|
|
7557
8301
|
}
|
|
@@ -7561,6 +8305,9 @@ export declare interface UiLabelProps {
|
|
|
7561
8305
|
*/
|
|
7562
8306
|
export declare type uint32 = number;
|
|
7563
8307
|
|
|
8308
|
+
/** @public */
|
|
8309
|
+
export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
8310
|
+
|
|
7564
8311
|
/** @public */
|
|
7565
8312
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
7566
8313
|
|
|
@@ -7638,10 +8385,26 @@ export declare interface UiTransformProps {
|
|
|
7638
8385
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
7639
8386
|
/** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
|
|
7640
8387
|
opacity?: number;
|
|
8388
|
+
/** A reference value to identify the element, default empty */
|
|
8389
|
+
elementId?: string;
|
|
8390
|
+
/** default position=(0,0) if it aplies, a vector or a reference-id */
|
|
8391
|
+
scrollPosition?: PBVector2 | string;
|
|
8392
|
+
/** default ShowScrollBar.SSB_BOTH */
|
|
8393
|
+
scrollVisible?: ScrollVisibleType;
|
|
7641
8394
|
/** default 0 */
|
|
7642
8395
|
zIndex?: number;
|
|
7643
8396
|
}
|
|
7644
8397
|
|
|
8398
|
+
/**
|
|
8399
|
+
* Texture
|
|
8400
|
+
* @public
|
|
8401
|
+
*/
|
|
8402
|
+
export declare interface UiVideoTexture {
|
|
8403
|
+
videoPlayerEntity: Entity;
|
|
8404
|
+
wrapMode?: TextureWrapType;
|
|
8405
|
+
filterMode?: TextureFilterType;
|
|
8406
|
+
}
|
|
8407
|
+
|
|
7645
8408
|
/**
|
|
7646
8409
|
* @public
|
|
7647
8410
|
*/
|