<code>var camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 1, 1000 );
scene.add( camera );
</code>
<h3>PerspectiveCamera( fov <ahref="../core/Number.html">Number</a>, aspect <ahref="../core/Number.html">Number</a>, near <ahref="../core/Number.html">Number</a>, far <ahref="../core/Number.html">Number</a> )</h3>
<h2>Constructor</h2>
<h3>PerspectiveCamera( fov <ahref="javascript:goTo('core/Number')">Number</a>, aspect <ahref="javascript:goTo('core/Number')">Number</a>, near <ahref="javascript:goTo('core/Number')">Number</a>, far <ahref="javascript:goTo('core/Number')">Number</a> )</h3>
Uses focal length (in mm) to estimate and set FOV 35mm (fullframe) camera is used if frame size is not specified.<br/>
Formula based on <ahref="http://www.bobatkins.com/photography/technical/field_of_view.html"target="_blank">http://www.bobatkins.com/photography/technical/field_of_view.html</a>
Uses focal length (in mm) to estimate and set FOV 35mm (fullframe) camera is used if frame size is not specified.<br/>
Formula based on <ahref="http://www.bobatkins.com/photography/technical/field_of_view.html"target="_blank">http://www.bobatkins.com/photography/technical/field_of_view.html</a>
</div>
<h2>Source</h2>
<h3>setViewOffset( fullWidth <ahref="javascript:goTo('core/Number')">Number</a>, fullHeight <ahref="javascript:goTo('core/Number')">Number</a>, x <ahref="javascript:goTo('core/Number')">Number</a>, y <ahref="javascript:goTo('core/Number')">Number</a>, width <ahref="javascript:goTo('core/Number')">Number</a>, height <ahref="javascript:goTo('core/Number')">Number</a> )</h3>
<div>
Sets an offset in a larger frustum. This is useful for multi-window or multi-monitor/multi-machine setups.<br/><br/>