ohzi-core 12.2.0 → 12.3.0
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/build/index.mjs +1 -1
- package/build/index.mjs.map +1 -1
- package/package.json +2 -1
- package/src/BaseApplication.js +11 -2
- package/src/Browser.js +10 -3
- package/src/CameraManager.js +5 -0
- package/src/Capabilities.js +1 -0
- package/src/CustomBezierCurve.js +12 -0
- package/src/Debug.js +99 -5
- package/src/Graphics.js +86 -6
- package/src/Initializer.js +5 -0
- package/src/KeyboardInput.js +40 -1
- package/src/OS.js +1 -1
- package/src/OScreen.js +19 -4
- package/src/OrthographicCamera.js +13 -0
- package/src/PerspectiveCamera.js +11 -0
- package/src/ReflectionPlaneContext.js +5 -1
- package/src/RenderLayers.js +1 -1
- package/src/RenderLoop.js +9 -0
- package/src/RenderOrder.js +1 -1
- package/src/ResourceContainer.js +21 -0
- package/src/SceneManager.js +14 -4
- package/src/Screen.js +71 -0
- package/src/Time.js +4 -0
- package/src/UI.js +16 -1
- package/src/action_sequencer/ActionEvent.js +6 -1
- package/src/action_sequencer/ActionInterpolator.js +16 -2
- package/src/action_sequencer/ActionSequencer.js +65 -2
- package/src/action_sequencer/NumberInterpolator.js +15 -0
- package/src/action_sequencer/VectorInterpolator.js +13 -1
- package/src/blitter_index.js +1 -0
- package/src/canvas_drawer/CanvasDrawer.js +37 -4
- package/src/canvas_drawer/MultiLineTextDrawer.js +8 -1
- package/src/canvas_drawer/SimpleTextDrawer.js +7 -1
- package/src/components/AudioClip.js +11 -1
- package/src/components/AxisHelper.js +1 -1
- package/src/components/BaseObject.js +8 -5
- package/src/components/EdgeMesh.js +30 -2
- package/src/components/GeometryEdgeVisualizer.js +10 -1
- package/src/components/Grid.js +4 -0
- package/src/components/Line.js +31 -7
- package/src/components/MultiLinePath.js +9 -5
- package/src/components/MultiLineText2D.js +13 -2
- package/src/components/ObjectAxis.js +5 -0
- package/src/components/ObjectOrientedBoundingBox.js +26 -1
- package/src/components/PlaneHelper.js +1 -1
- package/src/components/Shape2D.js +11 -3
- package/src/components/Shape3D.js +10 -4
- package/src/components/Text2D.js +11 -3
- package/src/components/UIElement.js +40 -4
- package/src/components/UpdatableMaterialMesh.js +11 -3
- package/src/components/WorldImage.js +10 -2
- package/src/index.js +3 -1
- package/src/loaders/AsyncAbstractLoader.js +16 -0
- package/src/loaders/AsyncObjectsLoader.js +6 -0
- package/src/materials/AddMaterial.js +2 -2
- package/src/materials/GaussianBlurMaterial.js +9 -1
- package/src/materials/LuminosityHighPassMaterial.js +8 -1
- package/src/materials/UnrealBloomComposeMaterial.js +3 -2
- package/src/primitives/Arrow.js +6 -0
- package/src/primitives/Cube.js +6 -1
- package/src/primitives/HorizontalPlane.js +8 -1
- package/src/primitives/Sphere.js +7 -0
- package/src/primitives/VerticalPlane.js +8 -1
- package/src/render_mode/UnrealBloomRender.js +47 -38
- package/src/render_utilities/Blitter.js +3 -3
- package/src/render_utilities/GaussianBlurrer.js +33 -14
- package/src/shaders/add/add.frag +21 -2
- package/src/shaders/gaussian_blur/gaussian_blur.frag +23 -4
- package/src/shaders/gaussian_blur/unreal_bloom_compose.frag +17 -5
- package/src/shaders/luminosity_high_pass/luminosity_high_pass.frag +16 -1
- package/src/ui/ui_element_state/OnIdle.js +5 -0
- package/src/ui/ui_element_state/OnMouseEnter.js +11 -0
- package/src/ui/ui_element_state/OnMouseExit.js +5 -0
- package/src/ui/ui_element_state/OnMouseHover.js +13 -0
- package/src/ui/ui_element_state/UIElementState.js +17 -3
- package/src/utilities/EasingFunctions.js +5 -0
- package/types/BaseApplication.d.ts +18 -11
- package/types/Browser.d.ts +20 -19
- package/types/CameraManager.d.ts +14 -13
- package/types/Capabilities.d.ts +8 -8
- package/types/CustomBezierCurve.d.ts +19 -7
- package/types/Debug.d.ts +198 -37
- package/types/Graphics.d.ts +143 -61
- package/types/Initializer.d.ts +10 -6
- package/types/KeyboardInput.d.ts +65 -20
- package/types/OS.d.ts +20 -20
- package/types/OScreen.d.ts +37 -22
- package/types/OrthographicCamera.d.ts +20 -6
- package/types/PerspectiveCamera.d.ts +18 -6
- package/types/ReflectionPlaneContext.d.ts +13 -8
- package/types/RenderLayers.d.ts +6 -6
- package/types/RenderLoop.d.ts +132 -14
- package/types/RenderOrder.d.ts +8 -8
- package/types/ResourceContainer.d.ts +29 -10
- package/types/SceneManager.d.ts +15 -12
- package/types/Screen.d.ts +27 -0
- package/types/Time.d.ts +29 -24
- package/types/UI.d.ts +92 -18
- package/types/action_sequencer/ActionEvent.d.ts +12 -7
- package/types/action_sequencer/ActionInterpolator.d.ts +18 -5
- package/types/action_sequencer/ActionSequencer.d.ts +104 -36
- package/types/action_sequencer/NumberInterpolator.d.ts +18 -9
- package/types/action_sequencer/VectorInterpolator.d.ts +13 -7
- package/types/blitter_index.d.ts +6 -6
- package/types/canvas_drawer/CanvasDrawer.d.ts +51 -13
- package/types/canvas_drawer/MultiLineTextDrawer.d.ts +13 -5
- package/types/canvas_drawer/SimpleTextDrawer.d.ts +13 -6
- package/types/components/AudioClip.d.ts +25 -13
- package/types/components/AxisHelper.d.ts +6 -6
- package/types/components/BaseObject.d.ts +12 -5
- package/types/components/EdgeMesh.d.ts +42 -13
- package/types/components/GeometryEdgeVisualizer.d.ts +12 -4
- package/types/components/Grid.d.ts +4 -2
- package/types/components/Line.d.ts +42 -16
- package/types/components/MultiLinePath.d.ts +10 -4
- package/types/components/MultiLineText2D.d.ts +22 -10
- package/types/components/ObjectAxis.d.ts +8 -3
- package/types/components/ObjectOrientedBoundingBox.d.ts +45 -18
- package/types/components/PlaneHelper.d.ts +6 -6
- package/types/components/Shape2D.d.ts +14 -4
- package/types/components/Shape3D.d.ts +10 -3
- package/types/components/Text2D.d.ts +21 -13
- package/types/components/UIElement.d.ts +87 -52
- package/types/components/UpdatableMaterialMesh.d.ts +12 -4
- package/types/components/WorldImage.d.ts +23 -13
- package/types/components/mouse_interactors/ObjectRotator.d.ts +12 -0
- package/types/components/sdf_text/SDFText.d.ts +35 -30
- package/types/components/sdf_text/SDFTextBatch.d.ts +12 -12
- package/types/components/sdf_text/TextGlyph.d.ts +8 -6
- package/types/data_textures/CustomDataTexture.d.ts +11 -11
- package/types/data_textures/RGBADataTexture.d.ts +4 -4
- package/types/data_textures/RGBAFloatDataTexture.d.ts +4 -4
- package/types/data_textures/RGBDataTexture.d.ts +4 -4
- package/types/data_textures/RGBFloatDataTexture.d.ts +4 -4
- package/types/editor/ManipulatorHandle.d.ts +23 -14
- package/types/editor/ObjectEditor.d.ts +18 -16
- package/types/editor/ObjectManipulator.d.ts +23 -19
- package/types/editor/ObjectPicker.d.ts +19 -16
- package/types/gpu_particles/GPUParticleSystem.d.ts +22 -15
- package/types/gpu_particles/ParticleAttribute.d.ts +19 -18
- package/types/gpu_particles/ParticlePositionAttribute.d.ts +6 -6
- package/types/html_utilities/CSSAnimator.d.ts +31 -31
- package/types/html_utilities/css_animator_states/Animating.d.ts +8 -8
- package/types/html_utilities/css_animator_states/Idle.d.ts +6 -6
- package/types/index.d.ts +110 -108
- package/types/loaders/AsyncAbstractLoader.d.ts +41 -27
- package/types/loaders/AsyncAudiosLoader.d.ts +6 -5
- package/types/loaders/AsyncObjectsLoader.d.ts +6 -6
- package/types/loaders/AsyncTexturesLoader.d.ts +9 -8
- package/types/loaders/assets_loader/AssetLoader.d.ts +4 -0
- package/types/loaders/assets_loader/AsyncAssetsLoaderWorker.d.ts +1 -0
- package/types/loaders/assets_loader/ResourceBatch.d.ts +14 -0
- package/types/loaders/assets_loader/ResourceContainer.d.ts +9 -0
- package/types/loaders/assets_loader/ResourceLoaderChecker.d.ts +8 -0
- package/types/materials/AddMaterial.d.ts +5 -5
- package/types/materials/AlphaFilterMaterial.d.ts +6 -6
- package/types/materials/BaseShaderMaterial.d.ts +4 -3
- package/types/materials/BlitMaterial.d.ts +4 -3
- package/types/materials/BloomComposeMaterial.d.ts +4 -7
- package/types/materials/BoxBlurMaterial.d.ts +4 -4
- package/types/materials/ClearAlphaMaterial.d.ts +3 -3
- package/types/materials/ClearColorMaterial.d.ts +7 -7
- package/types/materials/ClearDepthNormalMaterial.d.ts +4 -4
- package/types/materials/DeferredRendererComposeMaterial.d.ts +7 -7
- package/types/materials/DepthNormalMaterial.d.ts +6 -4
- package/types/materials/DisplayNormalTextureMaterial.d.ts +4 -4
- package/types/materials/DualFilteringBlurMaterial.d.ts +4 -4
- package/types/materials/FXAAMaterial.d.ts +3 -3
- package/types/materials/GaussianBlurMaterial.d.ts +6 -6
- package/types/materials/LuminosityHighPassMaterial.d.ts +4 -4
- package/types/materials/MedianFilterMaterial.d.ts +7 -6
- package/types/materials/NormalMaterial.d.ts +4 -2
- package/types/materials/SDFScreenTextMaterial.d.ts +9 -11
- package/types/materials/SDFTextMaterial.d.ts +10 -12
- package/types/materials/SSAOComposeMaterial.d.ts +4 -4
- package/types/materials/SSAOMaterial.d.ts +8 -6
- package/types/materials/ScreenSpaceTextureMaterial.d.ts +7 -7
- package/types/materials/UIElementMaterial.d.ts +4 -7
- package/types/materials/UnrealBloomComposeMaterial.d.ts +16 -16
- package/types/materials/UnrealBlurMaterial.d.ts +4 -4
- package/types/materials/UnrealComposeMaterial.d.ts +4 -4
- package/types/materials/ViewPositionMaterial.d.ts +4 -3
- package/types/materials/deferred/DeferredPointLightMaterial.d.ts +9 -10
- package/types/materials/gpu_particles/AttributeUpdateMaterial.d.ts +7 -0
- package/types/materials/gpu_particles/BasicParticleMaterial.d.ts +4 -0
- package/types/materials/gpu_particles/ParticleStorageMaterial.d.ts +4 -2
- package/types/materials/gpu_particles/PositionStorageMaterial.d.ts +3 -4
- package/types/object_pool/Pool.d.ts +10 -10
- package/types/primitives/Arrow.d.ts +15 -8
- package/types/primitives/Cube.d.ts +10 -3
- package/types/primitives/HorizontalPlane.d.ts +11 -3
- package/types/primitives/Sphere.d.ts +11 -3
- package/types/primitives/VerticalPlane.d.ts +11 -3
- package/types/raycast/GroupRaycaster.d.ts +15 -13
- package/types/raycast/PlaneDragResolver.d.ts +16 -15
- package/types/raycast/PlaneRaycastResolver.d.ts +5 -5
- package/types/raycast/PlaneRaycaster.d.ts +9 -7
- package/types/raycast/RaycastResolver.d.ts +5 -5
- package/types/raycast/SurfaceDragResolver.d.ts +15 -13
- package/types/raycast/states/BaseState.d.ts +5 -5
- package/types/raycast/states/IdleState.d.ts +3 -5
- package/types/raycast/states/OnRaycastEnter.d.ts +3 -5
- package/types/raycast/states/OnRaycastExit.d.ts +3 -4
- package/types/raycast/states/OnRaycastHover.d.ts +3 -5
- package/types/render_mode/BaseRender.d.ts +7 -7
- package/types/render_mode/BloomRender.d.ts +12 -10
- package/types/render_mode/DebugNormalsRender.d.ts +3 -3
- package/types/render_mode/DeferredRender.d.ts +13 -9
- package/types/render_mode/NormalAORender.d.ts +18 -17
- package/types/render_mode/NormalRender.d.ts +3 -3
- package/types/render_mode/OutlineRender.d.ts +25 -20
- package/types/render_mode/PlanarReflectionsRender.d.ts +19 -13
- package/types/render_mode/UnrealBloomRender.d.ts +21 -20
- package/types/render_mode/VRRender.d.ts +4 -4
- package/types/render_utilities/Blitter.d.ts +19 -15
- package/types/render_utilities/Blurrer.d.ts +9 -8
- package/types/render_utilities/DepthAndNormalsRenderer.d.ts +11 -10
- package/types/render_utilities/DualFilteringBlurrer.d.ts +18 -17
- package/types/render_utilities/GaussianBlurrer.d.ts +27 -26
- package/types/render_utilities/MedianFilter.d.ts +11 -9
- package/types/render_utilities/ViewPositionRenderer.d.ts +10 -9
- package/types/resource_loader/AbstractLoader.d.ts +21 -21
- package/types/resource_loader/AsyncTextureLoader.d.ts +11 -11
- package/types/resource_loader/AudioLoader.d.ts +9 -9
- package/types/resource_loader/BasisLoader.d.ts +6 -6
- package/types/resource_loader/CubemapLoader.d.ts +8 -7
- package/types/resource_loader/DAELoader.d.ts +7 -6
- package/types/resource_loader/DDSLoader.d.ts +7 -6
- package/types/resource_loader/FileLoader.d.ts +7 -6
- package/types/resource_loader/FontLoader.d.ts +7 -6
- package/types/resource_loader/GLTFDRACOLoader.d.ts +7 -6
- package/types/resource_loader/GLTFLoader.d.ts +7 -6
- package/types/resource_loader/HDRCubeTextureLoader.d.ts +8 -7
- package/types/resource_loader/JSONLoader.d.ts +5 -4
- package/types/resource_loader/OBJLoader.d.ts +7 -6
- package/types/resource_loader/PointArrayLoader.d.ts +9 -7
- package/types/resource_loader/RGBETextureLoader.d.ts +7 -6
- package/types/resource_loader/ResourceBatch.d.ts +13 -13
- package/types/resource_loader/SVGLoader.d.ts +7 -6
- package/types/resource_loader/TextLoader.d.ts +7 -6
- package/types/resource_loader/TextureLoader.d.ts +4 -4
- package/types/resource_loader/VideoLoader.d.ts +4 -4
- package/types/scenes/AbstractScene.d.ts +32 -32
- package/types/scenes/loading_states/CompilatorManager.d.ts +8 -8
- package/types/scenes/loading_states/HighQualityLoadingState.d.ts +3 -3
- package/types/scenes/loading_states/LoadingState.d.ts +31 -31
- package/types/scenes/loading_states/RegularLoadingState.d.ts +5 -5
- package/types/static_batcher/BatchedMesh.d.ts +16 -15
- package/types/static_batcher/GeometryBatch.d.ts +41 -37
- package/types/static_batcher/GeometryBatcher.d.ts +9 -9
- package/types/static_batcher/MeshBatcher.d.ts +5 -5
- package/types/ui/ui_element_position/ScreenSpacePosition.d.ts +5 -4
- package/types/ui/ui_element_position/WorldSpacePosition.d.ts +7 -5
- package/types/ui/ui_element_state/OnIdle.d.ts +9 -3
- package/types/ui/ui_element_state/OnMouseEnter.d.ts +3 -3
- package/types/ui/ui_element_state/OnMouseExit.d.ts +3 -3
- package/types/ui/ui_element_state/OnMouseHover.d.ts +8 -4
- package/types/ui/ui_element_state/UIElementState.d.ts +17 -5
- package/types/utilities/ArrayUtilities.d.ts +7 -7
- package/types/utilities/CameraUtilities.d.ts +40 -36
- package/types/utilities/EasingFunctions.d.ts +36 -35
- package/types/utilities/FrustumPointFitter.d.ts +14 -14
- package/types/utilities/GeometryUtilities.d.ts +5 -4
- package/types/utilities/HTMLUtilities.d.ts +6 -6
- package/types/utilities/ImageUtilities.d.ts +5 -4
- package/types/utilities/MeshSampler.d.ts +20 -20
- package/types/utilities/ModelUtilities.d.ts +15 -15
- package/types/utilities/OMath.d.ts +21 -21
- package/types/utilities/ObjectUtilities.d.ts +7 -7
- package/types/utilities/OrthographicFrustumPointFitter.d.ts +8 -7
- package/types/utilities/PerspectiveFrustumPointFitter.d.ts +14 -12
- package/types/utilities/StringUtilities.d.ts +6 -6
- package/types/utilities/TimeUtilities.d.ts +3 -3
- package/types/utilities/Validation.d.ts +6 -6
- package/types/view_components/ApplicationView.d.ts +13 -13
- package/types/view_components/TransitionManager.d.ts +20 -20
- package/types/view_components/ViewComponent.d.ts +15 -15
- package/types/view_components/ViewComponentManager.d.ts +13 -13
- package/types/view_components/ViewManager.d.ts +22 -23
- package/types/view_components/ViewState.d.ts +14 -14
- package/types/view_components/transition/ActionSequencerBuilder.d.ts +16 -16
- package/types/view_components/transition/DrawIOAnimationSheet.d.ts +17 -17
- package/types/view_components/transition/TransitionTable.d.ts +8 -8
- package/types/view_components/transition/ViewStateTransitionHandler.d.ts +19 -19
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export class PlaneHelper {
|
|
2
|
-
constructor(scale?: number);
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export class PlaneHelper extends Object3D<import("three").Object3DEventMap> {
|
|
2
|
+
constructor(scale?: number);
|
|
3
|
+
update(): void;
|
|
4
|
+
dispose(): void;
|
|
5
|
+
}
|
|
6
|
+
import { Object3D } from "three/src/core/Object3D";
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
export class Shape2D {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export class Shape2D extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
2
|
+
/**
|
|
3
|
+
* @param {Vector2[]} points_2D
|
|
4
|
+
* @param {boolean} show_edges
|
|
5
|
+
*/
|
|
6
|
+
constructor(points_2D: Vector2[], show_edges: boolean);
|
|
7
|
+
/**
|
|
8
|
+
* @param {ShapeGeometry} geometry
|
|
9
|
+
*/
|
|
10
|
+
invert_normals(geometry: ShapeGeometry): void;
|
|
11
|
+
}
|
|
12
|
+
import { Mesh } from "three/src/objects/Mesh";
|
|
13
|
+
import { ShapeGeometry } from "three/src/geometries/ShapeGeometry";
|
|
14
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
export class Shape3D {
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
export class Shape3D extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
2
|
+
/**
|
|
3
|
+
* @param {Vector2[]} points_2D
|
|
4
|
+
* @param {boolean} show_edges
|
|
5
|
+
* @param {number} [height]
|
|
6
|
+
*/
|
|
7
|
+
constructor(points_2D: Vector2[], show_edges: boolean, height?: number);
|
|
8
|
+
}
|
|
9
|
+
import { Mesh } from "three/src/objects/Mesh";
|
|
10
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
export class Text2D extends WorldImage {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
export class Text2D extends WorldImage {
|
|
2
|
+
/**
|
|
3
|
+
* @param {string} text
|
|
4
|
+
* @param {string} font
|
|
5
|
+
* @param {string | Number} color
|
|
6
|
+
* @param {Vector2} pivot
|
|
7
|
+
* @param {boolean} [is_static]
|
|
8
|
+
*/
|
|
9
|
+
constructor(text: string, font: string, color: string | number, pivot: Vector2, is_static?: boolean);
|
|
10
|
+
simple_text_drawer: SimpleTextDrawer;
|
|
11
|
+
canvas_texture: import("three").CanvasTexture;
|
|
12
|
+
draw_settings: {
|
|
13
|
+
font: string;
|
|
14
|
+
font_color: string | number;
|
|
15
|
+
};
|
|
16
|
+
set text(arg: string);
|
|
17
|
+
get text(): string;
|
|
18
|
+
}
|
|
19
|
+
import { WorldImage } from "./WorldImage";
|
|
20
|
+
import { SimpleTextDrawer } from "../canvas_drawer/SimpleTextDrawer";
|
|
21
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
@@ -1,52 +1,87 @@
|
|
|
1
|
-
export class UIElement {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
1
|
+
export class UIElement extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
2
|
+
/**
|
|
3
|
+
* @param {string} [vert]
|
|
4
|
+
* @param {string} [frag]
|
|
5
|
+
*/
|
|
6
|
+
constructor(vert?: string, frag?: string);
|
|
7
|
+
material: UIElementMaterial;
|
|
8
|
+
is_clickable: boolean;
|
|
9
|
+
/** @type {WorldSpacePosition | ScreenSpacePosition} */
|
|
10
|
+
position_strategy: WorldSpacePosition | ScreenSpacePosition;
|
|
11
|
+
current_state: OnIdle;
|
|
12
|
+
_position: Vector3;
|
|
13
|
+
_on_idle_state: OnIdle;
|
|
14
|
+
_on_enter_state: OnMouseEnter;
|
|
15
|
+
_on_exit_state: OnMouseExit;
|
|
16
|
+
_on_hover_state: OnMouseHover;
|
|
17
|
+
on_enter: any;
|
|
18
|
+
on_exit: any;
|
|
19
|
+
on_hover: any;
|
|
20
|
+
mouse_pos_tmp: Vector2;
|
|
21
|
+
cached_NDC_position: Vector2;
|
|
22
|
+
screen_pos_tmp: Vector2;
|
|
23
|
+
texture_size: Vector2;
|
|
24
|
+
size: number;
|
|
25
|
+
pixel_offset: Vector2;
|
|
26
|
+
/**
|
|
27
|
+
* @param {number} value
|
|
28
|
+
*/
|
|
29
|
+
set_render_order(value: number): void;
|
|
30
|
+
get pivot_point(): any;
|
|
31
|
+
/**
|
|
32
|
+
* @param {Vector2} offset
|
|
33
|
+
*/
|
|
34
|
+
set_pixel_offset(offset: Vector2): void;
|
|
35
|
+
/**
|
|
36
|
+
*@param {UIElementState} new_state
|
|
37
|
+
*/
|
|
38
|
+
set_state(new_state: UIElementState): void;
|
|
39
|
+
set use_depth(arg: boolean);
|
|
40
|
+
get use_depth(): boolean;
|
|
41
|
+
set depth_offset(arg: any);
|
|
42
|
+
get depth_offset(): any;
|
|
43
|
+
clear_state(): void;
|
|
44
|
+
set_world_space_coordinate_system(): void;
|
|
45
|
+
set_screen_space_coordinate_system(): void;
|
|
46
|
+
/**
|
|
47
|
+
* @param {Texture} texture
|
|
48
|
+
*/
|
|
49
|
+
set_texture(texture: Texture): void;
|
|
50
|
+
/**
|
|
51
|
+
* @param {Vector2} normalized_mouse_pos
|
|
52
|
+
*/
|
|
53
|
+
update_state(normalized_mouse_pos: Vector2): void;
|
|
54
|
+
/**
|
|
55
|
+
* @param {Vector2} normalized_mouse_pos
|
|
56
|
+
*/
|
|
57
|
+
is_mouse_over(normalized_mouse_pos: Vector2): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @param {Vector2} projected_pos
|
|
60
|
+
*/
|
|
61
|
+
to_screen_position(projected_pos: Vector2): void;
|
|
62
|
+
get_screen_space_position(): Vector2;
|
|
63
|
+
/**
|
|
64
|
+
* @param {Vector2} screen_pos
|
|
65
|
+
*/
|
|
66
|
+
set_screen_space_position(screen_pos: Vector2): void;
|
|
67
|
+
dispose(): void;
|
|
68
|
+
/**
|
|
69
|
+
* @param {Vector2} [vector2]
|
|
70
|
+
*/
|
|
71
|
+
get_size(vector2?: Vector2): Vector2;
|
|
72
|
+
on_mouse_enter(): void;
|
|
73
|
+
on_mouse_exit(): void;
|
|
74
|
+
on_mouse_hover(): void;
|
|
75
|
+
}
|
|
76
|
+
import { Mesh } from "three/src/objects/Mesh";
|
|
77
|
+
import { UIElementMaterial } from "../materials/UIElementMaterial";
|
|
78
|
+
import { WorldSpacePosition } from "../ui/ui_element_position/WorldSpacePosition";
|
|
79
|
+
import { ScreenSpacePosition } from "../ui/ui_element_position/ScreenSpacePosition";
|
|
80
|
+
import { OnIdle } from "../ui/ui_element_state/OnIdle";
|
|
81
|
+
import { Vector3 } from "three/src/math/Vector3";
|
|
82
|
+
import { OnMouseEnter } from "../ui/ui_element_state/OnMouseEnter";
|
|
83
|
+
import { OnMouseExit } from "../ui/ui_element_state/OnMouseExit";
|
|
84
|
+
import { OnMouseHover } from "../ui/ui_element_state/OnMouseHover";
|
|
85
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
86
|
+
import { UIElementState } from "../ui/ui_element_state/UIElementState";
|
|
87
|
+
import { Texture } from "three/src/textures/Texture";
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
export class UpdatableMaterialMesh {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export class UpdatableMaterialMesh extends Mesh<BufferGeometry<import("three").NormalBufferAttributes>, Material | Material[], import("three").Object3DEventMap> {
|
|
2
|
+
/**
|
|
3
|
+
* @param {BufferGeometry} geometry
|
|
4
|
+
* @param {Material} material
|
|
5
|
+
*/
|
|
6
|
+
constructor(geometry: BufferGeometry, material: Material);
|
|
7
|
+
material: Material;
|
|
8
|
+
onBeforeRender: () => void;
|
|
9
|
+
}
|
|
10
|
+
import { BufferGeometry } from "three/src/core/BufferGeometry";
|
|
11
|
+
import { Material } from "three/src/materials/Material";
|
|
12
|
+
import { Mesh } from "three/src/objects/Mesh";
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
export class WorldImage {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
export class WorldImage extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
2
|
+
/**
|
|
3
|
+
* @param {Texture} texture
|
|
4
|
+
* @param {Vector2} [pivot]
|
|
5
|
+
*/
|
|
6
|
+
constructor(texture: Texture, pivot?: Vector2);
|
|
7
|
+
current_scale: number;
|
|
8
|
+
tmp_bb_size: Vector3;
|
|
9
|
+
material: ShaderMaterial;
|
|
10
|
+
update_texture(): void;
|
|
11
|
+
set size(arg: Vector3);
|
|
12
|
+
get size(): Vector3;
|
|
13
|
+
set screen_aligned(arg: boolean);
|
|
14
|
+
get screen_aligned(): boolean;
|
|
15
|
+
set opacity(arg: any);
|
|
16
|
+
get opacity(): any;
|
|
17
|
+
dispose(): void;
|
|
18
|
+
}
|
|
19
|
+
import { Mesh } from "three/src/objects/Mesh";
|
|
20
|
+
import { Vector3 } from "three/src/math/Vector3";
|
|
21
|
+
import { ShaderMaterial } from "three/src/materials/ShaderMaterial";
|
|
22
|
+
import { Texture } from "three/src/textures/Texture";
|
|
23
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class ObjectRotator extends RaycastResolver {
|
|
2
|
+
constructor(object: any, input: any);
|
|
3
|
+
input: any;
|
|
4
|
+
is_mouse_over: boolean;
|
|
5
|
+
rotation_active: boolean;
|
|
6
|
+
object: any;
|
|
7
|
+
group_raycaster: GroupRaycaster;
|
|
8
|
+
is_active(): boolean;
|
|
9
|
+
update(): void;
|
|
10
|
+
}
|
|
11
|
+
import { RaycastResolver } from "../../raycast/RaycastResolver";
|
|
12
|
+
import { GroupRaycaster } from "../../raycast/GroupRaycaster";
|
|
@@ -1,30 +1,35 @@
|
|
|
1
|
-
export class SDFText {
|
|
2
|
-
constructor(glyph_layout: any, text?: string);
|
|
3
|
-
glyph_layout: any;
|
|
4
|
-
glyphs: any[];
|
|
5
|
-
glyph_is_dirty: boolean;
|
|
6
|
-
matrix_is_dirty: boolean;
|
|
7
|
-
color_is_dirty: boolean;
|
|
8
|
-
position:
|
|
9
|
-
quaternion:
|
|
10
|
-
scale:
|
|
11
|
-
matrix:
|
|
12
|
-
color:
|
|
13
|
-
pivot_point:
|
|
14
|
-
__opacity: number;
|
|
15
|
-
__text: string;
|
|
16
|
-
set text(arg: string);
|
|
17
|
-
get text(): string;
|
|
18
|
-
update_matrix(): void;
|
|
19
|
-
clear_glyph_dirty(): void;
|
|
20
|
-
clear_color_dirty(): void;
|
|
21
|
-
set_rotation(orientation?: number, tilt?: number): void;
|
|
22
|
-
set_position(pos: any): void;
|
|
23
|
-
set_size(size: any): void;
|
|
24
|
-
set_color(col: any): void;
|
|
25
|
-
set_pivot(pivot: any): void;
|
|
26
|
-
set opacity(arg: number);
|
|
27
|
-
get opacity(): number;
|
|
28
|
-
update_glyphs(): void;
|
|
29
|
-
__generate_glyphs(text: any): void;
|
|
30
|
-
}
|
|
1
|
+
export class SDFText {
|
|
2
|
+
constructor(glyph_layout: any, text?: string);
|
|
3
|
+
glyph_layout: any;
|
|
4
|
+
glyphs: any[];
|
|
5
|
+
glyph_is_dirty: boolean;
|
|
6
|
+
matrix_is_dirty: boolean;
|
|
7
|
+
color_is_dirty: boolean;
|
|
8
|
+
position: Vector3;
|
|
9
|
+
quaternion: Quaternion;
|
|
10
|
+
scale: Vector3;
|
|
11
|
+
matrix: Matrix4;
|
|
12
|
+
color: Color;
|
|
13
|
+
pivot_point: Vector2;
|
|
14
|
+
__opacity: number;
|
|
15
|
+
__text: string;
|
|
16
|
+
set text(arg: string);
|
|
17
|
+
get text(): string;
|
|
18
|
+
update_matrix(): void;
|
|
19
|
+
clear_glyph_dirty(): void;
|
|
20
|
+
clear_color_dirty(): void;
|
|
21
|
+
set_rotation(orientation?: number, tilt?: number): void;
|
|
22
|
+
set_position(pos: any): void;
|
|
23
|
+
set_size(size: any): void;
|
|
24
|
+
set_color(col: any): void;
|
|
25
|
+
set_pivot(pivot: any): void;
|
|
26
|
+
set opacity(arg: number);
|
|
27
|
+
get opacity(): number;
|
|
28
|
+
update_glyphs(): void;
|
|
29
|
+
__generate_glyphs(text: any): void;
|
|
30
|
+
}
|
|
31
|
+
import { Vector3 } from "three/src/math/Vector3";
|
|
32
|
+
import { Quaternion } from "three/src/math/Quaternion";
|
|
33
|
+
import { Matrix4 } from "three/src/math/Matrix4";
|
|
34
|
+
import { Color } from "three/src/math/Color";
|
|
35
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export class SDFTextBatch {
|
|
2
|
-
constructor(font_layout: any, atlas_texture: any);
|
|
3
|
-
text_elements: any[];
|
|
4
|
-
font_layout: any;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
import { SDFText } from "./SDFText";
|
|
1
|
+
export class SDFTextBatch extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
2
|
+
constructor(font_layout: any, atlas_texture: any);
|
|
3
|
+
text_elements: any[];
|
|
4
|
+
font_layout: any;
|
|
5
|
+
set_boldness(value: any): void;
|
|
6
|
+
add_text(text_str: any): SDFText;
|
|
7
|
+
remove_text(text_elem: any): void;
|
|
8
|
+
update(force_update: any): void;
|
|
9
|
+
dispose(): void;
|
|
10
|
+
}
|
|
11
|
+
import { Mesh } from "three/src/objects/Mesh";
|
|
12
|
+
import { SDFText } from "./SDFText";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export class TextGlyph {
|
|
2
|
-
constructor(offset: any, plane_bounds: any, atlas_bounds: any);
|
|
3
|
-
scale:
|
|
4
|
-
position:
|
|
5
|
-
atlas_bounds:
|
|
6
|
-
}
|
|
1
|
+
export class TextGlyph {
|
|
2
|
+
constructor(offset: any, plane_bounds: any, atlas_bounds: any);
|
|
3
|
+
scale: Vector2;
|
|
4
|
+
position: Vector2;
|
|
5
|
+
atlas_bounds: Vector4;
|
|
6
|
+
}
|
|
7
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
8
|
+
import { Vector4 } from "three/src/math/Vector4";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export class CustomDataTexture {
|
|
2
|
-
constructor(data: any, width: any, height: any, format: any, type: any);
|
|
3
|
-
multiplier: number;
|
|
4
|
-
set_rgba(index: any, r: any, g: any, b: any, a: any): void;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
export class CustomDataTexture extends DataTexture {
|
|
2
|
+
constructor(data: any, width: any, height: any, format: any, type: any);
|
|
3
|
+
multiplier: number;
|
|
4
|
+
set_rgba(index: any, r: any, g: any, b: any, a: any): void;
|
|
5
|
+
set_rgb(index: any, r: any, g: any, b: any): void;
|
|
6
|
+
set_r(index: any, value: any): void;
|
|
7
|
+
set_g(index: any, value: any): void;
|
|
8
|
+
set_b(index: any, value: any): void;
|
|
9
|
+
set_a(index: any, value: any): void;
|
|
10
|
+
}
|
|
11
|
+
import { DataTexture } from "three/src/textures/DataTexture";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class RGBADataTexture extends CustomDataTexture {
|
|
2
|
-
constructor(width: any, height: any);
|
|
3
|
-
}
|
|
4
|
-
import { CustomDataTexture } from "./CustomDataTexture";
|
|
1
|
+
export class RGBADataTexture extends CustomDataTexture {
|
|
2
|
+
constructor(width: any, height: any);
|
|
3
|
+
}
|
|
4
|
+
import { CustomDataTexture } from "./CustomDataTexture";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class RGBAFloatDataTexture extends CustomDataTexture {
|
|
2
|
-
constructor(width: any, height: any);
|
|
3
|
-
}
|
|
4
|
-
import { CustomDataTexture } from "./CustomDataTexture";
|
|
1
|
+
export class RGBAFloatDataTexture extends CustomDataTexture {
|
|
2
|
+
constructor(width: any, height: any);
|
|
3
|
+
}
|
|
4
|
+
import { CustomDataTexture } from "./CustomDataTexture";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class RGBDataTexture extends CustomDataTexture {
|
|
2
|
-
constructor(width: any, height: any);
|
|
3
|
-
}
|
|
4
|
-
import { CustomDataTexture } from "./CustomDataTexture";
|
|
1
|
+
export class RGBDataTexture extends CustomDataTexture {
|
|
2
|
+
constructor(width: any, height: any);
|
|
3
|
+
}
|
|
4
|
+
import { CustomDataTexture } from "./CustomDataTexture";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class RGBFloatDataTexture extends CustomDataTexture {
|
|
2
|
-
constructor(width: any, height: any);
|
|
3
|
-
}
|
|
4
|
-
import { CustomDataTexture } from "./CustomDataTexture";
|
|
1
|
+
export class RGBFloatDataTexture extends CustomDataTexture {
|
|
2
|
+
constructor(width: any, height: any);
|
|
3
|
+
}
|
|
4
|
+
import { CustomDataTexture } from "./CustomDataTexture";
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
export class ManipulatorHandle {
|
|
2
|
-
constructor(direction: any, color: any);
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
export class ManipulatorHandle extends Object3D<import("three").Object3DEventMap> {
|
|
2
|
+
constructor(direction: any, color: any, input: any);
|
|
3
|
+
input: any;
|
|
4
|
+
arrow_helper: ArrowHelper;
|
|
5
|
+
box_collider: Mesh<BoxGeometry, MeshBasicMaterial, import("three").Object3DEventMap>;
|
|
6
|
+
direction: any;
|
|
7
|
+
raycaster: Raycaster;
|
|
8
|
+
raycast_result: import("three").Intersection<Object3D<import("three").Object3DEventMap>>[];
|
|
9
|
+
tmp_p1: Vector3;
|
|
10
|
+
tmp_p2: Vector3;
|
|
11
|
+
tmp_v2: Vector2;
|
|
12
|
+
half_unit_vec: Vector3;
|
|
13
|
+
is_mouse_over(): boolean;
|
|
14
|
+
get_normalized_screen_direction(): Vector2;
|
|
15
|
+
}
|
|
16
|
+
import { Object3D } from "three/src/core/Object3D";
|
|
17
|
+
import { ArrowHelper } from "three/src/helpers/ArrowHelper";
|
|
18
|
+
import { BoxGeometry } from "three/src/geometries/BoxGeometry";
|
|
19
|
+
import { MeshBasicMaterial } from "three/src/materials/MeshBasicMaterial";
|
|
20
|
+
import { Mesh } from "three/src/objects/Mesh";
|
|
21
|
+
import { Raycaster } from "three/src/core/Raycaster";
|
|
22
|
+
import { Vector3 } from "three/src/math/Vector3";
|
|
23
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
export class ObjectEditor {
|
|
2
|
-
constructor(renderer: any, scene: any, camera: any);
|
|
3
|
-
raycaster:
|
|
4
|
-
selected_object: any;
|
|
5
|
-
object_manipulator: ObjectManipulator;
|
|
6
|
-
object_picker: ObjectPicker;
|
|
7
|
-
scene: any;
|
|
8
|
-
camera: any;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import {
|
|
1
|
+
export class ObjectEditor {
|
|
2
|
+
constructor(renderer: any, scene: any, camera: any, input: any);
|
|
3
|
+
raycaster: Raycaster;
|
|
4
|
+
selected_object: any;
|
|
5
|
+
object_manipulator: ObjectManipulator;
|
|
6
|
+
object_picker: ObjectPicker;
|
|
7
|
+
scene: any;
|
|
8
|
+
camera: any;
|
|
9
|
+
input: any;
|
|
10
|
+
selectable_objects: any[];
|
|
11
|
+
refresh_scene(): void;
|
|
12
|
+
update(): void;
|
|
13
|
+
__populate_selectable_objects(array: any): void;
|
|
14
|
+
__set_object_ids(array: any): void;
|
|
15
|
+
}
|
|
16
|
+
import { Raycaster } from "three/src/core/Raycaster";
|
|
17
|
+
import { ObjectManipulator } from "./ObjectManipulator";
|
|
18
|
+
import { ObjectPicker } from "./ObjectPicker";
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
export class ObjectManipulator {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
export class ObjectManipulator extends Object3D<import("three").Object3DEventMap> {
|
|
2
|
+
constructor(input: any);
|
|
3
|
+
input: any;
|
|
4
|
+
target_obj: any;
|
|
5
|
+
up_handle: ManipulatorHandle;
|
|
6
|
+
right_handle: ManipulatorHandle;
|
|
7
|
+
forward_handle: ManipulatorHandle;
|
|
8
|
+
active_handle: ManipulatorHandle;
|
|
9
|
+
tmp_displacement_vector: Vector3;
|
|
10
|
+
tmp_local_pos: Vector3;
|
|
11
|
+
tmp_up_v2: Vector2;
|
|
12
|
+
tmp_right_v2: Vector2;
|
|
13
|
+
use_vertical_translation: boolean;
|
|
14
|
+
translation_sign: boolean;
|
|
15
|
+
update(): void;
|
|
16
|
+
set_translation_axis(active_handle: any): void;
|
|
17
|
+
check_active_handle(): void;
|
|
18
|
+
set_target(obj: any): void;
|
|
19
|
+
}
|
|
20
|
+
import { Object3D } from "three/src/core/Object3D";
|
|
21
|
+
import { ManipulatorHandle } from "../editor/ManipulatorHandle";
|
|
22
|
+
import { Vector3 } from "three/src/math/Vector3";
|
|
23
|
+
import { Vector2 } from "three/src/math/Vector2";
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
export class ObjectPicker {
|
|
2
|
-
constructor(renderer: any, scene: any, camera: any);
|
|
3
|
-
renderer: any;
|
|
4
|
-
readback_buffer: Uint8Array;
|
|
5
|
-
scene: any;
|
|
6
|
-
camera: any;
|
|
7
|
-
camera_layers: any;
|
|
8
|
-
clear_color:
|
|
9
|
-
picking_texture:
|
|
10
|
-
tmp_scene_auto_update: any;
|
|
11
|
-
tmp_mouse_pos:
|
|
12
|
-
pick(mouse_NDC: any, objects: any): number;
|
|
13
|
-
__prepare_scene(objects: any): void;
|
|
14
|
-
__restore_scene(objects: any): void;
|
|
15
|
-
__readback_id(mouse_NDC: any): number;
|
|
16
|
-
}
|
|
1
|
+
export class ObjectPicker {
|
|
2
|
+
constructor(renderer: any, scene: any, camera: any);
|
|
3
|
+
renderer: any;
|
|
4
|
+
readback_buffer: Uint8Array;
|
|
5
|
+
scene: any;
|
|
6
|
+
camera: any;
|
|
7
|
+
camera_layers: any;
|
|
8
|
+
clear_color: Color;
|
|
9
|
+
picking_texture: WebGLRenderTarget<import("three").Texture>;
|
|
10
|
+
tmp_scene_auto_update: any;
|
|
11
|
+
tmp_mouse_pos: Vector2;
|
|
12
|
+
pick(mouse_NDC: any, objects: any): number;
|
|
13
|
+
__prepare_scene(objects: any): void;
|
|
14
|
+
__restore_scene(objects: any): void;
|
|
15
|
+
__readback_id(mouse_NDC: any): number;
|
|
16
|
+
}
|
|
17
|
+
import { Color } from "three/src/math/Color";
|
|
18
|
+
import { WebGLRenderTarget } from "three/src/renderers/WebGLRenderTarget";
|
|
19
|
+
import { Vector2 } from "three/src/math/Vector2";
|