ohzi-core 5.14.1 → 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/build/index.module.js +1 -1
- package/build/index.module.js.map +1 -1
- package/package.json +1 -1
- package/src/index.js +12 -2
- package/types/BaseApplication.d.ts +1 -1
- package/types/CameraManager.d.ts +7 -7
- package/types/Capabilities.d.ts +5 -7
- package/types/Configuration.d.ts +5 -7
- package/types/Debug.d.ts +36 -36
- package/types/EventManager.d.ts +41 -43
- package/types/Graphics.d.ts +35 -35
- package/types/Initializer.d.ts +3 -5
- package/types/Input.d.ts +4 -6
- package/types/OS.d.ts +12 -14
- package/types/OrthographicCamera.d.ts +1 -1
- package/types/PerspectiveCamera.d.ts +1 -1
- package/types/ReflectionPlaneContext.d.ts +5 -7
- package/types/RenderLayers.d.ts +1 -1
- package/types/RenderLoop.d.ts +1 -1
- package/types/ResourceContainer.d.ts +7 -9
- package/types/SceneManager.d.ts +9 -9
- package/types/Screen.d.ts +16 -18
- package/types/Time.d.ts +10 -12
- package/types/UI.d.ts +14 -16
- package/types/action_sequencer/ActionEvent.d.ts +1 -1
- package/types/action_sequencer/ActionInterpolator.d.ts +1 -1
- package/types/action_sequencer/ActionSequencer.d.ts +1 -1
- package/types/action_sequencer/NumberInterpolator.d.ts +2 -2
- package/types/action_sequencer/VectorInterpolator.d.ts +2 -2
- package/types/canvas_drawer/CanvasDrawer.d.ts +1 -1
- package/types/canvas_drawer/MultiLineTextDrawer.d.ts +2 -2
- package/types/canvas_drawer/SimpleTextDrawer.d.ts +2 -2
- package/types/components/AudioClip.d.ts +1 -1
- package/types/components/AxisHelper.d.ts +1 -1
- package/types/components/BaseObject.d.ts +1 -1
- package/types/components/EdgeMesh.d.ts +1 -1
- package/types/components/GeometryEdgeVisualizer.d.ts +1 -1
- package/types/components/Grid.d.ts +1 -1
- package/types/components/Line.d.ts +1 -1
- package/types/components/MultiLinePath.d.ts +1 -1
- package/types/components/MultiLineText2D.d.ts +2 -2
- package/types/components/ObjectAxis.d.ts +1 -1
- package/types/components/ObjectOrientedBoundingBox.d.ts +1 -1
- package/types/components/PlaneHelper.d.ts +1 -1
- package/types/components/Shape2D.d.ts +1 -1
- package/types/components/Shape3D.d.ts +1 -1
- package/types/components/Text2D.d.ts +3 -3
- package/types/components/UIElement.d.ts +6 -6
- package/types/components/UpdatableMaterialMesh.d.ts +1 -1
- package/types/components/WorldImage.d.ts +1 -1
- package/types/components/sdf_text/SDFText.d.ts +1 -1
- package/types/components/sdf_text/SDFTextBatch.d.ts +2 -2
- package/types/components/sdf_text/TextGlyph.d.ts +1 -1
- package/types/editor/ManipulatorHandle.d.ts +1 -1
- package/types/editor/ObjectEditor.d.ts +3 -3
- package/types/editor/ObjectManipulator.d.ts +2 -2
- package/types/editor/ObjectPicker.d.ts +1 -1
- package/types/gpu_particles/GPUParticleSystem.d.ts +1 -1
- package/types/gpu_particles/ParticleAttribute.d.ts +1 -1
- package/types/gpu_particles/ParticlePositionAttribute.d.ts +2 -2
- package/types/html_utilities/CSSAnimator.d.ts +2 -2
- package/types/html_utilities/css_animator_states/Animating.d.ts +1 -1
- package/types/html_utilities/css_animator_states/Idle.d.ts +1 -1
- package/types/index.d.ts +2 -2
- package/types/materials/AddMaterial.d.ts +2 -2
- package/types/materials/AlphaFilterMaterial.d.ts +2 -2
- package/types/materials/BaseShaderMaterial.d.ts +1 -1
- package/types/materials/BlitMaterial.d.ts +1 -1
- package/types/materials/BloomComposeMaterial.d.ts +2 -2
- package/types/materials/BoxBlurMaterial.d.ts +2 -2
- package/types/materials/ClearAlphaMaterial.d.ts +1 -1
- package/types/materials/ClearColorMaterial.d.ts +1 -1
- package/types/materials/ClearDepthNormalMaterial.d.ts +2 -2
- package/types/materials/DeferredRendererComposeMaterial.d.ts +2 -2
- package/types/materials/DepthNormalMaterial.d.ts +1 -1
- package/types/materials/DisplayNormalTextureMaterial.d.ts +2 -2
- package/types/materials/DualFilteringBlurMaterial.d.ts +2 -2
- package/types/materials/FXAAMaterial.d.ts +1 -1
- package/types/materials/GaussianBlurMaterial.d.ts +2 -2
- package/types/materials/LuminosityHighPassMaterial.d.ts +2 -2
- package/types/materials/MedianFilterMaterial.d.ts +2 -2
- package/types/materials/NormalMaterial.d.ts +1 -1
- package/types/materials/SDFScreenTextMaterial.d.ts +2 -2
- package/types/materials/SDFTextMaterial.d.ts +2 -2
- package/types/materials/SSAOComposeMaterial.d.ts +2 -2
- package/types/materials/SSAOMaterial.d.ts +2 -2
- package/types/materials/ScreenSpaceTextureMaterial.d.ts +2 -2
- package/types/materials/UIElementMaterial.d.ts +2 -2
- package/types/materials/UnrealBloomComposeMaterial.d.ts +3 -2
- package/types/materials/UnrealBlurMaterial.d.ts +2 -2
- package/types/materials/UnrealComposeMaterial.d.ts +2 -2
- package/types/materials/ViewPositionMaterial.d.ts +2 -1
- package/types/materials/deferred/DeferredPointLightMaterial.d.ts +2 -2
- package/types/materials/gpu_particles/ParticleStorageMaterial.d.ts +1 -1
- package/types/materials/gpu_particles/PositionStorageMaterial.d.ts +2 -2
- package/types/object_pool/Pool.d.ts +1 -1
- package/types/primitives/Arrow.d.ts +1 -1
- package/types/primitives/Cube.d.ts +1 -1
- package/types/primitives/HorizontalPlane.d.ts +1 -1
- package/types/primitives/Sphere.d.ts +1 -1
- package/types/primitives/VerticalPlane.d.ts +1 -1
- package/types/raycast/GroupRaycaster.d.ts +2 -2
- package/types/raycast/PlaneDragResolver.d.ts +3 -3
- package/types/raycast/PlaneRaycastResolver.d.ts +1 -1
- package/types/raycast/PlaneRaycaster.d.ts +1 -1
- package/types/raycast/RaycastResolver.d.ts +1 -1
- package/types/raycast/SurfaceDragResolver.d.ts +3 -3
- package/types/raycast/states/BaseState.d.ts +1 -1
- package/types/raycast/states/IdleState.d.ts +4 -2
- package/types/raycast/states/OnRaycastEnter.d.ts +4 -2
- package/types/raycast/states/OnRaycastExit.d.ts +3 -2
- package/types/raycast/states/OnRaycastHover.d.ts +3 -2
- package/types/render_mode/BaseRender.d.ts +1 -1
- package/types/render_mode/BloomRender.d.ts +4 -4
- package/types/render_mode/DebugNormalsRender.d.ts +3 -2
- package/types/render_mode/DeferredRender.d.ts +3 -3
- package/types/render_mode/NormalAORender.d.ts +6 -6
- package/types/render_mode/NormalRender.d.ts +3 -2
- package/types/render_mode/OutlineRender.d.ts +1 -1
- package/types/render_mode/PlanarReflectionsRender.d.ts +2 -2
- package/types/render_mode/TransparencyMixRender.d.ts +1 -1
- package/types/render_mode/UnrealBloomRender.d.ts +5 -5
- package/types/render_utilities/Blitter.d.ts +3 -2
- package/types/render_utilities/Blurrer.d.ts +3 -2
- package/types/render_utilities/DepthAndNormalsRenderer.d.ts +5 -3
- package/types/render_utilities/DualFilteringBlurrer.d.ts +5 -3
- package/types/render_utilities/GaussianBlurrer.d.ts +3 -2
- package/types/render_utilities/MedianFilter.d.ts +3 -2
- package/types/render_utilities/ViewPositionRenderer.d.ts +3 -2
- package/types/resource_loader/AbstractLoader.d.ts +1 -1
- package/types/resource_loader/AudioLoader.d.ts +3 -2
- package/types/resource_loader/BasisLoader.d.ts +3 -2
- package/types/resource_loader/CubemapLoader.d.ts +3 -2
- package/types/resource_loader/DAELoader.d.ts +3 -2
- package/types/resource_loader/DDSLoader.d.ts +3 -2
- package/types/resource_loader/FileLoader.d.ts +3 -2
- package/types/resource_loader/FontLoader.d.ts +3 -2
- package/types/resource_loader/GLTFDRACOLoader.d.ts +3 -2
- package/types/resource_loader/GLTFLoader.d.ts +1 -1
- package/types/resource_loader/HDRCubeTextureLoader.d.ts +3 -2
- package/types/resource_loader/JSONLoader.d.ts +3 -2
- package/types/resource_loader/OBJLoader.d.ts +3 -2
- package/types/resource_loader/PointArrayLoader.d.ts +3 -2
- package/types/resource_loader/RGBETextureLoader.d.ts +3 -2
- package/types/resource_loader/ResourceBatch.d.ts +1 -1
- package/types/resource_loader/SVGLoader.d.ts +3 -2
- package/types/resource_loader/TextLoader.d.ts +3 -2
- package/types/resource_loader/TextureLoader.d.ts +3 -2
- package/types/static_batcher/GeometryBatch.d.ts +1 -1
- package/types/static_batcher/GeometryBatcher.d.ts +6 -8
- package/types/ui/ui_element_position/ScreenSpacePosition.d.ts +1 -1
- package/types/ui/ui_element_position/WorldSpacePosition.d.ts +1 -1
- package/types/ui/ui_element_state/OnIdle.d.ts +4 -2
- package/types/ui/ui_element_state/OnMouseEnter.d.ts +4 -2
- package/types/ui/ui_element_state/OnMouseExit.d.ts +4 -2
- package/types/ui/ui_element_state/OnMouseHover.d.ts +3 -2
- package/types/ui/ui_element_state/UIElementState.d.ts +1 -1
- package/types/utilities/ArrayUtilities.d.ts +1 -1
- package/types/utilities/CameraUtilities.d.ts +20 -22
- package/types/utilities/EasingFunctions.d.ts +34 -36
- package/types/utilities/FrustumPointFitter.d.ts +4 -2
- package/types/utilities/GeometryUtilities.d.ts +1 -1
- package/types/utilities/ImageUtilities.d.ts +1 -1
- package/types/utilities/MathUtilities.d.ts +1 -1
- package/types/utilities/MeshSampler.d.ts +7 -9
- package/types/utilities/ModelUtilities.d.ts +9 -11
- package/types/utilities/ObjectUtilities.d.ts +1 -1
- package/types/utilities/OrthographicFrustumPointFitter.d.ts +1 -1
- package/types/utilities/PerspectiveFrustumPointFitter.d.ts +1 -1
- package/types/utilities/StringUtilities.d.ts +1 -1
- package/types/utilities/TimeUtilities.d.ts +1 -1
- package/types/utilities/Validation.d.ts +1 -1
- package/types/view_components/ApplicationView.d.ts +1 -1
- package/types/view_components/ViewComponent.d.ts +1 -1
- package/types/view_components/ViewComponentManager.d.ts +9 -11
- package/types/view_components/ViewContext.d.ts +5 -5
- package/types/view_components/ViewManager.d.ts +23 -22
- package/types/view_components/ViewState.d.ts +1 -1
- package/types/view_components/transition/ActionSequencerBuilder.d.ts +3 -2
- package/types/view_components/transition/DrawIOAnimationSheet.d.ts +1 -1
- package/types/view_components/transition/TransitionTable.d.ts +1 -1
- package/types/view_components/transition/ViewStateTransitionHandler.d.ts +3 -2
- package/src/Primitives.js +0 -13
- package/types/Primitives.d.ts +0 -13
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class Grid {
|
|
2
2
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class MultiLineText2D {
|
|
2
2
|
constructor(text_array: any, font: any, color: any, pivot: any, is_static: any);
|
|
3
3
|
text_array: Text2D[];
|
|
4
4
|
update_text_positions(): void;
|
|
@@ -7,4 +7,4 @@ export default class MultiLineText2D {
|
|
|
7
7
|
set size(arg: number);
|
|
8
8
|
get size(): number;
|
|
9
9
|
}
|
|
10
|
-
import Text2D from "./Text2D";
|
|
10
|
+
import { Text2D } from "./Text2D";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class Text2D extends WorldImage {
|
|
2
2
|
constructor(text: any, font: any, color: any, pivot: any, is_static: any);
|
|
3
3
|
simple_text_drawer: SimpleTextDrawer;
|
|
4
4
|
canvas_texture: any;
|
|
@@ -9,5 +9,5 @@ export default class Text2D extends WorldImage {
|
|
|
9
9
|
set text(arg: string);
|
|
10
10
|
get text(): string;
|
|
11
11
|
}
|
|
12
|
-
import WorldImage from "./WorldImage";
|
|
13
|
-
import SimpleTextDrawer from "../canvas_drawer/SimpleTextDrawer";
|
|
12
|
+
import { WorldImage } from "./WorldImage";
|
|
13
|
+
import { SimpleTextDrawer } from "../canvas_drawer/SimpleTextDrawer";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class UIElement {
|
|
2
2
|
constructor(vert: any, frag: any);
|
|
3
3
|
is_clickable: boolean;
|
|
4
4
|
position_strategy: WorldSpacePosition;
|
|
@@ -45,8 +45,8 @@ export default class UIElement {
|
|
|
45
45
|
on_mouse_exit(): void;
|
|
46
46
|
on_mouse_hover(): void;
|
|
47
47
|
}
|
|
48
|
-
import WorldSpacePosition from "../ui/ui_element_position/WorldSpacePosition";
|
|
49
|
-
import OnIdle from "../ui/ui_element_state/OnIdle";
|
|
50
|
-
import OnMouseEnter from "../ui/ui_element_state/OnMouseEnter";
|
|
51
|
-
import OnMouseExit from "../ui/ui_element_state/OnMouseExit";
|
|
52
|
-
import OnMouseHover from "../ui/ui_element_state/OnMouseHover";
|
|
48
|
+
import { WorldSpacePosition } from "../ui/ui_element_position/WorldSpacePosition";
|
|
49
|
+
import { OnIdle } from "../ui/ui_element_state/OnIdle";
|
|
50
|
+
import { OnMouseEnter } from "../ui/ui_element_state/OnMouseEnter";
|
|
51
|
+
import { OnMouseExit } from "../ui/ui_element_state/OnMouseExit";
|
|
52
|
+
import { OnMouseHover } from "../ui/ui_element_state/OnMouseHover";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class SDFTextBatch {
|
|
2
2
|
constructor(font_layout: any, atlas_texture: any);
|
|
3
3
|
text_elements: any[];
|
|
4
4
|
font_layout: any;
|
|
@@ -9,4 +9,4 @@ export default class SDFTextBatch {
|
|
|
9
9
|
update(force_update: any): void;
|
|
10
10
|
dispose(): void;
|
|
11
11
|
}
|
|
12
|
-
import SDFText from "./SDFText";
|
|
12
|
+
import { SDFText } from "./SDFText";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class ObjectEditor {
|
|
2
2
|
constructor(renderer: any, scene: any, camera: any);
|
|
3
3
|
raycaster: any;
|
|
4
4
|
selected_object: any;
|
|
@@ -12,5 +12,5 @@ export default class ObjectEditor {
|
|
|
12
12
|
__populate_selectable_objects(array: any): void;
|
|
13
13
|
__set_object_ids(array: any): void;
|
|
14
14
|
}
|
|
15
|
-
import ObjectManipulator from "./ObjectManipulator";
|
|
16
|
-
import ObjectPicker from "./ObjectPicker";
|
|
15
|
+
import { ObjectManipulator } from "./ObjectManipulator";
|
|
16
|
+
import { ObjectPicker } from "./ObjectPicker";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class ObjectManipulator {
|
|
2
2
|
target_obj: any;
|
|
3
3
|
up_handle: ManipulatorHandle;
|
|
4
4
|
right_handle: ManipulatorHandle;
|
|
@@ -16,4 +16,4 @@ export default class ObjectManipulator {
|
|
|
16
16
|
check_active_handle(): void;
|
|
17
17
|
set_target(obj: any): void;
|
|
18
18
|
}
|
|
19
|
-
import ManipulatorHandle from "../editor/ManipulatorHandle";
|
|
19
|
+
import { ManipulatorHandle } from "../editor/ManipulatorHandle";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class ParticlePositionAttribute extends ParticleAttribute {
|
|
2
2
|
constructor();
|
|
3
3
|
}
|
|
4
|
-
import ParticleAttribute from "../gpu_particles/ParticleAttribute";
|
|
4
|
+
import { ParticleAttribute } from "../gpu_particles/ParticleAttribute";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class CSSAnimator {
|
|
2
2
|
constructor({ element, css_property, from, to, duration, value_prefix, value_suffix, easing_function, finished_callback }: {
|
|
3
3
|
element: any;
|
|
4
4
|
css_property: any;
|
|
@@ -27,4 +27,4 @@ export default class CSSAnimator {
|
|
|
27
27
|
get is_animating(): boolean;
|
|
28
28
|
set_current_state(state: any): void;
|
|
29
29
|
}
|
|
30
|
-
import Idle from "./css_animator_states/Idle";
|
|
30
|
+
import { Idle } from "./css_animator_states/Idle";
|
package/types/index.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ export * from './view_components/ApplicationView';
|
|
|
4
4
|
export * from './BaseApplication';
|
|
5
5
|
export * from './render_mode/BaseRender';
|
|
6
6
|
export * from './materials/BaseShaderMaterial';
|
|
7
|
-
export * from './resource_loader/BasisLoader
|
|
7
|
+
export * from './resource_loader/BasisLoader';
|
|
8
8
|
export * from './materials/BlitMaterial';
|
|
9
|
-
export * from './CameraManager';
|
|
10
9
|
export * from './Capabilities';
|
|
11
10
|
export * from './canvas_drawer/CanvasDrawer';
|
|
12
11
|
export * from './Configuration';
|
|
13
12
|
export * from './html_utilities/CSSAnimator';
|
|
14
13
|
export * from './view_components/transition/DrawIOAnimationSheet';
|
|
15
14
|
export * from './Debug';
|
|
15
|
+
export * from './CameraManager';
|
|
16
16
|
export * from './render_mode/DebugNormalsRender';
|
|
17
17
|
export * from './EventManager';
|
|
18
18
|
export * from './Graphics';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class AlphaFilterMaterial extends BlitMaterial {
|
|
2
2
|
constructor(use_alpha_mask: any, upsample: any);
|
|
3
3
|
set offset(arg: any);
|
|
4
4
|
get offset(): any;
|
|
5
5
|
}
|
|
6
|
-
import BlitMaterial from "./BlitMaterial";
|
|
6
|
+
import { BlitMaterial } from "./BlitMaterial";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class BloomComposeMaterial extends BlitMaterial {
|
|
2
2
|
constructor(alpha_blending: any);
|
|
3
3
|
blending: any;
|
|
4
4
|
blendSrc: any;
|
|
5
5
|
blendDst: any;
|
|
6
6
|
}
|
|
7
|
-
import BlitMaterial from "./BlitMaterial";
|
|
7
|
+
import { BlitMaterial } from "./BlitMaterial";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class ClearDepthNormalMaterial extends BlitMaterial {
|
|
2
2
|
constructor(clear_depth: any, clear_normal: any);
|
|
3
3
|
}
|
|
4
|
-
import BlitMaterial from "../materials/BlitMaterial";
|
|
4
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class DeferredRendererComposeMaterial extends BlitMaterial {
|
|
2
2
|
constructor();
|
|
3
3
|
set_normal_depth_rt(rt: any): void;
|
|
4
4
|
set_albedo_rt(tex: any): void;
|
|
5
5
|
set_proj_matrix(mat4: any): void;
|
|
6
6
|
}
|
|
7
|
-
import BlitMaterial from "../materials/BlitMaterial";
|
|
7
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class DisplayNormalTextureMaterial extends BlitMaterial {
|
|
2
2
|
constructor();
|
|
3
3
|
}
|
|
4
|
-
import BlitMaterial from "../materials/BlitMaterial";
|
|
4
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class GaussianBlurMaterial extends BlitMaterial {
|
|
2
2
|
constructor(kernel_radius: any);
|
|
3
3
|
set_size(w: any, h: any): void;
|
|
4
4
|
set_direction(x: any, y: any): void;
|
|
5
5
|
}
|
|
6
|
-
import BlitMaterial from "./BlitMaterial";
|
|
6
|
+
import { BlitMaterial } from "./BlitMaterial";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class MedianFilterMaterial extends BlitMaterial {
|
|
2
2
|
constructor();
|
|
3
3
|
set_texture(tex: any): void;
|
|
4
4
|
get_size(tex: any): any;
|
|
5
5
|
}
|
|
6
|
-
import BlitMaterial from "../materials/BlitMaterial";
|
|
6
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class NormalMaterial {
|
|
2
2
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class SDFScreenTextMaterial extends BaseShaderMaterial {
|
|
2
2
|
constructor(texture: any);
|
|
3
3
|
transparent: boolean;
|
|
4
4
|
extensions: {
|
|
@@ -8,4 +8,4 @@ export default class SDFScreenTextMaterial extends BaseShaderMaterial {
|
|
|
8
8
|
side: any;
|
|
9
9
|
set_atlas_size(size: any): void;
|
|
10
10
|
}
|
|
11
|
-
import BaseShaderMaterial from "./BaseShaderMaterial";
|
|
11
|
+
import { BaseShaderMaterial } from "./BaseShaderMaterial";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class SDFTextMaterial extends BaseShaderMaterial {
|
|
2
2
|
constructor(texture: any);
|
|
3
3
|
transparent: boolean;
|
|
4
4
|
extensions: {
|
|
@@ -9,4 +9,4 @@ export default class SDFTextMaterial extends BaseShaderMaterial {
|
|
|
9
9
|
set_atlas_size(size: any): void;
|
|
10
10
|
set_boldness(value: any): void;
|
|
11
11
|
}
|
|
12
|
-
import BaseShaderMaterial from "./BaseShaderMaterial";
|
|
12
|
+
import { BaseShaderMaterial } from "./BaseShaderMaterial";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class SSAOMaterial extends BlitMaterial {
|
|
2
2
|
constructor();
|
|
3
3
|
__get_sample_kernel(): any[];
|
|
4
4
|
__get_rotation_kernel(): any;
|
|
5
5
|
}
|
|
6
|
-
import BlitMaterial from "../materials/BlitMaterial";
|
|
6
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class ScreenSpaceTextureMaterial extends BaseShaderMaterial {
|
|
2
2
|
constructor(x: any, y: any, w: any, h: any);
|
|
3
3
|
set_position(x: any, y: any): void;
|
|
4
4
|
set_texture(tex: any, w: any, h: any): void;
|
|
5
5
|
set_screen_size(w: any, h: any): void;
|
|
6
6
|
}
|
|
7
|
-
import BaseShaderMaterial from "./BaseShaderMaterial";
|
|
7
|
+
import { BaseShaderMaterial } from "./BaseShaderMaterial";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class UIElementMaterial extends BaseShaderMaterial {
|
|
2
2
|
constructor(intensity?: number);
|
|
3
3
|
transparent: boolean;
|
|
4
4
|
depthWrite: boolean;
|
|
5
5
|
depthTest: boolean;
|
|
6
6
|
}
|
|
7
|
-
import BaseShaderMaterial from "../materials/BaseShaderMaterial";
|
|
7
|
+
import { BaseShaderMaterial } from "../materials/BaseShaderMaterial";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class UnrealBloomComposeMaterial extends BlitMaterial {
|
|
2
2
|
constructor(nMips: any);
|
|
3
3
|
set_RT_0(rt: any): void;
|
|
4
4
|
set_RT_1(rt: any): void;
|
|
@@ -13,4 +13,5 @@ export default class UnrealBloomComposeMaterial extends BlitMaterial {
|
|
|
13
13
|
set_tint_color_3(col_string: any): void;
|
|
14
14
|
set_tint_color_4(col_string: any): void;
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
import { BlitMaterial } from "./BlitMaterial";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class UnrealBlurMaterial extends BlitMaterial {
|
|
2
2
|
constructor(kernel_radius: any);
|
|
3
3
|
}
|
|
4
|
-
import BlitMaterial from "../materials/BlitMaterial";
|
|
4
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class UnrealComposeMaterial extends BlitMaterial {
|
|
2
2
|
constructor(nMips: any);
|
|
3
3
|
}
|
|
4
|
-
import BlitMaterial from "../materials/BlitMaterial";
|
|
4
|
+
import { BlitMaterial } from "../materials/BlitMaterial";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class DeferredPointLightMaterial extends BaseShaderMaterial {
|
|
2
2
|
constructor(intensity?: number);
|
|
3
3
|
blending: any;
|
|
4
4
|
depthWrite: boolean;
|
|
@@ -7,4 +7,4 @@ export default class DeferredPointLightMaterial extends BaseShaderMaterial {
|
|
|
7
7
|
set_normal_depth_rt(rt: any): void;
|
|
8
8
|
set_albedo_rt(rt: any): void;
|
|
9
9
|
}
|
|
10
|
-
import BaseShaderMaterial from "../../materials/BaseShaderMaterial";
|
|
10
|
+
import { BaseShaderMaterial } from "../../materials/BaseShaderMaterial";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export class PositionStorageMaterial extends ParticleStorageMaterial {
|
|
2
2
|
constructor();
|
|
3
3
|
}
|
|
4
|
-
import ParticleStorageMaterial from "../../materials/gpu_particles/ParticleStorageMaterial";
|
|
4
|
+
import { ParticleStorageMaterial } from "../../materials/gpu_particles/ParticleStorageMaterial";
|