THREE.Animation
-
Constructor
( root, data, interpolationType, JITCompile )
-
Methods
- play
( loop <Boolean>, startTimeMS <Number> )
- pause
()
- stop
()
- update
( deltaTimeMS <Number> )
- play
THREE.AnimationHandler
-
Methods
- update
( deltaTimeMS <Number> )
- addToUpdate
( animation )
- removeFromUpdate
( animation )
- add
( data )
- get
( name )
- parse
( root )
- update
THREE.Camera
(extends THREE.Object3D)
-
Constructor
( fov <Number>, aspect <Number>, near <Number>, far <Number>, target <THREE.Object3D> )
-
Properties
- fov
<Number>
- aspect
<Number>
- near
<Number>
- far
<Number>
- target
<THREE.Vector3>
- useTarget
<Boolean>
- matrixWorldInverse
<THREE.Matrix4>
- projectionMatrix
<THREE.Matrix4>
- fov
-
Methods
- updateProjectionMatrix
()
- update
( parentMatrixWorld <THREE.Matrix4>, forceUpdate <Boolean>, camera <THREE.Camera> )
- updateProjectionMatrix
THREE.QuakeCamera
(extends THREE.Object3D, extends THREE.Camera)
TODO: We need to find a better name for this one.
-
Constructor
( parameters <JSON> )
-
Properties
- movementSpeed
<Number>
- lookSpeed
<Number>
- noFly
<Boolean>
- lookVertical
<Boolean>
- autoForward
<Boolean>
- heightSpeed:
<Boolean>
- heightCoef:
<Number>
- heightMin:
<Number>
- heightMax:
<Number>
- domElement
<HTMLElement>
- movementSpeed
THREE.Color
-
Constructor
( hex <Number> )
-
Properties
- hex
<Number>
- r
<Number>
- g
<Number>
- b
<Number>
- autoUpdate
<Boolean>
- hex
-
Methods
- copy
( color <THREE.Color> )
- setRGB
( r <Number>, g <Number>, b <Number> )
- setHSV
( h <Number>, s <Number>, v <Number> )
- setHex
( hex <Number> )
- updateHex
()
- updateRGB
()
- updateStyleString
()
- clone
()
- copy
THREE.Edge
-
Constructor
( v1 <THREE.Vertex>, v2 <THREE.Vertex>, vi1 <Number>, vi2 <Number> )
-
Properties
- vertices
<Array>
- vertexIndices
<Array>
- faces
<Array>
- faceIndices
<Array>
- vertices
THREE.Face3
-
Constructor
( a <Number>, b <Number>, c <Number>, normal <THREE.Vector3>, color <THREE.Color>, materials <Array> )
-
Properties
- a
<Number>
- b
<Number>
- c
<Number>
- normal
<THREE.Vector3>
- vertexNormals
[ <THREE.Vector3>, <THREE.Vector3>, <THREE.Vector3> ]
- color
<THREE.Color>
- vertexColors
[ <THREE.Color>, <THREE.Color>, <THREE.Color> ]
- vertexTangents
<Array>
- materials
<Array>
- centroid
<THREE.Vector3>
- a
THREE.Face4
-
Constructor
( a <Number>, b <Number>, c <Number>, d <Number>, normal <THREE.Vector3>, color <THREE.Color>, materials <Array> )
-
Properties
- a
<Number>
- b
<Number>
- c
<Number>
- d
<Number>
- vertexNormals
[ <THREE.Vector3>, <THREE.Vector3>, <THREE.Vector3>, <THREE.Vector3> ]
- color
<THREE.Color>
- vertexColors
[ <THREE.Color>, <THREE.Color>, <THREE.Color>, <THREE.Color> ]
- vertexTangents
<Array>
- materials
<Array>
- centroid
<THREE.Vector3>
- a
THREE.Geometry
-
Constructor
()
-
Properties
- id
<String>
- vertices
<Array>
- colors
<Array>
- faces
<Array>
- faceUvs
<Array><Array>
- faceVertexUvs
<Array><Array>
- morphTargets
<Array><Array>
- skinWeights
<Array>
- skinIndices
<Array>
- boundingBox
<Array>
- boundingSphere
<Number>
- hasTangents
<Boolean>
- id
-
Methods
- computeCentroids
()
- computeFaceNormals
( userVertexNormals <Boolean> )
- computeVertexNormals
()
- computeTanges
()
- computeBoundingBox
()
- computeBoundingSphere
()
- computeCentroids
THREE.Matrix3
-
Constructor
()
-
Properties
- m
<Array>
- m
-
Methods
- transpose
()
- transposeIntoArray
( r <Array> )
- transpose
THREE.Matrix4
-
Constructor
( n11 <Number>, n12 <Number>, n13 <Number>, n14 <Number>, n21 <Number>, n22 <Number>, n23 <Number>, n24 <Number>, n31 <Number>, n32 <Number>, n33 <Number>, n34 <Number>, n41 <Number>, n42 <Number>, n43 <Number>, n44 <Number> )
-
Properties
- n11
<Number>
- n12
<Number>
- n13
<Number>
- n14
<Number>
- n21
<Number>
- n22
<Number>
- n23
<Number>
- n24
<Number>
- n31
<Number>
- n32
<Number>
- n33
<Number>
- n34
<Number>
- n41
<Number>
- n42
<Number>
- n43
<Number>
- n44
<Number>
- flat
<Array>
- m33
<THREE.Matrix3>
- n11
-
Methods
- set
( n11 <Number>, n12 <Number>, n13 <Number>, n14 <Number>, n21 <Number>, n22 <Number>, n23 <Number>, n24 <Number>, n31 <Number>, n32 <Number>, n33 <Number>, n34 <Number>, n41 <Number>, n42 <Number>, n43 <Number>, n44 <Number> )
- identity
()
- copy
( m <THREE.Matrix4> )
- lookAt
( eye <THREE.Vector3>, center <THREE.Vector3>, up <THREE.Vector3> )
- multiplyVector3
( v <THREE.Vector3> )
- multiplyVector4
( v <THREE.Vector3> )
- rotateAxis
( v <THREE.Vector3> )
- crossVector
( a <THREE.Vector3> )
- multiply
( a <THREE.Matrix4>, b <THREE.Matrix4> )
- multiplyToArray
( a <THREE.Matrix4>, b <THREE.Matrix4>, r <Array> )
- multiplySelf
( m <THREE.Matrix4> )
- multiplyScalar
( s <Number> )
- determinant
()
- transpose
()
- clone
()
- flatten
()
- flattenToArray
( flat <Array> )
- flattenToArrayOffset
( flat <Array>, offset <Number> )
- setTranslation
( x <Number>, y <Number>, z <Number> )
- setScale
( x <Number>, y <Number>, z <Number> )
- setRotationX
( theta <Number> )
- setRotationY
( theta <Number> )
- setRotationZ
( theta <Number> )
- setRotAxis
( axis <THREE.Vector3>, angle <Number> )
- setPosition
( v <THREE.Vector3> )
- setRotationFromEuler
( v <THREE.Vector3> )
- setRotationFromQuaternion
( v <THREE.Quaternion> )
- scale
( v <THREE.Vector3> )
- extractPosition
( m <THREE.Matrix4> )
- extractRotation
( m <THREE.Matrix4>, s <Number> )
- set
-
Static
- makeInvert
( m1 <THREE.Matrix4>, m2 <THREE.Matrix4> )
- makeInvert3x3
( m1 <THREE.Matrix4> )
- makeFrustum
( left <Number>, right <Number>, bottom <Number>, top <Number>, near <Number>, far <Number> )
- makePerspective
( fov <Number>, aspect <Number>, near <Number>, far <Number> )
- makeOrtho
( left <Number>, right <Number>, bottom <Number>, top <Number>, near <Number>, far <Number> )
- makeInvert
THREE.Object3D
-
Properties
- parent
<THREE.Object3D>
- children
<THREE.Object3D>
- position
<THREE.Vector3>
- rotation
<THREE.Vector3>
- scale
<THREE.Vector3>
- up
<THREE.Vector3>
- matrix
- matrixWorld
- matrixRotationWorld
- matrixWorlNeedsUpdate
<Boolean>
- matrixdAutoUpdate
<Boolean>
- quaternion
- useQuaternion
<Boolean>
- boundRadius
- boundRadiusScale
- visible
<Boolean>
- parent
-
Methods
- addChild
- removeChild
- updateMatrix
- update
THREE.Quaternion
-
Properties
- x
- y
- z
- w
-
Methods
- set
- setFromEuler
- calculateW
- inverse
- length
- normalize
- multiplySelf
- multiplyVector3
-
Static
- slerp
THREE.Ray
-
Properties
- origin
- direction
-
Methods
- intersectScene
- intersectObject
THREE.Rectangle
-
Methods
- resize
- getX
- getY
- getWidth
- getHeight
- getLeft
- getTop
- getRight
- getBottom
- set
- addPoint
- add3Points
- addRectangle
- inflate
- minSelf
- intersects
- empty
- isEmpty
THREE.UV
-
Properties
- u
- v
-
Methods
- set
- copy
THREE.Vector2
-
Properties
- x
- y
-
Methods
- set
- copy
- addSelf
- add
- subSelf
- sub
- multiplyScalar
- negate
- unit
- length
- lengthSq
- clone
THREE.Vector3
-
Properties
- x
- y
- z
-
Methods
- set
- copy
- add
- addSelf
- addScalar
- sub
- subSelf
- cross
- crossSelf
- multiply
- multiplySelf
- multiplyScalar
- divideSelf
- divideScalar
- negate
- distanceTo
- distanceToSquared
- length
- lengthSq
- lengthManhattan
- normalize
- setLength
- isZero
- clone
THREE.Vector4
-
Properties
- x
- y
- z
- w
-
Methods
- set
- copy
- add
- addSelf
- sub
- subSelf
- multiplyScalar
- divideScalar
- lerpSelf
- clone
THREE.Vertex
-
Properties
- position
THREE.Light
(extends THREE.Object3D)
-
Properties
- color
THREE.AmbientLight
(extends THREE.Object3D, THREE.Light)
THREE.DirectionalLight
(extends THREE.Object3D, THREE.Light)
-
Properties
- position
- intensity
THREE.PointLight
(extends THREE.Object3D, THREE.Light)
-
Properties
- position
- intensity
THREE.Material
THREE.FlatShadding
THREE.SmoothShading
THREE.NormalBlending
THREE.AdditiveBlending
THREE.SubtractiveBlending
THREE.LineBasicMaterial
(extends THREE.Material)
-
Properties
- id
- color
- opacity
- blending
- depthTest
- linewidth
- linecap
- linejoin
- vertexColors
THREE.MeshBasicMaterial
(extends THREE.Material)
-
Properties
- id
- color
- opacity
- map
- lightMap
- envMap
- combine
- reflectivity
- refractionRatio
- fog
- shading
- blending
- depthTest
- wireframe
- wireframeLinewidth
- wireframeLinecap
- wireframeLinejoin
- vertexColors
- skinning
THREE.MeshDepthMaterial
(extends THREE.Material)
-
Properties
- id
- opacity
- shading
- blending
- depthTest
- wireframe
- wireframeLinewidth
THREE.MeshFaceMaterial
THREE.MeshLambertMaterial
(extends THREE.Material)
-
Properties
- id
- color
- opacity
- map
- lightMap
- envMap
- combine
- reflectivity
- refractionRatio
- fog
- shading
- blending
- depthTest
- wireframe
- wireframeLinewidth
- wireframeLinecap
- wireframeLinejoin
- vertexColors
- skinning
THREE.MeshNormalMaterial
(extends THREE.Material)
-
Properties
- id
- opacity
- shading
- blending
- depthTest
- wireframe
- wireframeLinewidth
THREE.MeshPhongMaterial
(extends THREE.Material)
-
Properties
- id
- color
- ambient
- specular
- shininess
- opacity
- map
- lightMap
- envMap
- combine
- reflectivity
- refractionRatio
- fog
- shading
- blending
- depthTest
- skinning
THREE.MeshShaderMaterial
(extends THREE.Material)
-
Properties
- id
- fragmentShader
- vertexShader
- uniforms
- opacity
- shading
- blending
- depthTest
- wireframe
- wireframeLinewidth
- wireframeLinecap
- wireframeLinejoin
- vertexColors
- skinning
THREE.ParticleBasicMaterial
(extends THREE.Material)
-
Properties
- id
- color
- opacity
- map
- size
- blending
- depthTest
- offset
- vertexColors
THREE.ParticleCanvasMaterial
(extends THREE.Material)
-
Properties
- id
- program
- opacity
- blending
THREE.ParticleDOMMaterial
(extends THREE.Material)
-
Properties
- id
- domElement
THREE.CubeReflectionMapping
THREE.CubeRefractionMapping
THREE.LatitudeReflectionMapping
THREE.LatitudeRefractionMapping
THREE.SphericalReflectionMapping
THREE.SphericalRefractionMapping
THREE.UVMapping
THREE.UniformsUtils
-
Properties
- merge
- clone
THREE.Texture
-
Properties
- image
- mapping
- wrapS
- wrapT
- magFilter
- minFilter
- needsUpdate
-
Methods
- clone
THREE.MultiplyOperation
THREE.MixOperation
THREE.RepeatWrapping
THREE.ClampToEdgeWrapping
THREE.MirroredRepeatWrapping
THREE.NearestFilter
THREE.NearestMipMapNearestFilter
THREE.NearestMipMapLineaFilter
THREE.LinearFilter
THREE.LinearMipMapNearestFilter
THREE.LinearMipMapLinearFilter
THREE.ByteType
THREE.UnsignedByteType
THREE.ShortType
THREE.UnsignedShortType
THREE.FloatType
THREE.AlphaFormat
THREE.RGBFormat
THREE.RGBAFormat
THREE.LuminanceFormat
THREE.LuminanceAlphaFormat
THREE.Bone
(extends THREE.Object3D)
-
Properties
- skin
- skinMatrix
- hasNoneBoneChildren
-
Methods
- update
- addChild
THREE.Line
(extends THREE.Object3D)
-
Properties
- geometry
- materials
- type
THREE.LineStrip
THREE.Pieces
THREE.LOD
(extends THREE.Object3D)
-
Properties
- LODs
-
Methods
- add
- update
THREE.Mesh
(extends THREE.Object3D)
-
Properties
- geometry
- materials
- filpSided
- doubleSided
- overdraw
- THREE.Particle
(extends THREE.Object3D)
-
Properties
- materials
- matrixAutoUpdate
THREE.ParticleSystem
(extends THREE.Object3D)
-
Properties
- geometry
- materials
- sortParticles
THREE.Ribbon
(extends THREE.Object3D)
-
Properties
- geometry
- materials
- flipSided
- doubleSided
THREE.SkinnedMesh
(extends THREE.Object3D, THREE.Mesh)
-
Properties
- identityMatrix
- bones
- bonesMatrices
-
Methods
- update
- addBone
- pose
THREE.Sound
(extends THREE.Object3D)
-
Properties
- isLoaded
- isAddedToDOM
- isPlaying
- duration
- radius
- volume
- domElement
- sources
-
Methods
- onLoad
- addToDOM
- play
- pause
- stop
- calculateVolumeAndPan
- update
THREE.Scene
(extends THREE.Object3D)
-
Properties
- objects
- lights
- sounds
- fog
- matrixAutoUpdate
-
Methods
- addChild
- addChildRecurse
- removeChild
- removeChildRecurse
- addObject
- removeObject
- addLight
- removeLight
THREE.Fog
-
Properties
- color
- near
- far
THREE.FogExp2
-
Properties
- color
- density
THREE.Projector
-
Methods
- projectObjects
- projectScene
- unprojectVector
THREE.CanvasRenderer
-
Properties
- domElement
- autoClear
- sortObjects
- sortElements
-
Methods
- setSize
- setClearColor
- setClearColorHex
- clear
- render
THREE.DOMRenderer
-
Properties
- domElement
-
Methods
- setSize
- render
THREE.SoundRenderer
-
Properties
- volume
- domElement
- cameraPosition
- soundPosition
-
Methods
- render
THREE.SVGRenderer
-
Properties
- domElement
- autoClear
- sortObjects
- sortElements
-
Methods
- setQuality
- setSize
- clear
- render
THREE.WebGLRenderer
-
Constructor
( parameters <JSON> )
-
Properties
- domElement
<HTMLElement>
- autoClear
<Boolean>
- sortObjects
<Boolean>
- context
<WebGLContext>
- domElement
-
Methods
- clear
- render
( scene <THREE.Scene>, camera <THREE.Camera>, renderTarget <THREE.RenderTarget>, forceClear <Boolean> )
- setSize
( width <Number>, height <Number> )
- setScissor
( x <Number>, y <Number>, width <Number>, height <Number> )
- setViewport
( x <Number>, y <Number>, width <Number>, height <Number> )
- setClearColorHex
( hexColor <Number>, opacity <Number> )
- setClearColor
( color <THREE.Color>, opacity <Number> )
- setFaceCulling
( cullFace [ "front" / "back" ], frontFace [ "cw" / "ccw" ] )
- initMaterial
( material <THREE.Material>, lights <Array>, fog <THREE.Fog> )
- initWebGLObjects
( scene <THREE.Scene> )
- enableScissorTest
( enable <Boolean> )
- enableDepthBufferWrite
( enable <Boolean> )
- supportsVertexTextures
THREE.WebGLRenderTarget
-
Properties
- width
- height
- wrapS
- wrapT
- magFilter
- minFilter
- format
- type