StereoCamera

THREE.StereoCamera
class StereoCamera extends Object

A special type of camera that uses two perspective cameras with stereoscopic projection. Can be used for rendering stereo effects like 3D Anaglyph or Parallax Barrier.

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def update(camera: PerspectiveCamera): Unit

Updates the stereo camera based on the given perspective camera.

Updates the stereo camera based on the given perspective camera.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

val `type`: String

The type property is used for detecting the object type in context of serialization/deserialization.

The type property is used for detecting the object type in context of serialization/deserialization.

Attributes

var aspect: Double

The aspect.

The aspect.

Attributes

The camera representing the left eye. This is added to layer 1 so objects to be rendered by the left camera must also be added to this layer.

The camera representing the left eye. This is added to layer 1 so objects to be rendered by the left camera must also be added to this layer.

Attributes

The camera representing the right eye. This is added to layer 2 so objects to be rendered by the right camera must also be added to this layer.

The camera representing the right eye. This is added to layer 2 so objects to be rendered by the right camera must also be added to this layer.

Attributes

var eyeSep: Double

The eye separation which represents the distance between the left and right camera.

The eye separation which represents the distance between the left and right camera.

Attributes