@cesium/engine
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
46 lines (42 loc) • 1.13 kB
JavaScript
/**
* Constants for identifying well-known tracking reference frames.
*
* @enum {number}
*/
const TrackingReferenceFrame = {
/**
* Auto-detect algorithm. The reference frame used to track the Entity will
* be automatically selected based on its trajectory: near-surface slow moving
* objects will be tracked in the entity's local east-north-up reference
* frame, while faster objects like satellites will use VVLH (Vehicle Velocity,
* Local Horizontal).
*
* @type {number}
* @constant
*/
AUTODETECT: 0,
/**
* The entity's local East-North-Up reference frame.
*
* @type {number}
* @constant
*/
ENU: 1,
/**
* The entity's inertial reference frame. If entity has no defined orientation
* property, it falls back to auto-detect algorithm.
*
* @type {number}
* @constant
*/
INERTIAL: 2,
/**
* The entity's inertial reference frame with orientation fixed to its
* {@link VelocityOrientationProperty}, ignoring its own orientation.
*
* @type {number}
* @constant
*/
VELOCITY: 3,
};
export default Object.freeze(TrackingReferenceFrame);