ohzi-core 5.13.2 → 5.14.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.
- package/{LICENSE.md → LICENSE} +1 -1
- package/build/index.module.js +1 -1
- package/build/index.module.js.map +1 -1
- package/package.json +12 -4
- package/src/.vscode/settings.json +3 -0
- package/src/BaseApplication.js +20 -0
- package/src/CameraManager.js +19 -0
- package/src/Capabilities.js +11 -0
- package/src/Configuration.js +22 -0
- package/src/CustomBezierCurve.js +44 -0
- package/src/Debug.js +260 -0
- package/src/EventManager.js +150 -0
- package/src/Graphics.js +334 -0
- package/src/Initializer.js +55 -0
- package/src/Input.js +21 -0
- package/src/KeyboardInput.js +128 -0
- package/src/OS.js +103 -0
- package/src/OrthographicCamera.js +13 -0
- package/src/PerspectiveCamera.js +13 -0
- package/src/ReflectionPlaneContext.js +17 -0
- package/src/RenderLayers.js +28 -0
- package/src/RenderLoop.js +97 -0
- package/src/RenderOrder.js +38 -0
- package/src/ResourceContainer.js +39 -0
- package/src/SceneManager.js +44 -0
- package/src/Screen.js +62 -0
- package/src/Time.js +38 -0
- package/src/UI.js +90 -0
- package/src/action_sequencer/ActionEvent.js +15 -0
- package/src/action_sequencer/ActionInterpolator.js +23 -0
- package/src/action_sequencer/ActionSequencer.js +195 -0
- package/src/action_sequencer/NumberInterpolator.js +24 -0
- package/src/action_sequencer/VectorInterpolator.js +20 -0
- package/src/blitter_index.js +13 -0
- package/src/canvas_drawer/CanvasDrawer.js +111 -0
- package/src/canvas_drawer/MultiLineTextDrawer.js +49 -0
- package/src/canvas_drawer/SimpleTextDrawer.js +47 -0
- package/src/components/AudioClip.js +41 -0
- package/src/components/AxisHelper.js +58 -0
- package/src/components/BaseObject.js +45 -0
- package/src/components/EdgeMesh.js +151 -0
- package/src/components/GeometryEdgeVisualizer.js +45 -0
- package/src/components/Grid.js +33 -0
- package/src/components/Line.js +199 -0
- package/src/components/MultiLinePath.js +19 -0
- package/src/components/MultiLineText2D.js +62 -0
- package/src/components/ObjectAxis.js +20 -0
- package/src/components/ObjectOrientedBoundingBox.js +201 -0
- package/src/components/PlaneHelper.js +36 -0
- package/src/components/Shape2D.js +42 -0
- package/src/components/Shape3D.js +38 -0
- package/src/components/Text2D.js +39 -0
- package/src/components/UIElement.js +208 -0
- package/src/components/UpdatableMaterialMesh.js +16 -0
- package/src/components/WorldImage.js +91 -0
- package/src/components/mouse_interactors/ObjectRotator.js +61 -0
- package/src/components/sdf_text/SDFText.js +154 -0
- package/src/components/sdf_text/SDFTextBatch.js +193 -0
- package/src/components/sdf_text/TextGlyph.js +15 -0
- package/src/editor/ManipulatorHandle.js +70 -0
- package/src/editor/ObjectEditor.js +66 -0
- package/src/editor/ObjectManipulator.js +118 -0
- package/src/editor/ObjectPicker.js +75 -0
- package/src/editor/shaders/object_picker.frag +6 -0
- package/src/editor/shaders/object_picker.vert +8 -0
- package/src/gpu_particles/GPUParticleSystem.js +87 -0
- package/src/gpu_particles/ParticleAttribute.js +83 -0
- package/src/gpu_particles/ParticlePositionAttribute.js +20 -0
- package/src/html_utilities/CSSAnimator.js +64 -0
- package/src/html_utilities/css_animator_states/Animating.js +45 -0
- package/src/html_utilities/css_animator_states/Idle.js +25 -0
- package/src/index.js +171 -0
- package/src/materials/AddMaterial.js +17 -0
- package/src/materials/AlphaFilterMaterial.js +20 -0
- package/src/materials/BaseShaderMaterial.js +19 -0
- package/src/materials/BlitMaterial.js +28 -0
- package/src/materials/BloomComposeMaterial.js +22 -0
- package/src/materials/BoxBlurMaterial.js +13 -0
- package/src/materials/ClearAlphaMaterial.js +13 -0
- package/src/materials/ClearColorMaterial.js +31 -0
- package/src/materials/ClearDepthNormalMaterial.js +13 -0
- package/src/materials/DeferredRendererComposeMaterial.js +32 -0
- package/src/materials/DepthNormalMaterial.js +28 -0
- package/src/materials/DisplayNormalTextureMaterial.js +15 -0
- package/src/materials/DualFilteringBlurMaterial.js +11 -0
- package/src/materials/FXAAMaterial.js +10 -0
- package/src/materials/GaussianBlurMaterial.js +28 -0
- package/src/materials/LuminosityHighPassMaterial.js +15 -0
- package/src/materials/MedianFilterMaterial.js +42 -0
- package/src/materials/NormalMaterial.js +17 -0
- package/src/materials/SDFScreenTextMaterial.js +31 -0
- package/src/materials/SDFTextMaterial.js +37 -0
- package/src/materials/SSAOComposeMaterial.js +11 -0
- package/src/materials/SSAOMaterial.js +66 -0
- package/src/materials/ScreenSpaceTextureMaterial.js +65 -0
- package/src/materials/UIElementMaterial.js +25 -0
- package/src/materials/UnrealBloomComposeMaterial.js +95 -0
- package/src/materials/UnrealBlurMaterial.js +17 -0
- package/src/materials/UnrealComposeMaterial.js +24 -0
- package/src/materials/ViewPositionMaterial.js +17 -0
- package/src/materials/deferred/DeferredPointLightMaterial.js +39 -0
- package/src/materials/gpu_particles/AttributeUpdateMaterial.js +33 -0
- package/src/materials/gpu_particles/BasicParticleMaterial.js +23 -0
- package/src/materials/gpu_particles/ParticleStorageMaterial.js +27 -0
- package/src/materials/gpu_particles/PositionStorageMaterial.js +10 -0
- package/src/object_pool/Pool.js +73 -0
- package/src/primitives/Arrow.js +57 -0
- package/src/primitives/Cube.js +17 -0
- package/src/primitives/HorizontalPlane.js +18 -0
- package/src/primitives/Sphere.js +15 -0
- package/src/primitives/VerticalPlane.js +17 -0
- package/src/raycast/GroupRaycaster.js +41 -0
- package/src/raycast/PlaneDragResolver.js +89 -0
- package/src/raycast/PlaneRaycastResolver.js +22 -0
- package/src/raycast/PlaneRaycaster.js +23 -0
- package/src/raycast/RaycastResolver.js +22 -0
- package/src/raycast/SurfaceDragResolver.js +77 -0
- package/src/raycast/states/BaseState.js +16 -0
- package/src/raycast/states/IdleState.js +17 -0
- package/src/raycast/states/OnRaycastEnter.js +15 -0
- package/src/raycast/states/OnRaycastExit.js +16 -0
- package/src/raycast/states/OnRaycastHover.js +25 -0
- package/src/render_mode/BaseRender.js +32 -0
- package/src/render_mode/BloomRender.js +60 -0
- package/src/render_mode/DebugNormalsRender.js +20 -0
- package/src/render_mode/DeferredRender.js +112 -0
- package/src/render_mode/NormalAORender.js +71 -0
- package/src/render_mode/NormalRender.js +36 -0
- package/src/render_mode/OutlineRender.js +154 -0
- package/src/render_mode/PlanarReflectionsRender.js +118 -0
- package/src/render_mode/TransparencyMixRender.js +143 -0
- package/src/render_mode/UnrealBloomRender.js +109 -0
- package/src/render_utilities/Blitter.js +99 -0
- package/src/render_utilities/Blurrer.js +29 -0
- package/src/render_utilities/DepthAndNormalsRenderer.js +45 -0
- package/src/render_utilities/DualFilteringBlurrer.js +56 -0
- package/src/render_utilities/GaussianBlurrer.js +146 -0
- package/src/render_utilities/MedianFilter.js +66 -0
- package/src/render_utilities/ViewPositionRenderer.js +48 -0
- package/src/resource_loader/AbstractLoader.js +103 -0
- package/src/resource_loader/AudioLoader.js +42 -0
- package/src/resource_loader/BasisLoader.js +50 -0
- package/src/resource_loader/CubemapLoader.js +48 -0
- package/src/resource_loader/DAELoader.js +39 -0
- package/src/resource_loader/DDSLoader.js +39 -0
- package/src/resource_loader/FileLoader.js +39 -0
- package/src/resource_loader/FontLoader.js +39 -0
- package/src/resource_loader/GLTFDRACOLoader.js +45 -0
- package/src/resource_loader/GLTFLoader.js +40 -0
- package/src/resource_loader/HDRCubeTextureLoader.js +43 -0
- package/src/resource_loader/JSONLoader.js +40 -0
- package/src/resource_loader/OBJLoader.js +39 -0
- package/src/resource_loader/PointArrayLoader.js +63 -0
- package/src/resource_loader/RGBETextureLoader.js +42 -0
- package/src/resource_loader/ResourceBatch.js +174 -0
- package/src/resource_loader/SVGLoader.js +39 -0
- package/src/resource_loader/TextLoader.js +39 -0
- package/src/resource_loader/TextureLoader.js +40 -0
- package/src/shaders/add/add.frag +9 -0
- package/src/shaders/anti_aliasing/fxaa.frag +72 -0
- package/src/shaders/basic_color/basic_color.frag +6 -0
- package/src/shaders/basic_color/basic_color.vert +10 -0
- package/src/shaders/basic_line/basic_line.frag +37 -0
- package/src/shaders/basic_line/basic_line.vert +37 -0
- package/src/shaders/basic_texture/basic_texture.frag +10 -0
- package/src/shaders/basic_texture/basic_texture.vert +17 -0
- package/src/shaders/bloom/bloom_compose_frag.glsl +22 -0
- package/src/shaders/bloom/cheap_bloom_compose_frag.glsl +13 -0
- package/src/shaders/box_blur/box_blur.frag +24 -0
- package/src/shaders/box_blur/compose.frag +31 -0
- package/src/shaders/clear/clear_depth_normal.frag +25 -0
- package/src/shaders/copy/copy.frag +7 -0
- package/src/shaders/copy/copy.vert +6 -0
- package/src/shaders/deferred/blit_copy.vert +11 -0
- package/src/shaders/deferred/deferred_compose.frag +59 -0
- package/src/shaders/deferred/point_light.frag +66 -0
- package/src/shaders/deferred/point_light.vert +13 -0
- package/src/shaders/depth_normals/debug_normals.frag +48 -0
- package/src/shaders/depth_normals/depth_normals.frag +30 -0
- package/src/shaders/depth_normals/depth_normals.vert +13 -0
- package/src/shaders/dual_filter_blur/alpha_filter.frag +14 -0
- package/src/shaders/dual_filter_blur/downsample.frag +21 -0
- package/src/shaders/dual_filter_blur/upsample.frag +24 -0
- package/src/shaders/edge_visualizer/edge_visualizer.frag +18 -0
- package/src/shaders/edge_visualizer/edge_visualizer.vert +16 -0
- package/src/shaders/edges/corners.frag +11 -0
- package/src/shaders/edges/corners.vert +31 -0
- package/src/shaders/edges/edges.frag +7 -0
- package/src/shaders/edges/edges.vert +27 -0
- package/src/shaders/gaussian_blur/gaussian_blur.frag +25 -0
- package/src/shaders/gaussian_blur/unreal_bloom_compose.frag +24 -0
- package/src/shaders/gpu_particles/common_utils.glsl +13 -0
- package/src/shaders/gpu_particles/generic_storage.frag +7 -0
- package/src/shaders/gpu_particles/store/store_position.vert +14 -0
- package/src/shaders/gpu_particles/update/basic_update.frag +21 -0
- package/src/shaders/gpu_particles/visualize/visualize.frag +11 -0
- package/src/shaders/gpu_particles/visualize/visualize.vert +12 -0
- package/src/shaders/grid/grid.frag +17 -0
- package/src/shaders/grid/grid.vert +10 -0
- package/src/shaders/luminosity_high_pass/luminosity_high_pass.frag +23 -0
- package/src/shaders/median_filter/median_filter.frag +134 -0
- package/src/shaders/normal/normal.frag +6 -0
- package/src/shaders/normal/normal.vert +6 -0
- package/src/shaders/sdf_text/sdf_screen_text.frag +51 -0
- package/src/shaders/sdf_text/sdf_screen_text.vert +42 -0
- package/src/shaders/sdf_text/sdf_text.frag +53 -0
- package/src/shaders/sdf_text/sdf_text.vert +42 -0
- package/src/shaders/ssao/hbao.frag +264 -0
- package/src/shaders/ssao/ssao.frag +95 -0
- package/src/shaders/ssao/ssao.vert +11 -0
- package/src/shaders/ssao/ssao_compose.frag +14 -0
- package/src/shaders/transparent_mix/copy.frag +7 -0
- package/src/shaders/transparent_mix/transparent_mix.frag +19 -0
- package/src/shaders/transparent_mix/transparent_mix.vert +8 -0
- package/src/shaders/ui/ss_texture.frag +11 -0
- package/src/shaders/ui/ss_texture.vert +32 -0
- package/src/shaders/ui/ws_texture.vert +39 -0
- package/src/shaders/ui_element/ui_element.frag +11 -0
- package/src/shaders/ui_element/ui_element.vert +32 -0
- package/src/shaders/unreal_blur/unreal_blur.frag +25 -0
- package/src/shaders/unreal_blur/unreal_compose.frag +24 -0
- package/src/shaders/write_view_position/write_view_position.frag +7 -0
- package/src/shaders/write_view_position/write_view_position.vert +9 -0
- package/src/static_batcher/GeometryBatch.js +312 -0
- package/src/static_batcher/GeometryBatcher.js +62 -0
- package/src/ui/ui_element_position/ScreenSpacePosition.js +14 -0
- package/src/ui/ui_element_position/WorldSpacePosition.js +21 -0
- package/src/ui/ui_element_state/OnIdle.js +17 -0
- package/src/ui/ui_element_state/OnMouseEnter.js +26 -0
- package/src/ui/ui_element_state/OnMouseExit.js +15 -0
- package/src/ui/ui_element_state/OnMouseHover.js +31 -0
- package/src/ui/ui_element_state/UIElementState.js +18 -0
- package/src/utilities/ArrayUtilities.js +55 -0
- package/src/utilities/CameraUtilities.js +197 -0
- package/src/utilities/EasingFunctions.js +215 -0
- package/src/utilities/FrustumPointFitter.js +255 -0
- package/src/utilities/GeometryUtilities.js +74 -0
- package/src/utilities/ImageUtilities.js +26 -0
- package/src/utilities/MathUtilities.js +110 -0
- package/src/utilities/MeshSampler.js +100 -0
- package/src/utilities/ModelUtilities.js +161 -0
- package/src/utilities/ObjectUtilities.js +55 -0
- package/src/utilities/OrthographicFrustumPointFitter.js +47 -0
- package/src/utilities/PerspectiveFrustumPointFitter.js +250 -0
- package/src/utilities/StringUtilities.js +32 -0
- package/src/utilities/TimeUtilities.js +22 -0
- package/src/utilities/Validation.js +34 -0
- package/src/view_components/ApplicationView.js +60 -0
- package/src/view_components/ViewComponent.js +37 -0
- package/src/view_components/ViewComponentManager.js +58 -0
- package/src/view_components/ViewContext.js +14 -0
- package/src/view_components/ViewManager.js +119 -0
- package/src/view_components/ViewState.js +54 -0
- package/src/view_components/transition/ActionSequencerBuilder.js +91 -0
- package/src/view_components/transition/DrawIOAnimationSheet.js +90 -0
- package/src/view_components/transition/TransitionTable.js +44 -0
- package/src/view_components/transition/ViewStateTransitionHandler.js +81 -0
- package/types/BaseApplication.d.ts +8 -0
- package/types/CameraManager.d.ts +8 -0
- package/types/Capabilities.d.ts +6 -0
- package/types/Configuration.d.ts +6 -0
- package/types/Debug.d.ts +37 -0
- package/types/EventManager.d.ts +42 -0
- package/types/Graphics.d.ts +36 -0
- package/types/Initializer.d.ts +4 -0
- package/types/Input.d.ts +8 -0
- package/types/OS.d.ts +19 -0
- package/types/OrthographicCamera.d.ts +5 -0
- package/types/PerspectiveCamera.d.ts +5 -0
- package/types/ReflectionPlaneContext.d.ts +6 -0
- package/types/RenderLayers.d.ts +6 -0
- package/types/RenderLoop.d.ts +13 -0
- package/types/ResourceContainer.d.ts +8 -0
- package/types/SceneManager.d.ts +10 -0
- package/types/Screen.d.ts +17 -0
- package/types/Time.d.ts +11 -0
- package/types/UI.d.ts +15 -0
- package/types/action_sequencer/ActionEvent.d.ts +6 -0
- package/types/action_sequencer/ActionInterpolator.d.ts +5 -0
- package/types/action_sequencer/ActionSequencer.d.ts +28 -0
- package/types/action_sequencer/NumberInterpolator.d.ts +8 -0
- package/types/action_sequencer/VectorInterpolator.d.ts +7 -0
- package/types/canvas_drawer/CanvasDrawer.d.ts +13 -0
- package/types/canvas_drawer/MultiLineTextDrawer.d.ts +5 -0
- package/types/canvas_drawer/SimpleTextDrawer.d.ts +5 -0
- package/types/components/AudioClip.d.ts +12 -0
- package/types/components/AxisHelper.d.ts +6 -0
- package/types/components/BaseObject.d.ts +5 -0
- package/types/components/EdgeMesh.d.ts +13 -0
- package/types/components/GeometryEdgeVisualizer.d.ts +4 -0
- package/types/components/Grid.d.ts +2 -0
- package/types/components/Line.d.ts +16 -0
- package/types/components/MultiLinePath.d.ts +4 -0
- package/types/components/MultiLineText2D.d.ts +10 -0
- package/types/components/ObjectAxis.d.ts +3 -0
- package/types/components/ObjectOrientedBoundingBox.d.ts +18 -0
- package/types/components/PlaneHelper.d.ts +6 -0
- package/types/components/Shape2D.d.ts +4 -0
- package/types/components/Shape3D.d.ts +3 -0
- package/types/components/Text2D.d.ts +13 -0
- package/types/components/UIElement.d.ts +52 -0
- package/types/components/UpdatableMaterialMesh.d.ts +4 -0
- package/types/components/WorldImage.d.ts +13 -0
- package/types/components/sdf_text/SDFText.d.ts +30 -0
- package/types/components/sdf_text/SDFTextBatch.d.ts +12 -0
- package/types/components/sdf_text/TextGlyph.d.ts +6 -0
- package/types/editor/ManipulatorHandle.d.ts +14 -0
- package/types/editor/ObjectEditor.d.ts +16 -0
- package/types/editor/ObjectManipulator.d.ts +19 -0
- package/types/editor/ObjectPicker.d.ts +16 -0
- package/types/gpu_particles/GPUParticleSystem.d.ts +12 -0
- package/types/gpu_particles/ParticleAttribute.d.ts +15 -0
- package/types/gpu_particles/ParticlePositionAttribute.d.ts +4 -0
- package/types/html_utilities/CSSAnimator.d.ts +30 -0
- package/types/html_utilities/css_animator_states/Animating.d.ts +8 -0
- package/types/html_utilities/css_animator_states/Idle.d.ts +6 -0
- package/types/index.d.ts +73 -0
- package/types/materials/AddMaterial.d.ts +5 -0
- package/types/materials/AlphaFilterMaterial.d.ts +6 -0
- package/types/materials/BaseShaderMaterial.d.ts +3 -0
- package/types/materials/BlitMaterial.d.ts +3 -0
- package/types/materials/BloomComposeMaterial.d.ts +7 -0
- package/types/materials/BoxBlurMaterial.d.ts +4 -0
- package/types/materials/ClearAlphaMaterial.d.ts +3 -0
- package/types/materials/ClearColorMaterial.d.ts +7 -0
- package/types/materials/ClearDepthNormalMaterial.d.ts +4 -0
- package/types/materials/DeferredRendererComposeMaterial.d.ts +7 -0
- package/types/materials/DepthNormalMaterial.d.ts +4 -0
- package/types/materials/DisplayNormalTextureMaterial.d.ts +4 -0
- package/types/materials/DualFilteringBlurMaterial.d.ts +4 -0
- package/types/materials/FXAAMaterial.d.ts +3 -0
- package/types/materials/GaussianBlurMaterial.d.ts +6 -0
- package/types/materials/LuminosityHighPassMaterial.d.ts +4 -0
- package/types/materials/MedianFilterMaterial.d.ts +6 -0
- package/types/materials/NormalMaterial.d.ts +2 -0
- package/types/materials/SDFScreenTextMaterial.d.ts +11 -0
- package/types/materials/SDFTextMaterial.d.ts +12 -0
- package/types/materials/SSAOComposeMaterial.d.ts +4 -0
- package/types/materials/SSAOMaterial.d.ts +6 -0
- package/types/materials/ScreenSpaceTextureMaterial.d.ts +7 -0
- package/types/materials/UIElementMaterial.d.ts +7 -0
- package/types/materials/UnrealBloomComposeMaterial.d.ts +17 -0
- package/types/materials/UnrealBlurMaterial.d.ts +4 -0
- package/types/materials/UnrealComposeMaterial.d.ts +4 -0
- package/types/materials/ViewPositionMaterial.d.ts +3 -0
- package/types/materials/deferred/DeferredPointLightMaterial.d.ts +10 -0
- package/types/materials/gpu_particles/ParticleStorageMaterial.d.ts +3 -0
- package/types/materials/gpu_particles/PositionStorageMaterial.d.ts +4 -0
- package/types/object_pool/Pool.d.ts +10 -0
- package/types/primitives/Arrow.d.ts +8 -0
- package/types/primitives/Cube.d.ts +3 -0
- package/types/primitives/HorizontalPlane.d.ts +3 -0
- package/types/primitives/Sphere.d.ts +3 -0
- package/types/primitives/VerticalPlane.d.ts +3 -0
- package/types/raycast/GroupRaycaster.d.ts +13 -0
- package/types/raycast/PlaneDragResolver.d.ts +14 -0
- package/types/raycast/PlaneRaycastResolver.d.ts +5 -0
- package/types/raycast/PlaneRaycaster.d.ts +7 -0
- package/types/raycast/RaycastResolver.d.ts +5 -0
- package/types/raycast/SurfaceDragResolver.d.ts +13 -0
- package/types/raycast/states/BaseState.d.ts +5 -0
- package/types/raycast/states/IdleState.d.ts +5 -0
- package/types/raycast/states/OnRaycastEnter.d.ts +5 -0
- package/types/raycast/states/OnRaycastExit.d.ts +4 -0
- package/types/raycast/states/OnRaycastHover.d.ts +4 -0
- package/types/render_mode/BaseRender.d.ts +7 -0
- package/types/render_mode/BloomRender.d.ts +10 -0
- package/types/render_mode/DebugNormalsRender.d.ts +4 -0
- package/types/render_mode/DeferredRender.d.ts +9 -0
- package/types/render_mode/NormalAORender.d.ts +16 -0
- package/types/render_mode/NormalRender.d.ts +4 -0
- package/types/render_mode/OutlineRender.d.ts +20 -0
- package/types/render_mode/PlanarReflectionsRender.d.ts +13 -0
- package/types/render_mode/TransparencyMixRender.d.ts +21 -0
- package/types/render_mode/UnrealBloomRender.d.ts +19 -0
- package/types/render_utilities/Blitter.d.ts +16 -0
- package/types/render_utilities/Blurrer.d.ts +9 -0
- package/types/render_utilities/DepthAndNormalsRenderer.d.ts +12 -0
- package/types/render_utilities/DualFilteringBlurrer.d.ts +19 -0
- package/types/render_utilities/GaussianBlurrer.d.ts +27 -0
- package/types/render_utilities/MedianFilter.d.ts +10 -0
- package/types/render_utilities/ViewPositionRenderer.d.ts +9 -0
- package/types/resource_loader/AbstractLoader.d.ts +18 -0
- package/types/resource_loader/AudioLoader.d.ts +8 -0
- package/types/resource_loader/BasisLoader.d.ts +6 -0
- package/types/resource_loader/CubemapLoader.d.ts +7 -0
- package/types/resource_loader/DAELoader.d.ts +6 -0
- package/types/resource_loader/DDSLoader.d.ts +6 -0
- package/types/resource_loader/FileLoader.d.ts +6 -0
- package/types/resource_loader/FontLoader.d.ts +6 -0
- package/types/resource_loader/GLTFDRACOLoader.d.ts +7 -0
- package/types/resource_loader/GLTFLoader.d.ts +5 -0
- package/types/resource_loader/HDRCubeTextureLoader.d.ts +7 -0
- package/types/resource_loader/JSONLoader.d.ts +6 -0
- package/types/resource_loader/OBJLoader.d.ts +6 -0
- package/types/resource_loader/PointArrayLoader.d.ts +7 -0
- package/types/resource_loader/RGBETextureLoader.d.ts +6 -0
- package/types/resource_loader/ResourceBatch.d.ts +28 -0
- package/types/resource_loader/SVGLoader.d.ts +6 -0
- package/types/resource_loader/TextLoader.d.ts +6 -0
- package/types/resource_loader/TextureLoader.d.ts +6 -0
- package/types/static_batcher/GeometryBatch.d.ts +37 -0
- package/types/static_batcher/GeometryBatcher.d.ts +7 -0
- package/types/ui/ui_element_position/ScreenSpacePosition.d.ts +4 -0
- package/types/ui/ui_element_position/WorldSpacePosition.d.ts +5 -0
- package/types/ui/ui_element_state/OnIdle.d.ts +5 -0
- package/types/ui/ui_element_state/OnMouseEnter.d.ts +5 -0
- package/types/ui/ui_element_state/OnMouseExit.d.ts +5 -0
- package/types/ui/ui_element_state/OnMouseHover.d.ts +5 -0
- package/types/ui/ui_element_state/UIElementState.d.ts +5 -0
- package/types/utilities/ArrayUtilities.d.ts +7 -0
- package/types/utilities/CameraUtilities.d.ts +24 -0
- package/types/utilities/EasingFunctions.d.ts +35 -0
- package/types/utilities/FrustumPointFitter.d.ts +14 -0
- package/types/utilities/GeometryUtilities.d.ts +4 -0
- package/types/utilities/ImageUtilities.d.ts +4 -0
- package/types/utilities/MathUtilities.d.ts +12 -0
- package/types/utilities/MeshSampler.d.ts +14 -0
- package/types/utilities/ModelUtilities.d.ts +13 -0
- package/types/utilities/ObjectUtilities.d.ts +5 -0
- package/types/utilities/OrthographicFrustumPointFitter.d.ts +7 -0
- package/types/utilities/PerspectiveFrustumPointFitter.d.ts +12 -0
- package/types/utilities/StringUtilities.d.ts +5 -0
- package/types/utilities/TimeUtilities.d.ts +3 -0
- package/types/utilities/Validation.d.ts +6 -0
- package/types/view_components/ApplicationView.d.ts +11 -0
- package/types/view_components/ViewComponent.d.ts +13 -0
- package/types/view_components/ViewComponentManager.d.ts +10 -0
- package/types/view_components/ViewContext.d.ts +6 -0
- package/types/view_components/ViewManager.d.ts +24 -0
- package/types/view_components/ViewState.d.ts +15 -0
- package/types/view_components/transition/ActionSequencerBuilder.d.ts +15 -0
- package/types/view_components/transition/DrawIOAnimationSheet.d.ts +17 -0
- package/types/view_components/transition/TransitionTable.d.ts +8 -0
- package/types/view_components/transition/ViewStateTransitionHandler.d.ts +16 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class UnrealBloomRender extends BaseRender {
|
|
2
|
+
bloom_compose_mat: UnrealBloomComposeMaterial;
|
|
3
|
+
main_RT: any;
|
|
4
|
+
blur_RT: any;
|
|
5
|
+
blurrer: GaussianBlurrer;
|
|
6
|
+
add_mat: AddMaterial;
|
|
7
|
+
set_bloom_strength(val: any): void;
|
|
8
|
+
set_bloom_radius(val: any): void;
|
|
9
|
+
set_tint_color_0(col_string: any): void;
|
|
10
|
+
set_tint_color_1(col_string: any): void;
|
|
11
|
+
set_tint_color_2(col_string: any): void;
|
|
12
|
+
set_tint_color_3(col_string: any): void;
|
|
13
|
+
set_tint_color_4(col_string: any): void;
|
|
14
|
+
__check_RT_size(): void;
|
|
15
|
+
}
|
|
16
|
+
import { BaseRender } from "../render_mode/BaseRender";
|
|
17
|
+
import { UnrealBloomComposeMaterial } from "../materials/UnrealBloomComposeMaterial";
|
|
18
|
+
import { GaussianBlurrer } from "../render_utilities/GaussianBlurrer";
|
|
19
|
+
import { AddMaterial } from "../materials/AddMaterial";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
2
|
+
|
|
3
|
+
export class Blitter {
|
|
4
|
+
constructor(renderer: any);
|
|
5
|
+
renderer: any;
|
|
6
|
+
_blit_scene: any;
|
|
7
|
+
_blit_material: BlitMaterial;
|
|
8
|
+
_blit_quad: any;
|
|
9
|
+
_blit_camera: any;
|
|
10
|
+
blit(src: any, dst: any): void;
|
|
11
|
+
material_pass(mat: any, dst: any): void;
|
|
12
|
+
blit_with_material(src: any, dst: any, mat: any): void;
|
|
13
|
+
blit_clear_with_material(dst_RT: any, mat: any): void;
|
|
14
|
+
dispose(): void;
|
|
15
|
+
__render(RT: any): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClearDepthNormalMaterial } from "../materials/ClearDepthNormalMaterial";
|
|
2
|
+
import { DepthNormalMaterial } from "../materials/DepthNormalMaterial";
|
|
3
|
+
|
|
4
|
+
export class DepthAndNormalsRenderer {
|
|
5
|
+
RT: any;
|
|
6
|
+
clear_depth_normal_mat: ClearDepthNormalMaterial;
|
|
7
|
+
depth_normal_material: DepthNormalMaterial;
|
|
8
|
+
render(graphics: any): void;
|
|
9
|
+
__resize_RT_if_necessary(): void;
|
|
10
|
+
get render_target(): any;
|
|
11
|
+
}
|
|
12
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DualFilteringBlurMaterial } from "../materials/DualFilteringBlurMaterial";
|
|
2
|
+
import { AlphaFilterMaterial } from "../materials/AlphaFilterMaterial";
|
|
3
|
+
|
|
4
|
+
export class DualFilteringBlurrer {
|
|
5
|
+
constructor(use_alpha_mask: any);
|
|
6
|
+
current_width: number;
|
|
7
|
+
current_height: number;
|
|
8
|
+
RT0: any;
|
|
9
|
+
RT1: any;
|
|
10
|
+
RT2: any;
|
|
11
|
+
RT3: any;
|
|
12
|
+
RT4: any;
|
|
13
|
+
upscale_blur_mat: DualFilteringBlurMaterial;
|
|
14
|
+
downscale_blur_mat: DualFilteringBlurMaterial;
|
|
15
|
+
alpha_filter_mat: AlphaFilterMaterial;
|
|
16
|
+
blur(RT: any): void;
|
|
17
|
+
check_RT_resize(width: any, height: any): void;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LuminosityHighPassMaterial } from "../materials/LuminosityHighPassMaterial";
|
|
2
|
+
|
|
3
|
+
export class GaussianBlurrer {
|
|
4
|
+
constructor(nMips?: number);
|
|
5
|
+
current_width: number;
|
|
6
|
+
current_height: number;
|
|
7
|
+
separableBlurMaterials: any[];
|
|
8
|
+
renderTargetsHorizontal: any[];
|
|
9
|
+
renderTargetsVertical: any[];
|
|
10
|
+
nMips: number;
|
|
11
|
+
kernelSizeArray: number[];
|
|
12
|
+
rt_pars: {
|
|
13
|
+
minFilter: any;
|
|
14
|
+
magFilter: any;
|
|
15
|
+
format: any;
|
|
16
|
+
};
|
|
17
|
+
renderTargetBright: any;
|
|
18
|
+
luminosity_high_pass_mat: LuminosityHighPassMaterial;
|
|
19
|
+
blur(RT: any, use_luminosity_high_pass: any): void;
|
|
20
|
+
get_blurred_texture(): any;
|
|
21
|
+
get_blurred_RT(): any;
|
|
22
|
+
init_RT(): void;
|
|
23
|
+
resize_RT(texture_width: any, texture_height: any): void;
|
|
24
|
+
init_materials(texture_width: any, texture_height: any): void;
|
|
25
|
+
dispose_materials(): void;
|
|
26
|
+
dispose_RT(): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MedianFilterMaterial } from "../materials/MedianFilterMaterial";
|
|
2
|
+
|
|
3
|
+
export class MedianFilter {
|
|
4
|
+
constructor(renderer: any);
|
|
5
|
+
RT: any;
|
|
6
|
+
RT1: any;
|
|
7
|
+
median_filter_mat: MedianFilterMaterial;
|
|
8
|
+
filter(texture: any): any;
|
|
9
|
+
get_size(tex: any): any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export class AbstractLoader {
|
|
2
|
+
constructor(resource_id: any, url: any, size?: number);
|
|
3
|
+
resource_id: any;
|
|
4
|
+
url: any;
|
|
5
|
+
loaded_bytes: number;
|
|
6
|
+
total_bytes: number;
|
|
7
|
+
has_finished: boolean;
|
|
8
|
+
has_error: boolean;
|
|
9
|
+
error_message: string;
|
|
10
|
+
__update_downloaded_bytes(loaded: any, total: any): void;
|
|
11
|
+
__loading_ended(): void;
|
|
12
|
+
__set_error(message: any): void;
|
|
13
|
+
print_error(): void;
|
|
14
|
+
load(resource_container: any): void;
|
|
15
|
+
on_progress(resource_container: any, response: any): Promise<void>;
|
|
16
|
+
on_preloaded_finished(resource_container: any): void;
|
|
17
|
+
__on_error(data: any): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class ResourceBatch {
|
|
2
|
+
constructor(batch_name: any);
|
|
3
|
+
resource_loaders: any[];
|
|
4
|
+
batch_name: any;
|
|
5
|
+
add_texture(resource_id: any, url: any, size: any): void;
|
|
6
|
+
add_gltf(resource_id: any, url: any, size: any): void;
|
|
7
|
+
add_basis(resource_id: any, url: any, renderer: any, loader: any, size: any): void;
|
|
8
|
+
add_gltf_draco(resource_id: any, url: any, size: any): void;
|
|
9
|
+
add_dae(resource_id: any, url: any, size: any): void;
|
|
10
|
+
add_obj(resource_id: any, url: any, size: any): void;
|
|
11
|
+
add_file(resource_id: any, url: any, size: any): void;
|
|
12
|
+
add_text(resource_id: any, url: any, size: any): void;
|
|
13
|
+
add_cubemap(resource_id: any, url: any, size: any): void;
|
|
14
|
+
add_audio(resource_id: any, url: any, loop: any, volume: any, size: any): void;
|
|
15
|
+
add_json(resource_id: any, url: any, size: any): void;
|
|
16
|
+
add_point_array(resource_id: any, url: any, size: any): void;
|
|
17
|
+
add_hdr(resource_id: any, url: any, size: any): void;
|
|
18
|
+
add_hdr_cubemap(resource_id: any, url: any, size: any): void;
|
|
19
|
+
add_font(resource_id: any, url: any, size: any): void;
|
|
20
|
+
add_loader(loader: any): void;
|
|
21
|
+
load(resource_container: any): void;
|
|
22
|
+
get loading_finished(): boolean;
|
|
23
|
+
get has_errors(): boolean;
|
|
24
|
+
print_errors(): void;
|
|
25
|
+
get_progress(): number;
|
|
26
|
+
get_loaded_bytes(): number;
|
|
27
|
+
get_total_bytes(): number;
|
|
28
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export class GeometryBatch {
|
|
2
|
+
constructor(geometry: any, batch_width: any);
|
|
3
|
+
geometry: any;
|
|
4
|
+
material: any;
|
|
5
|
+
uniforms: {};
|
|
6
|
+
batch_width: any;
|
|
7
|
+
data_textures: any[];
|
|
8
|
+
object_names: any;
|
|
9
|
+
zero_offset: any;
|
|
10
|
+
write_offset: any;
|
|
11
|
+
uniform_dirty_count: number;
|
|
12
|
+
tmp_uploaded_data_count: number;
|
|
13
|
+
init(object_names: any, vert_shader: any, frag_shader: any): void;
|
|
14
|
+
add_global_uniform(name: any, data: any): void;
|
|
15
|
+
set_global_uniform(name: any, data: any): void;
|
|
16
|
+
add_object_uniform_v3(uniform_name: any, default_value_v3: any): void;
|
|
17
|
+
add_object_uniform_v4(uniform_name: any, default_value_v4: any): void;
|
|
18
|
+
add_object_uniform_v4_float(uniform_name: any, default_value_v4: any): void;
|
|
19
|
+
set_object_uniform_v3(object_name: any, uniform_name: any, vector3: any, use_r: any, use_g: any, use_b: any): void;
|
|
20
|
+
set_object_uniform_v4(object_name: any, uniform_name: any, vector4: any, use_r: any, use_g: any, use_b: any, use_a: any): void;
|
|
21
|
+
upload_texture_data(renderer: any, upload_budget: any): void;
|
|
22
|
+
get_uniform_dirty_count(): number;
|
|
23
|
+
__full_texture_data_upload(renderer: any, texture_data: any): void;
|
|
24
|
+
__partial_texture_data_upload(renderer: any, texture_data: any): void;
|
|
25
|
+
get_mesh(): any;
|
|
26
|
+
__set_pixel_rgb(data_texture: any, index: any, vector3: any, use_r: any, use_g: any, use_b: any): void;
|
|
27
|
+
__set_pixel_rgba(data_texture: any, index: any, vector4: any, use_r: any, use_g: any, use_b: any, use_a: any): void;
|
|
28
|
+
__flood_data_texture_rgb(data_texture: any, v3: any): void;
|
|
29
|
+
__flood_data_texture_rgba(data_texture: any, v4: any): void;
|
|
30
|
+
__create_rgb_texture(width: any): any;
|
|
31
|
+
__create_rgba_texture(width: any): any;
|
|
32
|
+
__create_rgba_float_texture(width: any): any;
|
|
33
|
+
__get_data_texture(uniform_name: any): any;
|
|
34
|
+
__get_object_index(name: any): number;
|
|
35
|
+
__add_data_texture(uniform_name: any, src_texture: any, dst_texture: any, one_pixel_text: any): any;
|
|
36
|
+
dispose(): void;
|
|
37
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export class ArrayUtilities {
|
|
2
|
+
static merge_from_to(source: any, target: any): void;
|
|
3
|
+
static expand_vec3_array(array: any, size: any): void;
|
|
4
|
+
static remove_elem(array: any, elem: any): void;
|
|
5
|
+
static get_closest_point(points: any, target: any): any;
|
|
6
|
+
static object_values_to_array(obj: any): any[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export class CameraUtilities {
|
|
2
|
+
static init(): void;
|
|
3
|
+
static tmp_mat: any;
|
|
4
|
+
static tmp_vec: any;
|
|
5
|
+
static tmp_vec2: any;
|
|
6
|
+
static plane: any;
|
|
7
|
+
static ray: any;
|
|
8
|
+
static tmp_size: any;
|
|
9
|
+
static tmp_unproj: any;
|
|
10
|
+
static get_up_dir(camera: any): any;
|
|
11
|
+
static get_forward_dir(camera: any): any;
|
|
12
|
+
static get_right_dir(camera: any): any;
|
|
13
|
+
static unproject_mouse_position(NDC: any, camera: any): any;
|
|
14
|
+
static get_plane_intersection(plane_position: any, plane_normal: any, NDC: any, camera: any): any;
|
|
15
|
+
static fit_points_on_camera(points: any, zoom_scale?: number): {
|
|
16
|
+
position: any;
|
|
17
|
+
zoom: number;
|
|
18
|
+
};
|
|
19
|
+
static get_zoom_to_fit_rect(width: any, height: any): number;
|
|
20
|
+
static get_zoom_to_fit_box(bb: any, camera: any): number;
|
|
21
|
+
static get_html_screen_pos(object: any, camera: any): any;
|
|
22
|
+
static world_pos_to_screen(pos: any, camera: any): any;
|
|
23
|
+
static update_projection(camera: any): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export class EasingFunctions {
|
|
2
|
+
static linear(x: any): any;
|
|
3
|
+
static triangular(x: any): number;
|
|
4
|
+
static ease_in_sine(x: any): number;
|
|
5
|
+
static ease_out_sine(x: any): number;
|
|
6
|
+
static ease_in_out_sine(x: any): number;
|
|
7
|
+
static ease_in_cubic(x: any): number;
|
|
8
|
+
static ease_out_cubic(x: any): number;
|
|
9
|
+
static ease_in_out_cubic(x: any): number;
|
|
10
|
+
static ease_in_quad(x: any): number;
|
|
11
|
+
static ease_out_quad(x: any): number;
|
|
12
|
+
static ease_in_out_quad(x: any): number;
|
|
13
|
+
static ease_in_quart(x: any): number;
|
|
14
|
+
static ease_out_quart(x: any): number;
|
|
15
|
+
static ease_in_out_quart(x: any): number;
|
|
16
|
+
static ease_in_quint(x: any): number;
|
|
17
|
+
static ease_out_quint(x: any): number;
|
|
18
|
+
static ease_in_out_quint(x: any): number;
|
|
19
|
+
static ease_in_expo(x: any): number;
|
|
20
|
+
static ease_out_expo(x: any): number;
|
|
21
|
+
static ease_in_out_expo(x: any): number;
|
|
22
|
+
static ease_in_circ(x: any): number;
|
|
23
|
+
static ease_out_circ(x: any): number;
|
|
24
|
+
static ease_in_out_circ(x: any): number;
|
|
25
|
+
static ease_in_back(x: any): number;
|
|
26
|
+
static ease_out_back(x: any): number;
|
|
27
|
+
static ease_in_out_back(x: any): number;
|
|
28
|
+
static ease_in_elastic(x: any): number;
|
|
29
|
+
static ease_out_elastic(x: any): number;
|
|
30
|
+
static ease_in_out_elastic(x: any): number;
|
|
31
|
+
static ease_in_bounce(x: any): number;
|
|
32
|
+
static ease_out_bounce(x: any): number;
|
|
33
|
+
static ease_in_out_bounce(x: any): number;
|
|
34
|
+
static heartbeat(t: any): number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Sphere } from "three";
|
|
2
|
+
|
|
3
|
+
export class FrustumPointFitter {
|
|
4
|
+
sphere: Sphere;
|
|
5
|
+
fit_points(points: any, camera_quaternion: any, vertical_fov: any, aspect: any): any;
|
|
6
|
+
apply_center_correction_to_pos(target_pos: any, points: any, camera_quaternion: any, up_plane: any, down_plane: any, left_plane: any, right_plane: any): void;
|
|
7
|
+
get_vertical_correction(points: any, down_plane: any, up_plane: any, camera_quaternion: any): any;
|
|
8
|
+
get_hozirontal_correction(points: any, left_plane: any, right_plane: any, camera_quaternion: any): any;
|
|
9
|
+
get_up_plane_normal(camera_quaternion: any, v_fov: any): any;
|
|
10
|
+
get_down_plane_normal(camera_quaternion: any, v_fov: any): any;
|
|
11
|
+
get_left_plane_normal(camera_quaternion: any, h_fov: any): any;
|
|
12
|
+
get_right_plane_normal(camera_quaternion: any, h_fov: any): any;
|
|
13
|
+
get_distance_to_fit_rect(width: any, height: any, vertical_fov: any, aspect: any): number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class MathUtilities {
|
|
2
|
+
static linear_map(value: any, from_range_start_value: any, from_range_end_value: any, to_range_start_value: any, to_range_end_value: any): any;
|
|
3
|
+
static between(value: any, min: any, max: any): boolean;
|
|
4
|
+
static mod(number: any, divisor: any): number;
|
|
5
|
+
static rgb_to_hex(rgb: any): string;
|
|
6
|
+
static project_points_on_plane(points: any, plane: any): any[];
|
|
7
|
+
static matrix4_lerp(from: any, to: any, target: any, t: any): void;
|
|
8
|
+
static equals(x1: any, x2: any): boolean;
|
|
9
|
+
static perspective_divide(v: any): any;
|
|
10
|
+
static points_average(points: any): any;
|
|
11
|
+
static get_random_color(): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class MeshSampler {
|
|
2
|
+
static sample(geometry: any, sample_count: any): {
|
|
3
|
+
points: any[];
|
|
4
|
+
normals: any[];
|
|
5
|
+
};
|
|
6
|
+
static sample_data_from_faces(faces: any, vertices: any): {
|
|
7
|
+
points: any[];
|
|
8
|
+
normals: any[];
|
|
9
|
+
};
|
|
10
|
+
static select_random_faces(faces: any, amount: any): any[];
|
|
11
|
+
static get_uniform_face_distribution(face_areas: any, minimum_area: any, faces: any): any[];
|
|
12
|
+
static get_face_area(face: any, vertices: any): number;
|
|
13
|
+
static sample_point_in_face(w1: any, w2: any, v1: any, v2: any, v3: any): any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export class ModelUtilities {
|
|
2
|
+
static get_mesh(scene: any, result_callback: any): void;
|
|
3
|
+
static get_geometries(scene: any): any[];
|
|
4
|
+
static assign_material(scene: any, material: any, name: any): void;
|
|
5
|
+
static clone_animated_gltf(gltf: any): {
|
|
6
|
+
animations: any;
|
|
7
|
+
scene: any;
|
|
8
|
+
};
|
|
9
|
+
static set_shadow_config(scene: any, cast: any, receive: any): void;
|
|
10
|
+
static __find_object(scene: any, object_name: any, result_callback: any): void;
|
|
11
|
+
static get_object(scene: any, object_name: any): any;
|
|
12
|
+
static get_object_by_type(scene: any, object_type: any): any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export class OrthographicFrustumPointFitter {
|
|
2
|
+
fit_points(points: any, camera_quaternion: any, vertical_fov: any, aspect: any): {
|
|
3
|
+
center: any;
|
|
4
|
+
distance_to_center: number;
|
|
5
|
+
};
|
|
6
|
+
get_distance_to_fit_rect(width: any, height: any, vertical_fov: any, aspect: any): number;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class PerspectiveFrustumPointFitter {
|
|
2
|
+
sphere: any;
|
|
3
|
+
fit_points(points: any, camera_quaternion: any, vertical_fov: any, aspect: any): any;
|
|
4
|
+
apply_center_correction_to_pos(target_pos: any, points: any, camera_quaternion: any, up_plane: any, down_plane: any, left_plane: any, right_plane: any): void;
|
|
5
|
+
get_vertical_correction(points: any, down_plane: any, up_plane: any, camera_quaternion: any): any;
|
|
6
|
+
get_horizontal_correction(points: any, left_plane: any, right_plane: any, camera_quaternion: any): any;
|
|
7
|
+
get_up_plane_normal(camera_quaternion: any, v_fov: any): any;
|
|
8
|
+
get_down_plane_normal(camera_quaternion: any, v_fov: any): any;
|
|
9
|
+
get_left_plane_normal(camera_quaternion: any, h_fov: any): any;
|
|
10
|
+
get_right_plane_normal(camera_quaternion: any, h_fov: any): any;
|
|
11
|
+
get_distance_to_fit_rect(width: any, height: any, vertical_fov: any, aspect: any): number;
|
|
12
|
+
}
|