@dcl/ecs 7.8.22-16119591948.commit-9ef869d → 7.8.22-16122579823.commit-25a7f83
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/dist/components/generated/component-names.gen.js +0 -2
- package/dist/components/generated/global.gen.d.ts +0 -4
- package/dist/components/generated/global.gen.js +0 -2
- package/dist/components/generated/index.gen.d.ts +0 -8
- package/dist/components/generated/index.gen.js +0 -10
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +0 -3
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +1 -10
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +0 -3
- package/dist/components/types.d.ts +0 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +0 -1
- package/dist-cjs/components/generated/component-names.gen.js +0 -2
- package/dist-cjs/components/generated/global.gen.d.ts +0 -4
- package/dist-cjs/components/generated/global.gen.js +1 -3
- package/dist-cjs/components/generated/index.gen.d.ts +0 -8
- package/dist-cjs/components/generated/index.gen.js +1 -13
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +0 -3
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +1 -10
- package/dist-cjs/components/index.d.ts +0 -2
- package/dist-cjs/components/index.js +1 -5
- package/dist-cjs/components/types.d.ts +0 -1
- package/dist-cjs/index.d.ts +1 -2
- package/dist-cjs/index.js +1 -2
- package/package.json +2 -2
- package/dist/components/extended/LightSource.d.ts +0 -25
- package/dist/components/extended/LightSource.js +0 -22
- package/dist/components/generated/LightSource.gen.d.ts +0 -1
- package/dist/components/generated/LightSource.gen.js +0 -25
- package/dist/components/generated/SkyboxTime.gen.d.ts +0 -1
- package/dist/components/generated/SkyboxTime.gen.js +0 -25
- package/dist/components/generated/pb/decentraland/sdk/components/light_source.gen.d.ts +0 -75
- package/dist/components/generated/pb/decentraland/sdk/components/light_source.gen.js +0 -205
- package/dist/components/generated/pb/decentraland/sdk/components/skybox_time.gen.d.ts +0 -31
- package/dist/components/generated/pb/decentraland/sdk/components/skybox_time.gen.js +0 -61
- package/dist-cjs/components/extended/LightSource.d.ts +0 -25
- package/dist-cjs/components/extended/LightSource.js +0 -26
- package/dist-cjs/components/generated/LightSource.gen.d.ts +0 -1
- package/dist-cjs/components/generated/LightSource.gen.js +0 -28
- package/dist-cjs/components/generated/SkyboxTime.gen.d.ts +0 -1
- package/dist-cjs/components/generated/SkyboxTime.gen.js +0 -28
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/light_source.gen.d.ts +0 -75
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/light_source.gen.js +0 -211
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/skybox_time.gen.d.ts +0 -31
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/skybox_time.gen.js +0 -67
|
@@ -20,7 +20,6 @@ export const coreComponentMappings = {
|
|
|
20
20
|
"core::GltfContainer": 1041,
|
|
21
21
|
"core::GltfContainerLoadingState": 1049,
|
|
22
22
|
"core::InputModifier": 1078,
|
|
23
|
-
"core::LightSource": 1079,
|
|
24
23
|
"core::MainCamera": 1075,
|
|
25
24
|
"core::MapPin": 1097,
|
|
26
25
|
"core::Material": 1017,
|
|
@@ -35,7 +34,6 @@ export const coreComponentMappings = {
|
|
|
35
34
|
"core::Raycast": 1067,
|
|
36
35
|
"core::RaycastResult": 1068,
|
|
37
36
|
"core::RealmInfo": 1106,
|
|
38
|
-
"core::SkyboxTime": 1210,
|
|
39
37
|
"core::TextShape": 1030,
|
|
40
38
|
"core::Tween": 1102,
|
|
41
39
|
"core::TweenSequence": 1104,
|
|
@@ -16,7 +16,6 @@ import { PBEngineInfo } from './pb/decentraland/sdk/components/engine_info.gen';
|
|
|
16
16
|
import { PBGltfContainer } from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
17
17
|
import { PBGltfContainerLoadingState } from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
18
18
|
import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
19
|
-
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
20
19
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
21
20
|
import { PBNftShape } from './pb/decentraland/sdk/components/nft_shape.gen';
|
|
22
21
|
import { PBPlayerIdentityData } from './pb/decentraland/sdk/components/player_identity_data.gen';
|
|
@@ -27,7 +26,6 @@ import { PBPrimaryPointerInfo } from './pb/decentraland/sdk/components/primary_p
|
|
|
27
26
|
import { PBRaycast } from './pb/decentraland/sdk/components/raycast.gen';
|
|
28
27
|
import { PBRaycastResult } from './pb/decentraland/sdk/components/raycast_result.gen';
|
|
29
28
|
import { PBRealmInfo } from './pb/decentraland/sdk/components/realm_info.gen';
|
|
30
|
-
import { PBSkyboxTime } from './pb/decentraland/sdk/components/skybox_time.gen';
|
|
31
29
|
import { PBTextShape } from './pb/decentraland/sdk/components/text_shape.gen';
|
|
32
30
|
import { PBTweenSequence } from './pb/decentraland/sdk/components/tween_sequence.gen';
|
|
33
31
|
import { PBTweenState } from './pb/decentraland/sdk/components/tween_state.gen';
|
|
@@ -59,7 +57,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
59
57
|
/** @public */ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfContainer>;
|
|
60
58
|
/** @public */ export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
61
59
|
/** @public */ export declare const InputModifier: LastWriteWinElementSetComponentDefinition<PBInputModifier>;
|
|
62
|
-
/** @public */ export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
|
|
63
60
|
/** @public */ export declare const MainCamera: LastWriteWinElementSetComponentDefinition<PBMainCamera>;
|
|
64
61
|
/** @public */ export declare const NftShape: LastWriteWinElementSetComponentDefinition<PBNftShape>;
|
|
65
62
|
/** @public */ export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
|
@@ -70,7 +67,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
70
67
|
/** @public */ export declare const Raycast: LastWriteWinElementSetComponentDefinition<PBRaycast>;
|
|
71
68
|
/** @public */ export declare const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
72
69
|
/** @public */ export declare const RealmInfo: LastWriteWinElementSetComponentDefinition<PBRealmInfo>;
|
|
73
|
-
/** @public */ export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
74
70
|
/** @public */ export declare const TextShape: LastWriteWinElementSetComponentDefinition<PBTextShape>;
|
|
75
71
|
/** @public */ export declare const TweenSequence: LastWriteWinElementSetComponentDefinition<PBTweenSequence>;
|
|
76
72
|
/** @public */ export declare const TweenState: LastWriteWinElementSetComponentDefinition<PBTweenState>;
|
|
@@ -17,7 +17,6 @@ export * from './index.gen';
|
|
|
17
17
|
/** @public */ export const GltfContainer = /* @__PURE__ */ components.GltfContainer(engine);
|
|
18
18
|
/** @public */ export const GltfContainerLoadingState = /* @__PURE__ */ components.GltfContainerLoadingState(engine);
|
|
19
19
|
/** @public */ export const InputModifier = /* @__PURE__ */ components.InputModifier(engine);
|
|
20
|
-
/** @public */ export const LightSource = /* @__PURE__ */ components.LightSource(engine);
|
|
21
20
|
/** @public */ export const MainCamera = /* @__PURE__ */ components.MainCamera(engine);
|
|
22
21
|
/** @public */ export const NftShape = /* @__PURE__ */ components.NftShape(engine);
|
|
23
22
|
/** @public */ export const PlayerIdentityData = /* @__PURE__ */ components.PlayerIdentityData(engine);
|
|
@@ -28,7 +27,6 @@ export * from './index.gen';
|
|
|
28
27
|
/** @public */ export const Raycast = /* @__PURE__ */ components.Raycast(engine);
|
|
29
28
|
/** @public */ export const RaycastResult = /* @__PURE__ */ components.RaycastResult(engine);
|
|
30
29
|
/** @public */ export const RealmInfo = /* @__PURE__ */ components.RealmInfo(engine);
|
|
31
|
-
/** @public */ export const SkyboxTime = /* @__PURE__ */ components.SkyboxTime(engine);
|
|
32
30
|
/** @public */ export const TextShape = /* @__PURE__ */ components.TextShape(engine);
|
|
33
31
|
/** @public */ export const TweenSequence = /* @__PURE__ */ components.TweenSequence(engine);
|
|
34
32
|
/** @public */ export const TweenState = /* @__PURE__ */ components.TweenState(engine);
|
|
@@ -17,7 +17,6 @@ import { PBEngineInfo } from './pb/decentraland/sdk/components/engine_info.gen';
|
|
|
17
17
|
import { PBGltfContainer } from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
18
18
|
import { PBGltfContainerLoadingState } from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
19
19
|
import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
20
|
-
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
21
20
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
22
21
|
import { PBMaterial } from './pb/decentraland/sdk/components/material.gen';
|
|
23
22
|
import { PBMeshCollider } from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -31,7 +30,6 @@ import { PBPrimaryPointerInfo } from './pb/decentraland/sdk/components/primary_p
|
|
|
31
30
|
import { PBRaycast } from './pb/decentraland/sdk/components/raycast.gen';
|
|
32
31
|
import { PBRaycastResult } from './pb/decentraland/sdk/components/raycast_result.gen';
|
|
33
32
|
import { PBRealmInfo } from './pb/decentraland/sdk/components/realm_info.gen';
|
|
34
|
-
import { PBSkyboxTime } from './pb/decentraland/sdk/components/skybox_time.gen';
|
|
35
33
|
import { PBTextShape } from './pb/decentraland/sdk/components/text_shape.gen';
|
|
36
34
|
import { PBTween } from './pb/decentraland/sdk/components/tween.gen';
|
|
37
35
|
import { PBTweenSequence } from './pb/decentraland/sdk/components/tween_sequence.gen';
|
|
@@ -65,7 +63,6 @@ export * from './pb/decentraland/sdk/components/engine_info.gen';
|
|
|
65
63
|
export * from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
66
64
|
export * from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
67
65
|
export * from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
68
|
-
export * from './pb/decentraland/sdk/components/light_source.gen';
|
|
69
66
|
export * from './pb/decentraland/sdk/components/main_camera.gen';
|
|
70
67
|
export * from './pb/decentraland/sdk/components/material.gen';
|
|
71
68
|
export * from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -79,7 +76,6 @@ export * from './pb/decentraland/sdk/components/primary_pointer_info.gen';
|
|
|
79
76
|
export * from './pb/decentraland/sdk/components/raycast.gen';
|
|
80
77
|
export * from './pb/decentraland/sdk/components/raycast_result.gen';
|
|
81
78
|
export * from './pb/decentraland/sdk/components/realm_info.gen';
|
|
82
|
-
export * from './pb/decentraland/sdk/components/skybox_time.gen';
|
|
83
79
|
export * from './pb/decentraland/sdk/components/text_shape.gen';
|
|
84
80
|
export * from './pb/decentraland/sdk/components/tween.gen';
|
|
85
81
|
export * from './pb/decentraland/sdk/components/tween_sequence.gen';
|
|
@@ -115,7 +111,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
115
111
|
/** @public */ export declare const GltfContainer: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
116
112
|
/** @public */ export declare const GltfContainerLoadingState: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
117
113
|
/** @public */ export declare const InputModifier: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
118
|
-
/** @public */ export declare const LightSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
119
114
|
/** @public */ export declare const MainCamera: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
120
115
|
/** @public */ export declare const Material: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
121
116
|
/** @public */ export declare const MeshCollider: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -129,7 +124,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
129
124
|
/** @public */ export declare const Raycast: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
130
125
|
/** @public */ export declare const RaycastResult: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
131
126
|
/** @public */ export declare const RealmInfo: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
132
|
-
/** @public */ export declare const SkyboxTime: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
133
127
|
/** @public */ export declare const TextShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
134
128
|
/** @public */ export declare const Tween: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
135
129
|
/** @public */ export declare const TweenSequence: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
@@ -165,7 +159,6 @@ export declare const componentDefinitionByName: {
|
|
|
165
159
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
166
160
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
167
161
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
168
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
169
162
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
170
163
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
171
164
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -179,7 +172,6 @@ export declare const componentDefinitionByName: {
|
|
|
179
172
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
180
173
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
181
174
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
182
|
-
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
183
175
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
184
176
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
185
177
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
@@ -15,7 +15,6 @@ import { EngineInfoSchema } from './EngineInfo.gen';
|
|
|
15
15
|
import { GltfContainerSchema } from './GltfContainer.gen';
|
|
16
16
|
import { GltfContainerLoadingStateSchema } from './GltfContainerLoadingState.gen';
|
|
17
17
|
import { InputModifierSchema } from './InputModifier.gen';
|
|
18
|
-
import { LightSourceSchema } from './LightSource.gen';
|
|
19
18
|
import { MainCameraSchema } from './MainCamera.gen';
|
|
20
19
|
import { MaterialSchema } from './Material.gen';
|
|
21
20
|
import { MeshColliderSchema } from './MeshCollider.gen';
|
|
@@ -29,7 +28,6 @@ import { PrimaryPointerInfoSchema } from './PrimaryPointerInfo.gen';
|
|
|
29
28
|
import { RaycastSchema } from './Raycast.gen';
|
|
30
29
|
import { RaycastResultSchema } from './RaycastResult.gen';
|
|
31
30
|
import { RealmInfoSchema } from './RealmInfo.gen';
|
|
32
|
-
import { SkyboxTimeSchema } from './SkyboxTime.gen';
|
|
33
31
|
import { TextShapeSchema } from './TextShape.gen';
|
|
34
32
|
import { TweenSchema } from './Tween.gen';
|
|
35
33
|
import { TweenSequenceSchema } from './TweenSequence.gen';
|
|
@@ -63,7 +61,6 @@ export * from './pb/decentraland/sdk/components/engine_info.gen';
|
|
|
63
61
|
export * from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
64
62
|
export * from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
65
63
|
export * from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
66
|
-
export * from './pb/decentraland/sdk/components/light_source.gen';
|
|
67
64
|
export * from './pb/decentraland/sdk/components/main_camera.gen';
|
|
68
65
|
export * from './pb/decentraland/sdk/components/material.gen';
|
|
69
66
|
export * from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -77,7 +74,6 @@ export * from './pb/decentraland/sdk/components/primary_pointer_info.gen';
|
|
|
77
74
|
export * from './pb/decentraland/sdk/components/raycast.gen';
|
|
78
75
|
export * from './pb/decentraland/sdk/components/raycast_result.gen';
|
|
79
76
|
export * from './pb/decentraland/sdk/components/realm_info.gen';
|
|
80
|
-
export * from './pb/decentraland/sdk/components/skybox_time.gen';
|
|
81
77
|
export * from './pb/decentraland/sdk/components/text_shape.gen';
|
|
82
78
|
export * from './pb/decentraland/sdk/components/tween.gen';
|
|
83
79
|
export * from './pb/decentraland/sdk/components/tween_sequence.gen';
|
|
@@ -132,8 +128,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
132
128
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::GltfContainerLoadingState", GltfContainerLoadingStateSchema);
|
|
133
129
|
/** @public */ export const InputModifier = engine =>
|
|
134
130
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::InputModifier", InputModifierSchema);
|
|
135
|
-
/** @public */ export const LightSource = engine =>
|
|
136
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::LightSource", LightSourceSchema);
|
|
137
131
|
/** @public */ export const MainCamera = engine =>
|
|
138
132
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::MainCamera", MainCameraSchema);
|
|
139
133
|
/** @public */ export const Material = engine =>
|
|
@@ -162,8 +156,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
162
156
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::RaycastResult", RaycastResultSchema);
|
|
163
157
|
/** @public */ export const RealmInfo = engine =>
|
|
164
158
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::RealmInfo", RealmInfoSchema);
|
|
165
|
-
/** @public */ export const SkyboxTime = engine =>
|
|
166
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::SkyboxTime", SkyboxTimeSchema);
|
|
167
159
|
/** @public */ export const TextShape = engine =>
|
|
168
160
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::TextShape", TextShapeSchema);
|
|
169
161
|
/** @public */ export const Tween = engine =>
|
|
@@ -217,7 +209,6 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
217
209
|
"core::GltfContainer": GltfContainer,
|
|
218
210
|
"core::GltfContainerLoadingState": GltfContainerLoadingState,
|
|
219
211
|
"core::InputModifier": InputModifier,
|
|
220
|
-
"core::LightSource": LightSource,
|
|
221
212
|
"core::MainCamera": MainCamera,
|
|
222
213
|
"core::Material": Material,
|
|
223
214
|
"core::MeshCollider": MeshCollider,
|
|
@@ -231,7 +222,6 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
231
222
|
"core::Raycast": Raycast,
|
|
232
223
|
"core::RaycastResult": RaycastResult,
|
|
233
224
|
"core::RealmInfo": RealmInfo,
|
|
234
|
-
"core::SkyboxTime": SkyboxTime,
|
|
235
225
|
"core::TextShape": TextShape,
|
|
236
226
|
"core::Tween": Tween,
|
|
237
227
|
"core::TweenSequence": TweenSequence,
|
|
@@ -6,7 +6,6 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
6
6
|
* an 'instant' transition (like using speed/time = 0)
|
|
7
7
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
8
8
|
* the holding entity transform).
|
|
9
|
-
* * The fov defines the Field of View of the virtual camera
|
|
10
9
|
*/
|
|
11
10
|
/**
|
|
12
11
|
* @public
|
|
@@ -14,8 +13,6 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
14
13
|
export interface PBVirtualCamera {
|
|
15
14
|
defaultTransition?: CameraTransition | undefined;
|
|
16
15
|
lookAtEntity?: number | undefined;
|
|
17
|
-
/** default: 60 */
|
|
18
|
-
fov?: number | undefined;
|
|
19
16
|
}
|
|
20
17
|
/**
|
|
21
18
|
* @public
|
|
@@ -3,7 +3,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
3
3
|
import { CameraTransition } from "./common/camera_transition.gen";
|
|
4
4
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
5
5
|
function createBasePBVirtualCamera() {
|
|
6
|
-
return { defaultTransition: undefined, lookAtEntity: undefined
|
|
6
|
+
return { defaultTransition: undefined, lookAtEntity: undefined };
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -17,9 +17,6 @@ export var PBVirtualCamera;
|
|
|
17
17
|
if (message.lookAtEntity !== undefined) {
|
|
18
18
|
writer.uint32(16).uint32(message.lookAtEntity);
|
|
19
19
|
}
|
|
20
|
-
if (message.fov !== undefined) {
|
|
21
|
-
writer.uint32(29).float(message.fov);
|
|
22
|
-
}
|
|
23
20
|
return writer;
|
|
24
21
|
}
|
|
25
22
|
PBVirtualCamera.encode = encode;
|
|
@@ -42,12 +39,6 @@ export var PBVirtualCamera;
|
|
|
42
39
|
}
|
|
43
40
|
message.lookAtEntity = reader.uint32();
|
|
44
41
|
continue;
|
|
45
|
-
case 3:
|
|
46
|
-
if (tag !== 29) {
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
message.fov = reader.float();
|
|
50
|
-
continue;
|
|
51
42
|
}
|
|
52
43
|
if ((tag & 7) === 4 || tag === 0) {
|
|
53
44
|
break;
|
|
@@ -16,7 +16,6 @@ import { AudioStreamComponentDefinitionExtended } from './extended/AudioStream';
|
|
|
16
16
|
import { MediaState } from './generated/pb/decentraland/sdk/components/common/media_state.gen';
|
|
17
17
|
import { VirtualCameraComponentDefinitionExtended } from './extended/VirtualCamera';
|
|
18
18
|
import { InputModifierComponentDefinitionExtended } from './extended/InputModifier';
|
|
19
|
-
import { LightSourceComponentDefinitionExtended } from './extended/LightSource';
|
|
20
19
|
export * from './generated/index.gen';
|
|
21
20
|
export type { GrowOnlyValueSetComponentDefinition, LastWriteWinElementSetComponentDefinition, LwwComponentGetter, GSetComponentGetter };
|
|
22
21
|
export declare const Transform: LwwComponentGetter<TransformComponentExtended>;
|
|
@@ -29,7 +28,6 @@ export declare const MeshCollider: LwwComponentGetter<MeshColliderComponentDefin
|
|
|
29
28
|
export declare const Tween: LwwComponentGetter<TweenComponentDefinitionExtended>;
|
|
30
29
|
export declare const VirtualCamera: LwwComponentGetter<VirtualCameraComponentDefinitionExtended>;
|
|
31
30
|
export declare const InputModifier: LwwComponentGetter<InputModifierComponentDefinitionExtended>;
|
|
32
|
-
export declare const LightSource: LwwComponentGetter<LightSourceComponentDefinitionExtended>;
|
|
33
31
|
/**
|
|
34
32
|
* @alpha
|
|
35
33
|
*/
|
package/dist/components/index.js
CHANGED
|
@@ -13,7 +13,6 @@ import { defineAudioStreamComponent } from './extended/AudioStream';
|
|
|
13
13
|
import { MediaState } from './generated/pb/decentraland/sdk/components/common/media_state.gen';
|
|
14
14
|
import { defineVirtualCameraComponent } from './extended/VirtualCamera';
|
|
15
15
|
import { defineInputModifierComponent } from './extended/InputModifier';
|
|
16
|
-
import { defineLightSourceComponent } from './extended/LightSource';
|
|
17
16
|
export * from './generated/index.gen';
|
|
18
17
|
/* @__PURE__ */
|
|
19
18
|
export const Transform = (engine) => defineTransformComponent(engine);
|
|
@@ -35,8 +34,6 @@ export const Tween = (engine) => defineTweenComponent(engine);
|
|
|
35
34
|
export const VirtualCamera = (engine) => defineVirtualCameraComponent(engine);
|
|
36
35
|
/* @__PURE__*/
|
|
37
36
|
export const InputModifier = (engine) => defineInputModifierComponent(engine);
|
|
38
|
-
/* @__PURE__*/
|
|
39
|
-
export const LightSource = (engine) => defineLightSourceComponent(engine);
|
|
40
37
|
/**
|
|
41
38
|
* @alpha
|
|
42
39
|
*/
|
|
@@ -12,4 +12,3 @@ export type { ISyncComponents, ISyncComponentsType } from './manual/SyncComponen
|
|
|
12
12
|
export type { INetowrkEntity, INetowrkEntityType } from './manual/NetworkEntity';
|
|
13
13
|
export type { INetowrkParent, INetowrkParentType } from './manual/NetworkParent';
|
|
14
14
|
export type { InputModifierHelper, InputModifierComponentDefinitionExtended } from './extended/InputModifier';
|
|
15
|
-
export type { LightSourceHelper, LightSourceComponentDefinitionExtended } from './extended/LightSource';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export * from './systems/async-task';
|
|
|
11
11
|
export * from './systems/tween';
|
|
12
12
|
export * from './engine/entity';
|
|
13
13
|
export * from './components/types';
|
|
14
|
-
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended
|
|
14
|
+
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended } from './components/types';
|
|
15
15
|
import { NameComponent } from './components/manual/Name';
|
|
16
16
|
export declare const Transform: TransformComponentExtended;
|
|
17
17
|
export declare const Animator: AnimatorComponentDefinitionExtended;
|
|
@@ -24,7 +24,6 @@ export declare const Name: NameComponent;
|
|
|
24
24
|
export declare const Tween: TweenComponentDefinitionExtended;
|
|
25
25
|
export declare const VirtualCamera: VirtualCameraComponentDefinitionExtended;
|
|
26
26
|
export declare const InputModifier: InputModifierComponentDefinitionExtended;
|
|
27
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
|
28
27
|
/**
|
|
29
28
|
* @alpha
|
|
30
29
|
* This is going to be used for sync components through a server.
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,6 @@ export const Name = components.Name(engine);
|
|
|
29
29
|
export const Tween = /* @__PURE__*/ components.Tween(engine);
|
|
30
30
|
export const VirtualCamera = /* @__PURE__*/ components.VirtualCamera(engine);
|
|
31
31
|
export const InputModifier = /* @__PURE__*/ components.InputModifier(engine);
|
|
32
|
-
export const LightSource = /* @__PURE__*/ components.LightSource(engine);
|
|
33
32
|
/**
|
|
34
33
|
* @alpha
|
|
35
34
|
* This is going to be used for sync components through a server.
|
|
@@ -23,7 +23,6 @@ exports.coreComponentMappings = {
|
|
|
23
23
|
"core::GltfContainer": 1041,
|
|
24
24
|
"core::GltfContainerLoadingState": 1049,
|
|
25
25
|
"core::InputModifier": 1078,
|
|
26
|
-
"core::LightSource": 1079,
|
|
27
26
|
"core::MainCamera": 1075,
|
|
28
27
|
"core::MapPin": 1097,
|
|
29
28
|
"core::Material": 1017,
|
|
@@ -38,7 +37,6 @@ exports.coreComponentMappings = {
|
|
|
38
37
|
"core::Raycast": 1067,
|
|
39
38
|
"core::RaycastResult": 1068,
|
|
40
39
|
"core::RealmInfo": 1106,
|
|
41
|
-
"core::SkyboxTime": 1210,
|
|
42
40
|
"core::TextShape": 1030,
|
|
43
41
|
"core::Tween": 1102,
|
|
44
42
|
"core::TweenSequence": 1104,
|
|
@@ -16,7 +16,6 @@ import { PBEngineInfo } from './pb/decentraland/sdk/components/engine_info.gen';
|
|
|
16
16
|
import { PBGltfContainer } from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
17
17
|
import { PBGltfContainerLoadingState } from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
18
18
|
import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
19
|
-
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
20
19
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
21
20
|
import { PBNftShape } from './pb/decentraland/sdk/components/nft_shape.gen';
|
|
22
21
|
import { PBPlayerIdentityData } from './pb/decentraland/sdk/components/player_identity_data.gen';
|
|
@@ -27,7 +26,6 @@ import { PBPrimaryPointerInfo } from './pb/decentraland/sdk/components/primary_p
|
|
|
27
26
|
import { PBRaycast } from './pb/decentraland/sdk/components/raycast.gen';
|
|
28
27
|
import { PBRaycastResult } from './pb/decentraland/sdk/components/raycast_result.gen';
|
|
29
28
|
import { PBRealmInfo } from './pb/decentraland/sdk/components/realm_info.gen';
|
|
30
|
-
import { PBSkyboxTime } from './pb/decentraland/sdk/components/skybox_time.gen';
|
|
31
29
|
import { PBTextShape } from './pb/decentraland/sdk/components/text_shape.gen';
|
|
32
30
|
import { PBTweenSequence } from './pb/decentraland/sdk/components/tween_sequence.gen';
|
|
33
31
|
import { PBTweenState } from './pb/decentraland/sdk/components/tween_state.gen';
|
|
@@ -59,7 +57,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
59
57
|
/** @public */ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfContainer>;
|
|
60
58
|
/** @public */ export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
61
59
|
/** @public */ export declare const InputModifier: LastWriteWinElementSetComponentDefinition<PBInputModifier>;
|
|
62
|
-
/** @public */ export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
|
|
63
60
|
/** @public */ export declare const MainCamera: LastWriteWinElementSetComponentDefinition<PBMainCamera>;
|
|
64
61
|
/** @public */ export declare const NftShape: LastWriteWinElementSetComponentDefinition<PBNftShape>;
|
|
65
62
|
/** @public */ export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
|
@@ -70,7 +67,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
70
67
|
/** @public */ export declare const Raycast: LastWriteWinElementSetComponentDefinition<PBRaycast>;
|
|
71
68
|
/** @public */ export declare const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
72
69
|
/** @public */ export declare const RealmInfo: LastWriteWinElementSetComponentDefinition<PBRealmInfo>;
|
|
73
|
-
/** @public */ export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
74
70
|
/** @public */ export declare const TextShape: LastWriteWinElementSetComponentDefinition<PBTextShape>;
|
|
75
71
|
/** @public */ export declare const TweenSequence: LastWriteWinElementSetComponentDefinition<PBTweenSequence>;
|
|
76
72
|
/** @public */ export declare const TweenState: LastWriteWinElementSetComponentDefinition<PBTweenState>;
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.TextShape = exports.
|
|
29
|
+
exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.TextShape = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MainCamera = exports.InputModifier = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.AvatarEquippedData = exports.AvatarEmoteCommand = exports.AvatarBase = exports.AvatarAttach = exports.AudioStream = exports.AudioSource = exports.AudioEvent = void 0;
|
|
30
30
|
const initialization_1 = require("../../runtime/initialization");
|
|
31
31
|
const components = __importStar(require("./index.gen"));
|
|
32
32
|
__exportStar(require("./index.gen"), exports);
|
|
@@ -46,7 +46,6 @@ __exportStar(require("./index.gen"), exports);
|
|
|
46
46
|
/** @public */ exports.GltfContainer = components.GltfContainer(initialization_1.engine);
|
|
47
47
|
/** @public */ exports.GltfContainerLoadingState = components.GltfContainerLoadingState(initialization_1.engine);
|
|
48
48
|
/** @public */ exports.InputModifier = components.InputModifier(initialization_1.engine);
|
|
49
|
-
/** @public */ exports.LightSource = components.LightSource(initialization_1.engine);
|
|
50
49
|
/** @public */ exports.MainCamera = components.MainCamera(initialization_1.engine);
|
|
51
50
|
/** @public */ exports.NftShape = components.NftShape(initialization_1.engine);
|
|
52
51
|
/** @public */ exports.PlayerIdentityData = components.PlayerIdentityData(initialization_1.engine);
|
|
@@ -57,7 +56,6 @@ __exportStar(require("./index.gen"), exports);
|
|
|
57
56
|
/** @public */ exports.Raycast = components.Raycast(initialization_1.engine);
|
|
58
57
|
/** @public */ exports.RaycastResult = components.RaycastResult(initialization_1.engine);
|
|
59
58
|
/** @public */ exports.RealmInfo = components.RealmInfo(initialization_1.engine);
|
|
60
|
-
/** @public */ exports.SkyboxTime = components.SkyboxTime(initialization_1.engine);
|
|
61
59
|
/** @public */ exports.TextShape = components.TextShape(initialization_1.engine);
|
|
62
60
|
/** @public */ exports.TweenSequence = components.TweenSequence(initialization_1.engine);
|
|
63
61
|
/** @public */ exports.TweenState = components.TweenState(initialization_1.engine);
|
|
@@ -17,7 +17,6 @@ import { PBEngineInfo } from './pb/decentraland/sdk/components/engine_info.gen';
|
|
|
17
17
|
import { PBGltfContainer } from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
18
18
|
import { PBGltfContainerLoadingState } from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
19
19
|
import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
20
|
-
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
21
20
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
22
21
|
import { PBMaterial } from './pb/decentraland/sdk/components/material.gen';
|
|
23
22
|
import { PBMeshCollider } from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -31,7 +30,6 @@ import { PBPrimaryPointerInfo } from './pb/decentraland/sdk/components/primary_p
|
|
|
31
30
|
import { PBRaycast } from './pb/decentraland/sdk/components/raycast.gen';
|
|
32
31
|
import { PBRaycastResult } from './pb/decentraland/sdk/components/raycast_result.gen';
|
|
33
32
|
import { PBRealmInfo } from './pb/decentraland/sdk/components/realm_info.gen';
|
|
34
|
-
import { PBSkyboxTime } from './pb/decentraland/sdk/components/skybox_time.gen';
|
|
35
33
|
import { PBTextShape } from './pb/decentraland/sdk/components/text_shape.gen';
|
|
36
34
|
import { PBTween } from './pb/decentraland/sdk/components/tween.gen';
|
|
37
35
|
import { PBTweenSequence } from './pb/decentraland/sdk/components/tween_sequence.gen';
|
|
@@ -65,7 +63,6 @@ export * from './pb/decentraland/sdk/components/engine_info.gen';
|
|
|
65
63
|
export * from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
66
64
|
export * from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
67
65
|
export * from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
68
|
-
export * from './pb/decentraland/sdk/components/light_source.gen';
|
|
69
66
|
export * from './pb/decentraland/sdk/components/main_camera.gen';
|
|
70
67
|
export * from './pb/decentraland/sdk/components/material.gen';
|
|
71
68
|
export * from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -79,7 +76,6 @@ export * from './pb/decentraland/sdk/components/primary_pointer_info.gen';
|
|
|
79
76
|
export * from './pb/decentraland/sdk/components/raycast.gen';
|
|
80
77
|
export * from './pb/decentraland/sdk/components/raycast_result.gen';
|
|
81
78
|
export * from './pb/decentraland/sdk/components/realm_info.gen';
|
|
82
|
-
export * from './pb/decentraland/sdk/components/skybox_time.gen';
|
|
83
79
|
export * from './pb/decentraland/sdk/components/text_shape.gen';
|
|
84
80
|
export * from './pb/decentraland/sdk/components/tween.gen';
|
|
85
81
|
export * from './pb/decentraland/sdk/components/tween_sequence.gen';
|
|
@@ -115,7 +111,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
115
111
|
/** @public */ export declare const GltfContainer: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
116
112
|
/** @public */ export declare const GltfContainerLoadingState: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
117
113
|
/** @public */ export declare const InputModifier: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
118
|
-
/** @public */ export declare const LightSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
119
114
|
/** @public */ export declare const MainCamera: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
120
115
|
/** @public */ export declare const Material: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
121
116
|
/** @public */ export declare const MeshCollider: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -129,7 +124,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
129
124
|
/** @public */ export declare const Raycast: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
130
125
|
/** @public */ export declare const RaycastResult: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
131
126
|
/** @public */ export declare const RealmInfo: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
132
|
-
/** @public */ export declare const SkyboxTime: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
133
127
|
/** @public */ export declare const TextShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
134
128
|
/** @public */ export declare const Tween: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
135
129
|
/** @public */ export declare const TweenSequence: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
@@ -165,7 +159,6 @@ export declare const componentDefinitionByName: {
|
|
|
165
159
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
166
160
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
167
161
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
168
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
169
162
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
170
163
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
171
164
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -179,7 +172,6 @@ export declare const componentDefinitionByName: {
|
|
|
179
172
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
180
173
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
181
174
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
182
|
-
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
183
175
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
184
176
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
185
177
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.componentDefinitionByName = exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.Tween = exports.TextShape = exports.
|
|
17
|
+
exports.componentDefinitionByName = exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.Tween = exports.TextShape = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MeshRenderer = exports.MeshCollider = exports.Material = exports.MainCamera = exports.InputModifier = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.AvatarEquippedData = exports.AvatarEmoteCommand = exports.AvatarBase = exports.AvatarAttach = exports.AudioStream = exports.AudioSource = exports.AudioEvent = exports.Animator = void 0;
|
|
18
18
|
const Animator_gen_1 = require("./Animator.gen");
|
|
19
19
|
const AudioEvent_gen_1 = require("./AudioEvent.gen");
|
|
20
20
|
const AudioSource_gen_1 = require("./AudioSource.gen");
|
|
@@ -32,7 +32,6 @@ const EngineInfo_gen_1 = require("./EngineInfo.gen");
|
|
|
32
32
|
const GltfContainer_gen_1 = require("./GltfContainer.gen");
|
|
33
33
|
const GltfContainerLoadingState_gen_1 = require("./GltfContainerLoadingState.gen");
|
|
34
34
|
const InputModifier_gen_1 = require("./InputModifier.gen");
|
|
35
|
-
const LightSource_gen_1 = require("./LightSource.gen");
|
|
36
35
|
const MainCamera_gen_1 = require("./MainCamera.gen");
|
|
37
36
|
const Material_gen_1 = require("./Material.gen");
|
|
38
37
|
const MeshCollider_gen_1 = require("./MeshCollider.gen");
|
|
@@ -46,7 +45,6 @@ const PrimaryPointerInfo_gen_1 = require("./PrimaryPointerInfo.gen");
|
|
|
46
45
|
const Raycast_gen_1 = require("./Raycast.gen");
|
|
47
46
|
const RaycastResult_gen_1 = require("./RaycastResult.gen");
|
|
48
47
|
const RealmInfo_gen_1 = require("./RealmInfo.gen");
|
|
49
|
-
const SkyboxTime_gen_1 = require("./SkyboxTime.gen");
|
|
50
48
|
const TextShape_gen_1 = require("./TextShape.gen");
|
|
51
49
|
const Tween_gen_1 = require("./Tween.gen");
|
|
52
50
|
const TweenSequence_gen_1 = require("./TweenSequence.gen");
|
|
@@ -80,7 +78,6 @@ __exportStar(require("./pb/decentraland/sdk/components/engine_info.gen"), export
|
|
|
80
78
|
__exportStar(require("./pb/decentraland/sdk/components/gltf_container.gen"), exports);
|
|
81
79
|
__exportStar(require("./pb/decentraland/sdk/components/gltf_container_loading_state.gen"), exports);
|
|
82
80
|
__exportStar(require("./pb/decentraland/sdk/components/input_modifier.gen"), exports);
|
|
83
|
-
__exportStar(require("./pb/decentraland/sdk/components/light_source.gen"), exports);
|
|
84
81
|
__exportStar(require("./pb/decentraland/sdk/components/main_camera.gen"), exports);
|
|
85
82
|
__exportStar(require("./pb/decentraland/sdk/components/material.gen"), exports);
|
|
86
83
|
__exportStar(require("./pb/decentraland/sdk/components/mesh_collider.gen"), exports);
|
|
@@ -94,7 +91,6 @@ __exportStar(require("./pb/decentraland/sdk/components/primary_pointer_info.gen"
|
|
|
94
91
|
__exportStar(require("./pb/decentraland/sdk/components/raycast.gen"), exports);
|
|
95
92
|
__exportStar(require("./pb/decentraland/sdk/components/raycast_result.gen"), exports);
|
|
96
93
|
__exportStar(require("./pb/decentraland/sdk/components/realm_info.gen"), exports);
|
|
97
|
-
__exportStar(require("./pb/decentraland/sdk/components/skybox_time.gen"), exports);
|
|
98
94
|
__exportStar(require("./pb/decentraland/sdk/components/text_shape.gen"), exports);
|
|
99
95
|
__exportStar(require("./pb/decentraland/sdk/components/tween.gen"), exports);
|
|
100
96
|
__exportStar(require("./pb/decentraland/sdk/components/tween_sequence.gen"), exports);
|
|
@@ -166,9 +162,6 @@ exports.GltfContainerLoadingState = GltfContainerLoadingState;
|
|
|
166
162
|
/** @public */ const InputModifier = engine =>
|
|
167
163
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::InputModifier", InputModifier_gen_1.InputModifierSchema);
|
|
168
164
|
exports.InputModifier = InputModifier;
|
|
169
|
-
/** @public */ const LightSource = engine =>
|
|
170
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::LightSource", LightSource_gen_1.LightSourceSchema);
|
|
171
|
-
exports.LightSource = LightSource;
|
|
172
165
|
/** @public */ const MainCamera = engine =>
|
|
173
166
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::MainCamera", MainCamera_gen_1.MainCameraSchema);
|
|
174
167
|
exports.MainCamera = MainCamera;
|
|
@@ -210,9 +203,6 @@ exports.RaycastResult = RaycastResult;
|
|
|
210
203
|
/** @public */ const RealmInfo = engine =>
|
|
211
204
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::RealmInfo", RealmInfo_gen_1.RealmInfoSchema);
|
|
212
205
|
exports.RealmInfo = RealmInfo;
|
|
213
|
-
/** @public */ const SkyboxTime = engine =>
|
|
214
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::SkyboxTime", SkyboxTime_gen_1.SkyboxTimeSchema);
|
|
215
|
-
exports.SkyboxTime = SkyboxTime;
|
|
216
206
|
/** @public */ const TextShape = engine =>
|
|
217
207
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::TextShape", TextShape_gen_1.TextShapeSchema);
|
|
218
208
|
exports.TextShape = TextShape;
|
|
@@ -282,7 +272,6 @@ exports.componentDefinitionByName = {
|
|
|
282
272
|
"core::GltfContainer": exports.GltfContainer,
|
|
283
273
|
"core::GltfContainerLoadingState": exports.GltfContainerLoadingState,
|
|
284
274
|
"core::InputModifier": exports.InputModifier,
|
|
285
|
-
"core::LightSource": exports.LightSource,
|
|
286
275
|
"core::MainCamera": exports.MainCamera,
|
|
287
276
|
"core::Material": exports.Material,
|
|
288
277
|
"core::MeshCollider": exports.MeshCollider,
|
|
@@ -296,7 +285,6 @@ exports.componentDefinitionByName = {
|
|
|
296
285
|
"core::Raycast": exports.Raycast,
|
|
297
286
|
"core::RaycastResult": exports.RaycastResult,
|
|
298
287
|
"core::RealmInfo": exports.RealmInfo,
|
|
299
|
-
"core::SkyboxTime": exports.SkyboxTime,
|
|
300
288
|
"core::TextShape": exports.TextShape,
|
|
301
289
|
"core::Tween": exports.Tween,
|
|
302
290
|
"core::TweenSequence": exports.TweenSequence,
|
package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
6
6
|
* an 'instant' transition (like using speed/time = 0)
|
|
7
7
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
8
8
|
* the holding entity transform).
|
|
9
|
-
* * The fov defines the Field of View of the virtual camera
|
|
10
9
|
*/
|
|
11
10
|
/**
|
|
12
11
|
* @public
|
|
@@ -14,8 +13,6 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
14
13
|
export interface PBVirtualCamera {
|
|
15
14
|
defaultTransition?: CameraTransition | undefined;
|
|
16
15
|
lookAtEntity?: number | undefined;
|
|
17
|
-
/** default: 60 */
|
|
18
|
-
fov?: number | undefined;
|
|
19
16
|
}
|
|
20
17
|
/**
|
|
21
18
|
* @public
|
|
@@ -9,7 +9,7 @@ const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
|
9
9
|
const camera_transition_gen_1 = require("./common/camera_transition.gen");
|
|
10
10
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
11
11
|
function createBasePBVirtualCamera() {
|
|
12
|
-
return { defaultTransition: undefined, lookAtEntity: undefined
|
|
12
|
+
return { defaultTransition: undefined, lookAtEntity: undefined };
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
@@ -23,9 +23,6 @@ var PBVirtualCamera;
|
|
|
23
23
|
if (message.lookAtEntity !== undefined) {
|
|
24
24
|
writer.uint32(16).uint32(message.lookAtEntity);
|
|
25
25
|
}
|
|
26
|
-
if (message.fov !== undefined) {
|
|
27
|
-
writer.uint32(29).float(message.fov);
|
|
28
|
-
}
|
|
29
26
|
return writer;
|
|
30
27
|
}
|
|
31
28
|
PBVirtualCamera.encode = encode;
|
|
@@ -48,12 +45,6 @@ var PBVirtualCamera;
|
|
|
48
45
|
}
|
|
49
46
|
message.lookAtEntity = reader.uint32();
|
|
50
47
|
continue;
|
|
51
|
-
case 3:
|
|
52
|
-
if (tag !== 29) {
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
message.fov = reader.float();
|
|
56
|
-
continue;
|
|
57
48
|
}
|
|
58
49
|
if ((tag & 7) === 4 || tag === 0) {
|
|
59
50
|
break;
|
|
@@ -16,7 +16,6 @@ import { AudioStreamComponentDefinitionExtended } from './extended/AudioStream';
|
|
|
16
16
|
import { MediaState } from './generated/pb/decentraland/sdk/components/common/media_state.gen';
|
|
17
17
|
import { VirtualCameraComponentDefinitionExtended } from './extended/VirtualCamera';
|
|
18
18
|
import { InputModifierComponentDefinitionExtended } from './extended/InputModifier';
|
|
19
|
-
import { LightSourceComponentDefinitionExtended } from './extended/LightSource';
|
|
20
19
|
export * from './generated/index.gen';
|
|
21
20
|
export type { GrowOnlyValueSetComponentDefinition, LastWriteWinElementSetComponentDefinition, LwwComponentGetter, GSetComponentGetter };
|
|
22
21
|
export declare const Transform: LwwComponentGetter<TransformComponentExtended>;
|
|
@@ -29,7 +28,6 @@ export declare const MeshCollider: LwwComponentGetter<MeshColliderComponentDefin
|
|
|
29
28
|
export declare const Tween: LwwComponentGetter<TweenComponentDefinitionExtended>;
|
|
30
29
|
export declare const VirtualCamera: LwwComponentGetter<VirtualCameraComponentDefinitionExtended>;
|
|
31
30
|
export declare const InputModifier: LwwComponentGetter<InputModifierComponentDefinitionExtended>;
|
|
32
|
-
export declare const LightSource: LwwComponentGetter<LightSourceComponentDefinitionExtended>;
|
|
33
31
|
/**
|
|
34
32
|
* @alpha
|
|
35
33
|
*/
|