@JsType(isNative=true,
namespace="Cesium",
name="PositionProperty")
public class PositionProperty
extends Property<Cartesian3>
| Modifier and Type | Field and Description |
|---|---|
Number |
referenceFrame
Gets the reference frame that the position is defined in.
|
| Constructor and Description |
|---|
PositionProperty()
The interface for all Property objects that define a world location as a Cartesian3 with an associated ReferenceFrame.
|
| Modifier and Type | Method and Description |
|---|---|
Cartesian3 |
getValueInReferenceFrame(JulianDate time,
Number referenceFrame)
Gets the value of the property at the provided time and in the provided reference frame.
|
Cartesian3 |
getValueInReferenceFrame(JulianDate time,
Number referenceFrame,
Cartesian3 result)
Gets the value of the property at the provided time and in the provided reference frame.
|
definitionChanged, equals, getValue, getValue, getValueOrUndefined, isConstant@JsProperty public Number referenceFrame
ReferenceFrame@JsConstructor public PositionProperty()
@JsMethod public Cartesian3 getValueInReferenceFrame(JulianDate time, Number referenceFrame)
time - The time for which to retrieve the value.referenceFrame - ReferenceFrame The desired referenceFrame of the result.@JsMethod public Cartesian3 getValueInReferenceFrame(JulianDate time, Number referenceFrame, Cartesian3 result)
time - The time for which to retrieve the value.referenceFrame - ReferenceFrame The desired referenceFrame of the result.result - The object to store the value into, if omitted, a new instance is created and returned.Copyright © 2019. All rights reserved.