ohzi-core 12.1.0 → 12.2.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 +1 -1
- package/src/OScreen.js +4 -4
- package/src/RenderLoop.js +0 -5
- package/src/index.js +1 -2
- package/types/index.d.ts +77 -78
- package/src/Screen.js +0 -55
- package/types/Screen.d.ts +0 -12
package/package.json
CHANGED
package/src/OScreen.js
CHANGED
|
@@ -4,13 +4,13 @@ class OScreen
|
|
|
4
4
|
{
|
|
5
5
|
init()
|
|
6
6
|
{
|
|
7
|
-
this.width =
|
|
8
|
-
this.height =
|
|
7
|
+
this.width = window.innerWidth;
|
|
8
|
+
this.height = window.innerHeight;
|
|
9
9
|
|
|
10
10
|
this.position = new Vector2();
|
|
11
11
|
|
|
12
|
-
this.render_width =
|
|
13
|
-
this.render_height =
|
|
12
|
+
this.render_width = window.innerWidth;
|
|
13
|
+
this.render_height = window.innerHeight;
|
|
14
14
|
this.width_height = new Vector2(this.width, this.height);
|
|
15
15
|
|
|
16
16
|
this.dpr = 1;
|
package/src/RenderLoop.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BaseApplication } from './BaseApplication';
|
|
2
2
|
import { Debug } from './Debug';
|
|
3
3
|
import { Time } from './Time';
|
|
4
|
-
import { UI } from './UI';
|
|
5
4
|
import { TransitionManager } from './view_components/TransitionManager';
|
|
6
5
|
import { ViewComponentManager } from './view_components/ViewComponentManager';
|
|
7
6
|
import { ViewManager } from './view_components/ViewManager';
|
|
@@ -61,19 +60,15 @@ class RenderLoop
|
|
|
61
60
|
this.target_application.on_pre_render();
|
|
62
61
|
|
|
63
62
|
this.graphics.update(); // render scene
|
|
64
|
-
UI.update(); // update after new camera matrix has been calculated
|
|
65
|
-
UI.render(this.graphics); // render ui layer on top
|
|
66
63
|
this.target_application.on_post_render();
|
|
67
64
|
|
|
68
65
|
Debug.render(this.graphics); // render debug layer
|
|
69
66
|
|
|
70
67
|
// ###### END CYCLE #######
|
|
71
|
-
|
|
72
68
|
this.target_application.on_frame_end();
|
|
73
69
|
this.frames_passed++;
|
|
74
70
|
|
|
75
71
|
this.input.clear();
|
|
76
|
-
UI.clear();
|
|
77
72
|
Debug.clear();
|
|
78
73
|
}
|
|
79
74
|
|
package/src/index.js
CHANGED
|
@@ -33,7 +33,6 @@ import { UnrealBloomRender } from './render_mode/UnrealBloomRender';
|
|
|
33
33
|
import { VRRender } from './render_mode/VRRender';
|
|
34
34
|
import { RenderLoop } from './RenderLoop';
|
|
35
35
|
import { SceneManager } from './SceneManager';
|
|
36
|
-
import { Screen } from './Screen';
|
|
37
36
|
import { Time } from './Time';
|
|
38
37
|
import { UI } from './UI';
|
|
39
38
|
import { DrawIOAnimationSheet } from './view_components/transition/DrawIOAnimationSheet';
|
|
@@ -128,6 +127,6 @@ export {
|
|
|
128
127
|
ModelUtilities, NormalAORender,
|
|
129
128
|
NormalRender, NumberInterpolator, ObjectUtilities, OBJLoader, OMath, OrthographicCamera, OrthographicFrustumPointFitter, OS, OScreen, ParticleAttribute,
|
|
130
129
|
ParticlePositionAttribute, PerspectiveCamera, PerspectiveFrustumPointFitter, PointArrayLoader, RegularLoadingState, RenderLoop, ResourceBatch,
|
|
131
|
-
ResourceContainer, RGBETextureLoader, SceneManager,
|
|
130
|
+
ResourceContainer, RGBETextureLoader, SceneManager, SDFTextBatch, SimpleTextDrawer, Sphere, StringUtilities, Text2D, TextLoader, TextureLoader, Time, TimeUtilities, TransitionManager, TransitionTable, UI, UIElement, UnrealBloomComposeMaterial, UnrealBloomRender, UpdatableMaterialMesh, Validation, VectorInterpolator, VerticalPlane, VideoLoader, ViewComponent,
|
|
132
131
|
ViewComponentManager, ViewManager, VRRender, WorldImage
|
|
133
132
|
};
|
package/types/index.d.ts
CHANGED
|
@@ -1,109 +1,108 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BaseApplication } from "./BaseApplication";
|
|
2
|
+
import { Browser } from "./Browser";
|
|
3
|
+
import { CameraManager } from "./CameraManager";
|
|
4
|
+
import { Capabilities } from "./Capabilities";
|
|
5
|
+
import { Debug } from "./Debug";
|
|
6
|
+
import { Graphics } from "./Graphics";
|
|
7
|
+
import { Initializer } from "./Initializer";
|
|
8
|
+
import { KeyboardInput } from "./KeyboardInput";
|
|
9
|
+
import { OS } from "./OS";
|
|
10
|
+
import { OScreen } from "./OScreen";
|
|
11
|
+
import { OrthographicCamera } from "./OrthographicCamera";
|
|
12
|
+
import { PerspectiveCamera } from "./PerspectiveCamera";
|
|
13
|
+
import { RenderLoop } from "./RenderLoop";
|
|
14
|
+
import { ResourceContainer } from "./ResourceContainer";
|
|
15
|
+
import { SceneManager } from "./SceneManager";
|
|
16
|
+
import { Time } from "./Time";
|
|
17
|
+
import { UI } from "./UI";
|
|
3
18
|
import { ActionEvent } from "./action_sequencer/ActionEvent";
|
|
4
19
|
import { ActionInterpolator } from "./action_sequencer/ActionInterpolator";
|
|
5
20
|
import { ActionSequencer } from "./action_sequencer/ActionSequencer";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
21
|
+
import { NumberInterpolator } from "./action_sequencer/NumberInterpolator";
|
|
22
|
+
import { VectorInterpolator } from "./action_sequencer/VectorInterpolator";
|
|
23
|
+
import { CanvasDrawer } from "./canvas_drawer/CanvasDrawer";
|
|
24
|
+
import { SimpleTextDrawer } from "./canvas_drawer/SimpleTextDrawer";
|
|
25
|
+
import { Grid } from "./components/Grid";
|
|
26
|
+
import { Line } from "./components/Line";
|
|
27
|
+
import { Text2D } from "./components/Text2D";
|
|
28
|
+
import { UIElement } from "./components/UIElement";
|
|
29
|
+
import { UpdatableMaterialMesh } from "./components/UpdatableMaterialMesh";
|
|
30
|
+
import { WorldImage } from "./components/WorldImage";
|
|
31
|
+
import { SDFTextBatch } from "./components/sdf_text/SDFTextBatch";
|
|
32
|
+
import { GPUParticleSystem } from "./gpu_particles/GPUParticleSystem";
|
|
33
|
+
import { ParticleAttribute } from "./gpu_particles/ParticleAttribute";
|
|
34
|
+
import { ParticlePositionAttribute } from "./gpu_particles/ParticlePositionAttribute";
|
|
35
|
+
import { CSSAnimator } from "./html_utilities/CSSAnimator";
|
|
11
36
|
import { AsyncAbstractLoader } from "./loaders/AsyncAbstractLoader";
|
|
12
37
|
import { AsyncAudiosLoader } from "./loaders/AsyncAudiosLoader";
|
|
13
38
|
import { AsyncObjectsLoader } from "./loaders/AsyncObjectsLoader";
|
|
14
|
-
import { AsyncTextureLoader } from "./resource_loader/AsyncTextureLoader";
|
|
15
39
|
import { AsyncTexturesLoader } from "./loaders/AsyncTexturesLoader";
|
|
16
|
-
import {
|
|
17
|
-
import { BaseApplication } from "./BaseApplication";
|
|
18
|
-
import { BaseRender } from "./render_mode/BaseRender";
|
|
40
|
+
import { AddMaterial } from "./materials/AddMaterial";
|
|
19
41
|
import { BaseShaderMaterial } from "./materials/BaseShaderMaterial";
|
|
20
|
-
import { BasisLoader } from "./resource_loader/BasisLoader";
|
|
21
42
|
import { BlitMaterial } from "./materials/BlitMaterial";
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { CameraUtilities } from "./utilities/CameraUtilities";
|
|
26
|
-
import { CanvasDrawer } from "./canvas_drawer/CanvasDrawer";
|
|
27
|
-
import { Capabilities } from "./Capabilities";
|
|
28
|
-
import { CSSAnimator } from "./html_utilities/CSSAnimator";
|
|
43
|
+
import { DualFilteringBlurMaterial } from "./materials/DualFilteringBlurMaterial";
|
|
44
|
+
import { UnrealBloomComposeMaterial } from "./materials/UnrealBloomComposeMaterial";
|
|
45
|
+
import { Arrow } from "./primitives/Arrow";
|
|
29
46
|
import { Cube } from "./primitives/Cube";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
47
|
+
import { HorizontalPlane } from "./primitives/HorizontalPlane";
|
|
48
|
+
import { Sphere } from "./primitives/Sphere";
|
|
49
|
+
import { VerticalPlane } from "./primitives/VerticalPlane";
|
|
50
|
+
import { BaseRender } from "./render_mode/BaseRender";
|
|
33
51
|
import { DebugNormalsRender } from "./render_mode/DebugNormalsRender";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
52
|
+
import { NormalAORender } from "./render_mode/NormalAORender";
|
|
53
|
+
import { NormalRender } from "./render_mode/NormalRender";
|
|
54
|
+
import { UnrealBloomRender } from "./render_mode/UnrealBloomRender";
|
|
55
|
+
import { VRRender } from "./render_mode/VRRender";
|
|
56
|
+
import { Blurrer } from "./render_utilities/Blurrer";
|
|
36
57
|
import { DualFilteringBlurrer } from "./render_utilities/DualFilteringBlurrer";
|
|
37
|
-
import {
|
|
58
|
+
import { GaussianBlurrer } from "./render_utilities/GaussianBlurrer";
|
|
59
|
+
import { MedianFilter } from "./render_utilities/MedianFilter";
|
|
60
|
+
import { AbstractLoader } from "./resource_loader/AbstractLoader";
|
|
61
|
+
import { AsyncTextureLoader } from "./resource_loader/AsyncTextureLoader";
|
|
62
|
+
import { AudioLoader } from "./resource_loader/AudioLoader";
|
|
63
|
+
import { BasisLoader } from "./resource_loader/BasisLoader";
|
|
64
|
+
import { CubemapLoader } from "./resource_loader/CubemapLoader";
|
|
65
|
+
import { DAELoader } from "./resource_loader/DAELoader";
|
|
38
66
|
import { FileLoader } from "./resource_loader/FileLoader";
|
|
39
67
|
import { FontLoader } from "./resource_loader/FontLoader";
|
|
40
|
-
import { FrustumPointFitter } from "./utilities/FrustumPointFitter";
|
|
41
|
-
import { GaussianBlurrer } from "./render_utilities/GaussianBlurrer";
|
|
42
|
-
import { GeometryUtilities } from "./utilities/GeometryUtilities";
|
|
43
68
|
import { GLTFDRACOLoader } from "./resource_loader/GLTFDRACOLoader";
|
|
44
69
|
import { GLTFLoader } from "./resource_loader/GLTFLoader";
|
|
45
|
-
import { GPUParticleSystem } from "./gpu_particles/GPUParticleSystem";
|
|
46
|
-
import { Graphics } from "./Graphics";
|
|
47
|
-
import { Grid } from "./components/Grid";
|
|
48
70
|
import { HDRCubeTextureLoader } from "./resource_loader/HDRCubeTextureLoader";
|
|
49
|
-
import { HighQualityLoadingState } from "./scenes/loading_states/HighQualityLoadingState";
|
|
50
|
-
import { HorizontalPlane } from "./primitives/HorizontalPlane";
|
|
51
|
-
import { HTMLUtilities } from "./utilities/HTMLUtilities";
|
|
52
|
-
import { ImageUtilities } from "./utilities/ImageUtilities";
|
|
53
|
-
import { Initializer } from "./Initializer";
|
|
54
71
|
import { JSONLoader } from "./resource_loader/JSONLoader";
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
72
|
+
import { OBJLoader } from "./resource_loader/OBJLoader";
|
|
73
|
+
import { PointArrayLoader } from "./resource_loader/PointArrayLoader";
|
|
74
|
+
import { RGBETextureLoader } from "./resource_loader/RGBETextureLoader";
|
|
75
|
+
import { ResourceBatch } from "./resource_loader/ResourceBatch";
|
|
76
|
+
import { TextLoader } from "./resource_loader/TextLoader";
|
|
77
|
+
import { TextureLoader } from "./resource_loader/TextureLoader";
|
|
78
|
+
import { VideoLoader } from "./resource_loader/VideoLoader";
|
|
79
|
+
import { AbstractScene } from "./scenes/AbstractScene";
|
|
80
|
+
import { HighQualityLoadingState } from "./scenes/loading_states/HighQualityLoadingState";
|
|
57
81
|
import { LoadingState } from "./scenes/loading_states/LoadingState";
|
|
58
|
-
import {
|
|
82
|
+
import { RegularLoadingState } from "./scenes/loading_states/RegularLoadingState";
|
|
59
83
|
import { MeshBatcher } from "./static_batcher/MeshBatcher";
|
|
84
|
+
import { ArrayUtilities } from "./utilities/ArrayUtilities";
|
|
85
|
+
import { CameraUtilities } from "./utilities/CameraUtilities";
|
|
86
|
+
import { EasingFunctions } from "./utilities/EasingFunctions";
|
|
87
|
+
import { FrustumPointFitter } from "./utilities/FrustumPointFitter";
|
|
88
|
+
import { GeometryUtilities } from "./utilities/GeometryUtilities";
|
|
89
|
+
import { HTMLUtilities } from "./utilities/HTMLUtilities";
|
|
90
|
+
import { ImageUtilities } from "./utilities/ImageUtilities";
|
|
60
91
|
import { MeshSampler } from "./utilities/MeshSampler";
|
|
61
92
|
import { ModelUtilities } from "./utilities/ModelUtilities";
|
|
62
|
-
import { NormalAORender } from "./render_mode/NormalAORender";
|
|
63
|
-
import { NormalRender } from "./render_mode/NormalRender";
|
|
64
|
-
import { NumberInterpolator } from "./action_sequencer/NumberInterpolator";
|
|
65
|
-
import { ObjectUtilities } from "./utilities/ObjectUtilities";
|
|
66
|
-
import { OBJLoader } from "./resource_loader/OBJLoader";
|
|
67
93
|
import { OMath } from "./utilities/OMath";
|
|
68
|
-
import {
|
|
94
|
+
import { ObjectUtilities } from "./utilities/ObjectUtilities";
|
|
69
95
|
import { OrthographicFrustumPointFitter } from "./utilities/OrthographicFrustumPointFitter";
|
|
70
|
-
import { OS } from "./OS";
|
|
71
|
-
import { OScreen } from "./OScreen";
|
|
72
|
-
import { ParticleAttribute } from "./gpu_particles/ParticleAttribute";
|
|
73
|
-
import { ParticlePositionAttribute } from "./gpu_particles/ParticlePositionAttribute";
|
|
74
|
-
import { PerspectiveCamera } from "./PerspectiveCamera";
|
|
75
96
|
import { PerspectiveFrustumPointFitter } from "./utilities/PerspectiveFrustumPointFitter";
|
|
76
|
-
import { PointArrayLoader } from "./resource_loader/PointArrayLoader";
|
|
77
|
-
import { RegularLoadingState } from "./scenes/loading_states/RegularLoadingState";
|
|
78
|
-
import { RenderLoop } from "./RenderLoop";
|
|
79
|
-
import { ResourceBatch } from "./resource_loader/ResourceBatch";
|
|
80
|
-
import { ResourceContainer } from "./ResourceContainer";
|
|
81
|
-
import { RGBETextureLoader } from "./resource_loader/RGBETextureLoader";
|
|
82
|
-
import { SceneManager } from "./SceneManager";
|
|
83
|
-
import { Screen } from "./Screen";
|
|
84
|
-
import { SDFTextBatch } from "./components/sdf_text/SDFTextBatch";
|
|
85
|
-
import { SimpleTextDrawer } from "./canvas_drawer/SimpleTextDrawer";
|
|
86
|
-
import { Sphere } from "./primitives/Sphere";
|
|
87
97
|
import { StringUtilities } from "./utilities/StringUtilities";
|
|
88
|
-
import { Text2D } from "./components/Text2D";
|
|
89
|
-
import { TextLoader } from "./resource_loader/TextLoader";
|
|
90
|
-
import { TextureLoader } from "./resource_loader/TextureLoader";
|
|
91
|
-
import { Time } from "./Time";
|
|
92
98
|
import { TimeUtilities } from "./utilities/TimeUtilities";
|
|
93
|
-
import { TransitionManager } from "./view_components/TransitionManager";
|
|
94
|
-
import { TransitionTable } from "./view_components/transition/TransitionTable";
|
|
95
|
-
import { UI } from "./UI";
|
|
96
|
-
import { UIElement } from "./components/UIElement";
|
|
97
|
-
import { UnrealBloomComposeMaterial } from "./materials/UnrealBloomComposeMaterial";
|
|
98
|
-
import { UnrealBloomRender } from "./render_mode/UnrealBloomRender";
|
|
99
|
-
import { UpdatableMaterialMesh } from "./components/UpdatableMaterialMesh";
|
|
100
99
|
import { Validation } from "./utilities/Validation";
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import { VideoLoader } from "./resource_loader/VideoLoader";
|
|
100
|
+
import { ApplicationView } from "./view_components/ApplicationView";
|
|
101
|
+
import { TransitionManager } from "./view_components/TransitionManager";
|
|
104
102
|
import { ViewComponent } from "./view_components/ViewComponent";
|
|
105
103
|
import { ViewComponentManager } from "./view_components/ViewComponentManager";
|
|
106
104
|
import { ViewManager } from "./view_components/ViewManager";
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
|
|
105
|
+
import { ActionSequencerBuilder } from "./view_components/transition/ActionSequencerBuilder";
|
|
106
|
+
import { DrawIOAnimationSheet } from "./view_components/transition/DrawIOAnimationSheet";
|
|
107
|
+
import { TransitionTable } from "./view_components/transition/TransitionTable";
|
|
108
|
+
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, 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 };
|
package/src/Screen.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { OScreen } from './OScreen';
|
|
2
|
-
|
|
3
|
-
class Screen
|
|
4
|
-
{
|
|
5
|
-
init()
|
|
6
|
-
{
|
|
7
|
-
console.warn('Screen Singleton is deprecated. Please use OScreen.');
|
|
8
|
-
OScreen.init();
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
update_position(x, y)
|
|
12
|
-
{
|
|
13
|
-
console.warn('Screen Singleton is deprecated. Please use OScreen.');
|
|
14
|
-
OScreen.update_position(x, y);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
update()
|
|
18
|
-
{
|
|
19
|
-
console.warn('Screen Singleton is deprecated. Please use OScreen.');
|
|
20
|
-
OScreen.update();
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
update_size(width, height)
|
|
24
|
-
{
|
|
25
|
-
console.warn('Screen Singleton is deprecated. Please use OScreen.');
|
|
26
|
-
OScreen.update_size(width, height);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
apply_pixel_density_v2(vector2)
|
|
30
|
-
{
|
|
31
|
-
console.warn('Screen Singleton is deprecated. Please use OScreen.');
|
|
32
|
-
return OScreen.apply_pixel_density_v2(vector2);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
apply_pixel_density(value)
|
|
36
|
-
{
|
|
37
|
-
console.warn('Screen Singleton is deprecated. Please use OScreen.');
|
|
38
|
-
return OScreen.apply_pixel_density(value);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
get_pixel_size()
|
|
42
|
-
{
|
|
43
|
-
console.warn('Screen Singleton is deprecated. Please use OScreen.');
|
|
44
|
-
return OScreen.get_pixel_size();
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
get aspect_ratio()
|
|
48
|
-
{
|
|
49
|
-
console.warn('Screen Singleton is deprecated. Please use OScreen.');
|
|
50
|
-
return OScreen.aspect_ratio;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
const screen = new Screen();
|
|
55
|
-
export { screen as Screen };
|
package/types/Screen.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { screen as Screen };
|
|
2
|
-
declare const screen: Screen;
|
|
3
|
-
declare class Screen {
|
|
4
|
-
init(): void;
|
|
5
|
-
update_position(x: any, y: any): void;
|
|
6
|
-
update(): void;
|
|
7
|
-
update_size(width: any, height: any): void;
|
|
8
|
-
apply_pixel_density_v2(vector2: any): any;
|
|
9
|
-
apply_pixel_density(value: any): number;
|
|
10
|
-
get_pixel_size(): any;
|
|
11
|
-
get aspect_ratio(): number;
|
|
12
|
-
}
|