Name | Type | Default | Description |
---|---|---|---|
position |
PositionProperty | optional 用于计算方向的位置属性。 | |
ellipsoid |
Ellipsoid |
Ellipsoid.WGS84
|
optional 用于确定向上方向的椭球体。 |
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)
}));
Members
readonly definitionChanged : Event
获取每当此属性的定义更改时引发的事件。
ellipsoid : Property|undefined
获取或设置用于确定向上的椭球体。
获取一个值,该值指示此属性是否为常量。
position : Property|undefined
获取或设置用于计算方向的位置属性。
Methods
将此属性与提供的属性进行比较并返回
如果相等,则为
true
,否则为false
。Name | Type | Description |
---|---|---|
other |
Property | optional 其他财产。 |
Returns:
如果左右相等,则为
true
,否则为false
。getValue(time, result) → Quaternion
获取属性在提供的时间的值。
Name | Type | Description |
---|---|---|
time |
JulianDate | optional 检索值的时间。 |
result |
Quaternion | optional 要将值存储到其中的对象(如果省略),将创建并返回一个新实例。 |
Returns:
修改后的结果参数或新实例(如果未提供结果参数)。