VMECameraDistanceRange

open class VMECameraDistanceRange

VMECameraDistanceRange represents a distance element that may be associated with a VMECameraUpdate object.

It encapsulates some logic for controlling the distance of the camera. It should only be constructed using the factory helper methods below.

The camera will use the previously specified camera distance range when it's not specified in the camera update.

Since

1.19

VMECameraUpdate lUpdate = new VMECameraUpdateBuilder()
.setDistanceRange(VMECameraDistanceRange.newAltitudeRange(100,100))
.build();

Notes

In the above example, the camera will keep its altitude = 100 until another VMECameraUpdate is set with a new VMECameraDistanceRange.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compare current VMECameraDistanceRange with another.

Link copied to clipboard
open override fun hashCode(): Int