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,15 +1,22 @@
|
|
|
1
|
-
export class GPUParticleSystem {
|
|
2
|
-
constructor(particle_count: any, material: any);
|
|
3
|
-
attributes: any[];
|
|
4
|
-
mesh: any
|
|
5
|
-
attribute_writter_mesh:
|
|
6
|
-
attribute_writter_scene:
|
|
7
|
-
add_texture_attribute(buffer_attribute: any): void;
|
|
8
|
-
add_update_attribute_array(name: any, array: any, item_size: any): void;
|
|
9
|
-
add_attribute_array(name: any, array: any, item_size: any): void;
|
|
10
|
-
update(): void;
|
|
11
|
-
dispose(): void;
|
|
12
|
-
build_point_mesh(instance_count: number, material: any): any
|
|
13
|
-
build_attribute_writter_mesh(particle_count: any):
|
|
14
|
-
build_uv_storage_attribute(particle_count: any):
|
|
15
|
-
}
|
|
1
|
+
export class GPUParticleSystem extends Object3D<import("three").Object3DEventMap> {
|
|
2
|
+
constructor(particle_count: any, material: any);
|
|
3
|
+
attributes: any[];
|
|
4
|
+
mesh: Mesh<InstancedBufferGeometry, any, import("three").Object3DEventMap>;
|
|
5
|
+
attribute_writter_mesh: Points<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>;
|
|
6
|
+
attribute_writter_scene: Scene;
|
|
7
|
+
add_texture_attribute(buffer_attribute: any): void;
|
|
8
|
+
add_update_attribute_array(name: any, array: any, item_size: any): void;
|
|
9
|
+
add_attribute_array(name: any, array: any, item_size: any): void;
|
|
10
|
+
update(): void;
|
|
11
|
+
dispose(): void;
|
|
12
|
+
build_point_mesh(instance_count: number, material: any): Mesh<InstancedBufferGeometry, any, import("three").Object3DEventMap>;
|
|
13
|
+
build_attribute_writter_mesh(particle_count: any): Points<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>;
|
|
14
|
+
build_uv_storage_attribute(particle_count: any): InstancedBufferAttribute;
|
|
15
|
+
}
|
|
16
|
+
import { Object3D } from "three/src/core/Object3D";
|
|
17
|
+
import { InstancedBufferGeometry } from "three/src/core/InstancedBufferGeometry";
|
|
18
|
+
import { Mesh } from "three/src/objects/Mesh";
|
|
19
|
+
import { BufferGeometry } from "three/src/core/BufferGeometry";
|
|
20
|
+
import { Points } from "three/src/objects/Points";
|
|
21
|
+
import { Scene } from "three/src/scenes/Scene";
|
|
22
|
+
import { InstancedBufferAttribute } from "three/src/core/InstancedBufferAttribute";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
export class ParticleAttribute {
|
|
2
|
-
static calculate_resolution(particle_count: any): {
|
|
3
|
-
width: number;
|
|
4
|
-
height: number;
|
|
5
|
-
};
|
|
6
|
-
constructor(attr_name: any, update_material: any);
|
|
7
|
-
read: any;
|
|
8
|
-
write: any;
|
|
9
|
-
name: any;
|
|
10
|
-
update_material: any;
|
|
11
|
-
init_from_geometry(geometry: any): void;
|
|
12
|
-
init_from_attribute(particle_attribute: any): void;
|
|
13
|
-
build_RT(particle_count: any):
|
|
14
|
-
swap_RT(): void;
|
|
15
|
-
update(attribute_writter_scene: any): void;
|
|
16
|
-
store_geometry_attribute_in_RT(attribute: any, RT: any, storage_material: any, attribute_writter_scene: any): void;
|
|
17
|
-
get_texture(): any;
|
|
18
|
-
}
|
|
1
|
+
export class ParticleAttribute {
|
|
2
|
+
static calculate_resolution(particle_count: any): {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
};
|
|
6
|
+
constructor(attr_name: any, update_material: any);
|
|
7
|
+
read: any;
|
|
8
|
+
write: any;
|
|
9
|
+
name: any;
|
|
10
|
+
update_material: any;
|
|
11
|
+
init_from_geometry(geometry: any): void;
|
|
12
|
+
init_from_attribute(particle_attribute: any): void;
|
|
13
|
+
build_RT(particle_count: any): WebGLRenderTarget<import("three").Texture>;
|
|
14
|
+
swap_RT(): void;
|
|
15
|
+
update(attribute_writter_scene: any): void;
|
|
16
|
+
store_geometry_attribute_in_RT(attribute: any, RT: any, storage_material: any, attribute_writter_scene: any): void;
|
|
17
|
+
get_texture(): any;
|
|
18
|
+
}
|
|
19
|
+
import { WebGLRenderTarget } from "three/src/renderers/WebGLRenderTarget";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export class ParticlePositionAttribute extends ParticleAttribute {
|
|
2
|
-
constructor(update_material: any);
|
|
3
|
-
store_geometry(geometry: any, attribute_writter_scene: any): void;
|
|
4
|
-
store_positions(positions: any, attribute_writter_scene: any): void;
|
|
5
|
-
}
|
|
6
|
-
import { ParticleAttribute } from "../gpu_particles/ParticleAttribute";
|
|
1
|
+
export class ParticlePositionAttribute extends ParticleAttribute {
|
|
2
|
+
constructor(update_material: any);
|
|
3
|
+
store_geometry(geometry: any, attribute_writter_scene: any): void;
|
|
4
|
+
store_positions(positions: any, attribute_writter_scene: any): void;
|
|
5
|
+
}
|
|
6
|
+
import { ParticleAttribute } from "../gpu_particles/ParticleAttribute";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export class CSSAnimator {
|
|
2
|
-
constructor({ element, css_property, from, to, duration, value_prefix, value_suffix, easing_function, finished_callback }: {
|
|
3
|
-
element: any;
|
|
4
|
-
css_property: any;
|
|
5
|
-
from?: number;
|
|
6
|
-
to?: number;
|
|
7
|
-
duration?: number;
|
|
8
|
-
value_prefix?: string;
|
|
9
|
-
value_suffix?: string;
|
|
10
|
-
easing_function?: typeof EasingFunctions.ease_in_out_cubic;
|
|
11
|
-
finished_callback?: () => void;
|
|
12
|
-
});
|
|
13
|
-
element: any;
|
|
14
|
-
css_property: any;
|
|
15
|
-
from: number;
|
|
16
|
-
to: number;
|
|
17
|
-
value_prefix: string;
|
|
18
|
-
value_suffix: string;
|
|
19
|
-
duration: number;
|
|
20
|
-
easing_function: typeof EasingFunctions.ease_in_out_cubic;
|
|
21
|
-
finished_callback: () => void;
|
|
22
|
-
current_state: Idle;
|
|
23
|
-
animate(): void;
|
|
24
|
-
stop(): void;
|
|
25
|
-
set_property_value(value: any): void;
|
|
26
|
-
update(): void;
|
|
27
|
-
get is_animating(): boolean;
|
|
28
|
-
set_current_state(state: any): void;
|
|
29
|
-
}
|
|
30
|
-
import { EasingFunctions } from "../utilities/EasingFunctions";
|
|
31
|
-
import { Idle } from "./css_animator_states/Idle";
|
|
1
|
+
export class CSSAnimator {
|
|
2
|
+
constructor({ element, css_property, from, to, duration, value_prefix, value_suffix, easing_function, finished_callback }: {
|
|
3
|
+
element: any;
|
|
4
|
+
css_property: any;
|
|
5
|
+
from?: number;
|
|
6
|
+
to?: number;
|
|
7
|
+
duration?: number;
|
|
8
|
+
value_prefix?: string;
|
|
9
|
+
value_suffix?: string;
|
|
10
|
+
easing_function?: typeof EasingFunctions.ease_in_out_cubic;
|
|
11
|
+
finished_callback?: () => void;
|
|
12
|
+
});
|
|
13
|
+
element: any;
|
|
14
|
+
css_property: any;
|
|
15
|
+
from: number;
|
|
16
|
+
to: number;
|
|
17
|
+
value_prefix: string;
|
|
18
|
+
value_suffix: string;
|
|
19
|
+
duration: number;
|
|
20
|
+
easing_function: typeof EasingFunctions.ease_in_out_cubic;
|
|
21
|
+
finished_callback: () => void;
|
|
22
|
+
current_state: Idle;
|
|
23
|
+
animate(): void;
|
|
24
|
+
stop(): void;
|
|
25
|
+
set_property_value(value: any): void;
|
|
26
|
+
update(): void;
|
|
27
|
+
get is_animating(): boolean;
|
|
28
|
+
set_current_state(state: any): void;
|
|
29
|
+
}
|
|
30
|
+
import { EasingFunctions } from "../utilities/EasingFunctions";
|
|
31
|
+
import { Idle } from "./css_animator_states/Idle";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export class Animating {
|
|
2
|
-
t: number;
|
|
3
|
-
easing_function_t: number;
|
|
4
|
-
get is_animating(): boolean;
|
|
5
|
-
on_enter(animator: any): void;
|
|
6
|
-
update(animator: any): void;
|
|
7
|
-
on_exit(view: any): void;
|
|
8
|
-
}
|
|
1
|
+
export class Animating {
|
|
2
|
+
t: number;
|
|
3
|
+
easing_function_t: number;
|
|
4
|
+
get is_animating(): boolean;
|
|
5
|
+
on_enter(animator: any): void;
|
|
6
|
+
update(animator: any): void;
|
|
7
|
+
on_exit(view: any): void;
|
|
8
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export class Idle {
|
|
2
|
-
get is_animating(): boolean;
|
|
3
|
-
on_enter(view: any): void;
|
|
4
|
-
update(view: any): void;
|
|
5
|
-
on_exit(view: any): void;
|
|
6
|
-
}
|
|
1
|
+
export class Idle {
|
|
2
|
+
get is_animating(): boolean;
|
|
3
|
+
on_enter(view: any): void;
|
|
4
|
+
update(view: any): void;
|
|
5
|
+
on_exit(view: any): void;
|
|
6
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,108 +1,110 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import { MedianFilter } from "./render_utilities/MedianFilter";
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
|
|
1
|
+
import { AbstractLoader } from "./resource_loader/AbstractLoader";
|
|
2
|
+
import { AbstractScene } from "./scenes/AbstractScene";
|
|
3
|
+
import { ActionEvent } from "./action_sequencer/ActionEvent";
|
|
4
|
+
import { ActionInterpolator } from "./action_sequencer/ActionInterpolator";
|
|
5
|
+
import { ActionSequencer } from "./action_sequencer/ActionSequencer";
|
|
6
|
+
import { ActionSequencerBuilder } from "./view_components/transition/ActionSequencerBuilder";
|
|
7
|
+
import { AddMaterial } from "./materials/AddMaterial";
|
|
8
|
+
import { ApplicationView } from "./view_components/ApplicationView";
|
|
9
|
+
import { ArrayUtilities } from "./utilities/ArrayUtilities";
|
|
10
|
+
import { Arrow } from "./primitives/Arrow";
|
|
11
|
+
import { AsyncAbstractLoader } from "./loaders/AsyncAbstractLoader";
|
|
12
|
+
import { AsyncAudiosLoader } from "./loaders/AsyncAudiosLoader";
|
|
13
|
+
import { AsyncObjectsLoader } from "./loaders/AsyncObjectsLoader";
|
|
14
|
+
import { AsyncTextureLoader } from "./resource_loader/AsyncTextureLoader";
|
|
15
|
+
import { AsyncTexturesLoader } from "./loaders/AsyncTexturesLoader";
|
|
16
|
+
import { AudioLoader } from "./resource_loader/AudioLoader";
|
|
17
|
+
import { BaseApplication } from "./BaseApplication";
|
|
18
|
+
import { BaseRender } from "./render_mode/BaseRender";
|
|
19
|
+
import { BaseShaderMaterial } from "./materials/BaseShaderMaterial";
|
|
20
|
+
import { BasisLoader } from "./resource_loader/BasisLoader";
|
|
21
|
+
import { BlitMaterial } from "./materials/BlitMaterial";
|
|
22
|
+
import { Blurrer } from "./render_utilities/Blurrer";
|
|
23
|
+
import { Browser } from "./Browser";
|
|
24
|
+
import * as BufferGeometryUtils from "three/examples/jsm/utils/BufferGeometryUtils.js";
|
|
25
|
+
import { CameraManager } from "./CameraManager";
|
|
26
|
+
import { CameraUtilities } from "./utilities/CameraUtilities";
|
|
27
|
+
import { CanvasDrawer } from "./canvas_drawer/CanvasDrawer";
|
|
28
|
+
import { Capabilities } from "./Capabilities";
|
|
29
|
+
import { CSSAnimator } from "./html_utilities/CSSAnimator";
|
|
30
|
+
import { Cube } from "./primitives/Cube";
|
|
31
|
+
import { CubemapLoader } from "./resource_loader/CubemapLoader";
|
|
32
|
+
import { DAELoader } from "./resource_loader/DAELoader";
|
|
33
|
+
import { Debug } from "./Debug";
|
|
34
|
+
import { DebugNormalsRender } from "./render_mode/DebugNormalsRender";
|
|
35
|
+
import { DrawIOAnimationSheet } from "./view_components/transition/DrawIOAnimationSheet";
|
|
36
|
+
import { DualFilteringBlurMaterial } from "./materials/DualFilteringBlurMaterial";
|
|
37
|
+
import { DualFilteringBlurrer } from "./render_utilities/DualFilteringBlurrer";
|
|
38
|
+
import { EasingFunctions } from "./utilities/EasingFunctions";
|
|
39
|
+
import { FileLoader } from "./resource_loader/FileLoader";
|
|
40
|
+
import { FontLoader } from "./resource_loader/FontLoader";
|
|
41
|
+
import { FrustumPointFitter } from "./utilities/FrustumPointFitter";
|
|
42
|
+
import { GaussianBlurrer } from "./render_utilities/GaussianBlurrer";
|
|
43
|
+
import { GeometryUtilities } from "./utilities/GeometryUtilities";
|
|
44
|
+
import { GLTFDRACOLoader } from "./resource_loader/GLTFDRACOLoader";
|
|
45
|
+
import { GLTFLoader } from "./resource_loader/GLTFLoader";
|
|
46
|
+
import { GPUParticleSystem } from "./gpu_particles/GPUParticleSystem";
|
|
47
|
+
import { Graphics } from "./Graphics";
|
|
48
|
+
import { Grid } from "./components/Grid";
|
|
49
|
+
import { HDRCubeTextureLoader } from "./resource_loader/HDRCubeTextureLoader";
|
|
50
|
+
import { HighQualityLoadingState } from "./scenes/loading_states/HighQualityLoadingState";
|
|
51
|
+
import { HorizontalPlane } from "./primitives/HorizontalPlane";
|
|
52
|
+
import { HTMLUtilities } from "./utilities/HTMLUtilities";
|
|
53
|
+
import { ImageUtilities } from "./utilities/ImageUtilities";
|
|
54
|
+
import { Initializer } from "./Initializer";
|
|
55
|
+
import { JSONLoader } from "./resource_loader/JSONLoader";
|
|
56
|
+
import { KeyboardInput } from "./KeyboardInput";
|
|
57
|
+
import { Line } from "./components/Line";
|
|
58
|
+
import { LoadingState } from "./scenes/loading_states/LoadingState";
|
|
59
|
+
import { MedianFilter } from "./render_utilities/MedianFilter";
|
|
60
|
+
import { MeshBatcher } from "./static_batcher/MeshBatcher";
|
|
61
|
+
import { MeshSampler } from "./utilities/MeshSampler";
|
|
62
|
+
import { ModelUtilities } from "./utilities/ModelUtilities";
|
|
63
|
+
import { NormalAORender } from "./render_mode/NormalAORender";
|
|
64
|
+
import { NormalRender } from "./render_mode/NormalRender";
|
|
65
|
+
import { NumberInterpolator } from "./action_sequencer/NumberInterpolator";
|
|
66
|
+
import { ObjectUtilities } from "./utilities/ObjectUtilities";
|
|
67
|
+
import { OBJLoader } from "./resource_loader/OBJLoader";
|
|
68
|
+
import { OMath } from "./utilities/OMath";
|
|
69
|
+
import { OrthographicCamera } from "./OrthographicCamera";
|
|
70
|
+
import { OrthographicFrustumPointFitter } from "./utilities/OrthographicFrustumPointFitter";
|
|
71
|
+
import { OS } from "./OS";
|
|
72
|
+
import { OScreen } from "./OScreen";
|
|
73
|
+
import { ParticleAttribute } from "./gpu_particles/ParticleAttribute";
|
|
74
|
+
import { ParticlePositionAttribute } from "./gpu_particles/ParticlePositionAttribute";
|
|
75
|
+
import { PerspectiveCamera } from "./PerspectiveCamera";
|
|
76
|
+
import { PerspectiveFrustumPointFitter } from "./utilities/PerspectiveFrustumPointFitter";
|
|
77
|
+
import { PointArrayLoader } from "./resource_loader/PointArrayLoader";
|
|
78
|
+
import { RegularLoadingState } from "./scenes/loading_states/RegularLoadingState";
|
|
79
|
+
import { RenderLoop } from "./RenderLoop";
|
|
80
|
+
import { ResourceBatch } from "./resource_loader/ResourceBatch";
|
|
81
|
+
import { ResourceContainer } from "./ResourceContainer";
|
|
82
|
+
import { RGBETextureLoader } from "./resource_loader/RGBETextureLoader";
|
|
83
|
+
import { SceneManager } from "./SceneManager";
|
|
84
|
+
import { Screen } from "./Screen";
|
|
85
|
+
import { SDFTextBatch } from "./components/sdf_text/SDFTextBatch";
|
|
86
|
+
import { SimpleTextDrawer } from "./canvas_drawer/SimpleTextDrawer";
|
|
87
|
+
import { Sphere } from "./primitives/Sphere";
|
|
88
|
+
import { StringUtilities } from "./utilities/StringUtilities";
|
|
89
|
+
import { Text2D } from "./components/Text2D";
|
|
90
|
+
import { TextLoader } from "./resource_loader/TextLoader";
|
|
91
|
+
import { TextureLoader } from "./resource_loader/TextureLoader";
|
|
92
|
+
import { Time } from "./Time";
|
|
93
|
+
import { TimeUtilities } from "./utilities/TimeUtilities";
|
|
94
|
+
import { TransitionManager } from "./view_components/TransitionManager";
|
|
95
|
+
import { TransitionTable } from "./view_components/transition/TransitionTable";
|
|
96
|
+
import { UI } from "./UI";
|
|
97
|
+
import { UIElement } from "./components/UIElement";
|
|
98
|
+
import { UnrealBloomComposeMaterial } from "./materials/UnrealBloomComposeMaterial";
|
|
99
|
+
import { UnrealBloomRender } from "./render_mode/UnrealBloomRender";
|
|
100
|
+
import { UpdatableMaterialMesh } from "./components/UpdatableMaterialMesh";
|
|
101
|
+
import { Validation } from "./utilities/Validation";
|
|
102
|
+
import { VectorInterpolator } from "./action_sequencer/VectorInterpolator";
|
|
103
|
+
import { VerticalPlane } from "./primitives/VerticalPlane";
|
|
104
|
+
import { VideoLoader } from "./resource_loader/VideoLoader";
|
|
105
|
+
import { ViewComponent } from "./view_components/ViewComponent";
|
|
106
|
+
import { ViewComponentManager } from "./view_components/ViewComponentManager";
|
|
107
|
+
import { ViewManager } from "./view_components/ViewManager";
|
|
108
|
+
import { VRRender } from "./render_mode/VRRender";
|
|
109
|
+
import { WorldImage } from "./components/WorldImage";
|
|
110
|
+
export { AbstractLoader, AbstractScene, ActionEvent, ActionInterpolator, ActionSequencer, ActionSequencerBuilder, AddMaterial, ApplicationView, ArrayUtilities, Arrow, AsyncAbstractLoader, AsyncAudiosLoader, AsyncObjectsLoader, AsyncTextureLoader, AsyncTexturesLoader, AudioLoader, BaseApplication, BaseRender, BaseShaderMaterial, BasisLoader, BlitMaterial, Blurrer, Browser, BufferGeometryUtils, CameraManager, CameraUtilities, CanvasDrawer, Capabilities, CSSAnimator, Cube, CubemapLoader, DAELoader, Debug, DebugNormalsRender, DrawIOAnimationSheet, DualFilteringBlurMaterial, DualFilteringBlurrer, EasingFunctions, FileLoader, FontLoader, FrustumPointFitter, GaussianBlurrer, GeometryUtilities, GLTFDRACOLoader, GLTFLoader, GPUParticleSystem, Graphics, Grid, HDRCubeTextureLoader, HighQualityLoadingState, HorizontalPlane, HTMLUtilities, ImageUtilities, Initializer, JSONLoader, KeyboardInput, Line, LoadingState, MedianFilter, MeshBatcher, MeshSampler, ModelUtilities, NormalAORender, NormalRender, NumberInterpolator, ObjectUtilities, OBJLoader, OMath, OrthographicCamera, OrthographicFrustumPointFitter, OS, OScreen, ParticleAttribute, ParticlePositionAttribute, PerspectiveCamera, PerspectiveFrustumPointFitter, PointArrayLoader, RegularLoadingState, RenderLoop, ResourceBatch, ResourceContainer, RGBETextureLoader, SceneManager, Screen, SDFTextBatch, SimpleTextDrawer, Sphere, StringUtilities, Text2D, TextLoader, TextureLoader, Time, TimeUtilities, TransitionManager, TransitionTable, UI, UIElement, UnrealBloomComposeMaterial, UnrealBloomRender, UpdatableMaterialMesh, Validation, VectorInterpolator, VerticalPlane, VideoLoader, ViewComponent, ViewComponentManager, ViewManager, VRRender, WorldImage };
|
|
@@ -1,27 +1,41 @@
|
|
|
1
|
-
export class AsyncAbstractLoader {
|
|
2
|
-
static create_worker(): Worker;
|
|
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
|
-
|
|
1
|
+
export class AsyncAbstractLoader {
|
|
2
|
+
static create_worker(): Worker;
|
|
3
|
+
/**
|
|
4
|
+
* @param {string} name
|
|
5
|
+
* @param {any[]} assets
|
|
6
|
+
* @param {Worker} worker
|
|
7
|
+
*/
|
|
8
|
+
constructor(name: string, assets: any[], worker: Worker);
|
|
9
|
+
resource_container: {
|
|
10
|
+
init(): void;
|
|
11
|
+
resources: Record<string, import("../ResourceContainer").Resource>;
|
|
12
|
+
resources_by_url: Record<string, any>;
|
|
13
|
+
set_resource(name: string, url: string, resource: import("../ResourceContainer").Resource): void;
|
|
14
|
+
get_resource(name: string): import("../ResourceContainer").Resource;
|
|
15
|
+
get(name: string): import("../ResourceContainer").Resource;
|
|
16
|
+
};
|
|
17
|
+
assets: any[];
|
|
18
|
+
name: string;
|
|
19
|
+
worker: Worker;
|
|
20
|
+
bound_on_message: any;
|
|
21
|
+
assets_loaders: any[];
|
|
22
|
+
load(): void;
|
|
23
|
+
is_loaded(): boolean;
|
|
24
|
+
get_progress(): number;
|
|
25
|
+
__get_loaded_bytes(): number;
|
|
26
|
+
__get_total_bytes(): number;
|
|
27
|
+
get_assets_names(): any[];
|
|
28
|
+
__setup_worker(): void;
|
|
29
|
+
/**
|
|
30
|
+
* @param {MessageEvent} e
|
|
31
|
+
*/
|
|
32
|
+
on_message(e: MessageEvent): void;
|
|
33
|
+
/**
|
|
34
|
+
* @param {any} resources
|
|
35
|
+
*/
|
|
36
|
+
__on_assets_loaded(resources: any): void;
|
|
37
|
+
/**
|
|
38
|
+
* @returns {any[]}
|
|
39
|
+
*/
|
|
40
|
+
__setup_loaders(): any[];
|
|
41
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export class AsyncAudiosLoader extends AsyncAbstractLoader {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
1
|
+
export class AsyncAudiosLoader extends AsyncAbstractLoader {
|
|
2
|
+
constructor(scene_name: any, assets: any, worker: any);
|
|
3
|
+
__setup_loaders(): AudioLoader[];
|
|
4
|
+
}
|
|
5
|
+
import { AsyncAbstractLoader } from "./AsyncAbstractLoader";
|
|
6
|
+
import { AudioLoader } from "../resource_loader/AudioLoader";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export class AsyncObjectsLoader extends AsyncAbstractLoader {
|
|
2
|
-
__setup_loaders(): (GLTFDRACOLoader | GLTFLoader)[];
|
|
3
|
-
}
|
|
4
|
-
import { AsyncAbstractLoader } from "./AsyncAbstractLoader";
|
|
5
|
-
import { GLTFDRACOLoader } from "../resource_loader/GLTFDRACOLoader";
|
|
6
|
-
import { GLTFLoader } from "../resource_loader/GLTFLoader";
|
|
1
|
+
export class AsyncObjectsLoader extends AsyncAbstractLoader {
|
|
2
|
+
__setup_loaders(): (GLTFDRACOLoader | GLTFLoader)[];
|
|
3
|
+
}
|
|
4
|
+
import { AsyncAbstractLoader } from "./AsyncAbstractLoader";
|
|
5
|
+
import { GLTFDRACOLoader } from "../resource_loader/GLTFDRACOLoader";
|
|
6
|
+
import { GLTFLoader } from "../resource_loader/GLTFLoader";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export class AsyncTexturesLoader extends AsyncAbstractLoader {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
export class AsyncTexturesLoader extends AsyncAbstractLoader {
|
|
2
|
+
constructor(scene_name: any, assets: any, worker: any);
|
|
3
|
+
__setup_loaders(): (AsyncTextureLoader | BasisLoader | CubemapLoader | RGBETextureLoader)[];
|
|
4
|
+
}
|
|
5
|
+
import { AsyncAbstractLoader } from "./AsyncAbstractLoader";
|
|
6
|
+
import { AsyncTextureLoader } from "../resource_loader/AsyncTextureLoader";
|
|
7
|
+
import { BasisLoader } from "../resource_loader/BasisLoader";
|
|
8
|
+
import { CubemapLoader } from "../resource_loader/CubemapLoader";
|
|
9
|
+
import { RGBETextureLoader } from "../resource_loader/RGBETextureLoader";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class ResourceBatch {
|
|
2
|
+
constructor(batch_name: any, resource_container: any);
|
|
3
|
+
resource_loaders: any[];
|
|
4
|
+
batch_name: any;
|
|
5
|
+
resource_container: any;
|
|
6
|
+
add_loader(loader: any): void;
|
|
7
|
+
load(): void;
|
|
8
|
+
get loading_finished(): boolean;
|
|
9
|
+
get has_errors(): boolean;
|
|
10
|
+
print_errors(): void;
|
|
11
|
+
get_progress(): number;
|
|
12
|
+
get_loaded_bytes(): number;
|
|
13
|
+
get_total_bytes(): number;
|
|
14
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export class AddMaterial extends BlitMaterial {
|
|
2
|
-
constructor(nMips: any);
|
|
3
|
-
set_add_texture(tex: any): void;
|
|
4
|
-
}
|
|
5
|
-
import { BlitMaterial } from "./BlitMaterial";
|
|
1
|
+
export class AddMaterial extends BlitMaterial {
|
|
2
|
+
constructor(nMips: any);
|
|
3
|
+
set_add_texture(tex: any): void;
|
|
4
|
+
}
|
|
5
|
+
import { BlitMaterial } from "./BlitMaterial";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export class AlphaFilterMaterial extends BlitMaterial {
|
|
2
|
-
constructor(use_alpha_mask: any, upsample: any);
|
|
3
|
-
set offset(arg: any);
|
|
4
|
-
get offset(): any;
|
|
5
|
-
}
|
|
6
|
-
import { BlitMaterial } from "./BlitMaterial";
|
|
1
|
+
export class AlphaFilterMaterial extends BlitMaterial {
|
|
2
|
+
constructor(use_alpha_mask: any, upsample: any);
|
|
3
|
+
set offset(arg: any);
|
|
4
|
+
get offset(): any;
|
|
5
|
+
}
|
|
6
|
+
import { BlitMaterial } from "./BlitMaterial";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export class BaseShaderMaterial {
|
|
2
|
-
constructor(vert: any, frag: any, uniforms: any);
|
|
3
|
-
}
|
|
1
|
+
export class BaseShaderMaterial extends ShaderMaterial {
|
|
2
|
+
constructor(vert: any, frag: any, uniforms: any);
|
|
3
|
+
}
|
|
4
|
+
import { ShaderMaterial } from "three/src/materials/ShaderMaterial";
|