@dcl/playground-assets 7.1.18-5157707330.commit-091fce4 → 7.1.18-5158337338.commit-735bf67
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/alpha.d.ts +87 -0
- package/dist/beta.d.ts +87 -0
- package/dist/index.bundled.d.ts +87 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground/snippets/cube-spawner.ts +2 -3
- package/dist/playground/snippets/raycast-hit-many.ts +1 -5
- package/dist/playground/snippets/raycast-hit.ts +1 -5
- package/dist/playground-assets.d.ts +87 -0
- package/etc/playground-assets.api.json +1016 -105
- package/etc/playground-assets.api.md +36 -0
- package/package.json +4 -4
@@ -48977,7 +48977,96 @@
|
|
48977
48977
|
{
|
48978
48978
|
"kind": "MethodSignature",
|
48979
48979
|
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onPointerDown:member(1)",
|
48980
|
-
"docComment": "/**\n * Execute callback when the user press the InputButton pointing at the entity\n *\n * @param
|
48980
|
+
"docComment": "/**\n * Execute callback when the user press 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",
|
48981
|
+
"excerptTokens": [
|
48982
|
+
{
|
48983
|
+
"kind": "Content",
|
48984
|
+
"text": "onPointerDown(pointerData: "
|
48985
|
+
},
|
48986
|
+
{
|
48987
|
+
"kind": "Content",
|
48988
|
+
"text": "{\n entity: "
|
48989
|
+
},
|
48990
|
+
{
|
48991
|
+
"kind": "Reference",
|
48992
|
+
"text": "Entity",
|
48993
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
48994
|
+
},
|
48995
|
+
{
|
48996
|
+
"kind": "Content",
|
48997
|
+
"text": ";\n opts?: "
|
48998
|
+
},
|
48999
|
+
{
|
49000
|
+
"kind": "Reference",
|
49001
|
+
"text": "Partial",
|
49002
|
+
"canonicalReference": "!Partial:type"
|
49003
|
+
},
|
49004
|
+
{
|
49005
|
+
"kind": "Content",
|
49006
|
+
"text": "<"
|
49007
|
+
},
|
49008
|
+
{
|
49009
|
+
"kind": "Reference",
|
49010
|
+
"text": "EventSystemOptions",
|
49011
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
|
49012
|
+
},
|
49013
|
+
{
|
49014
|
+
"kind": "Content",
|
49015
|
+
"text": ">;\n }"
|
49016
|
+
},
|
49017
|
+
{
|
49018
|
+
"kind": "Content",
|
49019
|
+
"text": ", cb: "
|
49020
|
+
},
|
49021
|
+
{
|
49022
|
+
"kind": "Reference",
|
49023
|
+
"text": "EventSystemCallback",
|
49024
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemCallback:type"
|
49025
|
+
},
|
49026
|
+
{
|
49027
|
+
"kind": "Content",
|
49028
|
+
"text": "): "
|
49029
|
+
},
|
49030
|
+
{
|
49031
|
+
"kind": "Content",
|
49032
|
+
"text": "void"
|
49033
|
+
},
|
49034
|
+
{
|
49035
|
+
"kind": "Content",
|
49036
|
+
"text": ";"
|
49037
|
+
}
|
49038
|
+
],
|
49039
|
+
"isOptional": false,
|
49040
|
+
"returnTypeTokenRange": {
|
49041
|
+
"startIndex": 11,
|
49042
|
+
"endIndex": 12
|
49043
|
+
},
|
49044
|
+
"releaseTag": "Public",
|
49045
|
+
"overloadIndex": 1,
|
49046
|
+
"parameters": [
|
49047
|
+
{
|
49048
|
+
"parameterName": "pointerData",
|
49049
|
+
"parameterTypeTokenRange": {
|
49050
|
+
"startIndex": 1,
|
49051
|
+
"endIndex": 8
|
49052
|
+
},
|
49053
|
+
"isOptional": false
|
49054
|
+
},
|
49055
|
+
{
|
49056
|
+
"parameterName": "cb",
|
49057
|
+
"parameterTypeTokenRange": {
|
49058
|
+
"startIndex": 9,
|
49059
|
+
"endIndex": 10
|
49060
|
+
},
|
49061
|
+
"isOptional": false
|
49062
|
+
}
|
49063
|
+
],
|
49064
|
+
"name": "onPointerDown"
|
49065
|
+
},
|
49066
|
+
{
|
49067
|
+
"kind": "MethodSignature",
|
49068
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onPointerDown:member(2)",
|
49069
|
+
"docComment": "/**\n * @deprecated\n *\n * Use onPointerDown 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",
|
48981
49070
|
"excerptTokens": [
|
48982
49071
|
{
|
48983
49072
|
"kind": "Content",
|
@@ -49038,7 +49127,7 @@
|
|
49038
49127
|
"endIndex": 11
|
49039
49128
|
},
|
49040
49129
|
"releaseTag": "Public",
|
49041
|
-
"overloadIndex":
|
49130
|
+
"overloadIndex": 2,
|
49042
49131
|
"parameters": [
|
49043
49132
|
{
|
49044
49133
|
"parameterName": "entity",
|
@@ -49070,7 +49159,96 @@
|
|
49070
49159
|
{
|
49071
49160
|
"kind": "MethodSignature",
|
49072
49161
|
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onPointerUp:member(1)",
|
49073
|
-
"docComment": "/**\n * Execute callback when the user releases the InputButton pointing at the entity\n *\n * @param
|
49162
|
+
"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",
|
49163
|
+
"excerptTokens": [
|
49164
|
+
{
|
49165
|
+
"kind": "Content",
|
49166
|
+
"text": "onPointerUp(pointerData: "
|
49167
|
+
},
|
49168
|
+
{
|
49169
|
+
"kind": "Content",
|
49170
|
+
"text": "{\n entity: "
|
49171
|
+
},
|
49172
|
+
{
|
49173
|
+
"kind": "Reference",
|
49174
|
+
"text": "Entity",
|
49175
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
49176
|
+
},
|
49177
|
+
{
|
49178
|
+
"kind": "Content",
|
49179
|
+
"text": ";\n opts?: "
|
49180
|
+
},
|
49181
|
+
{
|
49182
|
+
"kind": "Reference",
|
49183
|
+
"text": "Partial",
|
49184
|
+
"canonicalReference": "!Partial:type"
|
49185
|
+
},
|
49186
|
+
{
|
49187
|
+
"kind": "Content",
|
49188
|
+
"text": "<"
|
49189
|
+
},
|
49190
|
+
{
|
49191
|
+
"kind": "Reference",
|
49192
|
+
"text": "EventSystemOptions",
|
49193
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
|
49194
|
+
},
|
49195
|
+
{
|
49196
|
+
"kind": "Content",
|
49197
|
+
"text": ">;\n }"
|
49198
|
+
},
|
49199
|
+
{
|
49200
|
+
"kind": "Content",
|
49201
|
+
"text": ", cb: "
|
49202
|
+
},
|
49203
|
+
{
|
49204
|
+
"kind": "Reference",
|
49205
|
+
"text": "EventSystemCallback",
|
49206
|
+
"canonicalReference": "@dcl/playground-assets!EventSystemCallback:type"
|
49207
|
+
},
|
49208
|
+
{
|
49209
|
+
"kind": "Content",
|
49210
|
+
"text": "): "
|
49211
|
+
},
|
49212
|
+
{
|
49213
|
+
"kind": "Content",
|
49214
|
+
"text": "void"
|
49215
|
+
},
|
49216
|
+
{
|
49217
|
+
"kind": "Content",
|
49218
|
+
"text": ";"
|
49219
|
+
}
|
49220
|
+
],
|
49221
|
+
"isOptional": false,
|
49222
|
+
"returnTypeTokenRange": {
|
49223
|
+
"startIndex": 11,
|
49224
|
+
"endIndex": 12
|
49225
|
+
},
|
49226
|
+
"releaseTag": "Public",
|
49227
|
+
"overloadIndex": 1,
|
49228
|
+
"parameters": [
|
49229
|
+
{
|
49230
|
+
"parameterName": "pointerData",
|
49231
|
+
"parameterTypeTokenRange": {
|
49232
|
+
"startIndex": 1,
|
49233
|
+
"endIndex": 8
|
49234
|
+
},
|
49235
|
+
"isOptional": false
|
49236
|
+
},
|
49237
|
+
{
|
49238
|
+
"parameterName": "cb",
|
49239
|
+
"parameterTypeTokenRange": {
|
49240
|
+
"startIndex": 9,
|
49241
|
+
"endIndex": 10
|
49242
|
+
},
|
49243
|
+
"isOptional": false
|
49244
|
+
}
|
49245
|
+
],
|
49246
|
+
"name": "onPointerUp"
|
49247
|
+
},
|
49248
|
+
{
|
49249
|
+
"kind": "MethodSignature",
|
49250
|
+
"canonicalReference": "@dcl/playground-assets!PointerEventsSystem#onPointerUp:member(2)",
|
49251
|
+
"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",
|
49074
49252
|
"excerptTokens": [
|
49075
49253
|
{
|
49076
49254
|
"kind": "Content",
|
@@ -49131,7 +49309,7 @@
|
|
49131
49309
|
"endIndex": 11
|
49132
49310
|
},
|
49133
49311
|
"releaseTag": "Public",
|
49134
|
-
"overloadIndex":
|
49312
|
+
"overloadIndex": 2,
|
49135
49313
|
"parameters": [
|
49136
49314
|
{
|
49137
49315
|
"parameterName": "entity",
|
@@ -52677,43 +52855,676 @@
|
|
52677
52855
|
"text": "PBRaycastResult",
|
52678
52856
|
"canonicalReference": "@dcl/playground-assets!PBRaycastResult"
|
52679
52857
|
},
|
52680
|
-
{
|
52681
|
-
"kind": "Content",
|
52682
|
-
"text": ">"
|
52683
|
-
}
|
52684
|
-
],
|
52685
|
-
"fileUrlPath": "../ecs/dist/components/generated/global.gen.d.ts",
|
52686
|
-
"isReadonly": true,
|
52687
|
-
"releaseTag": "Public",
|
52688
|
-
"name": "RaycastResult",
|
52689
|
-
"variableTypeTokenRange": {
|
52690
|
-
"startIndex": 1,
|
52691
|
-
"endIndex": 5
|
52692
|
-
}
|
52693
|
-
},
|
52694
|
-
{
|
52695
|
-
"kind": "Interface",
|
52696
|
-
"canonicalReference": "@dcl/playground-assets!RaycastSystem:interface",
|
52697
|
-
"docComment": "/**\n * @public\n */\n",
|
52698
|
-
"excerptTokens": [
|
52699
|
-
{
|
52700
|
-
"kind": "Content",
|
52701
|
-
"text": "export interface RaycastSystem "
|
52702
|
-
}
|
52703
|
-
],
|
52704
|
-
"fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
|
52705
|
-
"releaseTag": "Public",
|
52706
|
-
"name": "RaycastSystem",
|
52707
|
-
"preserveMemberOrder": false,
|
52708
|
-
"members": [
|
52858
|
+
{
|
52859
|
+
"kind": "Content",
|
52860
|
+
"text": ">"
|
52861
|
+
}
|
52862
|
+
],
|
52863
|
+
"fileUrlPath": "../ecs/dist/components/generated/global.gen.d.ts",
|
52864
|
+
"isReadonly": true,
|
52865
|
+
"releaseTag": "Public",
|
52866
|
+
"name": "RaycastResult",
|
52867
|
+
"variableTypeTokenRange": {
|
52868
|
+
"startIndex": 1,
|
52869
|
+
"endIndex": 5
|
52870
|
+
}
|
52871
|
+
},
|
52872
|
+
{
|
52873
|
+
"kind": "Interface",
|
52874
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem:interface",
|
52875
|
+
"docComment": "/**\n * @public\n */\n",
|
52876
|
+
"excerptTokens": [
|
52877
|
+
{
|
52878
|
+
"kind": "Content",
|
52879
|
+
"text": "export interface RaycastSystem "
|
52880
|
+
}
|
52881
|
+
],
|
52882
|
+
"fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
|
52883
|
+
"releaseTag": "Public",
|
52884
|
+
"name": "RaycastSystem",
|
52885
|
+
"preserveMemberOrder": false,
|
52886
|
+
"members": [
|
52887
|
+
{
|
52888
|
+
"kind": "MethodSignature",
|
52889
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#globalDirectionOptions:member(1)",
|
52890
|
+
"docComment": "/**\n * Creates Raycast global direction opts with defaults\n *\n * @public\n */\n",
|
52891
|
+
"excerptTokens": [
|
52892
|
+
{
|
52893
|
+
"kind": "Content",
|
52894
|
+
"text": "globalDirectionOptions(options?: "
|
52895
|
+
},
|
52896
|
+
{
|
52897
|
+
"kind": "Reference",
|
52898
|
+
"text": "Partial",
|
52899
|
+
"canonicalReference": "!Partial:type"
|
52900
|
+
},
|
52901
|
+
{
|
52902
|
+
"kind": "Content",
|
52903
|
+
"text": "<"
|
52904
|
+
},
|
52905
|
+
{
|
52906
|
+
"kind": "Reference",
|
52907
|
+
"text": "GlobalDirectionRaycastOptions",
|
52908
|
+
"canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastOptions:type"
|
52909
|
+
},
|
52910
|
+
{
|
52911
|
+
"kind": "Content",
|
52912
|
+
"text": ">"
|
52913
|
+
},
|
52914
|
+
{
|
52915
|
+
"kind": "Content",
|
52916
|
+
"text": "): "
|
52917
|
+
},
|
52918
|
+
{
|
52919
|
+
"kind": "Reference",
|
52920
|
+
"text": "RaycastSystemOptions",
|
52921
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
|
52922
|
+
},
|
52923
|
+
{
|
52924
|
+
"kind": "Content",
|
52925
|
+
"text": ";"
|
52926
|
+
}
|
52927
|
+
],
|
52928
|
+
"isOptional": false,
|
52929
|
+
"returnTypeTokenRange": {
|
52930
|
+
"startIndex": 6,
|
52931
|
+
"endIndex": 7
|
52932
|
+
},
|
52933
|
+
"releaseTag": "Public",
|
52934
|
+
"overloadIndex": 1,
|
52935
|
+
"parameters": [
|
52936
|
+
{
|
52937
|
+
"parameterName": "options",
|
52938
|
+
"parameterTypeTokenRange": {
|
52939
|
+
"startIndex": 1,
|
52940
|
+
"endIndex": 5
|
52941
|
+
},
|
52942
|
+
"isOptional": true
|
52943
|
+
}
|
52944
|
+
],
|
52945
|
+
"name": "globalDirectionOptions"
|
52946
|
+
},
|
52947
|
+
{
|
52948
|
+
"kind": "MethodSignature",
|
52949
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#globalTargetOptions:member(1)",
|
52950
|
+
"docComment": "/**\n * Creates Raycast global target direction opts with defaults\n *\n * @public\n */\n",
|
52951
|
+
"excerptTokens": [
|
52952
|
+
{
|
52953
|
+
"kind": "Content",
|
52954
|
+
"text": "globalTargetOptions(options?: "
|
52955
|
+
},
|
52956
|
+
{
|
52957
|
+
"kind": "Reference",
|
52958
|
+
"text": "Partial",
|
52959
|
+
"canonicalReference": "!Partial:type"
|
52960
|
+
},
|
52961
|
+
{
|
52962
|
+
"kind": "Content",
|
52963
|
+
"text": "<"
|
52964
|
+
},
|
52965
|
+
{
|
52966
|
+
"kind": "Reference",
|
52967
|
+
"text": "GlobalTargetRaycastOptions",
|
52968
|
+
"canonicalReference": "@dcl/playground-assets!GlobalTargetRaycastOptions:type"
|
52969
|
+
},
|
52970
|
+
{
|
52971
|
+
"kind": "Content",
|
52972
|
+
"text": ">"
|
52973
|
+
},
|
52974
|
+
{
|
52975
|
+
"kind": "Content",
|
52976
|
+
"text": "): "
|
52977
|
+
},
|
52978
|
+
{
|
52979
|
+
"kind": "Reference",
|
52980
|
+
"text": "RaycastSystemOptions",
|
52981
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
|
52982
|
+
},
|
52983
|
+
{
|
52984
|
+
"kind": "Content",
|
52985
|
+
"text": ";"
|
52986
|
+
}
|
52987
|
+
],
|
52988
|
+
"isOptional": false,
|
52989
|
+
"returnTypeTokenRange": {
|
52990
|
+
"startIndex": 6,
|
52991
|
+
"endIndex": 7
|
52992
|
+
},
|
52993
|
+
"releaseTag": "Public",
|
52994
|
+
"overloadIndex": 1,
|
52995
|
+
"parameters": [
|
52996
|
+
{
|
52997
|
+
"parameterName": "options",
|
52998
|
+
"parameterTypeTokenRange": {
|
52999
|
+
"startIndex": 1,
|
53000
|
+
"endIndex": 5
|
53001
|
+
},
|
53002
|
+
"isOptional": true
|
53003
|
+
}
|
53004
|
+
],
|
53005
|
+
"name": "globalTargetOptions"
|
53006
|
+
},
|
53007
|
+
{
|
53008
|
+
"kind": "MethodSignature",
|
53009
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#localDirectionOptions:member(1)",
|
53010
|
+
"docComment": "/**\n * Creates Raycast local direction opts with defaults\n *\n * @public\n */\n",
|
53011
|
+
"excerptTokens": [
|
53012
|
+
{
|
53013
|
+
"kind": "Content",
|
53014
|
+
"text": "localDirectionOptions(options?: "
|
53015
|
+
},
|
53016
|
+
{
|
53017
|
+
"kind": "Reference",
|
53018
|
+
"text": "Partial",
|
53019
|
+
"canonicalReference": "!Partial:type"
|
53020
|
+
},
|
53021
|
+
{
|
53022
|
+
"kind": "Content",
|
53023
|
+
"text": "<"
|
53024
|
+
},
|
53025
|
+
{
|
53026
|
+
"kind": "Reference",
|
53027
|
+
"text": "LocalDirectionRaycastOptions",
|
53028
|
+
"canonicalReference": "@dcl/playground-assets!LocalDirectionRaycastOptions:type"
|
53029
|
+
},
|
53030
|
+
{
|
53031
|
+
"kind": "Content",
|
53032
|
+
"text": ">"
|
53033
|
+
},
|
53034
|
+
{
|
53035
|
+
"kind": "Content",
|
53036
|
+
"text": "): "
|
53037
|
+
},
|
53038
|
+
{
|
53039
|
+
"kind": "Reference",
|
53040
|
+
"text": "RaycastSystemOptions",
|
53041
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
|
53042
|
+
},
|
53043
|
+
{
|
53044
|
+
"kind": "Content",
|
53045
|
+
"text": ";"
|
53046
|
+
}
|
53047
|
+
],
|
53048
|
+
"isOptional": false,
|
53049
|
+
"returnTypeTokenRange": {
|
53050
|
+
"startIndex": 6,
|
53051
|
+
"endIndex": 7
|
53052
|
+
},
|
53053
|
+
"releaseTag": "Public",
|
53054
|
+
"overloadIndex": 1,
|
53055
|
+
"parameters": [
|
53056
|
+
{
|
53057
|
+
"parameterName": "options",
|
53058
|
+
"parameterTypeTokenRange": {
|
53059
|
+
"startIndex": 1,
|
53060
|
+
"endIndex": 5
|
53061
|
+
},
|
53062
|
+
"isOptional": true
|
53063
|
+
}
|
53064
|
+
],
|
53065
|
+
"name": "localDirectionOptions"
|
53066
|
+
},
|
53067
|
+
{
|
53068
|
+
"kind": "MethodSignature",
|
53069
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerGlobalDirectionRaycast:member(1)",
|
53070
|
+
"docComment": "/**\n * Execute callback when the entity receives a RaycastResult component update. Uses a Vector3 global direction value to calculate the ray direction\n *\n * @param raycastData - Entity to attach the callback\n *\n * @param callback - Function to execute when the entity's RaycastResult component is updated\n *\n * @public\n */\n",
|
53071
|
+
"excerptTokens": [
|
53072
|
+
{
|
53073
|
+
"kind": "Content",
|
53074
|
+
"text": "registerGlobalDirectionRaycast(raycastData: "
|
53075
|
+
},
|
53076
|
+
{
|
53077
|
+
"kind": "Content",
|
53078
|
+
"text": "{\n entity: "
|
53079
|
+
},
|
53080
|
+
{
|
53081
|
+
"kind": "Reference",
|
53082
|
+
"text": "Entity",
|
53083
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
53084
|
+
},
|
53085
|
+
{
|
53086
|
+
"kind": "Content",
|
53087
|
+
"text": ";\n opts?: "
|
53088
|
+
},
|
53089
|
+
{
|
53090
|
+
"kind": "Reference",
|
53091
|
+
"text": "Partial",
|
53092
|
+
"canonicalReference": "!Partial:type"
|
53093
|
+
},
|
53094
|
+
{
|
53095
|
+
"kind": "Content",
|
53096
|
+
"text": "<"
|
53097
|
+
},
|
53098
|
+
{
|
53099
|
+
"kind": "Reference",
|
53100
|
+
"text": "GlobalDirectionRaycastOptions",
|
53101
|
+
"canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastOptions:type"
|
53102
|
+
},
|
53103
|
+
{
|
53104
|
+
"kind": "Content",
|
53105
|
+
"text": ">;\n }"
|
53106
|
+
},
|
53107
|
+
{
|
53108
|
+
"kind": "Content",
|
53109
|
+
"text": ", callback: "
|
53110
|
+
},
|
53111
|
+
{
|
53112
|
+
"kind": "Reference",
|
53113
|
+
"text": "RaycastSystemCallback",
|
53114
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
|
53115
|
+
},
|
53116
|
+
{
|
53117
|
+
"kind": "Content",
|
53118
|
+
"text": "): "
|
53119
|
+
},
|
53120
|
+
{
|
53121
|
+
"kind": "Content",
|
53122
|
+
"text": "void"
|
53123
|
+
},
|
53124
|
+
{
|
53125
|
+
"kind": "Content",
|
53126
|
+
"text": ";"
|
53127
|
+
}
|
53128
|
+
],
|
53129
|
+
"isOptional": false,
|
53130
|
+
"returnTypeTokenRange": {
|
53131
|
+
"startIndex": 11,
|
53132
|
+
"endIndex": 12
|
53133
|
+
},
|
53134
|
+
"releaseTag": "Public",
|
53135
|
+
"overloadIndex": 1,
|
53136
|
+
"parameters": [
|
53137
|
+
{
|
53138
|
+
"parameterName": "raycastData",
|
53139
|
+
"parameterTypeTokenRange": {
|
53140
|
+
"startIndex": 1,
|
53141
|
+
"endIndex": 8
|
53142
|
+
},
|
53143
|
+
"isOptional": false
|
53144
|
+
},
|
53145
|
+
{
|
53146
|
+
"parameterName": "callback",
|
53147
|
+
"parameterTypeTokenRange": {
|
53148
|
+
"startIndex": 9,
|
53149
|
+
"endIndex": 10
|
53150
|
+
},
|
53151
|
+
"isOptional": false
|
53152
|
+
}
|
53153
|
+
],
|
53154
|
+
"name": "registerGlobalDirectionRaycast"
|
53155
|
+
},
|
53156
|
+
{
|
53157
|
+
"kind": "MethodSignature",
|
53158
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerGlobalDirectionRaycast:member(2)",
|
53159
|
+
"docComment": "/**\n * @deprecated\n *\n * use registerGlobalDirectionRaycast(raycastData, cb) instead\n *\n * @param entity - Entity to attach the callback\n *\n * @param callback - Function to execute when the entity's RaycastResult component is updated\n *\n * @param options - Raycast configuration options\n */\n",
|
53160
|
+
"excerptTokens": [
|
53161
|
+
{
|
53162
|
+
"kind": "Content",
|
53163
|
+
"text": "registerGlobalDirectionRaycast(entity: "
|
53164
|
+
},
|
53165
|
+
{
|
53166
|
+
"kind": "Reference",
|
53167
|
+
"text": "Entity",
|
53168
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
53169
|
+
},
|
53170
|
+
{
|
53171
|
+
"kind": "Content",
|
53172
|
+
"text": ", callback: "
|
53173
|
+
},
|
53174
|
+
{
|
53175
|
+
"kind": "Reference",
|
53176
|
+
"text": "RaycastSystemCallback",
|
53177
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
|
53178
|
+
},
|
53179
|
+
{
|
53180
|
+
"kind": "Content",
|
53181
|
+
"text": ", options?: "
|
53182
|
+
},
|
53183
|
+
{
|
53184
|
+
"kind": "Reference",
|
53185
|
+
"text": "Partial",
|
53186
|
+
"canonicalReference": "!Partial:type"
|
53187
|
+
},
|
53188
|
+
{
|
53189
|
+
"kind": "Content",
|
53190
|
+
"text": "<"
|
53191
|
+
},
|
53192
|
+
{
|
53193
|
+
"kind": "Reference",
|
53194
|
+
"text": "GlobalDirectionRaycastOptions",
|
53195
|
+
"canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastOptions:type"
|
53196
|
+
},
|
53197
|
+
{
|
53198
|
+
"kind": "Content",
|
53199
|
+
"text": ">"
|
53200
|
+
},
|
53201
|
+
{
|
53202
|
+
"kind": "Content",
|
53203
|
+
"text": "): "
|
53204
|
+
},
|
53205
|
+
{
|
53206
|
+
"kind": "Content",
|
53207
|
+
"text": "void"
|
53208
|
+
},
|
53209
|
+
{
|
53210
|
+
"kind": "Content",
|
53211
|
+
"text": ";"
|
53212
|
+
}
|
53213
|
+
],
|
53214
|
+
"isOptional": false,
|
53215
|
+
"returnTypeTokenRange": {
|
53216
|
+
"startIndex": 10,
|
53217
|
+
"endIndex": 11
|
53218
|
+
},
|
53219
|
+
"releaseTag": "Public",
|
53220
|
+
"overloadIndex": 2,
|
53221
|
+
"parameters": [
|
53222
|
+
{
|
53223
|
+
"parameterName": "entity",
|
53224
|
+
"parameterTypeTokenRange": {
|
53225
|
+
"startIndex": 1,
|
53226
|
+
"endIndex": 2
|
53227
|
+
},
|
53228
|
+
"isOptional": false
|
53229
|
+
},
|
53230
|
+
{
|
53231
|
+
"parameterName": "callback",
|
53232
|
+
"parameterTypeTokenRange": {
|
53233
|
+
"startIndex": 3,
|
53234
|
+
"endIndex": 4
|
53235
|
+
},
|
53236
|
+
"isOptional": false
|
53237
|
+
},
|
53238
|
+
{
|
53239
|
+
"parameterName": "options",
|
53240
|
+
"parameterTypeTokenRange": {
|
53241
|
+
"startIndex": 5,
|
53242
|
+
"endIndex": 9
|
53243
|
+
},
|
53244
|
+
"isOptional": true
|
53245
|
+
}
|
53246
|
+
],
|
53247
|
+
"name": "registerGlobalDirectionRaycast"
|
53248
|
+
},
|
53249
|
+
{
|
53250
|
+
"kind": "MethodSignature",
|
53251
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerGlobalTargetRaycast:member(1)",
|
53252
|
+
"docComment": "/**\n * Execute callback when the entity receives a RaycastResult component update. Uses a Vector3 global target position to calculate the ray direction\n *\n * @param raycastData - Entity to attach the callback and Raycast configuration options\n *\n * @param callback - Function to execute when the entity's RaycastResult component is updated\n *\n * @public\n */\n",
|
53253
|
+
"excerptTokens": [
|
53254
|
+
{
|
53255
|
+
"kind": "Content",
|
53256
|
+
"text": "registerGlobalTargetRaycast(raycastData: "
|
53257
|
+
},
|
53258
|
+
{
|
53259
|
+
"kind": "Content",
|
53260
|
+
"text": "{\n entity: "
|
53261
|
+
},
|
53262
|
+
{
|
53263
|
+
"kind": "Reference",
|
53264
|
+
"text": "Entity",
|
53265
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
53266
|
+
},
|
53267
|
+
{
|
53268
|
+
"kind": "Content",
|
53269
|
+
"text": ";\n opts?: "
|
53270
|
+
},
|
53271
|
+
{
|
53272
|
+
"kind": "Reference",
|
53273
|
+
"text": "Partial",
|
53274
|
+
"canonicalReference": "!Partial:type"
|
53275
|
+
},
|
53276
|
+
{
|
53277
|
+
"kind": "Content",
|
53278
|
+
"text": "<"
|
53279
|
+
},
|
53280
|
+
{
|
53281
|
+
"kind": "Reference",
|
53282
|
+
"text": "GlobalTargetRaycastOptions",
|
53283
|
+
"canonicalReference": "@dcl/playground-assets!GlobalTargetRaycastOptions:type"
|
53284
|
+
},
|
53285
|
+
{
|
53286
|
+
"kind": "Content",
|
53287
|
+
"text": ">;\n }"
|
53288
|
+
},
|
53289
|
+
{
|
53290
|
+
"kind": "Content",
|
53291
|
+
"text": ", callback: "
|
53292
|
+
},
|
53293
|
+
{
|
53294
|
+
"kind": "Reference",
|
53295
|
+
"text": "RaycastSystemCallback",
|
53296
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
|
53297
|
+
},
|
53298
|
+
{
|
53299
|
+
"kind": "Content",
|
53300
|
+
"text": "): "
|
53301
|
+
},
|
53302
|
+
{
|
53303
|
+
"kind": "Content",
|
53304
|
+
"text": "void"
|
53305
|
+
},
|
53306
|
+
{
|
53307
|
+
"kind": "Content",
|
53308
|
+
"text": ";"
|
53309
|
+
}
|
53310
|
+
],
|
53311
|
+
"isOptional": false,
|
53312
|
+
"returnTypeTokenRange": {
|
53313
|
+
"startIndex": 11,
|
53314
|
+
"endIndex": 12
|
53315
|
+
},
|
53316
|
+
"releaseTag": "Public",
|
53317
|
+
"overloadIndex": 1,
|
53318
|
+
"parameters": [
|
53319
|
+
{
|
53320
|
+
"parameterName": "raycastData",
|
53321
|
+
"parameterTypeTokenRange": {
|
53322
|
+
"startIndex": 1,
|
53323
|
+
"endIndex": 8
|
53324
|
+
},
|
53325
|
+
"isOptional": false
|
53326
|
+
},
|
53327
|
+
{
|
53328
|
+
"parameterName": "callback",
|
53329
|
+
"parameterTypeTokenRange": {
|
53330
|
+
"startIndex": 9,
|
53331
|
+
"endIndex": 10
|
53332
|
+
},
|
53333
|
+
"isOptional": false
|
53334
|
+
}
|
53335
|
+
],
|
53336
|
+
"name": "registerGlobalTargetRaycast"
|
53337
|
+
},
|
53338
|
+
{
|
53339
|
+
"kind": "MethodSignature",
|
53340
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerGlobalTargetRaycast:member(2)",
|
53341
|
+
"docComment": "/**\n * @deprecated\n *\n * use registerGlobalTargetRaycast(raycastData, cb) instead\n *\n * @param entity - Entity to attach the callback\n *\n * @param callback - Function to execute when the entity's RaycastResult component is updated\n *\n * @param options - Raycast configuration options\n */\n",
|
53342
|
+
"excerptTokens": [
|
53343
|
+
{
|
53344
|
+
"kind": "Content",
|
53345
|
+
"text": "registerGlobalTargetRaycast(entity: "
|
53346
|
+
},
|
53347
|
+
{
|
53348
|
+
"kind": "Reference",
|
53349
|
+
"text": "Entity",
|
53350
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
53351
|
+
},
|
53352
|
+
{
|
53353
|
+
"kind": "Content",
|
53354
|
+
"text": ", callback: "
|
53355
|
+
},
|
53356
|
+
{
|
53357
|
+
"kind": "Reference",
|
53358
|
+
"text": "RaycastSystemCallback",
|
53359
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
|
53360
|
+
},
|
53361
|
+
{
|
53362
|
+
"kind": "Content",
|
53363
|
+
"text": ", options?: "
|
53364
|
+
},
|
53365
|
+
{
|
53366
|
+
"kind": "Reference",
|
53367
|
+
"text": "Partial",
|
53368
|
+
"canonicalReference": "!Partial:type"
|
53369
|
+
},
|
53370
|
+
{
|
53371
|
+
"kind": "Content",
|
53372
|
+
"text": "<"
|
53373
|
+
},
|
53374
|
+
{
|
53375
|
+
"kind": "Reference",
|
53376
|
+
"text": "GlobalTargetRaycastOptions",
|
53377
|
+
"canonicalReference": "@dcl/playground-assets!GlobalTargetRaycastOptions:type"
|
53378
|
+
},
|
53379
|
+
{
|
53380
|
+
"kind": "Content",
|
53381
|
+
"text": ">"
|
53382
|
+
},
|
53383
|
+
{
|
53384
|
+
"kind": "Content",
|
53385
|
+
"text": "): "
|
53386
|
+
},
|
53387
|
+
{
|
53388
|
+
"kind": "Content",
|
53389
|
+
"text": "void"
|
53390
|
+
},
|
53391
|
+
{
|
53392
|
+
"kind": "Content",
|
53393
|
+
"text": ";"
|
53394
|
+
}
|
53395
|
+
],
|
53396
|
+
"isOptional": false,
|
53397
|
+
"returnTypeTokenRange": {
|
53398
|
+
"startIndex": 10,
|
53399
|
+
"endIndex": 11
|
53400
|
+
},
|
53401
|
+
"releaseTag": "Public",
|
53402
|
+
"overloadIndex": 2,
|
53403
|
+
"parameters": [
|
53404
|
+
{
|
53405
|
+
"parameterName": "entity",
|
53406
|
+
"parameterTypeTokenRange": {
|
53407
|
+
"startIndex": 1,
|
53408
|
+
"endIndex": 2
|
53409
|
+
},
|
53410
|
+
"isOptional": false
|
53411
|
+
},
|
53412
|
+
{
|
53413
|
+
"parameterName": "callback",
|
53414
|
+
"parameterTypeTokenRange": {
|
53415
|
+
"startIndex": 3,
|
53416
|
+
"endIndex": 4
|
53417
|
+
},
|
53418
|
+
"isOptional": false
|
53419
|
+
},
|
53420
|
+
{
|
53421
|
+
"parameterName": "options",
|
53422
|
+
"parameterTypeTokenRange": {
|
53423
|
+
"startIndex": 5,
|
53424
|
+
"endIndex": 9
|
53425
|
+
},
|
53426
|
+
"isOptional": true
|
53427
|
+
}
|
53428
|
+
],
|
53429
|
+
"name": "registerGlobalTargetRaycast"
|
53430
|
+
},
|
53431
|
+
{
|
53432
|
+
"kind": "MethodSignature",
|
53433
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerLocalDirectionRaycast:member(1)",
|
53434
|
+
"docComment": "/**\n * Execute callback when the entity receives a RaycastResult component update. Uses a Vector3 entity-local direction value to calculate the ray direction\n *\n * @param raycastData - Entity to attach the callback and Raycast configuration options\n *\n * @param callback - Function to execute when the entity's RaycastResult component is updated\n *\n * @public\n */\n",
|
53435
|
+
"excerptTokens": [
|
53436
|
+
{
|
53437
|
+
"kind": "Content",
|
53438
|
+
"text": "registerLocalDirectionRaycast(raycastData: "
|
53439
|
+
},
|
53440
|
+
{
|
53441
|
+
"kind": "Content",
|
53442
|
+
"text": "{\n entity: "
|
53443
|
+
},
|
53444
|
+
{
|
53445
|
+
"kind": "Reference",
|
53446
|
+
"text": "Entity",
|
53447
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
53448
|
+
},
|
53449
|
+
{
|
53450
|
+
"kind": "Content",
|
53451
|
+
"text": ";\n opts?: "
|
53452
|
+
},
|
53453
|
+
{
|
53454
|
+
"kind": "Reference",
|
53455
|
+
"text": "Partial",
|
53456
|
+
"canonicalReference": "!Partial:type"
|
53457
|
+
},
|
53458
|
+
{
|
53459
|
+
"kind": "Content",
|
53460
|
+
"text": "<"
|
53461
|
+
},
|
53462
|
+
{
|
53463
|
+
"kind": "Reference",
|
53464
|
+
"text": "LocalDirectionRaycastOptions",
|
53465
|
+
"canonicalReference": "@dcl/playground-assets!LocalDirectionRaycastOptions:type"
|
53466
|
+
},
|
53467
|
+
{
|
53468
|
+
"kind": "Content",
|
53469
|
+
"text": ">;\n }"
|
53470
|
+
},
|
53471
|
+
{
|
53472
|
+
"kind": "Content",
|
53473
|
+
"text": ", callback: "
|
53474
|
+
},
|
53475
|
+
{
|
53476
|
+
"kind": "Reference",
|
53477
|
+
"text": "RaycastSystemCallback",
|
53478
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
|
53479
|
+
},
|
53480
|
+
{
|
53481
|
+
"kind": "Content",
|
53482
|
+
"text": "): "
|
53483
|
+
},
|
53484
|
+
{
|
53485
|
+
"kind": "Content",
|
53486
|
+
"text": "void"
|
53487
|
+
},
|
53488
|
+
{
|
53489
|
+
"kind": "Content",
|
53490
|
+
"text": ";"
|
53491
|
+
}
|
53492
|
+
],
|
53493
|
+
"isOptional": false,
|
53494
|
+
"returnTypeTokenRange": {
|
53495
|
+
"startIndex": 11,
|
53496
|
+
"endIndex": 12
|
53497
|
+
},
|
53498
|
+
"releaseTag": "Public",
|
53499
|
+
"overloadIndex": 1,
|
53500
|
+
"parameters": [
|
53501
|
+
{
|
53502
|
+
"parameterName": "raycastData",
|
53503
|
+
"parameterTypeTokenRange": {
|
53504
|
+
"startIndex": 1,
|
53505
|
+
"endIndex": 8
|
53506
|
+
},
|
53507
|
+
"isOptional": false
|
53508
|
+
},
|
53509
|
+
{
|
53510
|
+
"parameterName": "callback",
|
53511
|
+
"parameterTypeTokenRange": {
|
53512
|
+
"startIndex": 9,
|
53513
|
+
"endIndex": 10
|
53514
|
+
},
|
53515
|
+
"isOptional": false
|
53516
|
+
}
|
53517
|
+
],
|
53518
|
+
"name": "registerLocalDirectionRaycast"
|
53519
|
+
},
|
52709
53520
|
{
|
52710
53521
|
"kind": "MethodSignature",
|
52711
|
-
"canonicalReference": "@dcl/playground-assets!RaycastSystem#
|
52712
|
-
"docComment": "/**\n *
|
53522
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerLocalDirectionRaycast:member(2)",
|
53523
|
+
"docComment": "/**\n * @deprecated\n *\n * use registerLocalDirectionRaycast(raycastData, cb) instead\n *\n * @param entity - Entity to attach the callback\n *\n * @param callback - Function to execute when the entity's RaycastResult component is updated\n *\n * @param options - Raycast configuration options\n */\n",
|
52713
53524
|
"excerptTokens": [
|
52714
53525
|
{
|
52715
53526
|
"kind": "Content",
|
52716
|
-
"text": "
|
53527
|
+
"text": "registerLocalDirectionRaycast(entity: "
|
52717
53528
|
},
|
52718
53529
|
{
|
52719
53530
|
"kind": "Reference",
|
@@ -52744,8 +53555,8 @@
|
|
52744
53555
|
},
|
52745
53556
|
{
|
52746
53557
|
"kind": "Reference",
|
52747
|
-
"text": "
|
52748
|
-
"canonicalReference": "@dcl/playground-assets!
|
53558
|
+
"text": "LocalDirectionRaycastOptions",
|
53559
|
+
"canonicalReference": "@dcl/playground-assets!LocalDirectionRaycastOptions:type"
|
52749
53560
|
},
|
52750
53561
|
{
|
52751
53562
|
"kind": "Content",
|
@@ -52770,7 +53581,7 @@
|
|
52770
53581
|
"endIndex": 11
|
52771
53582
|
},
|
52772
53583
|
"releaseTag": "Public",
|
52773
|
-
"overloadIndex":
|
53584
|
+
"overloadIndex": 2,
|
52774
53585
|
"parameters": [
|
52775
53586
|
{
|
52776
53587
|
"parameterName": "entity",
|
@@ -52797,16 +53608,16 @@
|
|
52797
53608
|
"isOptional": true
|
52798
53609
|
}
|
52799
53610
|
],
|
52800
|
-
"name": "
|
53611
|
+
"name": "registerLocalDirectionRaycast"
|
52801
53612
|
},
|
52802
53613
|
{
|
52803
53614
|
"kind": "MethodSignature",
|
52804
|
-
"canonicalReference": "@dcl/playground-assets!RaycastSystem#
|
52805
|
-
"docComment": "/**\n *
|
53615
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerRaycast:member(1)",
|
53616
|
+
"docComment": "/**\n * Immediate mode Raycast to be used on a sytem rather than callbacks\n *\n * Use the options helper to create the specified raycast i.e. localDirectionOptions(opts)\n *\n * @public\n */\n",
|
52806
53617
|
"excerptTokens": [
|
52807
53618
|
{
|
52808
53619
|
"kind": "Content",
|
52809
|
-
"text": "
|
53620
|
+
"text": "registerRaycast(entity: "
|
52810
53621
|
},
|
52811
53622
|
{
|
52812
53623
|
"kind": "Reference",
|
@@ -52815,21 +53626,21 @@
|
|
52815
53626
|
},
|
52816
53627
|
{
|
52817
53628
|
"kind": "Content",
|
52818
|
-
"text": ",
|
53629
|
+
"text": ", options: "
|
52819
53630
|
},
|
52820
53631
|
{
|
52821
53632
|
"kind": "Reference",
|
52822
|
-
"text": "
|
52823
|
-
"canonicalReference": "@dcl/playground-assets!
|
53633
|
+
"text": "RaycastSystemOptions",
|
53634
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
|
52824
53635
|
},
|
52825
53636
|
{
|
52826
53637
|
"kind": "Content",
|
52827
|
-
"text": "
|
53638
|
+
"text": "): "
|
52828
53639
|
},
|
52829
53640
|
{
|
52830
53641
|
"kind": "Reference",
|
52831
|
-
"text": "
|
52832
|
-
"canonicalReference": "!
|
53642
|
+
"text": "DeepReadonlyObject",
|
53643
|
+
"canonicalReference": "@dcl/playground-assets!DeepReadonlyObject:type"
|
52833
53644
|
},
|
52834
53645
|
{
|
52835
53646
|
"kind": "Content",
|
@@ -52837,20 +53648,12 @@
|
|
52837
53648
|
},
|
52838
53649
|
{
|
52839
53650
|
"kind": "Reference",
|
52840
|
-
"text": "
|
52841
|
-
"canonicalReference": "@dcl/playground-assets!
|
52842
|
-
},
|
52843
|
-
{
|
52844
|
-
"kind": "Content",
|
52845
|
-
"text": ">"
|
52846
|
-
},
|
52847
|
-
{
|
52848
|
-
"kind": "Content",
|
52849
|
-
"text": "): "
|
53651
|
+
"text": "PBRaycastResult",
|
53652
|
+
"canonicalReference": "@dcl/playground-assets!PBRaycastResult"
|
52850
53653
|
},
|
52851
53654
|
{
|
52852
53655
|
"kind": "Content",
|
52853
|
-
"text": "
|
53656
|
+
"text": "> | null"
|
52854
53657
|
},
|
52855
53658
|
{
|
52856
53659
|
"kind": "Content",
|
@@ -52859,8 +53662,8 @@
|
|
52859
53662
|
],
|
52860
53663
|
"isOptional": false,
|
52861
53664
|
"returnTypeTokenRange": {
|
52862
|
-
"startIndex":
|
52863
|
-
"endIndex":
|
53665
|
+
"startIndex": 5,
|
53666
|
+
"endIndex": 9
|
52864
53667
|
},
|
52865
53668
|
"releaseTag": "Public",
|
52866
53669
|
"overloadIndex": 1,
|
@@ -52874,50 +53677,37 @@
|
|
52874
53677
|
"isOptional": false
|
52875
53678
|
},
|
52876
53679
|
{
|
52877
|
-
"parameterName": "
|
53680
|
+
"parameterName": "options",
|
52878
53681
|
"parameterTypeTokenRange": {
|
52879
53682
|
"startIndex": 3,
|
52880
53683
|
"endIndex": 4
|
52881
53684
|
},
|
52882
53685
|
"isOptional": false
|
52883
|
-
},
|
52884
|
-
{
|
52885
|
-
"parameterName": "options",
|
52886
|
-
"parameterTypeTokenRange": {
|
52887
|
-
"startIndex": 5,
|
52888
|
-
"endIndex": 9
|
52889
|
-
},
|
52890
|
-
"isOptional": true
|
52891
53686
|
}
|
52892
53687
|
],
|
52893
|
-
"name": "
|
53688
|
+
"name": "registerRaycast"
|
52894
53689
|
},
|
52895
53690
|
{
|
52896
53691
|
"kind": "MethodSignature",
|
52897
|
-
"canonicalReference": "@dcl/playground-assets!RaycastSystem#
|
52898
|
-
"docComment": "/**\n * Execute callback when the entity receives a RaycastResult component update. Uses
|
53692
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerTargetEntityRaycast:member(1)",
|
53693
|
+
"docComment": "/**\n * Execute callback when the entity receives a RaycastResult component update. Uses an target Entity value to calculate the ray direction\n *\n * @param raycastData - Entity to attach the callback\n *\n * @param callback - Function to execute when the entity's RaycastResult component is updated\n *\n * @param options - Raycast configuration options\n *\n * @public\n */\n",
|
52899
53694
|
"excerptTokens": [
|
52900
53695
|
{
|
52901
53696
|
"kind": "Content",
|
52902
|
-
"text": "
|
52903
|
-
},
|
52904
|
-
{
|
52905
|
-
"kind": "Reference",
|
52906
|
-
"text": "Entity",
|
52907
|
-
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
53697
|
+
"text": "registerTargetEntityRaycast(raycastData: "
|
52908
53698
|
},
|
52909
53699
|
{
|
52910
53700
|
"kind": "Content",
|
52911
|
-
"text": "
|
53701
|
+
"text": "{\n entity: "
|
52912
53702
|
},
|
52913
53703
|
{
|
52914
53704
|
"kind": "Reference",
|
52915
|
-
"text": "
|
52916
|
-
"canonicalReference": "@dcl/playground-assets!
|
53705
|
+
"text": "Entity",
|
53706
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
52917
53707
|
},
|
52918
53708
|
{
|
52919
53709
|
"kind": "Content",
|
52920
|
-
"text": "
|
53710
|
+
"text": ";\n opts?: "
|
52921
53711
|
},
|
52922
53712
|
{
|
52923
53713
|
"kind": "Reference",
|
@@ -52930,12 +53720,21 @@
|
|
52930
53720
|
},
|
52931
53721
|
{
|
52932
53722
|
"kind": "Reference",
|
52933
|
-
"text": "
|
52934
|
-
"canonicalReference": "@dcl/playground-assets!
|
53723
|
+
"text": "TargetEntityRaycastOptions",
|
53724
|
+
"canonicalReference": "@dcl/playground-assets!TargetEntityRaycastOptions:type"
|
52935
53725
|
},
|
52936
53726
|
{
|
52937
53727
|
"kind": "Content",
|
52938
|
-
"text": "
|
53728
|
+
"text": ">;\n }"
|
53729
|
+
},
|
53730
|
+
{
|
53731
|
+
"kind": "Content",
|
53732
|
+
"text": ", callback: "
|
53733
|
+
},
|
53734
|
+
{
|
53735
|
+
"kind": "Reference",
|
53736
|
+
"text": "RaycastSystemCallback",
|
53737
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
|
52939
53738
|
},
|
52940
53739
|
{
|
52941
53740
|
"kind": "Content",
|
@@ -52952,43 +53751,35 @@
|
|
52952
53751
|
],
|
52953
53752
|
"isOptional": false,
|
52954
53753
|
"returnTypeTokenRange": {
|
52955
|
-
"startIndex":
|
52956
|
-
"endIndex":
|
53754
|
+
"startIndex": 11,
|
53755
|
+
"endIndex": 12
|
52957
53756
|
},
|
52958
53757
|
"releaseTag": "Public",
|
52959
53758
|
"overloadIndex": 1,
|
52960
53759
|
"parameters": [
|
52961
53760
|
{
|
52962
|
-
"parameterName": "
|
53761
|
+
"parameterName": "raycastData",
|
52963
53762
|
"parameterTypeTokenRange": {
|
52964
53763
|
"startIndex": 1,
|
52965
|
-
"endIndex":
|
53764
|
+
"endIndex": 8
|
52966
53765
|
},
|
52967
53766
|
"isOptional": false
|
52968
53767
|
},
|
52969
53768
|
{
|
52970
53769
|
"parameterName": "callback",
|
52971
53770
|
"parameterTypeTokenRange": {
|
52972
|
-
"startIndex":
|
52973
|
-
"endIndex":
|
53771
|
+
"startIndex": 9,
|
53772
|
+
"endIndex": 10
|
52974
53773
|
},
|
52975
53774
|
"isOptional": false
|
52976
|
-
},
|
52977
|
-
{
|
52978
|
-
"parameterName": "options",
|
52979
|
-
"parameterTypeTokenRange": {
|
52980
|
-
"startIndex": 5,
|
52981
|
-
"endIndex": 9
|
52982
|
-
},
|
52983
|
-
"isOptional": true
|
52984
53775
|
}
|
52985
53776
|
],
|
52986
|
-
"name": "
|
53777
|
+
"name": "registerTargetEntityRaycast"
|
52987
53778
|
},
|
52988
53779
|
{
|
52989
53780
|
"kind": "MethodSignature",
|
52990
|
-
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerTargetEntityRaycast:member(
|
52991
|
-
"docComment": "/**\n *
|
53781
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#registerTargetEntityRaycast:member(2)",
|
53782
|
+
"docComment": "/**\n * @deprecated\n *\n * use registerTargetEntityRaycast(raycastData, cb) instead\n *\n * @param entity - Entity to attach the callback\n *\n * @param callback - Function to execute when the entity's RaycastResult component is updated\n *\n * @param options - Raycast configuration options\n */\n",
|
52992
53783
|
"excerptTokens": [
|
52993
53784
|
{
|
52994
53785
|
"kind": "Content",
|
@@ -53049,7 +53840,7 @@
|
|
53049
53840
|
"endIndex": 11
|
53050
53841
|
},
|
53051
53842
|
"releaseTag": "Public",
|
53052
|
-
"overloadIndex":
|
53843
|
+
"overloadIndex": 2,
|
53053
53844
|
"parameters": [
|
53054
53845
|
{
|
53055
53846
|
"parameterName": "entity",
|
@@ -53123,6 +53914,66 @@
|
|
53123
53914
|
}
|
53124
53915
|
],
|
53125
53916
|
"name": "removeRaycasterEntity"
|
53917
|
+
},
|
53918
|
+
{
|
53919
|
+
"kind": "MethodSignature",
|
53920
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystem#targetEntitytOptions:member(1)",
|
53921
|
+
"docComment": "/**\n * Creates Raycast target entity opts with defaults\n *\n * @public\n */\n",
|
53922
|
+
"excerptTokens": [
|
53923
|
+
{
|
53924
|
+
"kind": "Content",
|
53925
|
+
"text": "targetEntitytOptions(options?: "
|
53926
|
+
},
|
53927
|
+
{
|
53928
|
+
"kind": "Reference",
|
53929
|
+
"text": "Partial",
|
53930
|
+
"canonicalReference": "!Partial:type"
|
53931
|
+
},
|
53932
|
+
{
|
53933
|
+
"kind": "Content",
|
53934
|
+
"text": "<"
|
53935
|
+
},
|
53936
|
+
{
|
53937
|
+
"kind": "Reference",
|
53938
|
+
"text": "TargetEntityRaycastOptions",
|
53939
|
+
"canonicalReference": "@dcl/playground-assets!TargetEntityRaycastOptions:type"
|
53940
|
+
},
|
53941
|
+
{
|
53942
|
+
"kind": "Content",
|
53943
|
+
"text": ">"
|
53944
|
+
},
|
53945
|
+
{
|
53946
|
+
"kind": "Content",
|
53947
|
+
"text": "): "
|
53948
|
+
},
|
53949
|
+
{
|
53950
|
+
"kind": "Reference",
|
53951
|
+
"text": "RaycastSystemOptions",
|
53952
|
+
"canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
|
53953
|
+
},
|
53954
|
+
{
|
53955
|
+
"kind": "Content",
|
53956
|
+
"text": ";"
|
53957
|
+
}
|
53958
|
+
],
|
53959
|
+
"isOptional": false,
|
53960
|
+
"returnTypeTokenRange": {
|
53961
|
+
"startIndex": 6,
|
53962
|
+
"endIndex": 7
|
53963
|
+
},
|
53964
|
+
"releaseTag": "Public",
|
53965
|
+
"overloadIndex": 1,
|
53966
|
+
"parameters": [
|
53967
|
+
{
|
53968
|
+
"parameterName": "options",
|
53969
|
+
"parameterTypeTokenRange": {
|
53970
|
+
"startIndex": 1,
|
53971
|
+
"endIndex": 5
|
53972
|
+
},
|
53973
|
+
"isOptional": true
|
53974
|
+
}
|
53975
|
+
],
|
53976
|
+
"name": "targetEntitytOptions"
|
53126
53977
|
}
|
53127
53978
|
],
|
53128
53979
|
"extendsTokenRanges": []
|
@@ -65628,6 +66479,66 @@
|
|
65628
66479
|
"name": "VideoEventsSystem",
|
65629
66480
|
"preserveMemberOrder": false,
|
65630
66481
|
"members": [
|
66482
|
+
{
|
66483
|
+
"kind": "MethodSignature",
|
66484
|
+
"canonicalReference": "@dcl/playground-assets!VideoEventsSystem#getVideoState:member(1)",
|
66485
|
+
"docComment": "/**\n * Returns the latest state of the VideoEvent\n *\n * @param entity - Entity to retrieve the video status\n */\n",
|
66486
|
+
"excerptTokens": [
|
66487
|
+
{
|
66488
|
+
"kind": "Content",
|
66489
|
+
"text": "getVideoState(entity: "
|
66490
|
+
},
|
66491
|
+
{
|
66492
|
+
"kind": "Reference",
|
66493
|
+
"text": "Entity",
|
66494
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
66495
|
+
},
|
66496
|
+
{
|
66497
|
+
"kind": "Content",
|
66498
|
+
"text": "): "
|
66499
|
+
},
|
66500
|
+
{
|
66501
|
+
"kind": "Reference",
|
66502
|
+
"text": "DeepReadonlyObject",
|
66503
|
+
"canonicalReference": "@dcl/playground-assets!DeepReadonlyObject:type"
|
66504
|
+
},
|
66505
|
+
{
|
66506
|
+
"kind": "Content",
|
66507
|
+
"text": "<"
|
66508
|
+
},
|
66509
|
+
{
|
66510
|
+
"kind": "Reference",
|
66511
|
+
"text": "PBVideoEvent",
|
66512
|
+
"canonicalReference": "@dcl/playground-assets!PBVideoEvent"
|
66513
|
+
},
|
66514
|
+
{
|
66515
|
+
"kind": "Content",
|
66516
|
+
"text": "> | undefined"
|
66517
|
+
},
|
66518
|
+
{
|
66519
|
+
"kind": "Content",
|
66520
|
+
"text": ";"
|
66521
|
+
}
|
66522
|
+
],
|
66523
|
+
"isOptional": false,
|
66524
|
+
"returnTypeTokenRange": {
|
66525
|
+
"startIndex": 3,
|
66526
|
+
"endIndex": 7
|
66527
|
+
},
|
66528
|
+
"releaseTag": "Public",
|
66529
|
+
"overloadIndex": 1,
|
66530
|
+
"parameters": [
|
66531
|
+
{
|
66532
|
+
"parameterName": "entity",
|
66533
|
+
"parameterTypeTokenRange": {
|
66534
|
+
"startIndex": 1,
|
66535
|
+
"endIndex": 2
|
66536
|
+
},
|
66537
|
+
"isOptional": false
|
66538
|
+
}
|
66539
|
+
],
|
66540
|
+
"name": "getVideoState"
|
66541
|
+
},
|
65631
66542
|
{
|
65632
66543
|
"kind": "MethodSignature",
|
65633
66544
|
"canonicalReference": "@dcl/playground-assets!VideoEventsSystem#hasVideoEventsEntity:member(1)",
|