Options
Menu

Interface ICameraStatic

checked against /interface/src/Camera.h September 12, 2014

Index

Methods

computePickRay

  • computePickRay(x: number, y: number): IPickRay
  • Parameters

    • x: number
    • y: number

    Returns IPickRay

getMode

  • getMode(): string
  • Returns string

getOrientation

  • getOrientation(): IQuat
  • Returns IQuat

getPosition

  • Returns IVec3

keepLookingAt

  • keepLookingAt(value: IVec3)
  • fix what the camera is looking at, and keep the camera looking at this even if position changes.

    Parameters

lookAt

  • These only work on independent cameras. one time change to what the camera is looking at.

    Parameters

setMode

  • setMode(mode: string)
  • Parameters

    • mode: string

setModeShiftPeriod

  • setModeShiftPeriod(r: number)
  • Parameters

    • r: number

setOrientation

  • setOrientation(q: IQuat)
  • Parameters

setPosition

  • Parameters

stopLooking

  • stopLooking()
  • stops the keep looking at feature, doesn't change what's being looked at, but will stop camera from continuing to update its orientation to keep looking at the item.

Generated using TypeDoc