Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Camera

Hierarchy

  • Camera

Index

Constructors

constructor

  • new Camera(handle: number): Camera

Accessors

DepthOfFieldStrength

  • set DepthOfFieldStrength(strength: number): void
  • Parameters

    • strength: number

    Returns void

Direction

  • set Direction(direction: Vector3): void

FarClip

  • get FarClip(): number
  • set FarClip(farClip: number): void

FarDepthOfField

  • get FarDepthOfField(): number
  • set FarDepthOfField(farDepthOfField: number): void

FieldOfView

  • get FieldOfView(): number
  • set FieldOfView(fieldOfView: number): void

ForwardVector

IsActive

  • get IsActive(): boolean
  • set IsActive(active: boolean): void

IsInterpolating

  • get IsInterpolating(): boolean

IsShaking

  • get IsShaking(): boolean

MotionBlurStrength

  • set MotionBlurStrength(strength: number): void
  • Parameters

    • strength: number

    Returns void

NearClip

  • get NearClip(): number
  • set NearClip(nearClip: number): void

NearDepthOfField

  • set NearDepthOfField(nearDepthOfField: number): void
  • Parameters

    • nearDepthOfField: number

    Returns void

Position

Rotation

ShakeAmplitude

  • set ShakeAmplitude(amplitude: number): void
  • Parameters

    • amplitude: number

    Returns void

Methods

attachTo

delete

  • delete(): void

detach

  • detach(): void

exists

  • exists(): boolean

interpTo

  • interpTo(to: Camera, duration: number, easePosition: boolean, easeRotation: boolean): void
  • Parameters

    • to: Camera
    • duration: number
    • easePosition: boolean
    • easeRotation: boolean

    Returns void

pointAt

shake

  • shake(shakeType: CameraShake, amplitude: number): void

stopPointing

  • stopPointing(): void

stopShaking

  • stopShaking(): void

Generated using TypeDoc