@JsType(isNative=true, namespace="Cesium", name="ModelGraphics") public class ModelGraphics extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
clampAnimations
Determines if the model's animations should hold a pose over frames where no keyframes are specified.
|
Property |
clippingPlanes
A property specifying the
ClippingPlaneCollection used to selectively disable rendering the model. |
Property |
color
A Property specifying the Color that blends with the model's rendered color.
|
Property |
colorBlendAmount
A numeric Property specifying the color strength when the colorBlendMode is MIX.
|
Property |
colorBlendMode
An enum Property specifying how the color blends with the model.
|
Property |
distanceDisplayCondition
A Property specifying at what distance from the camera that this model will be displayed.
|
Property |
heightReference
A Property specifying what the height is relative to.
|
Property |
incrementallyLoadTextures
Determine if textures may continue to stream in after the model is loaded.
|
Property |
lightColor
A property specifying the Cartesian3 color of the light source when shading the model.
|
Property |
maximumScale
The maximum scale size of a model.
|
Property |
minimumPixelSize
A numeric Property specifying the approximate minimum pixel size of the model regardless of zoom.
|
Property |
nodeTransformations
An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node.
|
Property |
runAnimations
A boolean Property specifying if glTF animations should hold the last pose for time durations with no keyframes.
|
Property |
scale
A numeric Property specifying a uniform linear scale.
|
Property |
shadows
An enum Property specifying whether the model casts or receives shadows from each light source.
|
Property |
show
A boolean Property specifying the visibility of the model.
|
Property |
silhouetteColor
A Property specifying the Color of the silhouette.
|
Property |
silhouetteSize
A numeric Property specifying the size of the silhouette in pixels.
|
Property |
uri
A string Property specifying the URI of the glTF asset.
|
Constructor and Description |
---|
ModelGraphics() |
ModelGraphics(ModelGraphicsOptions options)
A 3D model based on glTF, the runtime asset format for WebGL, OpenGL ES, and OpenGL.
|
Modifier and Type | Method and Description |
---|---|
ModelGraphics |
clone(ModelGraphics result)
Duplicates this instance.
|
Event |
definitionChanged()
Gets the event that is raised whenever a property or sub-property is changed or modified.
|
void |
merge(ModelGraphics source)
Assigns each unassigned property on this object to the value of the same property on the provided source object.
|
@JsProperty public Property uri
@JsProperty public Property show
@JsProperty public Property scale
@JsProperty public Property minimumPixelSize
@JsProperty public Property maximumScale
@JsProperty public Property incrementallyLoadTextures
@JsProperty public Property lightColor
@JsProperty public Property runAnimations
@JsProperty public boolean clampAnimations
@JsProperty public Property nodeTransformations
@JsProperty public Property shadows
ShadowMode.ENABLED()
@JsProperty public Property heightReference
HeightReference.NONE()
@JsProperty public Property distanceDisplayCondition
@JsProperty public Property color
@JsProperty public Property colorBlendMode
ColorBlendMode.HIGHLIGHT()
@JsProperty public Property colorBlendAmount
@JsProperty public Property silhouetteColor
Color.RED()
@JsProperty public Property silhouetteSize
@JsProperty public Property clippingPlanes
ClippingPlaneCollection
used to selectively disable rendering the model.@JsConstructor public ModelGraphics()
@JsConstructor public ModelGraphics(ModelGraphicsOptions options)
options
- Options@JsProperty(name="definitionChanged") public Event definitionChanged()
public ModelGraphics clone(@JsOptional ModelGraphics result)
result
- The object onto which to store the result.public void merge(ModelGraphics source)
source
- The object to be merged into this object.Copyright © 2019. All rights reserved.