@JsType(isNative=true, namespace="Cesium", name="ConstantPositionProperty") public class ConstantPositionProperty extends PositionProperty
Modifier and Type | Field and Description |
---|---|
Number |
referenceFrame
Gets the reference frame in which the position is defined.
|
Constructor and Description |
---|
ConstantPositionProperty()
A
PositionProperty whose value does not change in respect to the ReferenceFrame in which is it defined. |
ConstantPositionProperty(Cartesian3 value)
A
PositionProperty whose value does not change in respect to the ReferenceFrame in which is it defined. |
ConstantPositionProperty(Cartesian3 value,
Integer referenceFrame)
A
PositionProperty whose value does not change in respect to the ReferenceFrame in which is it defined. |
Modifier and Type | Method and Description |
---|---|
void |
setValue(Cartesian3 value)
Sets the value of the property.
|
void |
setValue(Cartesian3 value,
Number referenceFrame)
Sets the value of the property.
|
getValueInReferenceFrame, getValueInReferenceFrame
definitionChanged, equals, getValue, getValue, getValueOrUndefined, isConstant
@JsProperty public Number referenceFrame
ReferenceFrame.FIXED()
;@JsConstructor public ConstantPositionProperty()
PositionProperty
whose value does not change in respect to the ReferenceFrame
in which is it defined.@JsConstructor public ConstantPositionProperty(Cartesian3 value)
PositionProperty
whose value does not change in respect to the ReferenceFrame
in which is it defined.value
- The property value.@JsConstructor public ConstantPositionProperty(Cartesian3 value, Integer referenceFrame)
PositionProperty
whose value does not change in respect to the ReferenceFrame
in which is it defined.value
- The property value.referenceFrame
- ReferenceFrame
. Default: ReferenceFrame.FIXED()
@JsMethod public void setValue(Cartesian3 value)
value
- The property value.@JsMethod public void setValue(Cartesian3 value, Number referenceFrame)
value
- The property value.referenceFrame
- ReferenceFrame
The reference frame in which the position is defined. Default: this.referenceFrameCopyright © 2019. All rights reserved.