Communicator.Animation.BatchedCameraValues

 BatchedCameraValues

A structure that holds interpolated animation data for a camera. See BatchedValues.

Properties

Methods

Properties

height

height: number | null

The camera's field height, applied with Camera.setHeight.

position

position: Point3 | null

The camera's position, applied with Camera.setPosition.

target

target: Point3 | null

The camera's target, applied with Camera.setTarget.

up

up: Point3 | null

The camera's up vector, applied with Camera.setUp.

width

width: number | null

The camera's field width, applied with Camera.setWidth.

Methods

apply

  • apply(camera: Camera): boolean
  • Set the stored values on the supplied Camera.

    Parameters

    Returns boolean

    True if the camera was modified.

clear

  • clear(): void
  • Reset this object to its initial state.

    Returns void