@JsType(isNative=true,
namespace="Cesium",
name="Property")
public class Property<T>
extends Object
CompositeProperty,
ConstantProperty,
SampledProperty,
TimeIntervalCollectionProperty,
MaterialProperty,
PositionProperty,
ReferenceProperty| Constructor and Description |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
Event |
definitionChanged()
Gets the event that is raised whenever the definition of this property changes.
|
boolean |
equals(Property<T> other)
Compares this property to the provided property and returns true if they are equal, false otherwise.
|
T |
getValue(JulianDate time)
Gets the value of the property at the provided time.
|
T |
getValue(JulianDate time,
T result)
Gets the value of the property at the provided time.
|
static <T> T |
getValueOrUndefined(Property property,
JulianDate time,
T result) |
boolean |
isConstant()
Gets a value indicating if this property is constant.
|
@JsProperty(name="definitionChanged") public Event definitionChanged()
@JsProperty(name="isConstant") public boolean isConstant()
public boolean equals(Property<T> other)
other - The other property.@JsMethod public T getValue(JulianDate time)
time - The time for which to retrieve the value.@JsMethod public T getValue(JulianDate time, T result)
time - The time for which to retrieve the value.result - The object to store the value into, if omitted, a new instance is created and returned.@JsOverlay public static <T> T getValueOrUndefined(Property property, JulianDate time, T result)
Copyright © 2019. All rights reserved.