@dcl/playground-assets 7.22.1 → 7.22.2-23600507492.commit-5f7f8a0
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 +80 -1
- package/dist/beta.d.ts +80 -1
- package/dist/index.bundled.d.ts +80 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground/snippets/pointer-events.ts +14 -7
- package/dist/playground-assets.d.ts +80 -1
- package/etc/playground-assets.api.json +735 -35
- package/etc/playground-assets.api.md +35 -0
- package/package.json +4 -4
|
@@ -19775,7 +19775,7 @@
|
|
|
19775
19775
|
},
|
|
19776
19776
|
{
|
|
19777
19777
|
"kind": "Content",
|
|
19778
|
-
"text": ";\n hoverText?: string;\n maxDistance?: number;\n showFeedback?: boolean;\n showHighlight?: boolean;\n maxPlayerDistance?: number;\n}"
|
|
19778
|
+
"text": ";\n hoverText?: string;\n maxDistance?: number;\n showFeedback?: boolean;\n showHighlight?: boolean;\n maxPlayerDistance?: number;\n priority?: number;\n}"
|
|
19779
19779
|
},
|
|
19780
19780
|
{
|
|
19781
19781
|
"kind": "Content",
|
|
@@ -24714,6 +24714,65 @@
|
|
|
24714
24714
|
"endIndex": 16
|
|
24715
24715
|
}
|
|
24716
24716
|
},
|
|
24717
|
+
{
|
|
24718
|
+
"kind": "Enum",
|
|
24719
|
+
"canonicalReference": "@dcl/playground-assets!InteractionType:enum",
|
|
24720
|
+
"docComment": "/**\n * @public\n */\n",
|
|
24721
|
+
"excerptTokens": [
|
|
24722
|
+
{
|
|
24723
|
+
"kind": "Content",
|
|
24724
|
+
"text": "export declare const enum InteractionType "
|
|
24725
|
+
}
|
|
24726
|
+
],
|
|
24727
|
+
"fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts",
|
|
24728
|
+
"releaseTag": "Public",
|
|
24729
|
+
"name": "InteractionType",
|
|
24730
|
+
"preserveMemberOrder": false,
|
|
24731
|
+
"members": [
|
|
24732
|
+
{
|
|
24733
|
+
"kind": "EnumMember",
|
|
24734
|
+
"canonicalReference": "@dcl/playground-assets!InteractionType.CURSOR:member",
|
|
24735
|
+
"docComment": "",
|
|
24736
|
+
"excerptTokens": [
|
|
24737
|
+
{
|
|
24738
|
+
"kind": "Content",
|
|
24739
|
+
"text": "CURSOR = "
|
|
24740
|
+
},
|
|
24741
|
+
{
|
|
24742
|
+
"kind": "Content",
|
|
24743
|
+
"text": "0"
|
|
24744
|
+
}
|
|
24745
|
+
],
|
|
24746
|
+
"initializerTokenRange": {
|
|
24747
|
+
"startIndex": 1,
|
|
24748
|
+
"endIndex": 2
|
|
24749
|
+
},
|
|
24750
|
+
"releaseTag": "Public",
|
|
24751
|
+
"name": "CURSOR"
|
|
24752
|
+
},
|
|
24753
|
+
{
|
|
24754
|
+
"kind": "EnumMember",
|
|
24755
|
+
"canonicalReference": "@dcl/playground-assets!InteractionType.PROXIMITY:member",
|
|
24756
|
+
"docComment": "",
|
|
24757
|
+
"excerptTokens": [
|
|
24758
|
+
{
|
|
24759
|
+
"kind": "Content",
|
|
24760
|
+
"text": "PROXIMITY = "
|
|
24761
|
+
},
|
|
24762
|
+
{
|
|
24763
|
+
"kind": "Content",
|
|
24764
|
+
"text": "1"
|
|
24765
|
+
}
|
|
24766
|
+
],
|
|
24767
|
+
"initializerTokenRange": {
|
|
24768
|
+
"startIndex": 1,
|
|
24769
|
+
"endIndex": 2
|
|
24770
|
+
},
|
|
24771
|
+
"releaseTag": "Public",
|
|
24772
|
+
"name": "PROXIMITY"
|
|
24773
|
+
}
|
|
24774
|
+
]
|
|
24775
|
+
},
|
|
24717
24776
|
{
|
|
24718
24777
|
"kind": "Interface",
|
|
24719
24778
|
"canonicalReference": "@dcl/playground-assets!ISchema:interface",
|
|
@@ -50864,6 +50923,38 @@
|
|
|
50864
50923
|
"startIndex": 1,
|
|
50865
50924
|
"endIndex": 2
|
|
50866
50925
|
}
|
|
50926
|
+
},
|
|
50927
|
+
{
|
|
50928
|
+
"kind": "PropertySignature",
|
|
50929
|
+
"canonicalReference": "@dcl/playground-assets!PBPointerEvents_Entry#interactionType:member",
|
|
50930
|
+
"docComment": "/**\n * the type of interaction source (default 0 == CURSOR)\n */\n",
|
|
50931
|
+
"excerptTokens": [
|
|
50932
|
+
{
|
|
50933
|
+
"kind": "Content",
|
|
50934
|
+
"text": "interactionType?: "
|
|
50935
|
+
},
|
|
50936
|
+
{
|
|
50937
|
+
"kind": "Reference",
|
|
50938
|
+
"text": "InteractionType",
|
|
50939
|
+
"canonicalReference": "@dcl/playground-assets!InteractionType:enum"
|
|
50940
|
+
},
|
|
50941
|
+
{
|
|
50942
|
+
"kind": "Content",
|
|
50943
|
+
"text": " | undefined"
|
|
50944
|
+
},
|
|
50945
|
+
{
|
|
50946
|
+
"kind": "Content",
|
|
50947
|
+
"text": ";"
|
|
50948
|
+
}
|
|
50949
|
+
],
|
|
50950
|
+
"isReadonly": false,
|
|
50951
|
+
"isOptional": true,
|
|
50952
|
+
"releaseTag": "Public",
|
|
50953
|
+
"name": "interactionType",
|
|
50954
|
+
"propertyTypeTokenRange": {
|
|
50955
|
+
"startIndex": 1,
|
|
50956
|
+
"endIndex": 3
|
|
50957
|
+
}
|
|
50867
50958
|
}
|
|
50868
50959
|
],
|
|
50869
50960
|
"extendsTokenRanges": []
|
|
@@ -51147,6 +51238,33 @@
|
|
|
51147
51238
|
"endIndex": 2
|
|
51148
51239
|
}
|
|
51149
51240
|
},
|
|
51241
|
+
{
|
|
51242
|
+
"kind": "PropertySignature",
|
|
51243
|
+
"canonicalReference": "@dcl/playground-assets!PBPointerEvents_Info#priority:member",
|
|
51244
|
+
"docComment": "/**\n * resolution order when multiple events overlap, higher wins (default 0)\n */\n",
|
|
51245
|
+
"excerptTokens": [
|
|
51246
|
+
{
|
|
51247
|
+
"kind": "Content",
|
|
51248
|
+
"text": "priority?: "
|
|
51249
|
+
},
|
|
51250
|
+
{
|
|
51251
|
+
"kind": "Content",
|
|
51252
|
+
"text": "number | undefined"
|
|
51253
|
+
},
|
|
51254
|
+
{
|
|
51255
|
+
"kind": "Content",
|
|
51256
|
+
"text": ";"
|
|
51257
|
+
}
|
|
51258
|
+
],
|
|
51259
|
+
"isReadonly": false,
|
|
51260
|
+
"isOptional": true,
|
|
51261
|
+
"releaseTag": "Public",
|
|
51262
|
+
"name": "priority",
|
|
51263
|
+
"propertyTypeTokenRange": {
|
|
51264
|
+
"startIndex": 1,
|
|
51265
|
+
"endIndex": 2
|
|
51266
|
+
}
|
|
51267
|
+
},
|
|
51150
51268
|
{
|
|
51151
51269
|
"kind": "PropertySignature",
|
|
51152
51270
|
"canonicalReference": "@dcl/playground-assets!PBPointerEvents_Info#showFeedback:member",
|
|
@@ -65073,16 +65191,376 @@
|
|
|
65073
65191
|
"isOptional": false
|
|
65074
65192
|
}
|
|
65075
65193
|
],
|
|
65076
|
-
"name": "onPointerHoverLeave"
|
|
65194
|
+
"name": "onPointerHoverLeave"
|
|
65195
|
+
},
|
|
65196
|
+
{
|
|
65197
|
+
"kind": "MethodSignature",
|
|
65198
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onPointerUp:member(1)",
|
|
65199
|
+
"docComment": "/**\n * Execute callback when the user releases the InputButton pointing at the entity\n *\n * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button\n *\n * @param cb - Function to execute when click fires\n *\n * @public\n */\n",
|
|
65200
|
+
"excerptTokens": [
|
|
65201
|
+
{
|
|
65202
|
+
"kind": "Content",
|
|
65203
|
+
"text": "onPointerUp(pointerData: "
|
|
65204
|
+
},
|
|
65205
|
+
{
|
|
65206
|
+
"kind": "Content",
|
|
65207
|
+
"text": "{\n entity: "
|
|
65208
|
+
},
|
|
65209
|
+
{
|
|
65210
|
+
"kind": "Reference",
|
|
65211
|
+
"text": "Entity",
|
|
65212
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
65213
|
+
},
|
|
65214
|
+
{
|
|
65215
|
+
"kind": "Content",
|
|
65216
|
+
"text": ";\n opts?: "
|
|
65217
|
+
},
|
|
65218
|
+
{
|
|
65219
|
+
"kind": "Reference",
|
|
65220
|
+
"text": "Partial",
|
|
65221
|
+
"canonicalReference": "!Partial:type"
|
|
65222
|
+
},
|
|
65223
|
+
{
|
|
65224
|
+
"kind": "Content",
|
|
65225
|
+
"text": "<"
|
|
65226
|
+
},
|
|
65227
|
+
{
|
|
65228
|
+
"kind": "Reference",
|
|
65229
|
+
"text": "EventSystemOptions",
|
|
65230
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
|
|
65231
|
+
},
|
|
65232
|
+
{
|
|
65233
|
+
"kind": "Content",
|
|
65234
|
+
"text": ">;\n }"
|
|
65235
|
+
},
|
|
65236
|
+
{
|
|
65237
|
+
"kind": "Content",
|
|
65238
|
+
"text": ", cb: "
|
|
65239
|
+
},
|
|
65240
|
+
{
|
|
65241
|
+
"kind": "Reference",
|
|
65242
|
+
"text": "EventSystemCallback",
|
|
65243
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemCallback:type"
|
|
65244
|
+
},
|
|
65245
|
+
{
|
|
65246
|
+
"kind": "Content",
|
|
65247
|
+
"text": "): "
|
|
65248
|
+
},
|
|
65249
|
+
{
|
|
65250
|
+
"kind": "Content",
|
|
65251
|
+
"text": "void"
|
|
65252
|
+
},
|
|
65253
|
+
{
|
|
65254
|
+
"kind": "Content",
|
|
65255
|
+
"text": ";"
|
|
65256
|
+
}
|
|
65257
|
+
],
|
|
65258
|
+
"isOptional": false,
|
|
65259
|
+
"returnTypeTokenRange": {
|
|
65260
|
+
"startIndex": 11,
|
|
65261
|
+
"endIndex": 12
|
|
65262
|
+
},
|
|
65263
|
+
"releaseTag": "Public",
|
|
65264
|
+
"overloadIndex": 1,
|
|
65265
|
+
"parameters": [
|
|
65266
|
+
{
|
|
65267
|
+
"parameterName": "pointerData",
|
|
65268
|
+
"parameterTypeTokenRange": {
|
|
65269
|
+
"startIndex": 1,
|
|
65270
|
+
"endIndex": 8
|
|
65271
|
+
},
|
|
65272
|
+
"isOptional": false
|
|
65273
|
+
},
|
|
65274
|
+
{
|
|
65275
|
+
"parameterName": "cb",
|
|
65276
|
+
"parameterTypeTokenRange": {
|
|
65277
|
+
"startIndex": 9,
|
|
65278
|
+
"endIndex": 10
|
|
65279
|
+
},
|
|
65280
|
+
"isOptional": false
|
|
65281
|
+
}
|
|
65282
|
+
],
|
|
65283
|
+
"name": "onPointerUp"
|
|
65284
|
+
},
|
|
65285
|
+
{
|
|
65286
|
+
"kind": "MethodSignature",
|
|
65287
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onPointerUp:member(2)",
|
|
65288
|
+
"docComment": "/**\n * @deprecated\n *\n * Use onPointerUp with (pointerData, cb)\n *\n * @param entity - Entity to attach the callback\n *\n * @param cb - Function to execute when click fires\n *\n * @param opts - Opts to trigger Feedback and Button\n */\n",
|
|
65289
|
+
"excerptTokens": [
|
|
65290
|
+
{
|
|
65291
|
+
"kind": "Content",
|
|
65292
|
+
"text": "onPointerUp(entity: "
|
|
65293
|
+
},
|
|
65294
|
+
{
|
|
65295
|
+
"kind": "Reference",
|
|
65296
|
+
"text": "Entity",
|
|
65297
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
65298
|
+
},
|
|
65299
|
+
{
|
|
65300
|
+
"kind": "Content",
|
|
65301
|
+
"text": ", cb: "
|
|
65302
|
+
},
|
|
65303
|
+
{
|
|
65304
|
+
"kind": "Reference",
|
|
65305
|
+
"text": "EventSystemCallback",
|
|
65306
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemCallback:type"
|
|
65307
|
+
},
|
|
65308
|
+
{
|
|
65309
|
+
"kind": "Content",
|
|
65310
|
+
"text": ", opts?: "
|
|
65311
|
+
},
|
|
65312
|
+
{
|
|
65313
|
+
"kind": "Reference",
|
|
65314
|
+
"text": "Partial",
|
|
65315
|
+
"canonicalReference": "!Partial:type"
|
|
65316
|
+
},
|
|
65317
|
+
{
|
|
65318
|
+
"kind": "Content",
|
|
65319
|
+
"text": "<"
|
|
65320
|
+
},
|
|
65321
|
+
{
|
|
65322
|
+
"kind": "Reference",
|
|
65323
|
+
"text": "EventSystemOptions",
|
|
65324
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
|
|
65325
|
+
},
|
|
65326
|
+
{
|
|
65327
|
+
"kind": "Content",
|
|
65328
|
+
"text": ">"
|
|
65329
|
+
},
|
|
65330
|
+
{
|
|
65331
|
+
"kind": "Content",
|
|
65332
|
+
"text": "): "
|
|
65333
|
+
},
|
|
65334
|
+
{
|
|
65335
|
+
"kind": "Content",
|
|
65336
|
+
"text": "void"
|
|
65337
|
+
},
|
|
65338
|
+
{
|
|
65339
|
+
"kind": "Content",
|
|
65340
|
+
"text": ";"
|
|
65341
|
+
}
|
|
65342
|
+
],
|
|
65343
|
+
"isOptional": false,
|
|
65344
|
+
"returnTypeTokenRange": {
|
|
65345
|
+
"startIndex": 10,
|
|
65346
|
+
"endIndex": 11
|
|
65347
|
+
},
|
|
65348
|
+
"releaseTag": "Public",
|
|
65349
|
+
"overloadIndex": 2,
|
|
65350
|
+
"parameters": [
|
|
65351
|
+
{
|
|
65352
|
+
"parameterName": "entity",
|
|
65353
|
+
"parameterTypeTokenRange": {
|
|
65354
|
+
"startIndex": 1,
|
|
65355
|
+
"endIndex": 2
|
|
65356
|
+
},
|
|
65357
|
+
"isOptional": false
|
|
65358
|
+
},
|
|
65359
|
+
{
|
|
65360
|
+
"parameterName": "cb",
|
|
65361
|
+
"parameterTypeTokenRange": {
|
|
65362
|
+
"startIndex": 3,
|
|
65363
|
+
"endIndex": 4
|
|
65364
|
+
},
|
|
65365
|
+
"isOptional": false
|
|
65366
|
+
},
|
|
65367
|
+
{
|
|
65368
|
+
"parameterName": "opts",
|
|
65369
|
+
"parameterTypeTokenRange": {
|
|
65370
|
+
"startIndex": 5,
|
|
65371
|
+
"endIndex": 9
|
|
65372
|
+
},
|
|
65373
|
+
"isOptional": true
|
|
65374
|
+
}
|
|
65375
|
+
],
|
|
65376
|
+
"name": "onPointerUp"
|
|
65377
|
+
},
|
|
65378
|
+
{
|
|
65379
|
+
"kind": "MethodSignature",
|
|
65380
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onProximityDown:member(1)",
|
|
65381
|
+
"docComment": "/**\n * Execute callback when the user presses the proximity button on the entity\n *\n * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button\n *\n * @param cb - Function to execute when click fires\n *\n * @public\n */\n",
|
|
65382
|
+
"excerptTokens": [
|
|
65383
|
+
{
|
|
65384
|
+
"kind": "Content",
|
|
65385
|
+
"text": "onProximityDown(pointerData: "
|
|
65386
|
+
},
|
|
65387
|
+
{
|
|
65388
|
+
"kind": "Content",
|
|
65389
|
+
"text": "{\n entity: "
|
|
65390
|
+
},
|
|
65391
|
+
{
|
|
65392
|
+
"kind": "Reference",
|
|
65393
|
+
"text": "Entity",
|
|
65394
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
65395
|
+
},
|
|
65396
|
+
{
|
|
65397
|
+
"kind": "Content",
|
|
65398
|
+
"text": ";\n opts?: "
|
|
65399
|
+
},
|
|
65400
|
+
{
|
|
65401
|
+
"kind": "Reference",
|
|
65402
|
+
"text": "Partial",
|
|
65403
|
+
"canonicalReference": "!Partial:type"
|
|
65404
|
+
},
|
|
65405
|
+
{
|
|
65406
|
+
"kind": "Content",
|
|
65407
|
+
"text": "<"
|
|
65408
|
+
},
|
|
65409
|
+
{
|
|
65410
|
+
"kind": "Reference",
|
|
65411
|
+
"text": "EventSystemOptions",
|
|
65412
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
|
|
65413
|
+
},
|
|
65414
|
+
{
|
|
65415
|
+
"kind": "Content",
|
|
65416
|
+
"text": ">;\n }"
|
|
65417
|
+
},
|
|
65418
|
+
{
|
|
65419
|
+
"kind": "Content",
|
|
65420
|
+
"text": ", cb: "
|
|
65421
|
+
},
|
|
65422
|
+
{
|
|
65423
|
+
"kind": "Reference",
|
|
65424
|
+
"text": "EventSystemCallback",
|
|
65425
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemCallback:type"
|
|
65426
|
+
},
|
|
65427
|
+
{
|
|
65428
|
+
"kind": "Content",
|
|
65429
|
+
"text": "): "
|
|
65430
|
+
},
|
|
65431
|
+
{
|
|
65432
|
+
"kind": "Content",
|
|
65433
|
+
"text": "void"
|
|
65434
|
+
},
|
|
65435
|
+
{
|
|
65436
|
+
"kind": "Content",
|
|
65437
|
+
"text": ";"
|
|
65438
|
+
}
|
|
65439
|
+
],
|
|
65440
|
+
"isOptional": false,
|
|
65441
|
+
"returnTypeTokenRange": {
|
|
65442
|
+
"startIndex": 11,
|
|
65443
|
+
"endIndex": 12
|
|
65444
|
+
},
|
|
65445
|
+
"releaseTag": "Public",
|
|
65446
|
+
"overloadIndex": 1,
|
|
65447
|
+
"parameters": [
|
|
65448
|
+
{
|
|
65449
|
+
"parameterName": "pointerData",
|
|
65450
|
+
"parameterTypeTokenRange": {
|
|
65451
|
+
"startIndex": 1,
|
|
65452
|
+
"endIndex": 8
|
|
65453
|
+
},
|
|
65454
|
+
"isOptional": false
|
|
65455
|
+
},
|
|
65456
|
+
{
|
|
65457
|
+
"parameterName": "cb",
|
|
65458
|
+
"parameterTypeTokenRange": {
|
|
65459
|
+
"startIndex": 9,
|
|
65460
|
+
"endIndex": 10
|
|
65461
|
+
},
|
|
65462
|
+
"isOptional": false
|
|
65463
|
+
}
|
|
65464
|
+
],
|
|
65465
|
+
"name": "onProximityDown"
|
|
65466
|
+
},
|
|
65467
|
+
{
|
|
65468
|
+
"kind": "MethodSignature",
|
|
65469
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onProximityEnter:member(1)",
|
|
65470
|
+
"docComment": "/**\n * Execute callback when the entity enters the proximity zone of the user\n *\n * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button\n *\n * @param cb - Function to execute when event fires\n *\n * @public\n */\n",
|
|
65471
|
+
"excerptTokens": [
|
|
65472
|
+
{
|
|
65473
|
+
"kind": "Content",
|
|
65474
|
+
"text": "onProximityEnter(pointerData: "
|
|
65475
|
+
},
|
|
65476
|
+
{
|
|
65477
|
+
"kind": "Content",
|
|
65478
|
+
"text": "{\n entity: "
|
|
65479
|
+
},
|
|
65480
|
+
{
|
|
65481
|
+
"kind": "Reference",
|
|
65482
|
+
"text": "Entity",
|
|
65483
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
65484
|
+
},
|
|
65485
|
+
{
|
|
65486
|
+
"kind": "Content",
|
|
65487
|
+
"text": ";\n opts?: "
|
|
65488
|
+
},
|
|
65489
|
+
{
|
|
65490
|
+
"kind": "Reference",
|
|
65491
|
+
"text": "Partial",
|
|
65492
|
+
"canonicalReference": "!Partial:type"
|
|
65493
|
+
},
|
|
65494
|
+
{
|
|
65495
|
+
"kind": "Content",
|
|
65496
|
+
"text": "<"
|
|
65497
|
+
},
|
|
65498
|
+
{
|
|
65499
|
+
"kind": "Reference",
|
|
65500
|
+
"text": "EventSystemOptions",
|
|
65501
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
|
|
65502
|
+
},
|
|
65503
|
+
{
|
|
65504
|
+
"kind": "Content",
|
|
65505
|
+
"text": ">;\n }"
|
|
65506
|
+
},
|
|
65507
|
+
{
|
|
65508
|
+
"kind": "Content",
|
|
65509
|
+
"text": ", cb: "
|
|
65510
|
+
},
|
|
65511
|
+
{
|
|
65512
|
+
"kind": "Reference",
|
|
65513
|
+
"text": "EventSystemCallback",
|
|
65514
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemCallback:type"
|
|
65515
|
+
},
|
|
65516
|
+
{
|
|
65517
|
+
"kind": "Content",
|
|
65518
|
+
"text": "): "
|
|
65519
|
+
},
|
|
65520
|
+
{
|
|
65521
|
+
"kind": "Content",
|
|
65522
|
+
"text": "void"
|
|
65523
|
+
},
|
|
65524
|
+
{
|
|
65525
|
+
"kind": "Content",
|
|
65526
|
+
"text": ";"
|
|
65527
|
+
}
|
|
65528
|
+
],
|
|
65529
|
+
"isOptional": false,
|
|
65530
|
+
"returnTypeTokenRange": {
|
|
65531
|
+
"startIndex": 11,
|
|
65532
|
+
"endIndex": 12
|
|
65533
|
+
},
|
|
65534
|
+
"releaseTag": "Public",
|
|
65535
|
+
"overloadIndex": 1,
|
|
65536
|
+
"parameters": [
|
|
65537
|
+
{
|
|
65538
|
+
"parameterName": "pointerData",
|
|
65539
|
+
"parameterTypeTokenRange": {
|
|
65540
|
+
"startIndex": 1,
|
|
65541
|
+
"endIndex": 8
|
|
65542
|
+
},
|
|
65543
|
+
"isOptional": false
|
|
65544
|
+
},
|
|
65545
|
+
{
|
|
65546
|
+
"parameterName": "cb",
|
|
65547
|
+
"parameterTypeTokenRange": {
|
|
65548
|
+
"startIndex": 9,
|
|
65549
|
+
"endIndex": 10
|
|
65550
|
+
},
|
|
65551
|
+
"isOptional": false
|
|
65552
|
+
}
|
|
65553
|
+
],
|
|
65554
|
+
"name": "onProximityEnter"
|
|
65077
65555
|
},
|
|
65078
65556
|
{
|
|
65079
65557
|
"kind": "MethodSignature",
|
|
65080
|
-
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#
|
|
65081
|
-
"docComment": "/**\n * Execute callback when the
|
|
65558
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onProximityLeave:member(1)",
|
|
65559
|
+
"docComment": "/**\n * Execute callback when the entity leaves the proximity zone of the user\n *\n * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button\n *\n * @param cb - Function to execute when event fires\n *\n * @public\n */\n",
|
|
65082
65560
|
"excerptTokens": [
|
|
65083
65561
|
{
|
|
65084
65562
|
"kind": "Content",
|
|
65085
|
-
"text": "
|
|
65563
|
+
"text": "onProximityLeave(pointerData: "
|
|
65086
65564
|
},
|
|
65087
65565
|
{
|
|
65088
65566
|
"kind": "Content",
|
|
@@ -65162,34 +65640,29 @@
|
|
|
65162
65640
|
"isOptional": false
|
|
65163
65641
|
}
|
|
65164
65642
|
],
|
|
65165
|
-
"name": "
|
|
65643
|
+
"name": "onProximityLeave"
|
|
65166
65644
|
},
|
|
65167
65645
|
{
|
|
65168
65646
|
"kind": "MethodSignature",
|
|
65169
|
-
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#
|
|
65170
|
-
"docComment": "/**\n *
|
|
65647
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onProximityUp:member(1)",
|
|
65648
|
+
"docComment": "/**\n * Execute callback when the user releases the proximity button on the entity\n *\n * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button\n *\n * @param cb - Function to execute when event fires\n *\n * @public\n */\n",
|
|
65171
65649
|
"excerptTokens": [
|
|
65172
65650
|
{
|
|
65173
65651
|
"kind": "Content",
|
|
65174
|
-
"text": "
|
|
65175
|
-
},
|
|
65176
|
-
{
|
|
65177
|
-
"kind": "Reference",
|
|
65178
|
-
"text": "Entity",
|
|
65179
|
-
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
65652
|
+
"text": "onProximityUp(pointerData: "
|
|
65180
65653
|
},
|
|
65181
65654
|
{
|
|
65182
65655
|
"kind": "Content",
|
|
65183
|
-
"text": "
|
|
65656
|
+
"text": "{\n entity: "
|
|
65184
65657
|
},
|
|
65185
65658
|
{
|
|
65186
65659
|
"kind": "Reference",
|
|
65187
|
-
"text": "
|
|
65188
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
65660
|
+
"text": "Entity",
|
|
65661
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
65189
65662
|
},
|
|
65190
65663
|
{
|
|
65191
65664
|
"kind": "Content",
|
|
65192
|
-
"text": "
|
|
65665
|
+
"text": ";\n opts?: "
|
|
65193
65666
|
},
|
|
65194
65667
|
{
|
|
65195
65668
|
"kind": "Reference",
|
|
@@ -65207,7 +65680,16 @@
|
|
|
65207
65680
|
},
|
|
65208
65681
|
{
|
|
65209
65682
|
"kind": "Content",
|
|
65210
|
-
"text": "
|
|
65683
|
+
"text": ">;\n }"
|
|
65684
|
+
},
|
|
65685
|
+
{
|
|
65686
|
+
"kind": "Content",
|
|
65687
|
+
"text": ", cb: "
|
|
65688
|
+
},
|
|
65689
|
+
{
|
|
65690
|
+
"kind": "Reference",
|
|
65691
|
+
"text": "EventSystemCallback",
|
|
65692
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemCallback:type"
|
|
65211
65693
|
},
|
|
65212
65694
|
{
|
|
65213
65695
|
"kind": "Content",
|
|
@@ -65224,38 +65706,30 @@
|
|
|
65224
65706
|
],
|
|
65225
65707
|
"isOptional": false,
|
|
65226
65708
|
"returnTypeTokenRange": {
|
|
65227
|
-
"startIndex":
|
|
65228
|
-
"endIndex":
|
|
65709
|
+
"startIndex": 11,
|
|
65710
|
+
"endIndex": 12
|
|
65229
65711
|
},
|
|
65230
65712
|
"releaseTag": "Public",
|
|
65231
|
-
"overloadIndex":
|
|
65713
|
+
"overloadIndex": 1,
|
|
65232
65714
|
"parameters": [
|
|
65233
65715
|
{
|
|
65234
|
-
"parameterName": "
|
|
65716
|
+
"parameterName": "pointerData",
|
|
65235
65717
|
"parameterTypeTokenRange": {
|
|
65236
65718
|
"startIndex": 1,
|
|
65237
|
-
"endIndex":
|
|
65719
|
+
"endIndex": 8
|
|
65238
65720
|
},
|
|
65239
65721
|
"isOptional": false
|
|
65240
65722
|
},
|
|
65241
65723
|
{
|
|
65242
65724
|
"parameterName": "cb",
|
|
65243
65725
|
"parameterTypeTokenRange": {
|
|
65244
|
-
"startIndex":
|
|
65245
|
-
"endIndex":
|
|
65726
|
+
"startIndex": 9,
|
|
65727
|
+
"endIndex": 10
|
|
65246
65728
|
},
|
|
65247
65729
|
"isOptional": false
|
|
65248
|
-
},
|
|
65249
|
-
{
|
|
65250
|
-
"parameterName": "opts",
|
|
65251
|
-
"parameterTypeTokenRange": {
|
|
65252
|
-
"startIndex": 5,
|
|
65253
|
-
"endIndex": 9
|
|
65254
|
-
},
|
|
65255
|
-
"isOptional": true
|
|
65256
65730
|
}
|
|
65257
65731
|
],
|
|
65258
|
-
"name": "
|
|
65732
|
+
"name": "onProximityUp"
|
|
65259
65733
|
},
|
|
65260
65734
|
{
|
|
65261
65735
|
"kind": "MethodSignature",
|
|
@@ -65440,6 +65914,190 @@
|
|
|
65440
65914
|
}
|
|
65441
65915
|
],
|
|
65442
65916
|
"name": "removeOnPointerUp"
|
|
65917
|
+
},
|
|
65918
|
+
{
|
|
65919
|
+
"kind": "MethodSignature",
|
|
65920
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#removeOnProximityDown:member(1)",
|
|
65921
|
+
"docComment": "/**\n * Remove the callback for onProximityDown event\n *\n * @param entity - Entity where the callback was attached\n *\n * @public\n */\n",
|
|
65922
|
+
"excerptTokens": [
|
|
65923
|
+
{
|
|
65924
|
+
"kind": "Content",
|
|
65925
|
+
"text": "removeOnProximityDown(entity: "
|
|
65926
|
+
},
|
|
65927
|
+
{
|
|
65928
|
+
"kind": "Reference",
|
|
65929
|
+
"text": "Entity",
|
|
65930
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
65931
|
+
},
|
|
65932
|
+
{
|
|
65933
|
+
"kind": "Content",
|
|
65934
|
+
"text": "): "
|
|
65935
|
+
},
|
|
65936
|
+
{
|
|
65937
|
+
"kind": "Content",
|
|
65938
|
+
"text": "void"
|
|
65939
|
+
},
|
|
65940
|
+
{
|
|
65941
|
+
"kind": "Content",
|
|
65942
|
+
"text": ";"
|
|
65943
|
+
}
|
|
65944
|
+
],
|
|
65945
|
+
"isOptional": false,
|
|
65946
|
+
"returnTypeTokenRange": {
|
|
65947
|
+
"startIndex": 3,
|
|
65948
|
+
"endIndex": 4
|
|
65949
|
+
},
|
|
65950
|
+
"releaseTag": "Public",
|
|
65951
|
+
"overloadIndex": 1,
|
|
65952
|
+
"parameters": [
|
|
65953
|
+
{
|
|
65954
|
+
"parameterName": "entity",
|
|
65955
|
+
"parameterTypeTokenRange": {
|
|
65956
|
+
"startIndex": 1,
|
|
65957
|
+
"endIndex": 2
|
|
65958
|
+
},
|
|
65959
|
+
"isOptional": false
|
|
65960
|
+
}
|
|
65961
|
+
],
|
|
65962
|
+
"name": "removeOnProximityDown"
|
|
65963
|
+
},
|
|
65964
|
+
{
|
|
65965
|
+
"kind": "MethodSignature",
|
|
65966
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#removeOnProximityEnter:member(1)",
|
|
65967
|
+
"docComment": "/**\n * Remove the callback for onProximityEnter event\n *\n * @param entity - Entity where the callback was attached\n *\n * @public\n */\n",
|
|
65968
|
+
"excerptTokens": [
|
|
65969
|
+
{
|
|
65970
|
+
"kind": "Content",
|
|
65971
|
+
"text": "removeOnProximityEnter(entity: "
|
|
65972
|
+
},
|
|
65973
|
+
{
|
|
65974
|
+
"kind": "Reference",
|
|
65975
|
+
"text": "Entity",
|
|
65976
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
65977
|
+
},
|
|
65978
|
+
{
|
|
65979
|
+
"kind": "Content",
|
|
65980
|
+
"text": "): "
|
|
65981
|
+
},
|
|
65982
|
+
{
|
|
65983
|
+
"kind": "Content",
|
|
65984
|
+
"text": "void"
|
|
65985
|
+
},
|
|
65986
|
+
{
|
|
65987
|
+
"kind": "Content",
|
|
65988
|
+
"text": ";"
|
|
65989
|
+
}
|
|
65990
|
+
],
|
|
65991
|
+
"isOptional": false,
|
|
65992
|
+
"returnTypeTokenRange": {
|
|
65993
|
+
"startIndex": 3,
|
|
65994
|
+
"endIndex": 4
|
|
65995
|
+
},
|
|
65996
|
+
"releaseTag": "Public",
|
|
65997
|
+
"overloadIndex": 1,
|
|
65998
|
+
"parameters": [
|
|
65999
|
+
{
|
|
66000
|
+
"parameterName": "entity",
|
|
66001
|
+
"parameterTypeTokenRange": {
|
|
66002
|
+
"startIndex": 1,
|
|
66003
|
+
"endIndex": 2
|
|
66004
|
+
},
|
|
66005
|
+
"isOptional": false
|
|
66006
|
+
}
|
|
66007
|
+
],
|
|
66008
|
+
"name": "removeOnProximityEnter"
|
|
66009
|
+
},
|
|
66010
|
+
{
|
|
66011
|
+
"kind": "MethodSignature",
|
|
66012
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#removeOnProximityLeave:member(1)",
|
|
66013
|
+
"docComment": "/**\n * Remove the callback for onProximityLeave event\n *\n * @param entity - Entity where the callback was attached\n *\n * @public\n */\n",
|
|
66014
|
+
"excerptTokens": [
|
|
66015
|
+
{
|
|
66016
|
+
"kind": "Content",
|
|
66017
|
+
"text": "removeOnProximityLeave(entity: "
|
|
66018
|
+
},
|
|
66019
|
+
{
|
|
66020
|
+
"kind": "Reference",
|
|
66021
|
+
"text": "Entity",
|
|
66022
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
66023
|
+
},
|
|
66024
|
+
{
|
|
66025
|
+
"kind": "Content",
|
|
66026
|
+
"text": "): "
|
|
66027
|
+
},
|
|
66028
|
+
{
|
|
66029
|
+
"kind": "Content",
|
|
66030
|
+
"text": "void"
|
|
66031
|
+
},
|
|
66032
|
+
{
|
|
66033
|
+
"kind": "Content",
|
|
66034
|
+
"text": ";"
|
|
66035
|
+
}
|
|
66036
|
+
],
|
|
66037
|
+
"isOptional": false,
|
|
66038
|
+
"returnTypeTokenRange": {
|
|
66039
|
+
"startIndex": 3,
|
|
66040
|
+
"endIndex": 4
|
|
66041
|
+
},
|
|
66042
|
+
"releaseTag": "Public",
|
|
66043
|
+
"overloadIndex": 1,
|
|
66044
|
+
"parameters": [
|
|
66045
|
+
{
|
|
66046
|
+
"parameterName": "entity",
|
|
66047
|
+
"parameterTypeTokenRange": {
|
|
66048
|
+
"startIndex": 1,
|
|
66049
|
+
"endIndex": 2
|
|
66050
|
+
},
|
|
66051
|
+
"isOptional": false
|
|
66052
|
+
}
|
|
66053
|
+
],
|
|
66054
|
+
"name": "removeOnProximityLeave"
|
|
66055
|
+
},
|
|
66056
|
+
{
|
|
66057
|
+
"kind": "MethodSignature",
|
|
66058
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#removeOnProximityUp:member(1)",
|
|
66059
|
+
"docComment": "/**\n * Remove the callback for onProximityUp event\n *\n * @param entity - Entity where the callback was attached\n *\n * @public\n */\n",
|
|
66060
|
+
"excerptTokens": [
|
|
66061
|
+
{
|
|
66062
|
+
"kind": "Content",
|
|
66063
|
+
"text": "removeOnProximityUp(entity: "
|
|
66064
|
+
},
|
|
66065
|
+
{
|
|
66066
|
+
"kind": "Reference",
|
|
66067
|
+
"text": "Entity",
|
|
66068
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
66069
|
+
},
|
|
66070
|
+
{
|
|
66071
|
+
"kind": "Content",
|
|
66072
|
+
"text": "): "
|
|
66073
|
+
},
|
|
66074
|
+
{
|
|
66075
|
+
"kind": "Content",
|
|
66076
|
+
"text": "void"
|
|
66077
|
+
},
|
|
66078
|
+
{
|
|
66079
|
+
"kind": "Content",
|
|
66080
|
+
"text": ";"
|
|
66081
|
+
}
|
|
66082
|
+
],
|
|
66083
|
+
"isOptional": false,
|
|
66084
|
+
"returnTypeTokenRange": {
|
|
66085
|
+
"startIndex": 3,
|
|
66086
|
+
"endIndex": 4
|
|
66087
|
+
},
|
|
66088
|
+
"releaseTag": "Public",
|
|
66089
|
+
"overloadIndex": 1,
|
|
66090
|
+
"parameters": [
|
|
66091
|
+
{
|
|
66092
|
+
"parameterName": "entity",
|
|
66093
|
+
"parameterTypeTokenRange": {
|
|
66094
|
+
"startIndex": 1,
|
|
66095
|
+
"endIndex": 2
|
|
66096
|
+
},
|
|
66097
|
+
"isOptional": false
|
|
66098
|
+
}
|
|
66099
|
+
],
|
|
66100
|
+
"name": "removeOnProximityUp"
|
|
65443
66101
|
}
|
|
65444
66102
|
],
|
|
65445
66103
|
"extendsTokenRanges": []
|
|
@@ -65546,6 +66204,48 @@
|
|
|
65546
66204
|
"releaseTag": "Public",
|
|
65547
66205
|
"name": "PET_HOVER_LEAVE"
|
|
65548
66206
|
},
|
|
66207
|
+
{
|
|
66208
|
+
"kind": "EnumMember",
|
|
66209
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventType.PET_PROXIMITY_ENTER:member",
|
|
66210
|
+
"docComment": "",
|
|
66211
|
+
"excerptTokens": [
|
|
66212
|
+
{
|
|
66213
|
+
"kind": "Content",
|
|
66214
|
+
"text": "PET_PROXIMITY_ENTER = "
|
|
66215
|
+
},
|
|
66216
|
+
{
|
|
66217
|
+
"kind": "Content",
|
|
66218
|
+
"text": "4"
|
|
66219
|
+
}
|
|
66220
|
+
],
|
|
66221
|
+
"initializerTokenRange": {
|
|
66222
|
+
"startIndex": 1,
|
|
66223
|
+
"endIndex": 2
|
|
66224
|
+
},
|
|
66225
|
+
"releaseTag": "Public",
|
|
66226
|
+
"name": "PET_PROXIMITY_ENTER"
|
|
66227
|
+
},
|
|
66228
|
+
{
|
|
66229
|
+
"kind": "EnumMember",
|
|
66230
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventType.PET_PROXIMITY_LEAVE:member",
|
|
66231
|
+
"docComment": "",
|
|
66232
|
+
"excerptTokens": [
|
|
66233
|
+
{
|
|
66234
|
+
"kind": "Content",
|
|
66235
|
+
"text": "PET_PROXIMITY_LEAVE = "
|
|
66236
|
+
},
|
|
66237
|
+
{
|
|
66238
|
+
"kind": "Content",
|
|
66239
|
+
"text": "5"
|
|
66240
|
+
}
|
|
66241
|
+
],
|
|
66242
|
+
"initializerTokenRange": {
|
|
66243
|
+
"startIndex": 1,
|
|
66244
|
+
"endIndex": 2
|
|
66245
|
+
},
|
|
66246
|
+
"releaseTag": "Public",
|
|
66247
|
+
"name": "PET_PROXIMITY_LEAVE"
|
|
66248
|
+
},
|
|
65549
66249
|
{
|
|
65550
66250
|
"kind": "EnumMember",
|
|
65551
66251
|
"canonicalReference": "@dcl/playground-assets!PointerEventType.PET_UP:member",
|