@dcl/playground-assets 7.6.4 → 7.6.5-11672040830.commit-680459b

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.
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.6.4",
4
+ "version": "7.6.5-11672040830.commit-680459b",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
8
- "@dcl/ecs-math": "2.0.2",
8
+ "@dcl/ecs-math": "2.1.0",
9
9
  "@dcl/explorer": "1.0.164509-20240802172549.commit-fb95b9b",
10
10
  "@dcl/js-runtime": "file:../js-runtime",
11
11
  "@dcl/react-ecs": "file:../react-ecs",
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "types": "./index.d.ts",
37
37
  "typings": "./index.d.ts",
38
- "commit": "48941ef221bcf9900694421bf7f0d037e74cd2ac"
38
+ "commit": "680459b70e094fd92c59c9f041546792d160056d"
39
39
  }
@@ -1957,6 +1957,7 @@ export declare type EventSystemOptions = {
1957
1957
  hoverText?: string;
1958
1958
  maxDistance?: number;
1959
1959
  showFeedback?: boolean;
1960
+ showHighlight?: boolean;
1960
1961
  };
1961
1962
 
1962
1963
  /**
@@ -2025,6 +2026,8 @@ export declare function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEnti
2025
2026
  */
2026
2027
  export declare function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
2027
2028
 
2029
+ export declare const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystemOptions;
2030
+
2028
2031
  export declare type GlobalDirectionRaycastOptions = RaycastSystemOptions & GlobalDirectionRaycastSystemOptions;
2029
2032
 
