@dcl/playground-assets 7.1.8-4756315995.commit-6d7fbd0 → 7.1.8-4757726595.commit-28cb54f

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.
@@ -14836,6 +14836,77 @@
14836
14836
  "endIndex": 2
14837
14837
  }
14838
14838
  },
14839
+ {
14840
+ "kind": "TypeAlias",
14841
+ "canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastOptions:type",
14842
+ "docComment": "",
14843
+ "excerptTokens": [
14844
+ {
14845
+ "kind": "Content",
14846
+ "text": "export type GlobalDirectionRaycastOptions = "
14847
+ },
14848
+ {
14849
+ "kind": "Reference",
14850
+ "text": "RaycastSystemOptions",
14851
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
14852
+ },
14853
+ {
14854
+ "kind": "Content",
14855
+ "text": " & "
14856
+ },
14857
+ {
14858
+ "kind": "Reference",
14859
+ "text": "GlobalDirectionRaycastSystemOptions",
14860
+ "canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastSystemOptions:type"
14861
+ },
14862
+ {
14863
+ "kind": "Content",
14864
+ "text": ";"
14865
+ }
14866
+ ],
14867
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
14868
+ "releaseTag": "Public",
14869
+ "name": "GlobalDirectionRaycastOptions",
14870
+ "typeTokenRange": {
14871
+ "startIndex": 1,
14872
+ "endIndex": 4
14873
+ }
14874
+ },
14875
+ {
14876
+ "kind": "TypeAlias",
14877
+ "canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastSystemOptions:type",
14878
+ "docComment": "",
14879
+ "excerptTokens": [
14880
+ {
14881
+ "kind": "Content",
14882
+ "text": "export type GlobalDirectionRaycastSystemOptions = "
14883
+ },
14884
+ {
14885
+ "kind": "Content",
14886
+ "text": "{\n direction?: "
14887
+ },
14888
+ {
14889
+ "kind": "Reference",
14890
+ "text": "Vector3",
14891
+ "canonicalReference": "@dcl/playground-assets!PBVector3:interface"
14892
+ },
14893
+ {
14894
+ "kind": "Content",
14895
+ "text": ";\n}"
14896
+ },
14897
+ {
14898
+ "kind": "Content",
14899
+ "text": ";"
14900
+ }
14901
+ ],
14902
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
14903
+ "releaseTag": "Public",
14904
+ "name": "GlobalDirectionRaycastSystemOptions",
14905
+ "typeTokenRange": {
14906
+ "startIndex": 1,
14907
+ "endIndex": 4
14908
+ }
14909
+ },
14839
14910
  {
14840
14911
  "kind": "TypeAlias",
14841
14912
  "canonicalReference": "@dcl/playground-assets!GlobalInputEventResult:type",
@@ -14867,6 +14938,77 @@
14867
14938
  "endIndex": 3
14868
14939
  }
14869
14940
  },
14941
+ {
14942
+ "kind": "TypeAlias",
14943
+ "canonicalReference": "@dcl/playground-assets!GlobalTargetRaycastOptions:type",
14944
+ "docComment": "",
14945
+ "excerptTokens": [
14946
+ {
14947
+ "kind": "Content",
14948
+ "text": "export type GlobalTargetRaycastOptions = "
14949
+ },
14950
+ {
14951
+ "kind": "Reference",
14952
+ "text": "RaycastSystemOptions",
14953
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
14954
+ },
14955
+ {
14956
+ "kind": "Content",
14957
+ "text": " & "
14958
+ },
14959
+ {
14960
+ "kind": "Reference",
14961
+ "text": "GlobalTargetRaycastSystemOptions",
14962
+ "canonicalReference": "@dcl/playground-assets!GlobalTargetRaycastSystemOptions:type"
14963
+ },
14964
+ {
14965
+ "kind": "Content",
14966
+ "text": ";"
14967
+ }
14968
+ ],
14969
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
14970
+ "releaseTag": "Public",
14971
+ "name": "GlobalTargetRaycastOptions",
14972
+ "typeTokenRange": {
14973
+ "startIndex": 1,
14974
+ "endIndex": 4
14975
+ }
14976
+ },
14977
+ {
14978
+ "kind": "TypeAlias",
14979
+ "canonicalReference": "@dcl/playground-assets!GlobalTargetRaycastSystemOptions:type",
14980
+ "docComment": "",
14981
+ "excerptTokens": [
14982
+ {
14983
+ "kind": "Content",
14984
+ "text": "export type GlobalTargetRaycastSystemOptions = "
14985
+ },
14986
+ {
14987
+ "kind": "Content",
14988
+ "text": "{\n target?: "
14989
+ },
14990
+ {
14991
+ "kind": "Reference",
14992
+ "text": "Vector3",
14993
+ "canonicalReference": "@dcl/playground-assets!PBVector3:interface"
14994
+ },
14995
+ {
14996
+ "kind": "Content",
14997
+ "text": ";\n}"
14998
+ },
14999
+ {
15000
+ "kind": "Content",
15001
+ "text": ";"
15002
+ }
15003
+ ],
15004
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
15005
+ "releaseTag": "Public",
15006
+ "name": "GlobalTargetRaycastSystemOptions",
15007
+ "typeTokenRange": {
15008
+ "startIndex": 1,
15009
+ "endIndex": 4
15010
+ }
15011
+ },
14870
15012
  {
14871
15013
  "kind": "Variable",
14872
15014
  "canonicalReference": "@dcl/playground-assets!GltfContainer:var",
@@ -19541,6 +19683,77 @@
19541
19683
  "endIndex": 6
19542
19684
  }
