Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BabylonCamera

Index

Constructors

constructor

  • Parameters

    • context: Context

    Returns BabylonCamera

Properties

arcRotate

free

target

Methods

freezeProjectionMatrix

  • freezeProjectionMatrix(inputs: CameraDto): void
  • Freeze projection matrix of the camera

    group

    adjust

    shortname

    freeze projection matrix

    Parameters

    Returns void

getPosition

  • Gets the position of a camera

    group

    get

    shortname

    get camera position

    Parameters

    Returns Point3

getSpeed

  • Gets the speed of a camera

    group

    get

    shortname

    get camera speed

    Parameters

    Returns Point3

getTarget

  • Gets the target of a camera

    group

    get

    shortname

    get camera target

    Parameters

    Returns Point3

makeCameraOrthographic

  • Changes the the mode of the camera to orthographic

    group

    adjust

    shortname

    enable orthographic mode

    Parameters

    Returns void

makeCameraPerspective

  • makeCameraPerspective(inputs: CameraDto): void
  • Changes the mode of a camera to perspective

    group

    adjust

    shortname

    enable perspective mode

    Parameters

    Returns void

setMaxZ

  • Changes the maxZ of a camera

    group

    set

    shortname

    camera max z

    Parameters

    • inputs: MaxZDto

      camera and maxz value

    Returns void

setMinZ

  • Changes the minZ of a camera

    group

    set

    shortname

    set camera min z

    Parameters

    Returns void

setPosition

  • Changes the position of a camera

    group

    set

    shortname

    set camera position

    Parameters

    Returns void

setSpeed

  • Changes the speed of a camera

    group

    set

    shortname

    set camera speed

    Parameters

    Returns void

setTarget

  • Changes the target of a camera

    group

    set

    shortname

    set camera target

    Parameters

    Returns void

unfreezeProjectionMatrix

  • unfreezeProjectionMatrix(inputs: CameraDto): void
  • Unfreeze projection matrix of the camera

    group

    adjust

    shortname

    unfreeze projection matrix

    Parameters

    Returns void

Generated using TypeDoc