@types/three 0.132.2 → 0.135.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.
- three/README.md +1 -1
- three/examples/jsm/controls/ArcballControls.d.ts +160 -0
- three/examples/jsm/controls/DragControls.d.ts +2 -1
- three/examples/jsm/csm/CSM.d.ts +47 -22
- three/examples/jsm/csm/CSMFrustum.d.ts +19 -0
- three/examples/jsm/csm/CSMHelper.d.ts +20 -7
- three/examples/jsm/csm/CSMShader.d.ts +4 -0
- three/examples/jsm/exporters/GLTFExporter.d.ts +1 -0
- three/examples/jsm/geometries/ParametricGeometries.d.ts +4 -2
- three/{src → examples/jsm}/geometries/ParametricGeometry.d.ts +2 -3
- three/{src → examples/jsm}/geometries/TextGeometry.d.ts +3 -2
- three/examples/jsm/lines/LineSegmentsGeometry.d.ts +2 -2
- three/{src → examples/jsm}/loaders/FontLoader.d.ts +14 -3
- three/examples/jsm/loaders/GLTFLoader.d.ts +25 -2
- three/examples/jsm/loaders/LogLuvLoader.d.ts +19 -0
- three/examples/jsm/misc/GPUComputationRenderer.d.ts +8 -6
- three/examples/jsm/modifiers/TessellateModifier.d.ts +1 -1
- three/examples/jsm/nodes/inputs/ColorNode.d.ts +1 -1
- three/examples/jsm/nodes/materials/StandardNodeMaterial.d.ts +1 -1
- three/examples/jsm/nodes/materials/nodes/StandardNode.d.ts +1 -1
- three/examples/jsm/objects/MarchingCubes.d.ts +11 -5
- three/examples/jsm/postprocessing/SSRPass.d.ts +0 -3
- three/examples/jsm/postprocessing/SSRrPass.d.ts +0 -17
- three/examples/jsm/renderers/CSS2DRenderer.d.ts +5 -1
- three/examples/jsm/renderers/CSS3DRenderer.d.ts +5 -1
- three/examples/jsm/webxr/OculusHandPointerModel.d.ts +3 -3
- three/index.d.ts +1 -1
- three/package.json +3 -3
- three/src/Three.d.ts +0 -3
- three/src/cameras/OrthographicCamera.d.ts +1 -1
- three/src/core/Layers.d.ts +1 -0
- three/src/core/Object3D.d.ts +40 -8
- three/src/core/Raycaster.d.ts +12 -4
- three/src/extras/core/CurvePath.d.ts +1 -1
- three/src/geometries/EdgesGeometry.d.ts +3 -2
- three/src/geometries/ExtrudeGeometry.d.ts +1 -1
- three/src/geometries/Geometries.d.ts +0 -2
- three/src/geometries/LatheGeometry.d.ts +1 -1
- three/src/geometries/PolyhedronGeometry.d.ts +1 -1
- three/src/geometries/ShapeGeometry.d.ts +1 -1
- three/src/geometries/TubeGeometry.d.ts +1 -1
- three/src/geometries/WireframeGeometry.d.ts +6 -2
- three/src/lights/DirectionalLight.d.ts +1 -1
- three/src/lights/LightShadow.d.ts +3 -3
- three/src/loaders/LoaderUtils.d.ts +1 -0
- three/src/materials/Material.d.ts +1 -1
- three/src/materials/MeshPhysicalMaterial.d.ts +29 -7
- three/src/math/Quaternion.d.ts +2 -0
- three/src/math/Triangle.d.ts +10 -1
- three/src/math/Vector3.d.ts +2 -0
- three/src/renderers/WebGLRenderer.d.ts +11 -7
- three/src/renderers/webgl/WebGLRenderLists.d.ts +0 -3
- three/src/textures/Texture.d.ts +6 -0
- three/examples/jsm/controls/DeviceOrientationControls.d.ts +0 -19
- three/examples/jsm/csm/Frustum.d.ts +0 -16
- three/examples/jsm/csm/Shader.d.ts +0 -6
- three/src/extras/core/Font.d.ts +0 -14
- three/src/extras/objects/ImmediateRenderObject.d.ts +0 -59
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export default class Frustum {
|
|
2
|
-
constructor(data: any);
|
|
3
|
-
vertices: {
|
|
4
|
-
near: any[];
|
|
5
|
-
far: any[];
|
|
6
|
-
};
|
|
7
|
-
setFromProjectionMatrix(
|
|
8
|
-
projectionMatrix: any,
|
|
9
|
-
maxFar: any,
|
|
10
|
-
): {
|
|
11
|
-
near: any[];
|
|
12
|
-
far: any[];
|
|
13
|
-
};
|
|
14
|
-
split(breaks: any, target: any): void;
|
|
15
|
-
toSpace(cameraMatrix: any, target: any): void;
|
|
16
|
-
}
|
three/src/extras/core/Font.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Object3D } from './../../core/Object3D';
|
|
2
|
-
import { Material } from './../../materials/Material';
|
|
3
|
-
|
|
4
|
-
// Extras / Objects /////////////////////////////////////////////////////////////////////
|
|
5
|
-
|
|
6
|
-
export class ImmediateRenderObject extends Object3D {
|
|
7
|
-
constructor(material: Material);
|
|
8
|
-
|
|
9
|
-
readonly isImmediateRenderObject: true;
|
|
10
|
-
|
|
11
|
-
material: Material;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
hasPositions: boolean;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
hasNormals: boolean;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
hasColors: boolean;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
hasUvs: boolean;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @default null
|
|
35
|
-
*/
|
|
36
|
-
positionArray: null | Float32Array;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @default null
|
|
40
|
-
*/
|
|
41
|
-
normalArray: null | Float32Array;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @default null
|
|
45
|
-
*/
|
|
46
|
-
colorArray: null | Float32Array;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @default null
|
|
50
|
-
*/
|
|
51
|
-
uvArray: null | Float32Array;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @default 0
|
|
55
|
-
*/
|
|
56
|
-
count: number;
|
|
57
|
-
|
|
58
|
-
render(renderCallback: () => void): void;
|
|
59
|
-
}
|