Options
All
  • Public
  • Public/Protected
  • All
Menu

Optional parameters passed to a CameraController at construct time

Hierarchy

  • ICameraOptions

Index

Properties

Optional debugPositions

debugPositions: boolean

When true, will output position, target to console

Default false

Optional farClip

farClip: number

The far clipping in world coordinates, for example if set to 1,000 any object further than 1,000 world coordinates will not be rendered

Default 4000

Optional fieldOfView

fieldOfView: number

The field of view in degrees.

Default 60

Optional id

id: string

Gets or sets the unique camera Id

Optional nearClip

nearClip: number

The near clipping in world coordinates, for example if set to 1.0, any object closer than 1 world coordinate will not be rendered

Default 1

Optional orthoHeight

orthoHeight: number

The orthogonal viewable height in world coordinates

remark

Only works when projectionMode is set to ECameraProjectionMode.Orthogonal

Default 400

Optional orthoWidth

orthoWidth: number

The orthogonal viewable width in world coordinates

remark

Only works when projectionMode is set to ECameraProjectionMode.Orthogonal

Default 600

Optional position

position: Vector3

Gets or sets the camera position as a Vector3 in World Space

Default new Vector3(-1000, 1000, -1000)

Optional projectionMode

projectionMode: ECameraProjectionMode

Optional target

target: Vector3

Gets or sets the camera target (Look-at) as a Vector3 in World Space

Default new Vector3(0, 0, 0)

Generated using TypeDoc