@dcl/protocol 1.0.0-2891196094.commit-6b15eaa → 1.0.0-2951957767.commit-5cf29ab

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,29 @@
1
+ syntax = "proto3";
2
+
3
+ import "common/id.proto";
4
+ option (ecs_component_id) = 1018;
5
+
6
+ message PBMeshRenderer {
7
+ message BoxMesh {
8
+ repeated float uvs = 1;
9
+ }
10
+
11
+ message CylinderMesh {
12
+ optional float radius_top = 1; // default=1.0
13
+ optional float radius_bottom = 2; // default=1.0
14
+ }
15
+
16
+ message PlaneMesh {
17
+ repeated float uvs = 1;
18
+ }
19
+
20
+ message SphereMesh {
21
+ }
22
+
23
+ oneof mesh {
24
+ BoxMesh box = 1;
25
+ SphereMesh sphere = 2;
26
+ CylinderMesh cylinder = 3;
27
+ PlaneMesh plane = 4;
28
+ }
29
+ }
@@ -0,0 +1,11 @@
1
+ syntax = "proto3";
2
+
3
+ import "common/id.proto";
4
+ option (ecs_component_id) = 1052;
5
+
6
+ import "common/Color3.proto";
7
+
8
+ message PBUiText {
9
+ string text = 1;
10
+ Color3 text_color = 2;
11
+ }
@@ -79,6 +79,8 @@ enum YGEdge {
79
79
  }
80
80
 
81
81
  message PBUiTransform {
82
+ int64 parent = 79;
83
+
82
84
  YGPositionType position_type = 1;
83
85
 
84
86
  YGAlign align_content = 2;
@@ -0,0 +1,8 @@
1
+ syntax = "proto3";
2
+
3
+ import "common/id.proto";
4
+ option (ecs_component_id) = 1081;
5
+
6
+ message PBVisibilityComponent {
7
+ optional bool visible = 1; // default=true
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-2891196094.commit-6b15eaa",
3
+ "version": "1.0.0-2951957767.commit-5cf29ab",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,5 +17,5 @@
17
17
  "renderer-protocol",
18
18
  "ecs"
19
19
  ],
20
- "commit": "6b15eaaec5f6e5a601f065aeed2831fcd59902f0"
20
+ "commit": "5cf29ab8d6bc2430e0e9c95db7ca59605a5dd6db"
21
21
  }