Module: model/CameraState

Classes

CameraState

Methods

(inner) copyIfSet(dest, src, prop)

Copy a property from an object to another.

If the source object has a property with the given name, this property is copied to the target object.

Parameters:
Name Type Description
dest object

The destination object.

src object

The source object.

prop string

The name of the property to copy.

Source: