public class ModelGraphics extends Object
model property in CZML.| Constructor and Description | 
|---|
ModelGraphics()
Initializes a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,CesiumProperty<Double>> | 
getArticulations()
Gets the mapping of keys to articulation values, where the keys are
    the name of the articulation, a single space, and the name of the stage. 
 | 
CesiumProperty<Color> | 
getColor()
Gets the color to blend with the model's rendered color. 
 | 
CesiumProperty<Double> | 
getColorBlendAmount()
 | 
CesiumProperty<CesiumColorBlendMode> | 
getColorBlendMode()
 | 
CesiumProperty<Bounds> | 
getDistanceDisplayCondition()
Gets the distances from the camera at which this model will be displayed. 
 | 
CesiumProperty<CesiumHeightReference> | 
getHeightReference()
Gets the height reference of the model. 
 | 
CesiumProperty<Boolean> | 
getIncrementallyLoadTextures()
Gets whether or not the model can be rendered before all textures have loaded. 
 | 
CesiumProperty<Double> | 
getMaximumScale()
Gets the maximum scale size of the model. 
 | 
CesiumProperty<Double> | 
getMinimumPixelSize()
Gets the minimum pixel size of the model. 
 | 
CesiumProperty<CesiumResource> | 
getModel()
Gets the url of the glTF file. 
 | 
Map<String,NodeTransformationGraphics> | 
getNodeTransformations()
Gets the set of node transformations to apply to the model. 
 | 
CesiumProperty<Boolean> | 
getRunAnimations()
Gets whether or not to run all animations defined in the glTF model. 
 | 
CesiumProperty<Double> | 
getScale()
Gets the scale of the model. 
 | 
CesiumProperty<CesiumShadowMode> | 
getShadows()
Gets whether or not the model casts or receives shadows. 
 | 
CesiumProperty<Boolean> | 
getShow()
Gets whether or not the model is shown. 
 | 
CesiumProperty<Color> | 
getSilhouetteColor()
Gets the color of the silhouette drawn around the model. 
 | 
CesiumProperty<Double> | 
getSilhouetteSize()
Gets the size, in pixels, of the silhouette drawn around the model. 
 | 
void | 
setArticulations(Map<String,CesiumProperty<Double>> value)
Sets the mapping of keys to articulation values, where the keys are
    the name of the articulation, a single space, and the name of the stage. 
 | 
void | 
setColor(CesiumProperty<Color> value)
Sets the color to blend with the model's rendered color. 
 | 
void | 
setColorBlendAmount(CesiumProperty<Double> value)
 | 
void | 
setColorBlendMode(CesiumProperty<CesiumColorBlendMode> value)
 | 
void | 
setDistanceDisplayCondition(CesiumProperty<Bounds> value)
Sets the distances from the camera at which this model will be displayed. 
 | 
void | 
setHeightReference(CesiumProperty<CesiumHeightReference> value)
Sets the height reference of the model. 
 | 
void | 
setIncrementallyLoadTextures(CesiumProperty<Boolean> value)
Sets whether or not the model can be rendered before all textures have loaded. 
 | 
void | 
setMaximumScale(CesiumProperty<Double> value)
Sets the maximum scale size of the model. 
 | 
void | 
setMinimumPixelSize(CesiumProperty<Double> value)
Sets the minimum pixel size of the model. 
 | 
void | 
setModel(CesiumProperty<CesiumResource> value)
Sets the url of the glTF file. 
 | 
void | 
setNodeTransformations(Map<String,NodeTransformationGraphics> value)
Sets the set of node transformations to apply to the model. 
 | 
void | 
setRunAnimations(CesiumProperty<Boolean> value)
Sets whether or not to run all animations defined in the glTF model. 
 | 
void | 
setScale(CesiumProperty<Double> value)
Sets the scale of the model. 
 | 
void | 
setShadows(CesiumProperty<CesiumShadowMode> value)
Sets whether or not the model casts or receives shadows. 
 | 
void | 
setShow(CesiumProperty<Boolean> value)
Sets whether or not the model is shown. 
 | 
void | 
setSilhouetteColor(CesiumProperty<Color> value)
Sets the color of the silhouette drawn around the model. 
 | 
void | 
setSilhouetteSize(CesiumProperty<Double> value)
Sets the size, in pixels, of the silhouette drawn around the model. 
 | 
public final CesiumProperty<Boolean> getShow()
true.public final void setShow(CesiumProperty<Boolean> value)
true.public final CesiumProperty<CesiumResource> getModel()
public final void setModel(CesiumProperty<CesiumResource> value)
public final CesiumProperty<Double> getScale()
public final void setScale(CesiumProperty<Double> value)
public final CesiumProperty<Double> getMinimumPixelSize()
public final void setMinimumPixelSize(CesiumProperty<Double> value)
public final CesiumProperty<Double> getMaximumScale()
public final void setMaximumScale(CesiumProperty<Double> value)
public final CesiumProperty<Boolean> getIncrementallyLoadTextures()
true.public final void setIncrementallyLoadTextures(CesiumProperty<Boolean> value)
true.public final CesiumProperty<Boolean> getRunAnimations()
true.public final void setRunAnimations(CesiumProperty<Boolean> value)
true.public final CesiumProperty<CesiumShadowMode> getShadows()
CesiumShadowMode.DISABLED.public final void setShadows(CesiumProperty<CesiumShadowMode> value)
CesiumShadowMode.DISABLED.public final CesiumProperty<CesiumHeightReference> getHeightReference()
CesiumHeightReference.NONE.public final void setHeightReference(CesiumProperty<CesiumHeightReference> value)
CesiumHeightReference.NONE.public final CesiumProperty<Color> getSilhouetteColor()
Red (get)public final void setSilhouetteColor(CesiumProperty<Color> value)
Red (get)public final CesiumProperty<Double> getSilhouetteSize()
public final void setSilhouetteSize(CesiumProperty<Double> value)
public final CesiumProperty<Color> getColor()
White (get).public final void setColor(CesiumProperty<Color> value)
White (get).public final CesiumProperty<CesiumColorBlendMode> getColorBlendMode()
Color (get / set) and the model's color.
    If not specified, the default is CesiumColorBlendMode.HIGHLIGHT.public final void setColorBlendMode(CesiumProperty<CesiumColorBlendMode> value)
Color (get / set) and the model's color.
    If not specified, the default is CesiumColorBlendMode.HIGHLIGHT.public final CesiumProperty<Double> getColorBlendAmount()
ColorBlendMode (get / set) is CesiumColorBlendMode.MIX.
    A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two.
    If not specified, the default is 0.5.public final void setColorBlendAmount(CesiumProperty<Double> value)
ColorBlendMode (get / set) is CesiumColorBlendMode.MIX.
    A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two.
    If not specified, the default is 0.5.public final CesiumProperty<Bounds> getDistanceDisplayCondition()
public final void setDistanceDisplayCondition(CesiumProperty<Bounds> value)
public final Map<String,NodeTransformationGraphics> getNodeTransformations()
public final void setNodeTransformations(Map<String,NodeTransformationGraphics> value)
public final Map<String,CesiumProperty<Double>> getArticulations()
public final void setArticulations(Map<String,CesiumProperty<Double>> value)