@xviewer.js/debug 1.0.0-alpha.5 → 1.0.0-alpha.7
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/dist/main.js +35 -96
- package/dist/main.js.map +1 -1
- package/dist/module.js +35 -96
- package/dist/module.js.map +1 -1
- package/package.json +2 -2
- package/types/Component.d.ts +34 -0
- package/types/ComponentManager.d.ts +48 -0
- package/types/ComponentScheduler.d.ts +19 -0
- package/types/DebugManager.d.ts +2 -0
- package/types/DetectUA.d.ts +79 -0
- package/types/DeviceInput.d.ts +60 -0
- package/types/ObjectInstance.d.ts +7 -0
- package/types/Plugin.d.ts +10 -0
- package/types/PluginManager.d.ts +17 -0
- package/types/Pressability.d.ts +17 -0
- package/types/PropertyManager.d.ts +19 -0
- package/types/Scheduler.d.ts +13 -0
- package/types/SystemInfo.d.ts +24 -0
- package/types/Task.d.ts +5 -0
- package/types/TaskManager.d.ts +15 -0
- package/types/TextureSettings.d.ts +13 -0
- package/types/Utils.d.ts +6 -0
- package/types/Viewer.d.ts +143 -0
- package/types/WebGL.d.ts +14 -0
- package/types/asset/ResourceManager.d.ts +42 -0
- package/types/asset/aLoader.d.ts +17 -0
- package/types/base/EventEmitter.d.ts +29 -0
- package/types/base/Logger.d.ts +11 -0
- package/types/base/index.d.ts +3 -0
- package/types/base/mixin.d.ts +1 -0
- package/types/cinestation/CinestationBlendDefinition.d.ts +11 -0
- package/types/cinestation/CinestationBrain.d.ts +21 -0
- package/types/cinestation/FreelookVirtualCamera.d.ts +63 -0
- package/types/cinestation/VirtualCamera.d.ts +25 -0
- package/types/cinestation/index.d.ts +4 -0
- package/types/enums/Orientation.d.ts +5 -0
- package/types/index.d.ts +12 -3
- package/types/loader/aEXRLoader.d.ts +5 -0
- package/types/loader/aFBXLoader.d.ts +5 -0
- package/types/loader/aGLTFLoader.d.ts +5 -0
- package/types/loader/aHDRLoader.d.ts +5 -0
- package/types/loader/aJSONLoader.d.ts +5 -0
- package/types/loader/aTextureLoader.d.ts +5 -0
- package/types/loader/index.d.ts +6 -0
- package/types/material/getShaderMaterial.d.ts +4 -0
- package/types/material/glsl/boxfilterblur.glsl.d.ts +1 -0
- package/types/material/glsl/copy.glsl.d.ts +1 -0
- package/types/material/glsl/fullscreen.glsl.d.ts +1 -0
- package/types/material/glsl/panorama.glsl.d.ts +2 -0
- package/types/math/AnimationCurve.d.ts +23 -0
- package/types/math/Constant.d.ts +2 -0
- package/types/math/Damp.d.ts +10 -0
- package/types/math/Interpolation.d.ts +9 -0
- package/types/primitives/Box.d.ts +4 -0
- package/types/primitives/Plane.d.ts +4 -0
- package/types/primitives/Sphere.d.ts +4 -0
- package/types/primitives/index.d.ts +3 -0
- package/types/tween/TweenChain.d.ts +15 -0
- package/types/tween/TweenManager.d.ts +10 -0
- package/types/tween/index.d.ts +3 -0
- package/types/types.d.ts +54 -0
- package/types/InspectorPlugin.d.ts +0 -22
- package/types/StatsPlugin.d.ts +0 -10
- package/types/gui/GUI.d.ts +0 -257
- package/types/gui/common/UIElement.d.ts +0 -18
- package/types/gui/common/UIInteger.d.ts +0 -14
- package/types/gui/common/UINumber.d.ts +0 -19
- package/types/gui/controllers/BooleanController.d.ts +0 -7
- package/types/gui/controllers/ColorController.d.ts +0 -18
- package/types/gui/controllers/Controller.d.ts +0 -207
- package/types/gui/controllers/CurveController.d.ts +0 -8
- package/types/gui/controllers/FunctionController.d.ts +0 -6
- package/types/gui/controllers/ImageController.d.ts +0 -12
- package/types/gui/controllers/NumberController.d.ts +0 -32
- package/types/gui/controllers/OptionController.d.ts +0 -11
- package/types/gui/controllers/StringController.d.ts +0 -7
- package/types/gui/controllers/TextureController.d.ts +0 -9
- package/types/gui/controllers/VectorController.d.ts +0 -19
- package/types/gui/curve/CurveEditor.d.ts +0 -26
- package/types/gui/curve/CurveViewer.d.ts +0 -53
- package/types/gui/curve/IAnimationCurve.d.ts +0 -8
- package/types/gui/curve/ICurvePoint.d.ts +0 -6
- package/types/gui/utils/getColorFormat.d.ts +0 -21
- package/types/gui/utils/index.d.ts +0 -6
- package/types/gui/utils/normalizeColorString.d.ts +0 -1
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export declare const kTheme: {
|
|
2
|
-
Background: string;
|
|
3
|
-
BackgroundOut: string;
|
|
4
|
-
Error: string;
|
|
5
|
-
Text: string;
|
|
6
|
-
Grid: string;
|
|
7
|
-
GridThin: string;
|
|
8
|
-
Graphs: string[];
|
|
9
|
-
}[];
|
|
10
|
-
export declare abstract class CurveEvaluator {
|
|
11
|
-
visible: boolean;
|
|
12
|
-
abstract getValue(x: number, t: number): number;
|
|
13
|
-
}
|
|
14
|
-
export declare class CurveViewer {
|
|
15
|
-
private _canvas;
|
|
16
|
-
private _context;
|
|
17
|
-
private _xRes;
|
|
18
|
-
private _yRes;
|
|
19
|
-
private _cx;
|
|
20
|
-
private _cy;
|
|
21
|
-
private _ra;
|
|
22
|
-
private _cxRef;
|
|
23
|
-
private _cyRef;
|
|
24
|
-
private _raRef;
|
|
25
|
-
private _offsetXRef;
|
|
26
|
-
private _offsetYRef;
|
|
27
|
-
private _mode;
|
|
28
|
-
private _evaluators;
|
|
29
|
-
showAxes: number;
|
|
30
|
-
rangeType: number;
|
|
31
|
-
themeID: number;
|
|
32
|
-
constructor({ canvas, autoResize, }?: {
|
|
33
|
-
canvas?: HTMLCanvasElement;
|
|
34
|
-
autoResize?: boolean;
|
|
35
|
-
});
|
|
36
|
-
resize(width: number, height: number): this;
|
|
37
|
-
private _onResize;
|
|
38
|
-
regist(evaluator: CurveEvaluator): this;
|
|
39
|
-
render(): void;
|
|
40
|
-
private _onTouchStart;
|
|
41
|
-
private _onTouchEnd;
|
|
42
|
-
private _onTouchMove;
|
|
43
|
-
private _onWheel;
|
|
44
|
-
private _onMouseDown;
|
|
45
|
-
private _onMouseUp;
|
|
46
|
-
private _onMouseMove;
|
|
47
|
-
private _drawGraph;
|
|
48
|
-
private _drawCurve;
|
|
49
|
-
private _drawAxes;
|
|
50
|
-
private _drawGrid;
|
|
51
|
-
private _drawText;
|
|
52
|
-
private _drawAxis;
|
|
53
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ICurvePoint } from "./ICurvePoint";
|
|
2
|
-
export interface IAnimationCurve {
|
|
3
|
-
name: string;
|
|
4
|
-
needsUpdate: boolean;
|
|
5
|
-
points: ICurvePoint[];
|
|
6
|
-
getPoint(t: number, out: ICurvePoint): ICurvePoint;
|
|
7
|
-
createCurvePoint(x?: number, y?: number, mode?: number): ICurvePoint;
|
|
8
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { normalizeColorString } from './normalizeColorString';
|
|
2
|
-
export declare function getColorFormat(value: any): {
|
|
3
|
-
isPrimitive: boolean;
|
|
4
|
-
match: (v: any) => boolean;
|
|
5
|
-
fromHexString: typeof normalizeColorString;
|
|
6
|
-
toHexString: typeof normalizeColorString;
|
|
7
|
-
} | {
|
|
8
|
-
isPrimitive: boolean;
|
|
9
|
-
match: (v: any) => boolean;
|
|
10
|
-
fromHexString(string: any, target: any, rgbScale?: number): void;
|
|
11
|
-
toHexString([r, g, b]: [any, any, any], rgbScale?: number): string;
|
|
12
|
-
} | {
|
|
13
|
-
isPrimitive: boolean;
|
|
14
|
-
match: (v: any) => boolean;
|
|
15
|
-
fromHexString(string: any, target: any, rgbScale?: number): void;
|
|
16
|
-
toHexString({ r, g, b }: {
|
|
17
|
-
r: any;
|
|
18
|
-
g: any;
|
|
19
|
-
b: any;
|
|
20
|
-
}, rgbScale?: number): string;
|
|
21
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from "./getColorFormat";
|
|
2
|
-
export * from "./normalizeColorString";
|
|
3
|
-
export declare function toFixedFloat(v: number, fractionDigits: number): number;
|
|
4
|
-
export declare function toFixed(v: number, fractionDigits: number): string;
|
|
5
|
-
export declare function getPrecision(value: number): number;
|
|
6
|
-
export declare function hasDecimal(value: number): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function normalizeColorString(string: String): string | false;
|