@dcl/protocol 1.0.0-16076834465.commit-db32c31 → 1.0.0-16079712278.commit-7b0267f
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-16079712278.commit-7b0267f",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "decentraland/protocol.git",
|
|
6
6
|
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"out-js",
|
|
31
31
|
"public"
|
|
32
32
|
],
|
|
33
|
-
"commit": "
|
|
33
|
+
"commit": "7b0267f38aa53c160da595ada1452c65a10a375d"
|
|
34
34
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
|
|
7
|
+
option (common.ecs_component_id) = 1210;
|
|
8
|
+
|
|
9
|
+
// The SkyboxTime component allows controlling the time of day for the skybox,
|
|
10
|
+
// affecting the lighting and appearance of the sky in the scene.
|
|
11
|
+
message PBSkyboxTime {
|
|
12
|
+
uint32 fixed_time = 1; // fixed time of day, represented as a number of seconds since the start of the day, where 0 is 00:00hs, 43200 is 12:00hs and 86400 is 24:00hs
|
|
13
|
+
optional TransitionMode transition_mode = 2; // default = TransitionMode.TM_FORWARD, controls the direction of time transitions
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Controls the direction for animated skybox transitions
|
|
17
|
+
enum TransitionMode {
|
|
18
|
+
TM_FORWARD = 0; // transitions forward (default)
|
|
19
|
+
TM_BACKWARD = 1; // transitions backward
|
|
20
|
+
}
|