Class Index | File Index

Classes


Class THREE.PerspectiveCamera


Defined in: PerspectiveCamera.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
THREE.PerspectiveCamera(fov, aspect, near, far)
Method Summary
Method Attributes Method Name and Description
 
setLens(focalLength, frameHeight)
Uses Focal Length (in mm) to estimate and set FOV 35mm (fullframe) camera is used if frame size is not specified; Formula based on http://www.bobatkins.com/photography/technical/field_of_view.html
 
setViewOffset(fullWidth, fullHeight, x, y, width, height)
Sets an offset in a larger frustum.
 
Class Detail
THREE.PerspectiveCamera(fov, aspect, near, far)
Parameters:
fov
aspect
near
far
Method Detail
setLens(focalLength, frameHeight)
Uses Focal Length (in mm) to estimate and set FOV 35mm (fullframe) camera is used if frame size is not specified; Formula based on http://www.bobatkins.com/photography/technical/field_of_view.html
Parameters:
focalLength
frameHeight

setViewOffset(fullWidth, fullHeight, x, y, width, height)
Sets an offset in a larger frustum. This is useful for multi-window or multi-monitor/multi-machine setups. For example, if you have 3x2 monitors and each monitor is 1920x1080 and the monitors are in grid like this +---+---+---+ | A | B | C | +---+---+---+ | D | E | F | +---+---+---+ then for each monitor you would call it like this var w = 1920; var h = 1080; var fullWidth = w * 3; var fullHeight = h * 2; --A-- camera.setOffset( fullWidth, fullHeight, w * 0, h * 0, w, h ); --B-- camera.setOffset( fullWidth, fullHeight, w * 1, h * 0, w, h ); --C-- camera.setOffset( fullWidth, fullHeight, w * 2, h * 0, w, h ); --D-- camera.setOffset( fullWidth, fullHeight, w * 0, h * 1, w, h ); --E-- camera.setOffset( fullWidth, fullHeight, w * 1, h * 1, w, h ); --F-- camera.setOffset( fullWidth, fullHeight, w * 2, h * 1, w, h ); Note there is no reason monitors have to be the same size or in a grid.
Parameters:
fullWidth
fullHeight
x
y
width
height

updateProjectionMatrix()

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 02 2013 08:19:39 GMT+0100 (CET)

nike free rn new balance hombre baratas cinturones gucci ugg rebajas cinturon gucci ray ban baratas nike cortez peuterey mujer christian louboutin madrid mbt zapatos gafas ray ban baratas mbt ofertas air max blancas mbt barcelona nike air max 90 woolrich barcelona nike mujer botas ugg gafas de sol carrera aratas air max 2016 baratas oakley baratas nike air max 2016

mbt skor nike sverige louboutin skor hollister sverige polo ralph lauren skjorta woolrich jacka dam canada goose jacka woolrich jacka ray ban rea canada goose rea michael kors rea new balance skor ralph lauren skjorta new balance rea uggs sverige lacoste rea christian louboutin skor moncler jacka nike shox barbour jacka uggs rea