2030
2033
  export declare type GlobalDirectionRaycastSystemOptions = {
@@ -4925,8 +4928,10 @@ export declare interface PBPointerEvents_Info {
4925
4928
  hoverText?: string | undefined;
4926
4929
  /** range of interaction (default 10) */
4927
4930
  maxDistance?: number | undefined;
4928
- /** enable or disable hover text (default true) */
4931
+ /** enable or disable hover text and highlight (default true) */
4929
4932
  showFeedback?: boolean | undefined;
4933
+ /** enable or disable hover highlight (default true) */
4934
+ showHighlight?: boolean | undefined;
4930
4935
  }
4931
4936
 
4932
4937
  /**
@@ -7408,6 +7413,93 @@ export declare type ValueSetOptions<T> = {
7408
7413
  maxElements: number;
7409
7414
  };
7410
7415
 
7416
+ /**
7417
+ * @public
7418
+ * Vector2 is a type and a namespace.
7419
+ * - The namespace contains all types and functions to operates with Vector2
7420
+ * - The type Vector2 is an alias to Vector2.ReadonlyVector2
7421
+ * ```
7422
+ *
7423
+ * // Namespace usage example
7424
+ * const next = Vector2.add(pointA, velocityA) // add function not implemented yet
7425
+ *
7426
+ * // Type usage example
7427
+ * const readonlyPosition: Vector2 = Vector2.Zero()
7428
+ * readonlyPosition.x = 0.1 // this FAILS
7429
+ *
7430
+ * // For mutable usage, use `Vector2.Mutable`
7431
+ * const position: Vector2.Mutable = Vector2.One()
7432
+ * position.x = 3.0 // this WORKS
7433
+ * ```
7434
+ */
7435
+ export declare type Vector2 = Vector2.ReadonlyVector2;
7436
+
7437
+ /**
7438
+ * @public
7439
+ * Vector2 is a type and a namespace.
7440
+ * ```
7441
+ * // The namespace contains all types and functions to operates with Vector2
7442
+ * const next = Vector2.add(pointA, velocityA) // add function not implemented yet
7443
+ * // The type Vector2 is an alias to Vector2.ReadonlyVector2
7444
+ * const readonlyPosition: Vector2 = Vector2.Zero()
7445
+ * readonlyPosition.x = 0.1 // this FAILS
7446
+ *
7447
+ * // For mutable usage, use `Vector2.Mutable`
7448
+ * const position: Vector2.Mutable = Vector2.One()
7449
+ * position.x = 3.0 // this WORKS
7450
+ * ```
7451
+ */
7452
+ export declare namespace Vector2 {
7453
+ /**
7454
+ * @public
7455
+ * For external use, type with `Vector2`, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`.
7456
+ * For mutable typing, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.
7457
+ */
7458
+ export type ReadonlyVector2 = {
7459
+ readonly x: number;
7460
+ readonly y: number;
7461
+ };
7462
+ /**
7463
+ * @public
7464
+ * For external usage, type with `Vector2`, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`.
7465
+ * For mutable typing, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.
7466
+ */
7467
+ export type MutableVector2 = {
7468
+ x: number;
7469
+ y: number;
7470
+ };
7471
+ /**
7472
+ * @public
7473
+ * Type with `Vector2` for readonly usage, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`.
7474
+ * For mutable, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.
7475
+ */
7476
+ export type Mutable = MutableVector2;
7477
+ /**
7478
+ * Creates a new Vector2 object from the given x, y (floats) coordinates.
7479
+ * @param x - defines the first coordinates (on X axis)
7480
+ * @param y - defines the second coordinates (on Y axis)
7481
+ */
7482
+ export function create(
7483
+ /**
7484
+ * Defines the first coordinates (on X axis)
7485
+ */
7486
+ x?: number,
7487
+ /**
7488
+ * Defines the second coordinates (on Y axis)
7489
+ */
7490
+ y?: number): MutableVector2;
7491
+ /**
7492
+ * Returns a new Vector2 set to (0.0, 0.0)
7493
+ * @returns a new empty Vector2
7494
+ */
7495
+ export function Zero(): MutableVector2;
7496
+ /**
7497
+ * Returns a new Vector2 set to (1.0, 1.0)
7498
+ * @returns a new unit Vector2
7499
+ */
7500
+ export function One(): MutableVector2;
7501
+ }
7502
+
7411
7503
  /**
7412
7504
  * @public
7413
7505
  * Vector3 is a type and a namespace.
@@ -7503,21 +7595,24 @@ export declare namespace Vector3 {
7503
7595
  */
7504
7596
  export function add(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
7505
7597
  /**
7506
- * Add component by component the vector2 into dest
7507
- * @param dest - the first vector and destination of addition
7508
- * @param vector2 - the second vector
7598
+ * Performs addition between vectorA and vectorB and stores the result into result
7599
+ * @param vectorA - the first vector for the addition operation
7600
+ * @param vectorB - the second vector for the addition operation
7601
+ * @param result - the vector where the result of the addition is stored
7509
7602
  */
7510
- export function addToRef(vector1: ReadonlyVector3, vector2: ReadonlyVector3, result: MutableVector3): void;
7603
+ export function addToRef(vectorA: ReadonlyVector3, vectorB: ReadonlyVector3, result: MutableVector3): void;
7511
7604
  /**
7512
7605
  * Returns a new Vector3 as the result of the substraction of the two given vectors.
7513
7606
  * @returns the resulting vector
7514
7607
  */
7515
7608
  export function subtract(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
7516
7609
  /**
7517
- * Returns a new Vector3 as the result of the substraction of the two given vectors.
7518
- * @returns the resulting vector
7610
+ * Performs substraction between vectorA and vectorB and stores the result into result
7611
+ * @param vectorA - the first vector for the substraction operation
7612
+ * @param vectorB - the second vector for the substraction operation
7613
+ * @param result - the vector where the result of the substraction is stored
7519
7614
  */
7520
- export function subtractToRef(vector1: ReadonlyVector3, vector2: ReadonlyVector3, result: MutableVector3): void;
7615
+ export function subtractToRef(vectorA: ReadonlyVector3, vectorB: ReadonlyVector3, result: MutableVector3): void;
7521
7616
  /**
7522
7617
  * Subtracts the given floats from the current Vector3 coordinates and set the given vector "result" with this result
7523
7618
  * @param x - defines the x coordinate of the operand
@@ -18961,7 +18961,7 @@
18961
18961
  },
18962
18962
  {
18963
18963
  "kind": "Content",
18964
- "text": ";\n hoverText?: string;\n maxDistance?: number;\n showFeedback?: boolean;\n}"
18964
+ "text": ";\n hoverText?: string;\n maxDistance?: number;\n showFeedback?: boolean;\n showHighlight?: boolean;\n}"
18965
18965
  },
18966
18966
  {
18967
18967
  "kind": "Content",
@@ -19412,6 +19412,62 @@
19412
19412
  ],
19413
19413
  "name": "getCompositeRootComponent"
19414
19414
  },
19415
+ {
19416
+ "kind": "Function",
19417
+ "canonicalReference": "@dcl/playground-assets!getDefaultOpts:function(1)",
19418
+ "docComment": "",
19419
+ "excerptTokens": [
19420
+ {
19421
+ "kind": "Content",
19422
+ "text": "getDefaultOpts: (opts?: "
19423
+ },
19424
+ {
19425
+ "kind": "Reference",
19426
+ "text": "Partial",
19427
+ "canonicalReference": "!Partial:type"
19428
+ },
19429
+ {
19430
+ "kind": "Content",
19431
+ "text": "<"
19432
+ },
19433
+ {
19434
+ "kind": "Reference",
19435
+ "text": "EventSystemOptions",
19436
+ "canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
19437
+ },
19438
+ {
19439
+ "kind": "Content",
19440
+ "text": ">"
19441
+ },
19442
+ {
19443
+ "kind": "Content",
19444
+ "text": ") => "
19445
+ },
19446
+ {
19447
+ "kind": "Reference",
19448
+ "text": "EventSystemOptions",
19449
+ "canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
19450
+ }
19451
+ ],
19452
+ "fileUrlPath": "../ecs/dist/systems/events.d.ts",
19453
+ "returnTypeTokenRange": {
19454
+ "startIndex": 6,
19455
+ "endIndex": 7
19456
+ },
19457
+ "releaseTag": "Public",
19458
+ "overloadIndex": 1,
19459
+ "parameters": [
19460
+ {
19461
+ "parameterName": "opts",
19462
+ "parameterTypeTokenRange": {
19463
+ "startIndex": 1,
19464
+ "endIndex": 5
19465
+ },
19466
+ "isOptional": true
19467
+ }
19468
+ ],
19469
+ "name": "getDefaultOpts"
19470
+ },
19415
19471
  {
19416
19472
  "kind": "TypeAlias",
19417
19473
  "canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastOptions:type",
@@ -45576,7 +45632,7 @@
45576
45632
  {
45577
45633
  "kind": "PropertySignature",
45578
45634
  "canonicalReference": "@dcl/playground-assets!PBPointerEvents_Info#showFeedback:member",
45579
- "docComment": "/**\n * enable or disable hover text (default true)\n */\n",
45635
+ "docComment": "/**\n * enable or disable hover text and highlight (default true)\n */\n",
45580
45636
  "excerptTokens": [
45581
45637
  {
45582
45638
  "kind": "Content",
@@ -45599,6 +45655,33 @@
45599
45655
  "startIndex": 1,
45600
45656
  "endIndex": 2
45601
45657
  }
45658
+ },
45659
+ {
45660
+ "kind": "PropertySignature",
45661
+ "canonicalReference": "@dcl/playground-assets!PBPointerEvents_Info#showHighlight:member",
45662
+ "docComment": "/**\n * enable or disable hover highlight (default true)\n */\n",
45663
+ "excerptTokens": [
45664
+ {
45665
+ "kind": "Content",
45666
+ "text": "showHighlight?: "
45667
+ },
45668
+ {
45669
+ "kind": "Content",
45670
+ "text": "boolean | undefined"
45671
+ },
45672
+ {
45673
+ "kind": "Content",
45674
+ "text": ";"
45675
+ }
45676
+ ],
45677
+ "isReadonly": false,
45678
+ "isOptional": true,
45679
+ "releaseTag": "Public",
45680
+ "name": "showHighlight",
45681
+ "propertyTypeTokenRange": {
45682
+ "startIndex": 1,
45683
+ "endIndex": 2
45684
+ }
45602
45685
  }
45603
45686
  ],
45604
45687
  "extendsTokenRanges": []
@@ -70760,6 +70843,243 @@
70760
70843
  "endIndex": 4
70761
70844
  }
70762
70845
  },
