Class THREE.Matrix4
Defined in: Matrix4.js.
Constructor Attributes | Constructor Name and Description |
---|---|
THREE.Matrix4(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44)
|
Method Attributes | Method Name and Description |
---|---|
clone()
|
|
compose(translation, rotation, scale)
|
|
copy(m)
|
|
crossVector(a)
|
|
decompose(translation, rotation, scale)
|
|
flattenToArray(flat)
|
|
flattenToArrayOffset(flat, offset)
|
|
getInverse(m)
|
|
identity()
|
|
lookAt(eye, target, up)
|
|
makeFrustum(left, right, bottom, top, near, far)
|
|
makeOrthographic(left, right, top, bottom, near, far)
|
|
makePerspective(fov, aspect, near, far)
|
|
makeRotationAxis(axis, angle)
|
|
makeRotationX(theta)
|
|
makeRotationY(theta)
|
|
makeRotationZ(theta)
|
|
makeScale(x, y, z)
|
|
makeTranslation(x, y, z)
|
|
multiply(a, b)
|
|
multiplySelf(m)
|
|
multiplyToArray(a, b, r)
|
|
rotateAxis(v)
|
|
rotateByAxis(axis, angle)
|
|
rotateX(angle)
|
|
rotateY(angle)
|
|
rotateZ(angle)
|
|
scale(v)
|
|
set(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44)
|
|
setPosition(v)
|
|
setRotationFromEuler(v, order)
|
|
translate(v)
|
|
Class Detail
THREE.Matrix4(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44)
- Parameters:
- n11
- n12
- n13
- n14
- n21
- n22
- n23
- n24
- n31
- n32
- n33
- n34
- n41
- n42
- n43
- n44
Method Detail
clone()
compose(translation, rotation, scale)
- Parameters:
- translation
- rotation
- scale
copy(m)
- Parameters:
- m
crossVector(a)
- Parameters:
- a
decompose(translation, rotation, scale)
- Parameters:
- translation
- rotation
- scale
determinant()
extractPosition(m)
- Parameters:
- m
extractRotation(m)
- Parameters:
- m
flattenToArray(flat)
- Parameters:
- flat
flattenToArrayOffset(flat, offset)
- Parameters:
- flat
- offset
getColumnX()
getColumnY()
getColumnZ()
getInverse(m)
- Parameters:
- m
getMaxScaleOnAxis()
getPosition()
identity()
lookAt(eye, target, up)
- Parameters:
- eye
- target
- up
makeFrustum(left, right, bottom, top, near, far)
- Parameters:
- left
- right
- bottom
- top
- near
- far
makeOrthographic(left, right, top, bottom, near, far)
- Parameters:
- left
- right
- top
- bottom
- near
- far
makePerspective(fov, aspect, near, far)
- Parameters:
- fov
- aspect
- near
- far
makeRotationAxis(axis, angle)
- Parameters:
- axis
- angle
makeRotationX(theta)
- Parameters:
- theta
makeRotationY(theta)
- Parameters:
- theta
makeRotationZ(theta)
- Parameters:
- theta
makeScale(x, y, z)
- Parameters:
- x
- y
- z
makeTranslation(x, y, z)
- Parameters:
- x
- y
- z
multiply(a, b)
- Parameters:
- a
- b
multiplyScalar(s)
- Parameters:
- s
multiplySelf(m)
- Parameters:
- m
multiplyToArray(a, b, r)
- Parameters:
- a
- b
- r
multiplyVector3(v)
- Parameters:
- v
multiplyVector3Array(a)
- Parameters:
- a
multiplyVector4(v)
- Parameters:
- v
rotateAxis(v)
- Parameters:
- v
rotateByAxis(axis, angle)
- Parameters:
- axis
- angle
rotateX(angle)
- Parameters:
- angle
rotateY(angle)
- Parameters:
- angle
rotateZ(angle)
- Parameters:
- angle
scale(v)
- Parameters:
- v
set(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44)
- Parameters:
- n11
- n12
- n13
- n14
- n21
- n22
- n23
- n24
- n31
- n32
- n33
- n34
- n41
- n42
- n43
- n44
setPosition(v)
- Parameters:
- v
setRotationFromEuler(v, order)
- Parameters:
- v
- order
setRotationFromQuaternion(q)
- Parameters:
- q
translate(v)
- Parameters:
- v
transpose()