BatchedCameraValues

class Animation.BatchedCameraValues()

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

Constructors

Methods


Constructors

BatchedCameraValues.constructor()
Return type

BatchedCameraValues

Properties

BatchedCameraValues.height
Type

null | number

The camera’s field height, applied with [[Camera.setHeight]].

BatchedCameraValues.position
Type

null | Point3

The camera’s position, applied with [[Camera.setPosition]].

BatchedCameraValues.target
Type

null | Point3

The camera’s target, applied with [[Camera.setTarget]].

BatchedCameraValues.up
Type

null | Point3

The camera’s up vector, applied with [[Camera.setUp]].

BatchedCameraValues.width
Type

null | number

The camera’s field width, applied with [[Camera.setWidth]].

Methods

apply

BatchedCameraValues.apply(camera)
Arguments

Set the stored values on the supplied [[Camera]].

Returns

True if the camera was modified.

Return type

boolean

clear

BatchedCameraValues.clear()

Reset this object to its initial state.

Return type

void