@3dverse/livelink.core 0.7.8 → 0.7.9

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.
@@ -123,9 +123,6 @@ export declare class EditorMessageHandler extends EventTarget {
123
123
  entity_uuids: Array<UUID>;
124
124
  }): Promise<Array<UUID>>;
125
125
  onEntitiesDeleted(data: Array<UUID>): void;
126
- onAnimationSequenceInstanceAdded(data: any): void;
127
- onAnimationSequenceInstanceUpdated(data: any): void;
128
- onAnimationSequenceInstanceRemoved(data: any): void;
129
126
  onEntityVisibilityChanged(data: EntityVisibilityChangedEvent): void;
130
127
  onActionError(data: any): void;
131
128
  onAttachComponents(data: any): void;
@@ -137,9 +134,6 @@ export declare class EditorMessageHandler extends EventTarget {
137
134
  onEntitiesOverridden(data: any): void;
138
135
  onUpdateSettings(data: any): void;
139
136
  onSelectEntities(data: any): void;
140
- onAddAnimationSequenceInstance(data: any): void;
141
- onUpdateAnimationSequenceInstance(data: any): void;
142
- onRemoveAnimationSequenceInstance(data: any): void;
143
137
  onSetEntityVisibility(data: any): void;
144
138
  onUnhandledMessage(type: string, data: any): void;
145
139
  }
@@ -26,7 +26,7 @@ export type ClientMetaData = {
26
26
  /**
27
27
  *
28
28
  */
29
- type ViewportMetaData = {
29
+ export type ViewportMetaData = {
30
30
  camera_rtid: RTID;
31
31
  ws_from_ls: Mat4;
32
32
  };
@@ -44,4 +44,3 @@ export declare function deserialize_FrameMetaData({ data_view, offset, }: {
44
44
  data_view: DataView;
45
45
  offset?: number;
46
46
  }): FrameMetaData;
47
- export {};
@@ -116,8 +116,8 @@ export declare enum EditorRemoteOperation {
116
116
  toggle_filter = 18,
117
117
  DEPRECATED__update_animation_controller_data_object = 19,
118
118
  assign_client_uuid_to_script = 20,
119
- update_animation_sequence_instance = 21,
120
- remove_animation_sequence_instance = 22,
121
- update_animation_sequence_state = 23,
119
+ DEPRECATED__update_animation_sequence_instance = 21,
120
+ DEPRECATED__remove_animation_sequence_instance = 22,
121
+ DEPRECATED__update_animation_sequence_state = 23,
122
122
  send_skeleton_pose = 24
123
123
  }
@@ -643,27 +643,6 @@ export type ReflectionProbe = Partial<{
643
643
  */
644
644
  quality: Int32;
645
645
  }>;
646
- /**
647
- * Revolute joint which keeps the origins and x-axes of the frames together, and allows free rotation around this common axis.
648
- */
649
- export type RevoluteJoint = Partial<{
650
- /**
651
- * The minimum angle the rotation can go (in degrees).
652
- */
653
- minRotation: Float;
654
- /**
655
- * The maximum angle the rotation can go (in degrees).
656
- */
657
- maxRotation: Float;
658
- /**
659
- * If greater than zero, the rotation limits (minRotation, maxRotation) are soft, i.e. a spring pulls the joint back to the limit.
660
- */
661
- stiffness: Float;
662
- /**
663
- * If stiffness is greater than zero, this is the damping of the limit spring.
664
- */
665
- damping: Float;
666
- }>;
667
646
  /**
668
647
  * Rigid body parameters.
669
648
  */
@@ -761,13 +740,17 @@ export type ShadowCaster = Partial<{
761
740
  */
762
741
  quality: Int32;
763
742
  /**
764
- * Skews the ratio of cascade splits, value ranges from 0 to 1.
743
+ * For directional lights, , skews the ratio of cascade splits, value ranges from 0 to 1.
765
744
  */
766
745
  cascadeSplitLambda: Float;
767
746
  /**
768
- * Distance to the end of the furthest cascade.
747
+ * For directional lights, distance to the end of the furthest cascade.
769
748
  */
770
749
  cascadeMaxZ: Float;
750
+ /**
751
+ * For directional lights, number of cascades.
752
+ */
753
+ cascadeCount: Int8;
771
754
  /**
772
755
  * For directional lights, accumulate all shadow cascades.
773
756
  */
@@ -952,7 +935,6 @@ export declare enum ComponentHash {
952
935
  point_cloud_ref = 457361603,
953
936
  point_light = 3624222817,
954
937
  reflection_probe = 3879689944,
955
- revolute_joint = 1364947094,
956
938
  rigid_body = 3452128059,
957
939
  scene_ref = 371342060,
958
940
  script_element = 3574396804,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dverse/livelink.core",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "description": "3dverse Livelink Core types.",
5
5
  "main": "./dist/library.cjs",
6
6
  "module": "./dist/library.mjs",