70846
+ {
70847
+ "kind": "Namespace",
70848
+ "canonicalReference": "@dcl/playground-assets!Vector2:namespace",
70849
+ "docComment": "/**\n * Vector2 is a type and a namespace.\n * ```\n * // The namespace contains all types and functions to operates with Vector2\n * const next = Vector2.add(pointA, velocityA) // add function not implemented yet\n * // The type Vector2 is an alias to Vector2.ReadonlyVector2\n * const readonlyPosition: Vector2 = Vector2.Zero()\n * readonlyPosition.x = 0.1 // this FAILS\n *\n * // For mutable usage, use `Vector2.Mutable`\n * const position: Vector2.Mutable = Vector2.One()\n * position.x = 3.0 // this WORKS\n * ```\n *\n * @public\n */\n",
70850
+ "excerptTokens": [
70851
+ {
70852
+ "kind": "Content",
70853
+ "text": "export declare namespace Vector2 "
70854
+ }
70855
+ ],
70856
+ "fileUrlPath": "../sdk/node_modules/@dcl/ecs-math/dist/Vector2.d.ts",
70857
+ "releaseTag": "Public",
70858
+ "name": "Vector2",
70859
+ "preserveMemberOrder": false,
70860
+ "members": [
70861
+ {
70862
+ "kind": "Function",
70863
+ "canonicalReference": "@dcl/playground-assets!Vector2.create:function(1)",
70864
+ "docComment": "/**\n * Creates a new Vector2 object from the given x, y (floats) coordinates.\n *\n * @param x - defines the first coordinates (on X axis)\n *\n * @param y - defines the second coordinates (on Y axis)\n */\n",
70865
+ "excerptTokens": [
70866
+ {
70867
+ "kind": "Content",
70868
+ "text": "function create(\n x?: "
70869
+ },
70870
+ {
70871
+ "kind": "Content",
70872
+ "text": "number"
70873
+ },
70874
+ {
70875
+ "kind": "Content",
70876
+ "text": ", \n y?: "
70877
+ },
70878
+ {
70879
+ "kind": "Content",
70880
+ "text": "number"
70881
+ },
70882
+ {
70883
+ "kind": "Content",
70884
+ "text": "): "
70885
+ },
70886
+ {
70887
+ "kind": "Reference",
70888
+ "text": "MutableVector2",
70889
+ "canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type"
70890
+ },
70891
+ {
70892
+ "kind": "Content",
70893
+ "text": ";"
70894
+ }
70895
+ ],
70896
+ "returnTypeTokenRange": {
70897
+ "startIndex": 5,
70898
+ "endIndex": 6
70899
+ },
70900
+ "releaseTag": "Public",
70901
+ "overloadIndex": 1,
70902
+ "parameters": [
70903
+ {
70904
+ "parameterName": "x",
70905
+ "parameterTypeTokenRange": {
70906
+ "startIndex": 1,
70907
+ "endIndex": 2
70908
+ },
70909
+ "isOptional": true
70910
+ },
70911
+ {
70912
+ "parameterName": "y",
70913
+ "parameterTypeTokenRange": {
70914
+ "startIndex": 3,
70915
+ "endIndex": 4
70916
+ },
70917
+ "isOptional": true
70918
+ }
70919
+ ],
70920
+ "name": "create"
70921
+ },
70922
+ {
70923
+ "kind": "TypeAlias",
70924
+ "canonicalReference": "@dcl/playground-assets!Vector2.Mutable:type",
70925
+ "docComment": "/**\n * Type with `Vector2` for readonly usage, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`. For mutable, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.\n *\n * @public\n */\n",
70926
+ "excerptTokens": [
70927
+ {
70928
+ "kind": "Content",
70929
+ "text": "type Mutable = "
70930
+ },
70931
+ {
70932
+ "kind": "Reference",
70933
+ "text": "MutableVector2",
70934
+ "canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type"
70935
+ },
70936
+ {
70937
+ "kind": "Content",
70938
+ "text": ";"
70939
+ }
70940
+ ],
70941
+ "releaseTag": "Public",
70942
+ "name": "Mutable",
70943
+ "typeTokenRange": {
70944
+ "startIndex": 1,
70945
+ "endIndex": 2
70946
+ }
70947
+ },
70948
+ {
70949
+ "kind": "TypeAlias",
70950
+ "canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type",
70951
+ "docComment": "/**\n * For external usage, type with `Vector2`, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`. For mutable typing, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.\n *\n * @public\n */\n",
70952
+ "excerptTokens": [
70953
+ {
70954
+ "kind": "Content",
70955
+ "text": "type MutableVector2 = "
70956
+ },
70957
+ {
70958
+ "kind": "Content",
70959
+ "text": "{\n x: number;\n y: number;\n }"
70960
+ },
70961
+ {
70962
+ "kind": "Content",
70963
+ "text": ";"
70964
+ }
70965
+ ],
70966
+ "releaseTag": "Public",
70967
+ "name": "MutableVector2",
70968
+ "typeTokenRange": {
70969
+ "startIndex": 1,
70970
+ "endIndex": 2
70971
+ }
70972
+ },
70973
+ {
70974
+ "kind": "Function",
70975
+ "canonicalReference": "@dcl/playground-assets!Vector2.One:function(1)",
70976
+ "docComment": "/**\n * Returns a new Vector2 set to (1.0, 1.0)\n *\n * @returns a new unit Vector2\n */\n",
70977
+ "excerptTokens": [
70978
+ {
70979
+ "kind": "Content",
70980
+ "text": "function One(): "
70981
+ },
70982
+ {
70983
+ "kind": "Reference",
70984
+ "text": "MutableVector2",
70985
+ "canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type"
70986
+ },
70987
+ {
70988
+ "kind": "Content",
70989
+ "text": ";"
70990
+ }
70991
+ ],
70992
+ "returnTypeTokenRange": {
70993
+ "startIndex": 1,
70994
+ "endIndex": 2
70995
+ },
70996
+ "releaseTag": "Public",
70997
+ "overloadIndex": 1,
70998
+ "parameters": [],
70999
+ "name": "One"
71000
+ },
71001
+ {
71002
+ "kind": "TypeAlias",
71003
+ "canonicalReference": "@dcl/playground-assets!Vector2.ReadonlyVector2:type",
71004
+ "docComment": "/**\n * For external use, type with `Vector2`, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`. For mutable typing, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.\n *\n * @public\n */\n",
71005
+ "excerptTokens": [
71006
+ {
71007
+ "kind": "Content",
71008
+ "text": "type ReadonlyVector2 = "
71009
+ },
71010
+ {
71011
+ "kind": "Content",
71012
+ "text": "{\n readonly x: number;\n readonly y: number;\n }"
71013
+ },
71014
+ {
71015
+ "kind": "Content",
71016
+ "text": ";"
71017
+ }
71018
+ ],
71019
+ "releaseTag": "Public",
71020
+ "name": "ReadonlyVector2",
71021
+ "typeTokenRange": {
71022
+ "startIndex": 1,
71023
+ "endIndex": 2
71024
+ }
71025
+ },
71026
+ {
71027
+ "kind": "Function",
71028
+ "canonicalReference": "@dcl/playground-assets!Vector2.Zero:function(1)",
71029
+ "docComment": "/**\n * Returns a new Vector2 set to (0.0, 0.0)\n *\n * @returns a new empty Vector2\n */\n",
71030
+ "excerptTokens": [
71031
+ {
71032
+ "kind": "Content",
71033
+ "text": "function Zero(): "
71034
+ },
71035
+ {
71036
+ "kind": "Reference",
71037
+ "text": "MutableVector2",
71038
+ "canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type"
71039
+ },
71040
+ {
71041
+ "kind": "Content",
71042
+ "text": ";"
71043
+ }
71044
+ ],
71045
+ "returnTypeTokenRange": {
71046
+ "startIndex": 1,
71047
+ "endIndex": 2
71048
+ },
71049
+ "releaseTag": "Public",
71050
+ "overloadIndex": 1,
71051
+ "parameters": [],
71052
+ "name": "Zero"
71053
+ }
71054
+ ]
71055
+ },
71056
+ {
71057
+ "kind": "TypeAlias",
71058
+ "canonicalReference": "@dcl/playground-assets!Vector2:type",
71059
+ "docComment": "/**\n * Vector2 is a type and a namespace. - The namespace contains all types and functions to operates with Vector2 - The type Vector2 is an alias to Vector2.ReadonlyVector2\n * ```\n *\n * // Namespace usage example\n * const next = Vector2.add(pointA, velocityA) // add function not implemented yet\n *\n * // Type usage example\n * const readonlyPosition: Vector2 = Vector2.Zero()\n * readonlyPosition.x = 0.1 // this FAILS\n *\n * // For mutable usage, use `Vector2.Mutable`\n * const position: Vector2.Mutable = Vector2.One()\n * position.x = 3.0 // this WORKS\n * ```\n *\n * @public\n */\n",
71060
+ "excerptTokens": [
71061
+ {
71062
+ "kind": "Content",
71063
+ "text": "export declare type Vector2 = "
71064
+ },
71065
+ {
71066
+ "kind": "Reference",
71067
+ "text": "Vector2.ReadonlyVector2",
71068
+ "canonicalReference": "@dcl/playground-assets!Vector2.ReadonlyVector2:type"
71069
+ },
71070
+ {
71071
+ "kind": "Content",
71072
+ "text": ";"
71073
+ }
71074
+ ],
71075
+ "fileUrlPath": "../sdk/node_modules/@dcl/ecs-math/dist/Vector2.d.ts",
71076
+ "releaseTag": "Public",
71077
+ "name": "Vector2",
71078
+ "typeTokenRange": {
71079
+ "startIndex": 1,
71080
+ "endIndex": 2
71081
+ }
71082
+ },
70763
71083
  {
70764
71084
  "kind": "Namespace",
70765
71085
  "canonicalReference": "@dcl/playground-assets!Vector3:namespace",
@@ -70841,11 +71161,11 @@
70841
71161
  {
70842
71162
  "kind": "Function",
70843
71163
  "canonicalReference": "@dcl/playground-assets!Vector3.addToRef:function(1)",
70844
- "docComment": "/**\n * Add component by component the vector2 into dest\n *\n * @param dest - the first vector and destination of addition\n *\n * @param vector2 - the second vector\n */\n",
71164
+ "docComment": "/**\n * Performs addition between vectorA and vectorB and stores the result into result\n *\n * @param vectorA - the first vector for the addition operation\n *\n * @param vectorB - the second vector for the addition operation\n *\n * @param result - the vector where the result of the addition is stored\n */\n",
70845
71165
  "excerptTokens": [
70846
71166
  {
70847
71167
  "kind": "Content",
70848
- "text": "function addToRef(vector1: "
71168
+ "text": "function addToRef(vectorA: "
70849
71169
  },
70850
71170
  {
70851
71171
  "kind": "Reference",
@@ -70854,7 +71174,7 @@
70854
71174
  },
70855
71175
  {
70856
71176
  "kind": "Content",
70857
- "text": ", vector2: "
71177
+ "text": ", vectorB: "
70858
71178
  },
70859
71179
  {
70860
71180
  "kind": "Reference",
@@ -70891,7 +71211,7 @@
70891
71211
  "overloadIndex": 1,
70892
71212
  "parameters": [
70893
71213
  {
70894
- "parameterName": "vector1",
71214
+ "parameterName": "vectorA",
70895
71215
  "parameterTypeTokenRange": {
70896
71216
  "startIndex": 1,
70897
71217
  "endIndex": 2
@@ -70899,7 +71219,7 @@
70899
71219
  "isOptional": false
70900
71220
  },
70901
71221
  {
70902
- "parameterName": "vector2",
71222
+ "parameterName": "vectorB",
70903
71223
  "parameterTypeTokenRange": {
70904
71224
  "startIndex": 3,
70905
71225
  "endIndex": 4
@@ -75296,11 +75616,11 @@
75296
75616
  {
75297
75617
  "kind": "Function",
75298
75618
  "canonicalReference": "@dcl/playground-assets!Vector3.subtractToRef:function(1)",
75299
- "docComment": "/**\n * Returns a new Vector3 as the result of the substraction of the two given vectors.\n *\n * @returns the resulting vector\n */\n",
75619
+ "docComment": "/**\n * Performs substraction between vectorA and vectorB and stores the result into result\n *\n * @param vectorA - the first vector for the substraction operation\n *\n * @param vectorB - the second vector for the substraction operation\n *\n * @param result - the vector where the result of the substraction is stored\n */\n",
75300
75620
  "excerptTokens": [
75301
75621
  {
75302
75622
  "kind": "Content",
75303
- "text": "function subtractToRef(vector1: "
75623
+ "text": "function subtractToRef(vectorA: "
75304
75624
  },
75305
75625
  {
75306
75626
  "kind": "Reference",
@@ -75309,7 +75629,7 @@
75309
75629
  },
75310
75630
  {
75311
75631
  "kind": "Content",
75312
- "text": ", vector2: "
75632
+ "text": ", vectorB: "
75313
75633
  },
75314
75634
  {
75315
75635
  "kind": "Reference",
@@ -75346,7 +75666,7 @@
75346
75666
  "overloadIndex": 1,
75347
75667
  "parameters": [
75348
75668
  {
75349
- "parameterName": "vector1",
75669
+ "parameterName": "vectorA",
75350
75670
  "parameterTypeTokenRange": {
75351
75671
  "startIndex": 1,
75352
75672
  "endIndex": 2
@@ -75354,7 +75674,7 @@
75354
75674
  "isOptional": false
75355
75675
  },
75356
75676
  {
75357
- "parameterName": "vector2",
75677
+ "parameterName": "vectorB",
75358
75678
  "parameterTypeTokenRange": {
75359
75679
  "startIndex": 3,
75360
75680
  "endIndex": 4