- {Property} [position] The position property used to compute the orientation.
- {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid used to determine which way is up.
Annotations
@RawJSType()@native()@JSName(...)
Example:
//Create an entity with position and orientation.
var position = new Cesium.SampledProperty();
position.addSamples(...);
var entity = viewer.entities.add({
position : position,
orientation : new Cesium.VelocityOrientationProperty(position)
}));
A Property which evaluates to a Quaternion rotation based on the velocity of the provided PositionProperty
alias VelocityOrientationProperty
- {Property} [position] The position property used to compute the orientation. - {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid used to determine which way is up.
//Create an entity with position and orientation. var position = new Cesium.SampledProperty(); position.addSamples(...); var entity = viewer.entities.add({ position : position, orientation : new Cesium.VelocityOrientationProperty(position) }));