@3dverse/livelink.core 0.7.7 → 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.
- package/dist/_prebuild/EditorMessageHandler.d.ts +0 -6
- package/dist/_prebuild/messages/gateway/FrameData.d.ts +1 -2
- package/dist/_prebuild/messages/gateway/enums.d.ts +3 -3
- package/dist/_prebuild/types/components.d.ts +6 -24
- package/dist/_prebuild/types/settings.d.ts +12 -12
- package/dist/sources/controllers/ActivityWatcher.d.ts +4 -0
- package/dist/sources/controllers/GatewayController.d.ts +4 -2
- package/package.json +1 -1
|
@@ -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
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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,
|
|
@@ -69,17 +69,9 @@ export type Display = Partial<{
|
|
|
69
69
|
*/
|
|
70
70
|
forceRedraw: boolean;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* When 'Force Redraw' is off, this setting controls the number of frames the renderer will draw before going back to idle
|
|
73
73
|
*/
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Toggle camera frustum
|
|
77
|
-
*/
|
|
78
|
-
drawCameraFrustum: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Toggle bounding box
|
|
81
|
-
*/
|
|
82
|
-
drawBoundingBox: boolean;
|
|
74
|
+
framePersistence: UInt32;
|
|
83
75
|
/**
|
|
84
76
|
* Toggle frustum culling
|
|
85
77
|
*/
|
|
@@ -114,6 +106,10 @@ export type Misc = Partial<{
|
|
|
114
106
|
* The maximum number of time a linker can reference itself.
|
|
115
107
|
*/
|
|
116
108
|
maxLinkersRecursionCount: UInt32;
|
|
109
|
+
/**
|
|
110
|
+
* Plugins to load at startup
|
|
111
|
+
*/
|
|
112
|
+
plugins: Array<string>;
|
|
117
113
|
}>;
|
|
118
114
|
/**
|
|
119
115
|
* Settings for the physics engine.
|
|
@@ -131,6 +127,10 @@ export type Physics = Partial<{
|
|
|
131
127
|
* A frame-rate-independent interval that dictates when physics calculations are performed.
|
|
132
128
|
*/
|
|
133
129
|
timestepInS: Float;
|
|
130
|
+
/**
|
|
131
|
+
* The epsilon used to mark whether the transform of an entity has changed and so whether to notify the physics engine.
|
|
132
|
+
*/
|
|
133
|
+
epsilon: Float;
|
|
134
134
|
/**
|
|
135
135
|
* The approximate size of objects in the simulation. This is used to estimate certain length-related tolerances.
|
|
136
136
|
*/
|
|
@@ -140,9 +140,9 @@ export type Physics = Partial<{
|
|
|
140
140
|
*/
|
|
141
141
|
toleranceSpeed: Float;
|
|
142
142
|
/**
|
|
143
|
-
* The
|
|
143
|
+
* The bigger LMD Max is, the greater the area that is searched for future contacts, and so the greater time taken per iteration. Note that XDE resolves contacts pre-collision, not once collision has taken place, like the majority of physics engines. Displacement of any object per iteration should not exceed LMD Max.
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
lmdMax: Float;
|
|
146
146
|
}>;
|
|
147
147
|
/**
|
|
148
148
|
* Renderer settings
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GatewayMessageHandler } from "../../_prebuild/GatewayMessageHandler";
|
|
2
2
|
import { SessionInterface } from "../interfaces/SessionInterface";
|
|
3
3
|
import { ActivityWatcher } from "./ActivityWatcher";
|
|
4
|
-
import { UUID } from "../types";
|
|
4
|
+
import { GatewayDisconnectedReason, UUID } from "../types";
|
|
5
5
|
/**
|
|
6
6
|
* The gateway controller is the exposed interface of the Livelink gateway protocol.
|
|
7
7
|
*
|
|
@@ -43,7 +43,9 @@ export declare class GatewayController extends GatewayMessageHandler {
|
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
|
-
_onDisconnected(
|
|
46
|
+
_onDisconnected({ reason }: {
|
|
47
|
+
reason: GatewayDisconnectedReason;
|
|
48
|
+
}): void;
|
|
47
49
|
/**
|
|
48
50
|
*
|
|
49
51
|
*/
|