CLASSES
TagsA - Z

FreeCamera

NodeCameraTargetCameraFreeCamera

Description

class FreeCamera extends TargetCamera

Constructor

new FreeCamera(name, position, scene)

Parameters

Name Type Description
name string
position Vector3
scene Scene

Members

ellipsoid : Vector3

checkCollisions : boolean

applyGravity : boolean

inputs : FreeCameraInputsManager

angularSensibility : number

keysUp : number[]

keysDown : number[]

keysLeft : number[]

keysRight : number[]

onCollide : AbstractMesh) => void

collisionMask : number

Methods

attachControl(element, noPreventDefault) void

Parameters

Name Type Description
element HTMLElement
optional noPreventDefault boolean

detachControl(element) void

Parameters

Name Type Description
element HTMLElement

dispose() void

getClassName() string