mirror of https://github.com/CesiumGS/cesium.git
46 lines
1.1 KiB
JavaScript
46 lines
1.1 KiB
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);
|