@3dverse/livelink.core 0.7.10 → 0.7.12

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,4 +1,4 @@
1
- import { Mat4, RTID, UUID } from "../../../sources/types";
1
+ import { Mat4, RTID, UUID, Vec3 } from "../../../sources/types";
2
2
  /**
3
3
  *
4
4
  */
@@ -6,12 +6,12 @@ export type FrameData = {
6
6
  encoded_frame_size: number;
7
7
  meta_data_size: number;
8
8
  encoded_frame: DataView;
9
- meta_data: FrameMetaData;
9
+ meta_data: RawFrameMetaData;
10
10
  };
11
11
  /**
12
12
  *
13
13
  */
14
- export type FrameMetaData = {
14
+ export type RawFrameMetaData = {
15
15
  renderer_timestamp: number;
16
16
  frame_counter: number;
17
17
  clients: Array<ClientMetaData>;
@@ -21,6 +21,9 @@ export type FrameMetaData = {
21
21
  */
22
22
  export type ClientMetaData = {
23
23
  client_id: UUID;
24
+ hovered_entity_rtid: RTID;
25
+ ws_hovered_position: Vec3;
26
+ ws_hovered_normal: Vec3;
24
27
  viewports: Array<ViewportMetaData>;
25
28
  };
26
29
  /**
@@ -37,10 +40,3 @@ export declare function deserialize_FrameData({ data_view, offset }: {
37
40
  data_view: DataView;
38
41
  offset?: number;
39
42
  }): FrameData;
40
- /**
41
- *
42
- */
43
- export declare function deserialize_FrameMetaData({ data_view, offset, }: {
44
- data_view: DataView;
45
- offset?: number;
46
- }): FrameMetaData;
@@ -744,13 +744,9 @@ export type ShadowCaster = Partial<{
744
744
  */
745
745
  quality: Int32;
746
746
  /**
747
- * For directional lights, , skews the ratio of cascade splits, value ranges from 0 to 1.
747
+ * For directional lights, adjusts the distribution of cascade splits in Cascaded Shadow Mapping for directional lights. A value of 0 results in uniform (linear) splits across the view frustum, while a value of 1 skews the splits toward the camera, providing higher shadow resolution near the viewer and lower resolution in the distance. Intermediate values blend linear and logarithmic distributions for a balanced result. The value ranges from 0 to 1.
748
748
  */
749
749
  cascadeSplitLambda: Float;
750
- /**
751
- * For directional lights, distance to the end of the furthest cascade.
752
- */
753
- cascadeMaxZ: Float;
754
750
  /**
755
751
  * For directional lights, number of cascades.
756
752
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dverse/livelink.core",
3
- "version": "0.7.10",
3
+ "version": "0.7.12",
4
4
  "description": "3dverse Livelink Core types.",
5
5
  "main": "./dist/library.cjs",
6
6
  "module": "./dist/library.mjs",