@3dverse/livelink.core 0.5.1 → 0.5.2
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.
|
@@ -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, Quat, Vec3, Vec2, Int32, UInt32, Float, Int8 } from "../../sources/types";
|
|
5
|
+
import type { RTID, UUID, Mat4, Quat, Vec3, Vec2, Int32, UInt32, Float, Int8 } from "../../sources/types";
|
|
6
6
|
import type * as Assets from "./assets";
|
|
7
7
|
/**
|
|
8
8
|
*
|
|
@@ -541,6 +541,10 @@ export type PerspectiveLens = Partial<{
|
|
|
541
541
|
* Distance from the viewer to the far clipping plane.
|
|
542
542
|
*/
|
|
543
543
|
farPlane: Float;
|
|
544
|
+
/**
|
|
545
|
+
* Offset of the projection for stereoscopic rendering.
|
|
546
|
+
*/
|
|
547
|
+
offset: Vec2;
|
|
544
548
|
}>;
|
|
545
549
|
/**
|
|
546
550
|
* Physics material which represents a set of physical surface properties.
|
|
@@ -830,37 +834,13 @@ export type SpotLight = Partial<{
|
|
|
830
834
|
IESProfile: AssetRef<Assets.Texture>;
|
|
831
835
|
}>;
|
|
832
836
|
/**
|
|
833
|
-
* A lens that applies
|
|
837
|
+
* A lens that applies a custom projection.
|
|
834
838
|
*/
|
|
835
839
|
export type StereoscopicLens = Partial<{
|
|
836
840
|
/**
|
|
837
|
-
*
|
|
841
|
+
* Projection matrix.
|
|
838
842
|
*/
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* Angle of the right side of the field of view.
|
|
842
|
-
*/
|
|
843
|
-
angleRight: Float;
|
|
844
|
-
/**
|
|
845
|
-
* Angle of the top part of the field of view.
|
|
846
|
-
*/
|
|
847
|
-
angleUp: Float;
|
|
848
|
-
/**
|
|
849
|
-
* Angle of the bottom part of the field of view (this value is negative).
|
|
850
|
-
*/
|
|
851
|
-
angleDown: Float;
|
|
852
|
-
/**
|
|
853
|
-
* Specifies the distance from the viewer to the near clipping plane.
|
|
854
|
-
*/
|
|
855
|
-
nearPlane: Float;
|
|
856
|
-
/**
|
|
857
|
-
* Specifies the distance from the viewer to the far clipping plane.
|
|
858
|
-
*/
|
|
859
|
-
farPlane: Float;
|
|
860
|
-
/**
|
|
861
|
-
* Specifies the aspect ratio of the viewport, usually equals width/height.
|
|
862
|
-
*/
|
|
863
|
-
aspectRatio: Float;
|
|
843
|
+
cs_from_vs: Mat4;
|
|
864
844
|
}>;
|
|
865
845
|
/**
|
|
866
846
|
* Tags used to filter entities.
|