vim-web 0.3.44-dev.80 → 0.3.44-dev.81
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.
|
@@ -66,6 +66,7 @@ export declare class RpcClient {
|
|
|
66
66
|
RPCSetCameraMode(orbit: boolean): void;
|
|
67
67
|
RPCSetCameraPosition(state: RpcTypes.Segment, blendTime: number): void;
|
|
68
68
|
RPCSetGhostColor(ghostColor: RpcTypes.RGBA): void;
|
|
69
|
+
RPCSetGhostColor2(ghostColor: RpcTypes.RGBA): void;
|
|
69
70
|
RPCSetIblRotation(transform: RpcTypes.Matrix44): void;
|
|
70
71
|
RPCSetLighting(toneMappingWhitePoint: number, hdrScale: number, hdrBackgroundScale: number, hdrBackgroundSaturation: number, backgroundBlur: number, backgroundColor: RpcTypes.RGBA): void;
|
|
71
72
|
RPCSetMaterialOverrides(componentHandle: number, nodes: number[], materialInstanceHandles: number[]): void;
|
package/dist/vim-web.iife.js
CHANGED
|
@@ -58238,6 +58238,12 @@ void main() {
|
|
|
58238
58238
|
marshal.writeRGBA(ghostColor);
|
|
58239
58239
|
this._socket.sendRPC(marshal);
|
|
58240
58240
|
}
|
|
58241
|
+
RPCSetGhostColor2(ghostColor) {
|
|
58242
|
+
const marshal = new Marshal();
|
|
58243
|
+
marshal.writeString("RPCSetGhostColor2");
|
|
58244
|
+
marshal.writeRGBA(ghostColor);
|
|
58245
|
+
this._socket.sendRPC(marshal);
|
|
58246
|
+
}
|
|
58241
58247
|
RPCSetIblRotation(transform) {
|
|
58242
58248
|
const marshal = new Marshal();
|
|
58243
58249
|
marshal.writeString("RPCSetIblRotation");
|
|
@@ -59566,7 +59572,7 @@ void main() {
|
|
|
59566
59572
|
*/
|
|
59567
59573
|
RPCSetGhostColor(ghostColor) {
|
|
59568
59574
|
const color = Validation.clampRGBA01(ghostColor);
|
|
59569
|
-
this.rpc.
|
|
59575
|
+
this.rpc.RPCSetGhostColor2(color);
|
|
59570
59576
|
}
|
|
59571
59577
|
/**
|
|
59572
59578
|
* Performs hit testing at a specified screen position.
|
|
@@ -59814,7 +59820,7 @@ void main() {
|
|
|
59814
59820
|
const defaultRenderSettings = {
|
|
59815
59821
|
...defaultSceneSettings,
|
|
59816
59822
|
lockIblRotation: true,
|
|
59817
|
-
ghostColor: new RGBA(14 / 255, 14 / 255, 14 / 255,
|
|
59823
|
+
ghostColor: new RGBA(14 / 255, 14 / 255, 14 / 255, 64 / 255)
|
|
59818
59824
|
};
|
|
59819
59825
|
class Renderer {
|
|
59820
59826
|
/**
|