19543
19685
  },
19686
+ {
19687
+ "kind": "TypeAlias",
19688
+ "canonicalReference": "@dcl/playground-assets!LocalDirectionRaycastOptions:type",
19689
+ "docComment": "",
19690
+ "excerptTokens": [
19691
+ {
19692
+ "kind": "Content",
19693
+ "text": "export type LocalDirectionRaycastOptions = "
19694
+ },
19695
+ {
19696
+ "kind": "Reference",
19697
+ "text": "RaycastSystemOptions",
19698
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
19699
+ },
19700
+ {
19701
+ "kind": "Content",
19702
+ "text": " & "
19703
+ },
19704
+ {
19705
+ "kind": "Reference",
19706
+ "text": "LocalDirectionRaycastSystemOptions",
19707
+ "canonicalReference": "@dcl/playground-assets!LocalDirectionRaycastSystemOptions:type"
19708
+ },
19709
+ {
19710
+ "kind": "Content",
19711
+ "text": ";"
19712
+ }
19713
+ ],
19714
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
19715
+ "releaseTag": "Public",
19716
+ "name": "LocalDirectionRaycastOptions",
19717
+ "typeTokenRange": {
19718
+ "startIndex": 1,
19719
+ "endIndex": 4
19720
+ }
19721
+ },
19722
+ {
19723
+ "kind": "TypeAlias",
19724
+ "canonicalReference": "@dcl/playground-assets!LocalDirectionRaycastSystemOptions:type",
19725
+ "docComment": "",
19726
+ "excerptTokens": [
19727
+ {
19728
+ "kind": "Content",
19729
+ "text": "export type LocalDirectionRaycastSystemOptions = "
19730
+ },
19731
+ {
19732
+ "kind": "Content",
19733
+ "text": "{\n direction?: "
19734
+ },
19735
+ {
19736
+ "kind": "Reference",
19737
+ "text": "Vector3",
19738
+ "canonicalReference": "@dcl/playground-assets!PBVector3:interface"
19739
+ },
19740
+ {
19741
+ "kind": "Content",
19742
+ "text": ";\n}"
19743
+ },
19744
+ {
19745
+ "kind": "Content",
19746
+ "text": ";"
19747
+ }
19748
+ ],
19749
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
19750
+ "releaseTag": "Public",
19751
+ "name": "LocalDirectionRaycastSystemOptions",
19752
+ "typeTokenRange": {
19753
+ "startIndex": 1,
19754
+ "endIndex": 4
19755
+ }
19756
+ },
19544
19757
  {
19545
19758
  "kind": "TypeAlias",
19546
19759
  "canonicalReference": "@dcl/playground-assets!LwwComponentGetter:type",
@@ -39348,7 +39561,7 @@
39348
39561
  {
39349
39562
  "kind": "Variable",
39350
39563
  "canonicalReference": "@dcl/playground-assets!pointerEventsSystem:var",
39351
- "docComment": "/**\n * Register callback functions to a particular entity.\n *\n * @public\n */\n",
39564
+ "docComment": "/**\n * Register callback functions to a particular entity on input events.\n *\n * @public\n */\n",
39352
39565
  "excerptTokens": [
39353
39566
  {
39354
39567
  "kind": "Content",
@@ -42632,60 +42845,63 @@
42632
42845
  },
42633
42846
  {
42634
42847
  "kind": "Interface",
42635
- "canonicalReference": "@dcl/playground-assets!ReactBasedUiSystem:interface",
42848
+ "canonicalReference": "@dcl/playground-assets!RaycastSystem:interface",
42636
42849
  "docComment": "/**\n * @public\n */\n",
42637
42850
  "excerptTokens": [
42638
42851
  {
42639
42852
  "kind": "Content",
42640
- "text": "export interface ReactBasedUiSystem "
42853
+ "text": "export interface RaycastSystem "
42641
42854
  }
42642
42855
  ],
42643
- "fileUrlPath": "../react-ecs/dist/system.d.ts",
42856
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
42644
42857
  "releaseTag": "Public",
42645
- "name": "ReactBasedUiSystem",
42858
+ "name": "RaycastSystem",
42646
42859
  "preserveMemberOrder": false,
42647
42860
  "members": [
42648
42861
  {
42649
42862
  "kind": "MethodSignature",
42650
- "canonicalReference": "@dcl/playground-assets!ReactBasedUiSystem#destroy:member(1)",
42651
- "docComment": "",
42863
+ "canonicalReference": "@dcl/playground-assets!RaycastSystem#registerGlobalDirectionRaycast:member(1)",
42864
+ "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 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 * @public\n */\n",
42652
42865
  "excerptTokens": [
42653
42866
  {
42654
42867
  "kind": "Content",
42655
- "text": "destroy(): "
42868
+ "text": "registerGlobalDirectionRaycast(entity: "
42869
+ },
42870
+ {
42871
+ "kind": "Reference",
42872
+ "text": "Entity",
42873
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
42656
42874
  },
42657
42875
  {
42658
42876
  "kind": "Content",
42659
- "text": "void"
42877
+ "text": ", callback: "
42878
+ },
42879
+ {
42880
+ "kind": "Reference",
42881
+ "text": "RaycastSystemCallback",
42882
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
42660
42883
  },
42661
42884
  {
42662
42885
  "kind": "Content",
42663
- "text": ";"
42664
- }
42665
- ],
42666
- "isOptional": false,
42667
- "returnTypeTokenRange": {
42668
- "startIndex": 1,
42669
- "endIndex": 2
42670
- },
42671
- "releaseTag": "Public",
42672
- "overloadIndex": 1,
42673
- "parameters": [],
42674
- "name": "destroy"
42675
- },
42676
- {
42677
- "kind": "MethodSignature",
42678
- "canonicalReference": "@dcl/playground-assets!ReactBasedUiSystem#setUiRenderer:member(1)",
42679
- "docComment": "",
42680
- "excerptTokens": [
42886
+ "text": ", options?: "
42887
+ },
42888
+ {
42889
+ "kind": "Reference",
42890
+ "text": "Partial",
42891
+ "canonicalReference": "!Partial:type"
42892
+ },
42681
42893
  {
42682
42894
  "kind": "Content",
42683
- "text": "setUiRenderer(ui: "
42895
+ "text": "<"
42684
42896
  },
42685
42897
  {
42686
42898
  "kind": "Reference",
42687
- "text": "UiComponent",
42688
- "canonicalReference": "@dcl/playground-assets!UiComponent:type"
42899
+ "text": "GlobalDirectionRaycastOptions",
42900
+ "canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastOptions:type"
42901
+ },
42902
+ {
42903
+ "kind": "Content",
42904
+ "text": ">"
42689
42905
  },
42690
42906
  {
42691
42907
  "kind": "Content",
@@ -42702,37 +42918,582 @@
42702
42918
  ],
42703
42919
  "isOptional": false,
42704
42920
  "returnTypeTokenRange": {
42705
- "startIndex": 3,
42706
- "endIndex": 4
42921
+ "startIndex": 10,
42922
+ "endIndex": 11
42707
42923
  },
42708
42924
  "releaseTag": "Public",
42709
42925
  "overloadIndex": 1,
42710
42926
  "parameters": [
42711
42927
  {
42712
- "parameterName": "ui",
42928
+ "parameterName": "entity",
42713
42929
  "parameterTypeTokenRange": {
42714
42930
  "startIndex": 1,
42715
42931
  "endIndex": 2
42716
42932
  },
42717
42933
  "isOptional": false
42934
+ },
42935
+ {
42936
+ "parameterName": "callback",
42937
+ "parameterTypeTokenRange": {
42938
+ "startIndex": 3,
42939
+ "endIndex": 4
42940
+ },
42941
+ "isOptional": false
42942
+ },
42943
+ {
42944
+ "parameterName": "options",
42945
+ "parameterTypeTokenRange": {
42946
+ "startIndex": 5,
42947
+ "endIndex": 9
42948
+ },
42949
+ "isOptional": true
42718
42950
  }
42719
42951
  ],
42720
- "name": "setUiRenderer"
42721
- }
42722
- ],
42723
- "extendsTokenRanges": []
42724
- },
42725
- {
42726
- "kind": "Namespace",
42727
- "canonicalReference": "@dcl/playground-assets!ReactEcs:namespace",
42728
- "docComment": "/**\n * @public\n */\n",
42729
- "excerptTokens": [
42952
+ "name": "registerGlobalDirectionRaycast"
42953
+ },
42730
42954
  {
42731
- "kind": "Content",
42732
- "text": "export declare namespace ReactEcs "
42733
- }
42734
- ],
42735
- "fileUrlPath": "../react-ecs/dist/react-ecs.d.ts",
42955
+ "kind": "MethodSignature",
42956
+ "canonicalReference": "@dcl/playground-assets!RaycastSystem#registerGlobalTargetRaycast:member(1)",
42957
+ "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 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 * @public\n */\n",
42958
+ "excerptTokens": [
42959
+ {
42960
+ "kind": "Content",
42961
+ "text": "registerGlobalTargetRaycast(entity: "
42962
+ },
42963
+ {
42964
+ "kind": "Reference",
42965
+ "text": "Entity",
42966
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
42967
+ },
42968
+ {
42969
+ "kind": "Content",
42970
+ "text": ", callback: "
42971
+ },
42972
+ {
42973
+ "kind": "Reference",
42974
+ "text": "RaycastSystemCallback",
42975
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
42976
+ },
42977
+ {
42978
+ "kind": "Content",
42979
+ "text": ", options?: "
42980
+ },
42981
+ {
42982
+ "kind": "Reference",
42983
+ "text": "Partial",
42984
+ "canonicalReference": "!Partial:type"
42985
+ },
42986
+ {
42987
+ "kind": "Content",
42988
+ "text": "<"
42989
+ },
42990
+ {
42991
+ "kind": "Reference",
42992
+ "text": "GlobalTargetRaycastOptions",
42993
+ "canonicalReference": "@dcl/playground-assets!GlobalTargetRaycastOptions:type"
42994
+ },
42995
+ {
42996
+ "kind": "Content",
42997
+ "text": ">"
42998
+ },
42999
+ {
43000
+ "kind": "Content",
43001
+ "text": "): "
43002
+ },
43003
+ {
43004
+ "kind": "Content",
43005
+ "text": "void"
43006
+ },
43007
+ {
43008
+ "kind": "Content",
43009
+ "text": ";"
43010
+ }
43011
+ ],
43012
+ "isOptional": false,
43013
+ "returnTypeTokenRange": {
43014
+ "startIndex": 10,
43015
+ "endIndex": 11
43016
+ },
43017
+ "releaseTag": "Public",
43018
+ "overloadIndex": 1,
43019
+ "parameters": [
43020
+ {
43021
+ "parameterName": "entity",
43022
+ "parameterTypeTokenRange": {
43023
+ "startIndex": 1,
43024
+ "endIndex": 2
43025
+ },
43026
+ "isOptional": false
43027
+ },
43028
+ {
43029
+ "parameterName": "callback",
43030
+ "parameterTypeTokenRange": {
43031
+ "startIndex": 3,
43032
+ "endIndex": 4
43033
+ },
43034
+ "isOptional": false
43035
+ },
43036
+ {
43037
+ "parameterName": "options",
43038
+ "parameterTypeTokenRange": {
43039
+ "startIndex": 5,
43040
+ "endIndex": 9
43041
+ },
43042
+ "isOptional": true
43043
+ }
43044
+ ],
43045
+ "name": "registerGlobalTargetRaycast"
43046
+ },
43047
+ {
43048
+ "kind": "MethodSignature",
43049
+ "canonicalReference": "@dcl/playground-assets!RaycastSystem#registerLocalDirectionRaycast:member(1)",
43050
+ "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 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 * @public\n */\n",
43051
+ "excerptTokens": [
43052
+ {
43053
+ "kind": "Content",
43054
+ "text": "registerLocalDirectionRaycast(entity: "
43055
+ },
43056
+ {
43057
+ "kind": "Reference",
43058
+ "text": "Entity",
43059
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
43060
+ },
43061
+ {
43062
+ "kind": "Content",
43063
+ "text": ", callback: "
43064
+ },
43065
+ {
43066
+ "kind": "Reference",
43067
+ "text": "RaycastSystemCallback",
43068
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
43069
+ },
43070
+ {
43071
+ "kind": "Content",
43072
+ "text": ", options?: "
43073
+ },
43074
+ {
43075
+ "kind": "Reference",
43076
+ "text": "Partial",
43077
+ "canonicalReference": "!Partial:type"
43078
+ },
43079
+ {
43080
+ "kind": "Content",
43081
+ "text": "<"
43082
+ },
43083
+ {
43084
+ "kind": "Reference",
43085
+ "text": "LocalDirectionRaycastOptions",
43086
+ "canonicalReference": "@dcl/playground-assets!LocalDirectionRaycastOptions:type"
43087
+ },
43088
+ {
43089
+ "kind": "Content",
43090
+ "text": ">"
43091
+ },
43092
+ {
43093
+ "kind": "Content",
43094
+ "text": "): "
43095
+ },
43096
+ {
43097
+ "kind": "Content",
43098
+ "text": "void"
43099
+ },
43100
+ {
43101
+ "kind": "Content",
43102
+ "text": ";"
43103
+ }
43104
+ ],
43105
+ "isOptional": false,
43106
+ "returnTypeTokenRange": {
43107
+ "startIndex": 10,
43108
+ "endIndex": 11
43109
+ },
43110
+ "releaseTag": "Public",
43111
+ "overloadIndex": 1,
43112
+ "parameters": [
43113
+ {
43114
+ "parameterName": "entity",
43115
+ "parameterTypeTokenRange": {
43116
+ "startIndex": 1,
43117
+ "endIndex": 2
43118
+ },
43119
+ "isOptional": false
43120
+ },
43121
+ {
43122
+ "parameterName": "callback",
43123
+ "parameterTypeTokenRange": {
43124
+ "startIndex": 3,
43125
+ "endIndex": 4
43126
+ },
43127
+ "isOptional": false
43128
+ },
43129
+ {
43130
+ "parameterName": "options",
43131
+ "parameterTypeTokenRange": {
43132
+ "startIndex": 5,
43133
+ "endIndex": 9
43134
+ },
43135
+ "isOptional": true
43136
+ }
43137
+ ],
43138
+ "name": "registerLocalDirectionRaycast"
43139
+ },
43140
+ {
43141
+ "kind": "MethodSignature",
43142
+ "canonicalReference": "@dcl/playground-assets!RaycastSystem#registerTargetEntityRaycast:member(1)",
43143
+ "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 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 * @public\n */\n",
43144
+ "excerptTokens": [
43145
+ {
43146
+ "kind": "Content",
43147
+ "text": "registerTargetEntityRaycast(entity: "
43148
+ },
43149
+ {
43150
+ "kind": "Reference",
43151
+ "text": "Entity",
43152
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
43153
+ },
43154
+ {
43155
+ "kind": "Content",
43156
+ "text": ", callback: "
43157
+ },
43158
+ {
43159
+ "kind": "Reference",
43160
+ "text": "RaycastSystemCallback",
43161
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type"
43162
+ },
43163
+ {
43164
+ "kind": "Content",
43165
+ "text": ", options?: "
43166
+ },
43167
+ {
43168
+ "kind": "Reference",
43169
+ "text": "Partial",
43170
+ "canonicalReference": "!Partial:type"
43171
+ },
43172
+ {
43173
+ "kind": "Content",
43174
+ "text": "<"
43175
+ },
43176
+ {
43177
+ "kind": "Reference",
43178
+ "text": "TargetEntityRaycastOptions",
43179
+ "canonicalReference": "@dcl/playground-assets!TargetEntityRaycastOptions:type"
43180
+ },
43181
+ {
43182
+ "kind": "Content",
43183
+ "text": ">"
43184
+ },
43185
+ {
43186
+ "kind": "Content",
43187
+ "text": "): "
43188
+ },
43189
+ {
43190
+ "kind": "Content",
43191
+ "text": "void"
43192
+ },
43193
+ {
43194
+ "kind": "Content",
43195
+ "text": ";"
43196
+ }
43197
+ ],
43198
+ "isOptional": false,
43199
+ "returnTypeTokenRange": {
43200
+ "startIndex": 10,
43201
+ "endIndex": 11
43202
+ },
43203
+ "releaseTag": "Public",
43204
+ "overloadIndex": 1,
43205
+ "parameters": [
43206
+ {
43207
+ "parameterName": "entity",
43208
+ "parameterTypeTokenRange": {
43209
+ "startIndex": 1,
43210
+ "endIndex": 2
43211
+ },
43212
+ "isOptional": false
43213
+ },
43214
+ {
43215
+ "parameterName": "callback",
43216
+ "parameterTypeTokenRange": {
43217
+ "startIndex": 3,
43218
+ "endIndex": 4
43219
+ },
43220
+ "isOptional": false
43221
+ },
43222
+ {
43223
+ "parameterName": "options",
43224
+ "parameterTypeTokenRange": {
43225
+ "startIndex": 5,
43226
+ "endIndex": 9
43227
+ },
43228
+ "isOptional": true
43229
+ }
43230
+ ],
43231
+ "name": "registerTargetEntityRaycast"
43232
+ },
43233
+ {
43234
+ "kind": "MethodSignature",
43235
+ "canonicalReference": "@dcl/playground-assets!RaycastSystem#removeRaycasterEntity:member(1)",
43236
+ "docComment": "/**\n * Remove the callback for raycast event\n *\n * @param entity - Entity where the callback was attached\n *\n * @public\n */\n",
43237
+ "excerptTokens": [
43238
+ {
43239
+ "kind": "Content",
43240
+ "text": "removeRaycasterEntity(entity: "
43241
+ },
43242
+ {
43243
+ "kind": "Reference",
43244
+ "text": "Entity",
43245
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
43246
+ },
43247
+ {
43248
+ "kind": "Content",
43249
+ "text": "): "
43250
+ },
43251
+ {
43252
+ "kind": "Content",
43253
+ "text": "void"
43254
+ },
43255
+ {
43256
+ "kind": "Content",
43257
+ "text": ";"
43258
+ }
43259
+ ],
43260
+ "isOptional": false,
43261
+ "returnTypeTokenRange": {
43262
+ "startIndex": 3,
43263
+ "endIndex": 4
43264
+ },
43265
+ "releaseTag": "Public",
43266
+ "overloadIndex": 1,
43267
+ "parameters": [
43268
+ {
43269
+ "parameterName": "entity",
43270
+ "parameterTypeTokenRange": {
43271
+ "startIndex": 1,
43272
+ "endIndex": 2
43273
+ },
43274
+ "isOptional": false
43275
+ }
43276
+ ],
43277
+ "name": "removeRaycasterEntity"
43278
+ }
43279
+ ],
43280
+ "extendsTokenRanges": []
43281
+ },
43282
+ {
43283
+ "kind": "Variable",
43284
+ "canonicalReference": "@dcl/playground-assets!raycastSystem:var",
43285
+ "docComment": "/**\n * Register callback functions to a particular entity on raycast results.\n *\n * @public\n */\n",
43286
+ "excerptTokens": [
43287
+ {
43288
+ "kind": "Content",
43289
+ "text": "raycastSystem: "
43290
+ },
43291
+ {
43292
+ "kind": "Reference",
43293
+ "text": "RaycastSystem",
43294
+ "canonicalReference": "@dcl/playground-assets!RaycastSystem:interface"
43295
+ }
43296
+ ],
43297
+ "fileUrlPath": "../ecs/dist/runtime/initialization/index.d.ts",
43298
+ "isReadonly": true,
43299
+ "releaseTag": "Public",
43300
+ "name": "raycastSystem",
43301
+ "variableTypeTokenRange": {
43302
+ "startIndex": 1,
43303
+ "endIndex": 2
43304
+ }
43305
+ },
43306
+ {
43307
+ "kind": "TypeAlias",
43308
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemCallback:type",
43309
+ "docComment": "/**\n * @public\n */\n",
43310
+ "excerptTokens": [
43311
+ {
43312
+ "kind": "Content",
43313
+ "text": "export type RaycastSystemCallback = "
43314
+ },
43315
+ {
43316
+ "kind": "Content",
43317
+ "text": "(event: "
43318
+ },
43319
+ {
43320
+ "kind": "Reference",
43321
+ "text": "DeepReadonlyObject",
43322
+ "canonicalReference": "@dcl/playground-assets!DeepReadonlyObject:type"
43323
+ },
43324
+ {
43325
+ "kind": "Content",
43326
+ "text": "<"
43327
+ },
43328
+ {
43329
+ "kind": "Reference",
43330
+ "text": "PBRaycastResult",
43331
+ "canonicalReference": "@dcl/playground-assets!PBRaycastResult:interface"
43332
+ },
43333
+ {
43334
+ "kind": "Content",
43335
+ "text": ">) => void"
43336
+ },
43337
+ {
43338
+ "kind": "Content",
43339
+ "text": ";"
43340
+ }
43341
+ ],
43342
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
43343
+ "releaseTag": "Public",
43344
+ "name": "RaycastSystemCallback",
43345
+ "typeTokenRange": {
43346
+ "startIndex": 1,
43347
+ "endIndex": 6
43348
+ }
43349
+ },
43350
+ {
43351
+ "kind": "TypeAlias",
43352
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type",
43353
+ "docComment": "/**\n * @public\n */\n",
43354
+ "excerptTokens": [
43355
+ {
43356
+ "kind": "Content",
43357
+ "text": "export type RaycastSystemOptions = "
43358
+ },
43359
+ {
43360
+ "kind": "Content",
43361
+ "text": "{\n originOffset?: "
43362
+ },
43363
+ {
43364
+ "kind": "Reference",
43365
+ "text": "Vector3",
43366
+ "canonicalReference": "@dcl/playground-assets!PBVector3:interface"
43367
+ },
43368
+ {
43369
+ "kind": "Content",
43370
+ "text": " | undefined;\n maxDistance: number;\n queryType: "
43371
+ },
43372
+ {
43373
+ "kind": "Reference",
43374
+ "text": "RaycastQueryType",
43375
+ "canonicalReference": "@dcl/playground-assets!RaycastQueryType:enum"
43376
+ },
43377
+ {
43378
+ "kind": "Content",
43379
+ "text": ";\n continuous?: boolean | undefined;\n collisionMask?: number | undefined;\n}"
43380
+ },
43381
+ {
43382
+ "kind": "Content",
43383
+ "text": ";"
43384
+ }
43385
+ ],
43386
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
43387
+ "releaseTag": "Public",
43388
+ "name": "RaycastSystemOptions",
43389
+ "typeTokenRange": {
43390
+ "startIndex": 1,
43391
+ "endIndex": 6
43392
+ }
43393
+ },
43394
+ {
43395
+ "kind": "Interface",
43396
+ "canonicalReference": "@dcl/playground-assets!ReactBasedUiSystem:interface",
43397
+ "docComment": "/**\n * @public\n */\n",
43398
+ "excerptTokens": [
43399
+ {
43400
+ "kind": "Content",
43401
+ "text": "export interface ReactBasedUiSystem "
43402
+ }
43403
+ ],
43404
+ "fileUrlPath": "../react-ecs/dist/system.d.ts",
43405
+ "releaseTag": "Public",
43406
+ "name": "ReactBasedUiSystem",
43407
+ "preserveMemberOrder": false,
43408
+ "members": [
43409
+ {
43410
+ "kind": "MethodSignature",
43411
+ "canonicalReference": "@dcl/playground-assets!ReactBasedUiSystem#destroy:member(1)",
43412
+ "docComment": "",
43413
+ "excerptTokens": [
43414
+ {
43415
+ "kind": "Content",
43416
+ "text": "destroy(): "
43417
+ },
43418
+ {
43419
+ "kind": "Content",
43420
+ "text": "void"
43421
+ },
43422
+ {
43423
+ "kind": "Content",
43424
+ "text": ";"
43425
+ }
43426
+ ],
43427
+ "isOptional": false,
43428
+ "returnTypeTokenRange": {
43429
+ "startIndex": 1,
43430
+ "endIndex": 2
43431
+ },
43432
+ "releaseTag": "Public",
43433
+ "overloadIndex": 1,
43434
+ "parameters": [],
43435
+ "name": "destroy"
43436
+ },
43437
+ {
43438
+ "kind": "MethodSignature",
43439
+ "canonicalReference": "@dcl/playground-assets!ReactBasedUiSystem#setUiRenderer:member(1)",
43440
+ "docComment": "",
43441
+ "excerptTokens": [
43442
+ {
43443
+ "kind": "Content",
43444
+ "text": "setUiRenderer(ui: "
43445
+ },
43446
+ {
43447
+ "kind": "Reference",
43448
+ "text": "UiComponent",
43449
+ "canonicalReference": "@dcl/playground-assets!UiComponent:type"
43450
+ },
43451
+ {
43452
+ "kind": "Content",
43453
+ "text": "): "
43454
+ },
43455
+ {
43456
+ "kind": "Content",
43457
+ "text": "void"
43458
+ },
43459
+ {
43460
+ "kind": "Content",
43461
+ "text": ";"
43462
+ }
43463
+ ],
43464
+ "isOptional": false,
43465
+ "returnTypeTokenRange": {
43466
+ "startIndex": 3,
43467
+ "endIndex": 4
43468
+ },
43469
+ "releaseTag": "Public",
43470
+ "overloadIndex": 1,
43471
+ "parameters": [
43472
+ {
43473
+ "parameterName": "ui",
43474
+ "parameterTypeTokenRange": {
43475
+ "startIndex": 1,
43476
+ "endIndex": 2
43477
+ },
43478
+ "isOptional": false
43479
+ }
43480
+ ],
43481
+ "name": "setUiRenderer"
43482
+ }
43483
+ ],
43484
+ "extendsTokenRanges": []
43485
+ },
43486
+ {
43487
+ "kind": "Namespace",
43488
+ "canonicalReference": "@dcl/playground-assets!ReactEcs:namespace",
43489
+ "docComment": "/**\n * @public\n */\n",
43490
+ "excerptTokens": [
43491
+ {
43492
+ "kind": "Content",
43493
+ "text": "export declare namespace ReactEcs "
43494
+ }
43495
+ ],
43496
+ "fileUrlPath": "../react-ecs/dist/react-ecs.d.ts",
42736
43497
  "releaseTag": "Public",
42737
43498
  "name": "ReactEcs",
42738
43499
  "preserveMemberOrder": false,
@@ -45590,6 +46351,68 @@
45590
46351
  "endIndex": 4
45591
46352
  }
