FlyControls

THREE.FlyControls
class FlyControls(camera: Camera, domElement: UndefOr[Element]) extends Object

This class enables a navigation similar to fly modes in DCC tools like Blender. You can arbitrarily transform the camera in 3D space without any limitations (e.g. focus on a specific target).

Attributes

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

Members list

Value members

Concrete methods

def dispose(): Unit

Dispose of the controls.

Dispose of the controls.

Attributes

def update(delta: Double): Unit

Update the controls. Call this method every frame.

Update the controls. Call this method every frame.

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

var autoForward: Boolean

If set to true, the camera automatically moves forward (and does not stop) when initially translated.

If set to true, the camera automatically moves forward (and does not stop) when initially translated.

Attributes

var dragToLook: Boolean

If set to true, you can only look around by performing a drag interaction.

If set to true, you can only look around by performing a drag interaction.

Attributes

var movementSpeed: Double

The movement speed.

The movement speed.

Attributes

var rollSpeed: Double

The rotation speed.

The rotation speed.

Attributes