@types/three
Advanced tools
Comparing version 0.158.3 to 0.159.0
@@ -63,2 +63,3 @@ export * from './animation/AnimationClipCreator.js'; | ||
export * from './helpers/RectAreaLightHelper.js'; | ||
export * from './helpers/TextureHelper.js'; | ||
export * from './helpers/VertexNormalsHelper.js'; | ||
@@ -163,3 +164,2 @@ export * from './helpers/VertexTangentsHelper.js'; | ||
export * from './objects/BatchedMesh.js'; | ||
export * from './objects/GroundProjectedSkybox.js'; | ||
@@ -277,2 +277,3 @@ export * from './objects/Lensflare.js'; | ||
export * as SkeletonUtils from './utils/SkeletonUtils.js'; | ||
export * as SortUtils from './utils/SortUtils.js'; | ||
export * from './utils/TextureUtils.js'; | ||
@@ -279,0 +280,0 @@ export * from './utils/UVsDebug.js'; |
@@ -10,3 +10,3 @@ import { | ||
import { BokehShaderUniforms } from './../shaders/BokehShader2.js'; | ||
import { BokehShaderUniforms } from '../shaders/BokehShader2.js'; | ||
@@ -13,0 +13,0 @@ export class CinematicCamera extends PerspectiveCamera { |
@@ -1,6 +0,6 @@ | ||
import { Color, MaterialParameters, ShaderMaterial, Vector2 } from '../../../src/Three.js'; | ||
import { Color, ColorRepresentation, MaterialParameters, ShaderMaterial, Vector2 } from '../../../src/Three.js'; | ||
export interface LineMaterialParameters extends MaterialParameters { | ||
alphaToCoverage?: boolean | undefined; | ||
color?: number | undefined; | ||
color?: ColorRepresentation | undefined; | ||
dashed?: boolean | undefined; | ||
@@ -7,0 +7,0 @@ dashScale?: number | undefined; |
@@ -1,2 +0,2 @@ | ||
import { Loader, LoadingManager, Scene } from '../../../src/Three.js'; | ||
import { Loader, Scene } from '../../../src/Three.js'; | ||
@@ -10,5 +10,3 @@ export interface Collada { | ||
export class ColladaLoader extends Loader<Collada> { | ||
constructor(manager?: LoadingManager); | ||
parse(text: string, path: string): Collada; | ||
} |
@@ -39,3 +39,3 @@ import { | ||
parser: GLTFParser; | ||
userData: any; | ||
userData: Record<string, any>; | ||
} | ||
@@ -42,0 +42,0 @@ |
import { Loader, LoadingManager, ShapePath, BufferGeometry, Vector3, Shape, Vector2 } from '../../../src/Three.js'; | ||
export interface SVGResultPaths extends ShapePath { | ||
userData?: | ||
| { | ||
[key: string]: any; | ||
} | ||
| undefined; | ||
userData?: Record<string, any> | undefined; | ||
} | ||
@@ -10,0 +6,0 @@ |
@@ -6,7 +6,10 @@ import { Triangle, Box3, Ray, Sphere, Object3D } from '../../../src/Three.js'; | ||
export class Octree { | ||
constructor(box?: Box3); | ||
box: Box3 | null | undefined; | ||
bounds: Box3; | ||
subTrees: Octree[]; | ||
triangles: Triangle[]; | ||
box: Box3; | ||
subTrees: Octree[]; | ||
constructor(box?: Box3 | null); | ||
addTriangle(triangle: Triangle): this; | ||
@@ -25,2 +28,3 @@ calcBox(): this; | ||
fromGraphNode(group: Object3D): this; | ||
clear(): this; | ||
} |
@@ -14,3 +14,3 @@ import { | ||
WebGLRenderTarget, | ||
} from './../../../src/Three.js'; | ||
} from '../../../src/Three.js'; | ||
@@ -17,0 +17,0 @@ export interface UVBoxes { |
@@ -57,5 +57,3 @@ import { Color, Matrix3, Matrix4, Vector2, Vector3, Vector4 } from '../../../../src/Three.js'; | ||
/** Should be the same type as Object3D.userData */ | ||
export interface NodeUserData { | ||
[key: string]: any; | ||
} | ||
export type NodeUserData = Record<string, any>; | ||
@@ -62,0 +60,0 @@ /** generic key value type,curretly used by nodes */ |
import { Object3D } from '../../../../src/Three.js'; | ||
export default class Info { | ||
autoRest: boolean; | ||
autoReset: boolean; | ||
render: { frame: number; drawCalls: number; triangles: number; points: number; lines: number }; | ||
frame: number; | ||
calls: number; | ||
render: { calls: number; drawCalls: number; triangles: number; points: number; lines: number }; | ||
compute: { calls: number }; | ||
memory: { geometries: number; textures: number }; | ||
@@ -9,0 +14,0 @@ |
@@ -29,3 +29,3 @@ import { Camera, ColorSpace, CoordinateSystem, Scene, ToneMapping } from '../../../../src/Three.js'; | ||
constructor(backend: Backend); | ||
constructor(backend: Backend, parameters?: { logarithmicDepthBuffer?: boolean | undefined }); | ||
@@ -38,3 +38,3 @@ init(): Promise<void>; | ||
setAnimationLoop(callback: ((time: DOMHighResTimeStamp) => void) | null): void; | ||
setAnimationLoop(callback: ((time: DOMHighResTimeStamp) => void) | null): Promise<void>; | ||
@@ -41,0 +41,0 @@ setPixelRatio(value?: number): void; |
@@ -8,3 +8,4 @@ import Renderer from '../common/Renderer.js'; | ||
sampleCount?: number | undefined; | ||
logarithmicDepthBuffer?: boolean | undefined; | ||
}); | ||
} |
{ | ||
"name": "@types/three", | ||
"version": "0.158.3", | ||
"version": "0.159.0", | ||
"description": "TypeScript definitions for three", | ||
@@ -47,4 +47,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three", | ||
}, | ||
"typesPublisherContentHash": "63e0c6a37dc1c160eecdbe61741d097ff25ba5c1e0bd8a134ae21d23bc71b38f", | ||
"typeScriptVersion": "4.5" | ||
"typesPublisherContentHash": "00146f19c0acfa1923520aa89574fd3c011b0b97251b16d57b2bc5999534c2c9", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Last updated: Thu, 30 Nov 2023 20:07:36 GMT | ||
* Dependencies: [@types/stats.js](https://npmjs.com/package/@types/stats.js), [@types/webxr](https://npmjs.com/package/@types/webxr), [fflate](https://npmjs.com/package/fflate), [meshoptimizer](https://npmjs.com/package/meshoptimizer) | ||
@@ -14,0 +14,0 @@ |
import { KeyframeTrack } from './KeyframeTrack.js'; | ||
import { Vector3 } from './../math/Vector3.js'; | ||
import { Bone } from './../objects/Bone.js'; | ||
import { Vector3 } from '../math/Vector3.js'; | ||
import { Bone } from '../objects/Bone.js'; | ||
import { AnimationBlendMode } from '../constants.js'; | ||
@@ -5,0 +5,0 @@ |
import { AnimationClip } from './AnimationClip.js'; | ||
import { AnimationAction } from './AnimationAction.js'; | ||
import { AnimationBlendMode } from '../constants.js'; | ||
import { EventDispatcher } from './../core/EventDispatcher.js'; | ||
import { EventDispatcher } from '../core/EventDispatcher.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
@@ -6,0 +6,0 @@ import { AnimationObjectGroup } from './AnimationObjectGroup.js'; |
@@ -1,4 +0,4 @@ | ||
import { DiscreteInterpolant } from './../math/interpolants/DiscreteInterpolant.js'; | ||
import { LinearInterpolant } from './../math/interpolants/LinearInterpolant.js'; | ||
import { CubicInterpolant } from './../math/interpolants/CubicInterpolant.js'; | ||
import { DiscreteInterpolant } from '../math/interpolants/DiscreteInterpolant.js'; | ||
import { LinearInterpolant } from '../math/interpolants/LinearInterpolant.js'; | ||
import { CubicInterpolant } from '../math/interpolants/CubicInterpolant.js'; | ||
import { Interpolant } from '../math/Interpolant.js'; | ||
@@ -5,0 +5,0 @@ import { InterpolationModes } from '../constants.js'; |
@@ -1,2 +0,2 @@ | ||
import { KeyframeTrack } from './../KeyframeTrack.js'; | ||
import { KeyframeTrack } from '../KeyframeTrack.js'; | ||
@@ -3,0 +3,0 @@ export class BooleanKeyframeTrack extends KeyframeTrack { |
@@ -1,2 +0,2 @@ | ||
import { KeyframeTrack } from './../KeyframeTrack.js'; | ||
import { KeyframeTrack } from '../KeyframeTrack.js'; | ||
import { InterpolationModes } from '../../constants.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { KeyframeTrack } from './../KeyframeTrack.js'; | ||
import { KeyframeTrack } from '../KeyframeTrack.js'; | ||
import { InterpolationModes } from '../../constants.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { KeyframeTrack } from './../KeyframeTrack.js'; | ||
import { KeyframeTrack } from '../KeyframeTrack.js'; | ||
import { InterpolationModes } from '../../constants.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { KeyframeTrack } from './../KeyframeTrack.js'; | ||
import { KeyframeTrack } from '../KeyframeTrack.js'; | ||
import { InterpolationModes } from '../../constants.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { KeyframeTrack } from './../KeyframeTrack.js'; | ||
import { KeyframeTrack } from '../KeyframeTrack.js'; | ||
import { InterpolationModes } from '../../constants.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { AudioListener } from './AudioListener.js'; | ||
@@ -3,0 +3,0 @@ import { AudioContext } from './AudioContext.js'; |
@@ -1,2 +0,2 @@ | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { AudioContext } from './AudioContext.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -91,2 +91,3 @@ import { Usage, AttributeGPUType } from '../constants.js'; | ||
* @defaultValue `{ offset: number = 0; count: number = -1 }` | ||
* @deprecated Will be removed in r169. Use "addUpdateRange()" instead. | ||
*/ | ||
@@ -104,2 +105,17 @@ updateRange: { | ||
/** | ||
* This can be used to only update some components of stored vectors (for example, just the component related to | ||
* color). Use the {@link .addUpdateRange} function to add ranges to this array. | ||
*/ | ||
updateRanges: Array<{ | ||
/** | ||
* Position at which to start update. | ||
*/ | ||
start: number; | ||
/** | ||
* The number of components to update. | ||
*/ | ||
count: number; | ||
}>; | ||
/** | ||
* A version number, incremented every time the {@link BufferAttribute.needsUpdate | needsUpdate} property is set to true. | ||
@@ -165,2 +181,13 @@ * @remarks Expects a `Integer` | ||
/** | ||
* Adds a range of data in the data array to be updated on the GPU. Adds an object describing the range to the | ||
* {@link .updateRanges} array. | ||
*/ | ||
addUpdateRange(start: number, count: number): void; | ||
/** | ||
* Clears the {@link .updateRanges} array. | ||
*/ | ||
clearUpdateRanges(): void; | ||
/** | ||
* @returns a copy of this {@link BufferAttribute}. | ||
@@ -167,0 +194,0 @@ */ |
@@ -191,3 +191,3 @@ import { BufferAttribute } from './BufferAttribute.js'; | ||
*/ | ||
userData: { [key: string]: any }; | ||
userData: Record<string, any>; | ||
@@ -194,0 +194,0 @@ /** |
@@ -46,2 +46,3 @@ import { InterleavedBufferAttribute } from './InterleavedBufferAttribute.js'; | ||
* @defaultValue `{ offset: number = 0; count: number = -1 }` | ||
* @deprecated Will be removed in r169. Use "addUpdateRange()" instead. | ||
*/ | ||
@@ -56,2 +57,17 @@ updateRange: { | ||
/** | ||
* This can be used to only update some components of stored data. Use the {@link .addUpdateRange} function to add | ||
* ranges to this array. | ||
*/ | ||
updateRanges: Array<{ | ||
/** | ||
* Position at which to start update. | ||
*/ | ||
start: number; | ||
/** | ||
* The number of components to update. | ||
*/ | ||
count: number; | ||
}>; | ||
/** | ||
* A version number, incremented every time the {@link BufferAttribute.needsUpdate | needsUpdate} property is set to true. | ||
@@ -105,2 +121,13 @@ * @remarks Expects a `Integer` | ||
/** | ||
* Adds a range of data in the data array to be updated on the GPU. Adds an object describing the range to the | ||
* {@link .updateRanges} array. | ||
*/ | ||
addUpdateRange(start: number, count: number): void; | ||
/** | ||
* Clears the {@link .updateRanges} array. | ||
*/ | ||
clearUpdateRanges(): void; | ||
/** | ||
* Copies another {@link InterleavedBuffer} to this {@link InterleavedBuffer} instance. | ||
@@ -107,0 +134,0 @@ * @param source |
import { BufferAttribute, TypedArray } from './BufferAttribute.js'; | ||
import { InterleavedBuffer } from './InterleavedBuffer.js'; | ||
import { Matrix4 } from './../math/Matrix4.js'; | ||
import { Matrix } from './../math/Matrix3.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { Matrix } from '../math/Matrix3.js'; | ||
@@ -6,0 +6,0 @@ /** |
@@ -211,3 +211,3 @@ import { Vector3 } from '../math/Vector3.js'; | ||
*/ | ||
userData: { [key: string]: any }; // TODO Replace this to a Record? | ||
userData: Record<string, any>; | ||
@@ -230,10 +230,44 @@ /** | ||
/** | ||
* An optional callback that is executed immediately before a 3D object is rendered to a shadow map. | ||
* @remarks This function is called with the following parameters: renderer, scene, camera, shadowCamera, geometry, | ||
* depthMaterial, group. | ||
* @remarks Please notice that this callback is only executed for `renderable` 3D objects. Meaning 3D objects which | ||
* define their visual appearance with geometries and materials like instances of {@link Mesh}, {@link Line}, | ||
* {@link Points} or {@link Sprite}. Instances of {@link Object3D}, {@link Group} or {@link Bone} are not renderable | ||
* and thus this callback is not executed for such objects. | ||
*/ | ||
onBeforeShadow( | ||
renderer: WebGLRenderer, | ||
scene: Scene, | ||
shadowCamera: Camera, | ||
geometry: BufferGeometry, | ||
depthMaterial: Material, | ||
group: Group, | ||
): void; | ||
/** | ||
* An optional callback that is executed immediately after a 3D object is rendered to a shadow map. | ||
* @remarks This function is called with the following parameters: renderer, scene, camera, shadowCamera, geometry, | ||
* depthMaterial, group. | ||
* @remarks Please notice that this callback is only executed for `renderable` 3D objects. Meaning 3D objects which | ||
* define their visual appearance with geometries and materials like instances of {@link Mesh}, {@link Line}, | ||
* {@link Points} or {@link Sprite}. Instances of {@link Object3D}, {@link Group} or {@link Bone} are not renderable | ||
* and thus this callback is not executed for such objects. | ||
*/ | ||
onAfterShadow( | ||
renderer: WebGLRenderer, | ||
scene: Scene, | ||
shadowCamera: Camera, | ||
geometry: BufferGeometry, | ||
depthMaterial: Material, | ||
group: Group, | ||
): void; | ||
/** | ||
* An optional callback that is executed immediately before a 3D object is rendered. | ||
* @remarks This function is called with the following parameters: renderer, scene, camera, geometry, material, group. | ||
* @remarks Please notice that this callback is only executed for `renderable` 3D objects. | ||
* Meaning 3D objects which define their visual appearance with geometries and materials like | ||
* instances of {@link THREE.Object3DMesh | Mesh}, {@link THREE.Object3DLine | Line}, {@link THREE.Object3DPoints | Points} or {@link THREE.Object3DSprite | Sprite}. | ||
* Instances of {@link THREE.Object3DObject3D | Object3D}, {@link THREE.Object3DGroup | Group} or {@link THREE.Object3DBone | Bone} | ||
* are not renderable and thus this callback is not executed for such objects. | ||
* @defaultValue `() => {}` | ||
* @remarks Please notice that this callback is only executed for `renderable` 3D objects. Meaning 3D objects which | ||
* define their visual appearance with geometries and materials like instances of {@link Mesh}, {@link Line}, | ||
* {@link Points} or {@link Sprite}. Instances of {@link Object3D}, {@link Group} or {@link Bone} are not renderable | ||
* and thus this callback is not executed for such objects. | ||
*/ | ||
@@ -252,8 +286,6 @@ onBeforeRender( | ||
* @remarks This function is called with the following parameters: renderer, scene, camera, geometry, material, group. | ||
* @remarks Please notice that this callback is only executed for `renderable` 3D objects. | ||
* Meaning 3D objects which define their visual appearance with geometries and materials like | ||
* instances of {@link THREE.Object3DMesh | Mesh}, {@link THREE.Object3DLine | Line}, {@link THREE.Object3DPoints | Points} or {@link THREE.Object3DSprite | Sprite}. | ||
* Instances of {@link THREE.Object3DObject3D | Object3D}, {@link THREE.Object3DGroup | Group} or {@link THREE.Object3DBone | Bone} | ||
* are not renderable and thus this callback is not executed for such objects. | ||
* @defaultValue `() => {}` | ||
* @remarks Please notice that this callback is only executed for `renderable` 3D objects. Meaning 3D objects which | ||
* define their visual appearance with geometries and materials like instances of {@link Mesh}, {@link Line}, | ||
* {@link Points} or {@link Sprite}. Instances of {@link Object3D}, {@link Group} or {@link Bone} are not renderable | ||
* and thus this callback is not executed for such objects. | ||
*/ | ||
@@ -480,4 +512,6 @@ onAfterRender( | ||
* @param value Value of the given property. | ||
* @param optionalTarget target to set the result. Otherwise a new Array is instantiated. If set, you must clear | ||
* this array prior to each call (i.e., array.length = 0;). | ||
*/ | ||
getObjectsByProperty(name: string, value: any): Object3D[]; | ||
getObjectsByProperty(name: string, value: any, optionalTarget?: Object3D[]): Object3D[]; | ||
@@ -484,0 +518,0 @@ /** |
@@ -35,2 +35,3 @@ import { Vector3 } from '../math/Vector3.js'; | ||
pointOnLine?: Vector3; | ||
batchId?: number; | ||
} | ||
@@ -37,0 +38,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { Vector } from './../../math/Vector2.js'; | ||
import { Vector3 } from './../../math/Vector3.js'; | ||
import { Vector } from '../../math/Vector2.js'; | ||
import { Vector3 } from '../../math/Vector3.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { Vector2 } from './../../math/Vector2.js'; | ||
import { Vector2 } from '../../math/Vector2.js'; | ||
import { CurvePath } from './CurvePath.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Vector2 } from './../../math/Vector2.js'; | ||
import { Vector2 } from '../../math/Vector2.js'; | ||
import { Path } from './Path.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Vector2 } from './../../math/Vector2.js'; | ||
import { Vector2 } from '../../math/Vector2.js'; | ||
import { Shape } from './Shape.js'; | ||
@@ -3,0 +3,0 @@ import { Color } from '../../math/Color.js'; |
@@ -1,3 +0,3 @@ | ||
import { Vector3 } from './../../math/Vector3.js'; | ||
import { Curve } from './../core/Curve.js'; | ||
import { Vector3 } from '../../math/Vector3.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
@@ -4,0 +4,0 @@ export type CurveType = 'centripetal' | 'chordal' | 'catmullrom'; |
@@ -1,3 +0,3 @@ | ||
import { Vector2 } from './../../math/Vector2.js'; | ||
import { Curve } from './../core/Curve.js'; | ||
import { Vector2 } from '../../math/Vector2.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { Vector3 } from './../../math/Vector3.js'; | ||
import { Curve } from './../core/Curve.js'; | ||
import { Vector3 } from '../../math/Vector3.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { Curve } from './../core/Curve.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
import { Vector2 } from '../../math/Vector2.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { Vector2 } from './../../math/Vector2.js'; | ||
import { Curve } from './../core/Curve.js'; | ||
import { Vector2 } from '../../math/Vector2.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { Vector3 } from './../../math/Vector3.js'; | ||
import { Curve } from './../core/Curve.js'; | ||
import { Vector3 } from '../../math/Vector3.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { Vector2 } from './../../math/Vector2.js'; | ||
import { Curve } from './../core/Curve.js'; | ||
import { Vector2 } from '../../math/Vector2.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { Vector3 } from './../../math/Vector3.js'; | ||
import { Curve } from './../core/Curve.js'; | ||
import { Vector3 } from '../../math/Vector3.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { Vector2 } from './../../math/Vector2.js'; | ||
import { Curve } from './../core/Curve.js'; | ||
import { Vector2 } from '../../math/Vector2.js'; | ||
import { Curve } from '../core/Curve.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,6 +0,6 @@ | ||
import { Curve } from './../extras/core/Curve.js'; | ||
import { Vector2 } from './../math/Vector2.js'; | ||
import { Vector3 } from './../math/Vector3.js'; | ||
import { Shape } from './../extras/core/Shape.js'; | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { Curve } from '../extras/core/Curve.js'; | ||
import { Vector2 } from '../math/Vector2.js'; | ||
import { Vector3 } from '../math/Vector3.js'; | ||
import { Shape } from '../extras/core/Shape.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -7,0 +7,0 @@ export interface ExtrudeGeometryOptions { |
@@ -1,3 +0,3 @@ | ||
import { Vector2 } from './../math/Vector2.js'; | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { Vector2 } from '../math/Vector2.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { Shape } from './../extras/core/Shape.js'; | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { Shape } from '../extras/core/Shape.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import { Curve } from './../extras/core/Curve.js'; | ||
import { Vector3 } from './../math/Vector3.js'; | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { Curve } from '../extras/core/Curve.js'; | ||
import { Vector3 } from '../math/Vector3.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BufferGeometry } from './../core/BufferGeometry.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import { Vector3 } from './../math/Vector3.js'; | ||
import { Line } from './../objects/Line.js'; | ||
import { Mesh } from './../objects/Mesh.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Vector3 } from '../math/Vector3.js'; | ||
import { Line } from '../objects/Line.js'; | ||
import { Mesh } from '../objects/Mesh.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { ColorRepresentation } from '../math/Color.js'; | ||
@@ -6,0 +6,0 @@ |
import { ColorRepresentation } from '../math/Color.js'; | ||
import { LineSegments } from './../objects/LineSegments.js'; | ||
import { LineSegments } from '../objects/LineSegments.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import { Box3 } from './../math/Box3.js'; | ||
import { ColorRepresentation } from './../math/Color.js'; | ||
import { LineSegments } from './../objects/LineSegments.js'; | ||
import { Box3 } from '../math/Box3.js'; | ||
import { ColorRepresentation } from '../math/Color.js'; | ||
import { LineSegments } from '../objects/LineSegments.js'; | ||
@@ -5,0 +5,0 @@ /** |
import { Color } from '../math/Color.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { Camera } from './../cameras/Camera.js'; | ||
import { LineSegments } from './../objects/LineSegments.js'; | ||
import { Camera } from '../cameras/Camera.js'; | ||
import { LineSegments } from '../objects/LineSegments.js'; | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import { DirectionalLight } from './../lights/DirectionalLight.js'; | ||
import { Line } from './../objects/Line.js'; | ||
import { Matrix4 } from './../math/Matrix4.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { DirectionalLight } from '../lights/DirectionalLight.js'; | ||
import { Line } from '../objects/Line.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { ColorRepresentation } from '../math/Color.js'; | ||
@@ -14,2 +14,4 @@ | ||
* const light = new THREE.DirectionalLight(0xFFFFFF); | ||
* scene.add(light); | ||
* | ||
* const helper = new THREE.DirectionalLightHelper(light, 5); | ||
@@ -16,0 +18,0 @@ * scene.add(helper); |
import { ColorRepresentation } from '../math/Color.js'; | ||
import { LineSegments } from './../objects/LineSegments.js'; | ||
import { LineSegments } from '../objects/LineSegments.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -4,0 +4,0 @@ import { LineBasicMaterial } from '../materials/LineBasicMaterial.js'; |
@@ -1,5 +0,5 @@ | ||
import { HemisphereLight } from './../lights/HemisphereLight.js'; | ||
import { Matrix4 } from './../math/Matrix4.js'; | ||
import { MeshBasicMaterial } from './../materials/MeshBasicMaterial.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { HemisphereLight } from '../lights/HemisphereLight.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { ColorRepresentation } from '../math/Color.js'; | ||
@@ -6,0 +6,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { Plane } from './../math/Plane.js'; | ||
import { LineSegments } from './../objects/LineSegments.js'; | ||
import { Plane } from '../math/Plane.js'; | ||
import { LineSegments } from '../objects/LineSegments.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import { PointLight } from './../lights/PointLight.js'; | ||
import { Matrix4 } from './../math/Matrix4.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { PointLight } from '../lights/PointLight.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { ColorRepresentation } from '../math/Color.js'; | ||
@@ -5,0 +5,0 @@ |
import { SkinnedMesh } from '../Three.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Matrix4 } from './../math/Matrix4.js'; | ||
import { Bone } from './../objects/Bone.js'; | ||
import { LineSegments } from './../objects/LineSegments.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { Bone } from '../objects/Bone.js'; | ||
import { LineSegments } from '../objects/LineSegments.js'; | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import { Light } from './../lights/Light.js'; | ||
import { Matrix4 } from './../math/Matrix4.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Light } from '../lights/Light.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { LineSegments } from '../objects/LineSegments.js'; | ||
@@ -5,0 +5,0 @@ import { ColorRepresentation } from '../math/Color.js'; |
@@ -1,2 +0,2 @@ | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { DirectionalLightShadow } from './DirectionalLightShadow.js'; | ||
@@ -3,0 +3,0 @@ import { Light } from './Light.js'; |
@@ -1,2 +0,2 @@ | ||
import { OrthographicCamera } from './../cameras/OrthographicCamera.js'; | ||
import { OrthographicCamera } from '../cameras/OrthographicCamera.js'; | ||
import { LightShadow } from './LightShadow.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Vector3 } from '../math/Vector3.js'; | ||
@@ -3,0 +3,0 @@ import { Light } from './Light.js'; |
@@ -1,2 +0,2 @@ | ||
import { SphericalHarmonics3 } from './../math/SphericalHarmonics3.js'; | ||
import { SphericalHarmonics3 } from '../math/SphericalHarmonics3.js'; | ||
import { Light } from './Light.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,6 +0,6 @@ | ||
import { Camera } from './../cameras/Camera.js'; | ||
import { Light } from './../lights/Light.js'; | ||
import { Vector2 } from './../math/Vector2.js'; | ||
import { Vector4 } from './../math/Vector4.js'; | ||
import { Matrix4 } from './../math/Matrix4.js'; | ||
import { Camera } from '../cameras/Camera.js'; | ||
import { Light } from '../lights/Light.js'; | ||
import { Vector2 } from '../math/Vector2.js'; | ||
import { Vector4 } from '../math/Vector4.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { WebGLRenderTarget } from '../renderers/WebGLRenderTarget.js'; | ||
@@ -7,0 +7,0 @@ import { Frustum } from '../Three.js'; |
@@ -1,2 +0,2 @@ | ||
import { PerspectiveCamera } from './../cameras/PerspectiveCamera.js'; | ||
import { PerspectiveCamera } from '../cameras/PerspectiveCamera.js'; | ||
import { Light } from './Light.js'; | ||
@@ -3,0 +3,0 @@ import { LightShadow } from './LightShadow.js'; |
import { Vector3 } from '../math/Vector3.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { SpotLightShadow } from './SpotLightShadow.js'; | ||
@@ -4,0 +4,0 @@ import { Light } from './Light.js'; |
@@ -1,2 +0,2 @@ | ||
import { PerspectiveCamera } from './../cameras/PerspectiveCamera.js'; | ||
import { PerspectiveCamera } from '../cameras/PerspectiveCamera.js'; | ||
import { LightShadow } from './LightShadow.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -63,3 +63,3 @@ import { Plane } from '../math/Plane.js'; | ||
stencilZPass?: StencilOp | undefined; | ||
userData?: any; | ||
userData?: Record<string, any> | undefined; | ||
} | ||
@@ -383,3 +383,3 @@ | ||
*/ | ||
userData: any; | ||
userData: Record<string, any>; | ||
@@ -386,0 +386,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
@@ -4,0 +4,0 @@ import { Combine } from '../constants.js'; |
import { DepthPackingStrategies } from '../constants.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
@@ -5,0 +5,0 @@ export interface MeshDepthMaterialParameters extends MaterialParameters { |
import { MaterialParameters, Material } from './Material.js'; | ||
import { Vector3 } from './../math/Vector3.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Vector3 } from '../math/Vector3.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
@@ -5,0 +5,0 @@ export interface MeshDistanceMaterialParameters extends MaterialParameters { |
@@ -1,3 +0,3 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
@@ -4,0 +4,0 @@ import { Combine, NormalMapTypes } from '../constants.js'; |
@@ -1,4 +0,4 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Vector2 } from './../math/Vector2.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { Vector2 } from '../math/Vector2.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
@@ -5,0 +5,0 @@ import { NormalMapTypes } from '../constants.js'; |
import { MaterialParameters, Material } from './Material.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Vector2 } from './../math/Vector2.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { Vector2 } from '../math/Vector2.js'; | ||
import { NormalMapTypes } from '../constants.js'; | ||
@@ -5,0 +5,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Vector2 } from './../math/Vector2.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { Vector2 } from '../math/Vector2.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
@@ -5,0 +5,0 @@ import { Combine, NormalMapTypes } from '../constants.js'; |
@@ -1,4 +0,4 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Vector2 } from './../math/Vector2.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { Vector2 } from '../math/Vector2.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
@@ -5,0 +5,0 @@ import { NormalMapTypes } from '../constants.js'; |
@@ -1,4 +0,4 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Vector2 } from './../math/Vector2.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { Vector2 } from '../math/Vector2.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
@@ -5,0 +5,0 @@ import { NormalMapTypes } from '../constants.js'; |
import { Material, MaterialParameters } from './Material.js'; | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
@@ -5,0 +5,0 @@ export interface PointsMaterialParameters extends MaterialParameters { |
@@ -1,2 +0,2 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { MaterialParameters, Material } from './Material.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { BufferAttribute } from './../core/BufferAttribute.js'; | ||
import { BufferAttribute } from '../core/BufferAttribute.js'; | ||
import { Vector3 } from './Vector3.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { Sphere } from './Sphere.js'; | ||
@@ -5,0 +5,0 @@ import { Plane } from './Plane.js'; |
import { Plane } from './Plane.js'; | ||
import { Matrix4 } from './Matrix4.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Sprite } from './../objects/Sprite.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { Sprite } from '../objects/Sprite.js'; | ||
import { Sphere } from './Sphere.js'; | ||
@@ -6,0 +6,0 @@ import { Box3 } from './Box3.js'; |
import { Matrix3 } from './Matrix3.js'; | ||
import { BufferAttribute } from './../core/BufferAttribute.js'; | ||
import { BufferAttribute } from '../core/BufferAttribute.js'; | ||
@@ -4,0 +4,0 @@ export type Vector2Tuple = [number, number]; |
import { Matrix4 } from './Matrix4.js'; | ||
import { Quaternion } from './Quaternion.js'; | ||
import { BufferAttribute } from './../core/BufferAttribute.js'; | ||
import { BufferAttribute } from '../core/BufferAttribute.js'; | ||
import { Vector } from './Vector2.js'; | ||
@@ -5,0 +5,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,6 +0,4 @@ | ||
import { Material } from './../materials/Material.js'; | ||
import { Raycaster } from './../core/Raycaster.js'; | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Material } from '../materials/Material.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
import { Intersection } from '../core/Raycaster.js'; | ||
@@ -7,0 +5,0 @@ /** |
import { Line } from './Line.js'; | ||
import { Material } from './../materials/Material.js'; | ||
import { Material } from '../materials/Material.js'; | ||
import { BufferGeometry } from '../core/BufferGeometry.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Material } from './../materials/Material.js'; | ||
import { Material } from '../materials/Material.js'; | ||
import { Line } from './Line.js'; | ||
@@ -3,0 +3,0 @@ import { BufferGeometry } from '../core/BufferGeometry.js'; |
@@ -1,5 +0,3 @@ | ||
import { Object3D } from './../core/Object3D.js'; | ||
import { Raycaster } from './../core/Raycaster.js'; | ||
import { Camera } from './../cameras/Camera.js'; | ||
import { Intersection } from '../core/Raycaster.js'; | ||
import { Object3D } from '../core/Object3D.js'; | ||
import { Camera } from '../cameras/Camera.js'; | ||
@@ -6,0 +4,0 @@ /** |
import { Bone } from './Bone.js'; | ||
import { Matrix4 } from './../math/Matrix4.js'; | ||
import { DataTexture } from './../textures/DataTexture.js'; | ||
import { Matrix4 } from '../math/Matrix4.js'; | ||
import { DataTexture } from '../textures/DataTexture.js'; | ||
@@ -64,8 +64,2 @@ /** | ||
/** | ||
* The size of the {@link boneTexture | .boneTexture}. | ||
* @remarks Expects a `Integer` | ||
*/ | ||
boneTextureSize: number; | ||
frame: number; | ||
@@ -72,0 +66,0 @@ |
@@ -11,2 +11,3 @@ // Renderers / Shaders ///////////////////////////////////////////////////////////////////// | ||
aomap_pars_fragment: string; | ||
batching_pars_vertex: string; | ||
begin_vertex: string; | ||
@@ -13,0 +14,0 @@ beginnormal_vertex: string; |
@@ -15,2 +15,3 @@ import { WebGLCapabilities } from './WebGLCapabilities.js'; | ||
version: number; | ||
size: number; | ||
} | ||
@@ -17,0 +18,0 @@ | undefined; |
@@ -5,6 +5,6 @@ import { WebGLExtensions } from './WebGLExtensions.js'; | ||
import { WebGLCapabilities } from './WebGLCapabilities.js'; | ||
import { Object3D } from './../../core/Object3D.js'; | ||
import { BufferGeometry } from './../../core/BufferGeometry.js'; | ||
import { BufferAttribute } from './../../core/BufferAttribute.js'; | ||
import { Material } from './../../materials/Material.js'; | ||
import { Object3D } from '../../core/Object3D.js'; | ||
import { BufferGeometry } from '../../core/BufferGeometry.js'; | ||
import { BufferAttribute } from '../../core/BufferAttribute.js'; | ||
import { Material } from '../../materials/Material.js'; | ||
@@ -11,0 +11,0 @@ export class WebGLBindingStates { |
@@ -14,5 +14,6 @@ // Renderers / WebGL ///////////////////////////////////////////////////////////////////// | ||
setMode(value: any): void; | ||
render(start: any, count: number): void; | ||
renderInstances(start: any, count: number, primcount: number): void; | ||
setMode: (value: any) => void; | ||
render: (start: any, count: number) => void; | ||
renderInstances: (start: any, count: number, primcount: number) => void; | ||
renderMultiDraw: (starts: Int32Array, counts: Int32Array, drawCount: number) => void; | ||
} |
@@ -1,3 +0,3 @@ | ||
import { Camera } from './../../cameras/Camera.js'; | ||
import { Material } from './../../materials/Material.js'; | ||
import { Camera } from '../../cameras/Camera.js'; | ||
import { Material } from '../../materials/Material.js'; | ||
import { Plane } from '../../math/Plane.js'; | ||
@@ -4,0 +4,0 @@ import { WebGLProperties } from './WebGLProperties.js'; |
export class WebGLIndexedBufferRenderer { | ||
constructor(gl: WebGLRenderingContext, extensions: any, info: any, capabilities: any); | ||
setMode(value: any): void; | ||
setIndex(index: any): void; | ||
render(start: any, count: number): void; | ||
renderInstances(start: any, count: number, primcount: number): void; | ||
setMode: (value: any) => void; | ||
setIndex: (index: any) => void; | ||
render: (start: any, count: number) => void; | ||
renderInstances: (start: any, count: number, primcount: number) => void; | ||
renderMultiDraw: (starts: Int32Array, counts: Int32Array, drawCount: number) => void; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { WebGLRenderer } from './../WebGLRenderer.js'; | ||
import { WebGLRenderer } from '../WebGLRenderer.js'; | ||
import { WebGLProgram } from './WebGLProgram.js'; | ||
@@ -8,4 +8,4 @@ import { WebGLCapabilities } from './WebGLCapabilities.js'; | ||
import { WebGLBindingStates } from './WebGLBindingStates.js'; | ||
import { Material } from './../../materials/Material.js'; | ||
import { Scene } from './../../scenes/Scene.js'; | ||
import { Material } from '../../materials/Material.js'; | ||
import { Scene } from '../../scenes/Scene.js'; | ||
@@ -12,0 +12,0 @@ export class WebGLPrograms { |
@@ -1,7 +0,7 @@ | ||
import { Object3D } from './../../core/Object3D.js'; | ||
import { Material } from './../../materials/Material.js'; | ||
import { Object3D } from '../../core/Object3D.js'; | ||
import { Material } from '../../materials/Material.js'; | ||
import { WebGLProgram } from './WebGLProgram.js'; | ||
import { Group } from './../../objects/Group.js'; | ||
import { Scene } from './../../scenes/Scene.js'; | ||
import { Camera } from './../../cameras/Camera.js'; | ||
import { Group } from '../../objects/Group.js'; | ||
import { Scene } from '../../scenes/Scene.js'; | ||
import { Camera } from '../../cameras/Camera.js'; | ||
import { BufferGeometry } from '../../core/BufferGeometry.js'; | ||
@@ -8,0 +8,0 @@ import { WebGLProperties } from './WebGLProperties.js'; |
import { WebGLCapabilities } from './WebGLCapabilities.js'; | ||
import { Scene } from './../../scenes/Scene.js'; | ||
import { Camera } from './../../cameras/Camera.js'; | ||
import { Scene } from '../../scenes/Scene.js'; | ||
import { Camera } from '../../cameras/Camera.js'; | ||
import { WebGLRenderer } from '../WebGLRenderer.js'; | ||
@@ -5,0 +5,0 @@ import { ShadowMapType } from '../../constants.js'; |
import { Data3DTexture } from '../textures/Data3DTexture.js'; | ||
import { WebGLRenderTarget } from './WebGLRenderTarget.js'; | ||
import { WebGLRenderTarget, WebGLRenderTargetOptions } from './WebGLRenderTarget.js'; | ||
@@ -11,7 +11,9 @@ /** | ||
* | ||
* @param width the width of the render target, in pixels. | ||
* @param height the height of the render target, in pixels. | ||
* @param depth the depth of the render target. | ||
* @param width the width of the render target, in pixels. Default is `1`. | ||
* @param height the height of the render target, in pixels. Default is `1`. | ||
* @param depth the depth of the render target. Default is `1`. | ||
* @param options optional object that holds texture parameters for an auto-generated target texture and | ||
* depthBuffer/stencilBuffer booleans. See {@link WebGLRenderTarget} for details. | ||
*/ | ||
constructor(width?: number, height?: number, depth?: number); | ||
constructor(width?: number, height?: number, depth?: number, options?: WebGLRenderTargetOptions); | ||
@@ -18,0 +20,0 @@ /** |
import { DataArrayTexture } from '../textures/DataArrayTexture.js'; | ||
import { WebGLRenderTarget } from './WebGLRenderTarget.js'; | ||
import { WebGLRenderTarget, WebGLRenderTargetOptions } from './WebGLRenderTarget.js'; | ||
@@ -11,7 +11,9 @@ /** | ||
* | ||
* @param width the width of the render target, in pixels. | ||
* @param height the height of the render target, in pixels. | ||
* @param depth the depth/layer count of the render target. | ||
* @param width the width of the render target, in pixels. Default is `1`. | ||
* @param height the height of the render target, in pixels. Default is `1`. | ||
* @param depth the depth/layer count of the render target. Default is `1`. | ||
* @param options optional object that holds texture parameters for an auto-generated target texture and | ||
* depthBuffer/stencilBuffer booleans. See {@link WebGLRenderTarget} for details. | ||
*/ | ||
constructor(width?: number, height?: number, depth?: number); | ||
constructor(width?: number, height?: number, depth?: number, options?: WebGLRenderTargetOptions); | ||
@@ -18,0 +20,0 @@ /** |
import { WebGLRenderTargetOptions, WebGLRenderTarget } from './WebGLRenderTarget.js'; | ||
import { WebGLRenderer } from './WebGLRenderer.js'; | ||
import { Texture } from './../textures/Texture.js'; | ||
import { CubeTexture } from './../textures/CubeTexture.js'; | ||
import { Texture } from '../textures/Texture.js'; | ||
import { CubeTexture } from '../textures/CubeTexture.js'; | ||
@@ -6,0 +6,0 @@ export class WebGLCubeRenderTarget extends WebGLRenderTarget { |
@@ -8,5 +8,5 @@ import { Texture } from '../textures/Texture.js'; | ||
export class WebGLRenderTarget<TTexture extends Texture | Texture[] = Texture> extends RenderTarget<TTexture> { | ||
constructor(width?: number, height?: number, options?: RenderTargetOptions); | ||
constructor(width?: number, height?: number, options?: WebGLRenderTargetOptions); | ||
readonly isWebGLRenderTarget: true; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
@@ -3,0 +3,0 @@ export interface FogBase { |
@@ -1,2 +0,2 @@ | ||
import { Color, ColorRepresentation } from './../math/Color.js'; | ||
import { Color, ColorRepresentation } from '../math/Color.js'; | ||
import { FogBase } from './Fog.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -369,3 +369,3 @@ import { Vector2 } from '../math/Vector2.js'; | ||
*/ | ||
userData: any; | ||
userData: Record<string, any>; | ||
@@ -372,0 +372,0 @@ /** |
@@ -168,2 +168,3 @@ /** | ||
export * from './objects/InstancedMesh.js'; | ||
export * from './objects/BatchedMesh.js'; | ||
export * from './objects/SkinnedMesh.js'; | ||
@@ -170,0 +171,0 @@ export * from './objects/Skeleton.js'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1028185
662
26807