T - The type of value.public class ConstantCesiumProperty<T> extends CesiumProperty<T>
CesiumProperty that specifies a constant value.| Constructor and Description |
|---|
ConstantCesiumProperty()
Initializes a new instance.
|
ConstantCesiumProperty(T value)
Initializes a new instance with a specified value.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Gets the constant value of the property.
|
void |
setValue(T value)
Sets the constant value of the property.
|
static <T> ConstantCesiumProperty<T> |
toConstantCesiumProperty(T value)
Converts a constant value to a
ConstantCesiumProperty. |
createGenerators, toCesiumProperty, toCesiumProperty, toCesiumPropertypublic ConstantCesiumProperty()
public ConstantCesiumProperty(T value)
value - The constant value of the property.public final T getValue()
public final void setValue(T value)
public static <T> ConstantCesiumProperty<T> toConstantCesiumProperty(T value)
ConstantCesiumProperty.value - The value to convert.ConstantCesiumProperty configured with the given value,
or null if value is null.