@JsType(isNative=true, namespace="Cesium", name="ColorMaterialProperty") public class ColorMaterialProperty extends MaterialProperty
Modifier and Type | Field and Description |
---|---|
Property |
color
Gets or sets the Color Property.
|
Constructor and Description |
---|
ColorMaterialProperty()
A MaterialProperty that maps to solid color Material uniforms.
|
ColorMaterialProperty(Color color) |
ColorMaterialProperty(Property color)
A MaterialProperty that maps to solid color Material uniforms.
|
getType, getType
definitionChanged, equals, getValue, getValue, getValueOrUndefined, isConstant
@JsProperty public Property color
Color.WHITE()
@JsConstructor public ColorMaterialProperty()
@JsConstructor public ColorMaterialProperty(Property color)
color
- The Color
Property to be used. Default: Color.WHITE()
@JsConstructor public ColorMaterialProperty(Color color)
Copyright © 2019. All rights reserved.