45592
46353
  },
46354
+ {
46355
+ "kind": "TypeAlias",
46356
+ "canonicalReference": "@dcl/playground-assets!TargetEntityRaycastOptions:type",
46357
+ "docComment": "",
46358
+ "excerptTokens": [
46359
+ {
46360
+ "kind": "Content",
46361
+ "text": "export type TargetEntityRaycastOptions = "
46362
+ },
46363
+ {
46364
+ "kind": "Reference",
46365
+ "text": "RaycastSystemOptions",
46366
+ "canonicalReference": "@dcl/playground-assets!RaycastSystemOptions:type"
46367
+ },
46368
+ {
46369
+ "kind": "Content",
46370
+ "text": " & "
46371
+ },
46372
+ {
46373
+ "kind": "Reference",
46374
+ "text": "TargetEntityRaycastSystemOptions",
46375
+ "canonicalReference": "@dcl/playground-assets!TargetEntityRaycastSystemOptions:type"
46376
+ },
46377
+ {
46378
+ "kind": "Content",
46379
+ "text": ";"
46380
+ }
46381
+ ],
46382
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
46383
+ "releaseTag": "Public",
46384
+ "name": "TargetEntityRaycastOptions",
46385
+ "typeTokenRange": {
46386
+ "startIndex": 1,
46387
+ "endIndex": 4
46388
+ }
46389
+ },
46390
+ {
46391
+ "kind": "TypeAlias",
46392
+ "canonicalReference": "@dcl/playground-assets!TargetEntityRaycastSystemOptions:type",
46393
+ "docComment": "",
46394
+ "excerptTokens": [
46395
+ {
46396
+ "kind": "Content",
46397
+ "text": "export type TargetEntityRaycastSystemOptions = "
46398
+ },
46399
+ {
46400
+ "kind": "Content",
46401
+ "text": "{\n targetEntity?: number;\n}"
46402
+ },
46403
+ {
46404
+ "kind": "Content",
46405
+ "text": ";"
46406
+ }
46407
+ ],
46408
+ "fileUrlPath": "../ecs/dist/systems/raycast.d.ts",
46409
+ "releaseTag": "Public",
46410
+ "name": "TargetEntityRaycastSystemOptions",
46411
+ "typeTokenRange": {
46412
+ "startIndex": 1,
46413
+ "endIndex": 2
46414
+ }
46415
+ },
45593
46416
  {
45594
46417
  "kind": "TypeAlias",
45595
46418
  "canonicalReference": "@dcl/playground-assets!Task:type",