@3dverse/livelink.core 0.7.8 → 0.7.10

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
  }
@@ -2,7 +2,7 @@
2
2
  * DO NOT EDIT THIS FILE MANUALLY.
3
3
  * This file has been generated automatically from ftl-schemas
4
4
  */
5
- import type { RTID, UUID, Mat4, Quat, Vec3, Vec2, Int32, UInt32, Float, Int8 } from "../../sources/types";
5
+ import type { RTID, UUID, Mat4, Quat, Vec3, Vec2, Int32, UInt32, Float, Int8, UInt8 } from "../../sources/types";
6
6
  import type * as Assets from "./assets";
7
7
  /**
8
8
  *
@@ -474,6 +474,10 @@ export type MeshRef = Partial<{
474
474
  * Index of the submesh inside the mesh's submesh array.
475
475
  */
476
476
  submeshIndex: Int32;
477
+ /**
478
+ * Whether or not this mesh casts shadows.
479
+ */
480
+ shadowCastingMode: UInt8;
477
481
  }>;
478
482
  /**
479
483
  * A lens that applies an orthographic projection.
@@ -643,27 +647,6 @@ export type ReflectionProbe = Partial<{
643
647
  */
644
648
  quality: Int32;
645
649
  }>;
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
650
  /**
668
651
  * Rigid body parameters.
669
652
  */
@@ -761,13 +744,17 @@ export type ShadowCaster = Partial<{
761
744
  */
762
745
  quality: Int32;
763
746
  /**
764
- * Skews the ratio of cascade splits, value ranges from 0 to 1.
747
+ * For directional lights, , skews the ratio of cascade splits, value ranges from 0 to 1.
765
748
  */
766
749
  cascadeSplitLambda: Float;
767
750
  /**
768
- * Distance to the end of the furthest cascade.
751
+ * For directional lights, distance to the end of the furthest cascade.
769
752
  */
770
753
  cascadeMaxZ: Float;
754
+ /**
755
+ * For directional lights, number of cascades.
756
+ */
757
+ cascadeCount: Int8;
771
758
  /**
772
759
  * For directional lights, accumulate all shadow cascades.
773
760
  */
@@ -952,7 +939,6 @@ export declare enum ComponentHash {
952
939
  point_cloud_ref = 457361603,
953
940
  point_light = 3624222817,
954
941
  reflection_probe = 3879689944,
955
- revolute_joint = 1364947094,
956
942
  rigid_body = 3452128059,
957
943
  scene_ref = 371342060,
958
944
  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.10",
4
4
  "description": "3dverse Livelink Core types.",
5
5
  "main": "./dist/library.cjs",
6
6
  "module": "./dist/library.mjs",