BatchedCameraValues

class Communicator.Animation.BatchedCameraValues()

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

Methods


Properties

BatchedCameraValues.height
Type

number | null

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

BatchedCameraValues.position
Type

Point3() | null

The camera’s position, applied with Camera.setPosition

BatchedCameraValues.target
Type

Point3() | null

The camera’s target, applied with Camera.setTarget

BatchedCameraValues.up
Type

Point3() | null

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

BatchedCameraValues.width
Type

number | null

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

Methods

apply

BatchedCameraValues.apply(camera)

Set the stored values on the supplied Camera

Arguments
Return type

boolean

Returns

True if the camera was modified.

clear

BatchedCameraValues.clear()

Reset this object to its initial state.

Return type

void