@JsType(isNative=true, namespace="Cesium", name="VelocityVectorProperty") public class VelocityVectorProperty<T extends Cartesian3> extends Property<T>
Property
which evaluates to a Cartesian3
vector based on the velocity
of the provided PositionProperty
.Modifier and Type | Field and Description |
---|---|
boolean |
normalize
Gets or sets whether the vector produced by this property will be normalized or not.
|
Property |
position
Gets or sets the position property used to compute the velocity vector.
|
Constructor and Description |
---|
VelocityVectorProperty()
A
Property which evaluates to a Cartesian3 vector based on the velocity
of the provided PositionProperty . |
VelocityVectorProperty(Property position)
A
Property which evaluates to a Cartesian3 vector based on the velocity
of the provided PositionProperty . |
VelocityVectorProperty(Property position,
boolean normalize)
A
Property which evaluates to a Cartesian3 vector based on the velocity
of the provided PositionProperty . |
definitionChanged, equals, getValue, getValue, getValueOrUndefined, isConstant
@JsProperty public boolean normalize
@JsProperty public Property position
@JsConstructor public VelocityVectorProperty()
Property
which evaluates to a Cartesian3
vector based on the velocity
of the provided PositionProperty
.@JsConstructor public VelocityVectorProperty(Property position)
Property
which evaluates to a Cartesian3
vector based on the velocity
of the provided PositionProperty
.position
- The position property used to compute the velocity.@JsConstructor public VelocityVectorProperty(Property position, boolean normalize)
Property
which evaluates to a Cartesian3
vector based on the velocity
of the provided PositionProperty
.position
- The position property used to compute the velocity.normalize
- Whether to normalize the computed velocity vector.Copyright © 2019. All rights reserved.