new Cesium.PositionPropertyArray(value, referenceFrame)

A Property whose value is an array whose items are the computed value 财产.
Name Type Default Description
value Array.<Property> optional 一系列属性实例 .
referenceFrame ReferenceFrame ReferenceFrame.FIXED optional The reference frame in which the position is defined.

Members

readonly definitionChanged : Event

当此属性定义发生变化时, 获取该属性被提起的事件 . 定义每次设定时都会更改, 数据不同 ,而不是数组中的当前值或属性之一.

readonly isConstant : boolean

获得一个表示该属性是否常数的值。 这个地产 如果数组中的所有属性项目都是恒定的,则视为恒定.

referenceFrame : ReferenceFrame

获得定义位置的参考框架.
Default Value: ReferenceFrame.FIXED;

Methods

equals(other)boolean

将此属性与所提供的属性进行比较并返回 -NT+0+Treal NT+1+,如果两者是相等的, NT+2+false NT+3+否则.
Name Type Description
other Property optional 其他财产.
Returns:
如果左右对等, 则使用 NT 0 true NT 1 , 否则使用 NT 2 false NT 3 .

getValue(time, result)Array.<Cartesian3>

获得财产的价值.
Name Type Default Description
time JulianDate JulianDate.now() optional The time for which to retrieve the value. If omitted, the current system time is used.
result Array.<Cartesian3> optional 如果省略,则创建并返回将数值存储为新实例的对象.
Returns:
未提供结果参数的修改结果参数或新实例 .

getValueInReferenceFrame(time, referenceFrame, result)Array.<Cartesian3>

获取提供的时间和参考框架内的财产价值.
Name Type Description
time JulianDate 获取值的时间 .
referenceFrame ReferenceFrame 理想的参考结果Frame.
result Array.<Cartesian3> optional 如果省略,则创建并返回将数值存储为新实例的对象.
Returns:
未提供结果参数的修改结果参数或新实例 .

setValue(value)

设置属性的值.
Name Type Description
value Array.<Property> 一系列属性实例 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.