@dcl/sdk 7.0.0-3015711272.commit-6716e5a → 7.0.0-3040253589.commit-8782388

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.
@@ -0,0 +1,19 @@
1
+ syntax = "proto3";
2
+
3
+ import "common/id.proto";
4
+ option (ecs_component_id) = 1067;
5
+
6
+ import "common/Vector3.proto";
7
+
8
+ enum RaycastQueryType {
9
+ HIT_FIRST = 0;
10
+ QUERY_ALL = 1;
11
+ }
12
+
13
+ message PBRaycast {
14
+ int32 timestamp = 1;
15
+ Vector3 origin = 2;
16
+ Vector3 direction = 3;
17
+ float max_distance = 4;
18
+ RaycastQueryType query_type = 5;
19
+ }
@@ -1,9 +1,10 @@
1
1
  syntax = "proto3";
2
2
 
3
3
  import "common/id.proto";
4
- option (ecs_component_id) = 1064;
5
4
  import "common/Vector3.proto";
6
5
 
6
+ option (ecs_component_id) = 1068;
7
+
7
8
  message PBRaycastResult {
8
9
  int32 timestamp = 1;
9
10
  Vector3 origin = 2;
@@ -5,7 +5,21 @@ option (ecs_component_id) = 1052;
5
5
 
6
6
  import "common/Color3.proto";
7
7
 
8
+ enum TextAlign {
9
+ Center = 0;
10
+ Left = 1;
11
+ Right = 2;
12
+ }
13
+
14
+ enum Font {
15
+ LiberationSans = 0;
16
+ SansSerif = 1;
17
+ }
18
+
8
19
  message PBUiText {
9
- string text = 1;
10
- Color3 text_color = 2;
20
+ string value = 1;
21
+ optional Color3 color = 2; // default=(1.0,1.0,1.0)
22
+ optional TextAlign text_align = 3; // default='center'
23
+ optional Font font = 4; // default=0
24
+ optional int32 font_size = 5; // default=10
11
25
  }
@@ -79,8 +79,9 @@ enum YGEdge {
79
79
  }
80
80
 
81
81
  message PBUiTransform {
82
- int64 parent = 79;
83
-
82
+ int32 parent = 79;
83
+ int32 right_of = 80;
84
+
84
85
  YGPositionType position_type = 1;
85
86
 
86
87
  YGAlign align_content = 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
- "version": "7.0.0-3015711272.commit-6716e5a",
3
+ "version": "7.0.0-3040253589.commit-8782388",
4
4
  "description": "",
5
5
  "main": "dist/src/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  "src/cli/**/*.js"
28
28
  ],
29
29
  "dependencies": {
30
- "@dcl/amd": "6.11.7-3015711272.commit-6716e5a",
31
- "@dcl/build-ecs": "6.11.7-3015711272.commit-6716e5a",
30
+ "@dcl/amd": "6.11.7-3040253589.commit-8782388",
31
+ "@dcl/build-ecs": "6.11.7-3040253589.commit-8782388",
32
32
  "@dcl/kernel": "1.0.0-2994874542.commit-c3ae489",
33
33
  "@dcl/posix": "^1.0.4",
34
34
  "@dcl/schemas": "4.8.0",
@@ -38,5 +38,5 @@
38
38
  "ignore": "^5.1.8"
39
39
  },
40
40
  "minCliVersion": "3.10.2",
41
- "commit": "6716e5a85afe478f7187bd7a3e3825035172462c"
41
+ "commit": "87823881fde5a1b044041c5a1a8fc4a8a7602d92"
42
42
  }