@JsType(isNative=true, namespace="<global>", name="Object") public class ModelGraphicsOptions 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 |
imageBasedLightingFactor
A property specifying the contribution from diffuse and specular image-based lighting.
|
Property |
incrementallyLoadTextures
Determine if textures may continue to stream in after the model is loaded.
|
Property |
lightColor
A property specifying the light color to use 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 specified in the model should be started.
|
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 |
---|
ModelGraphicsOptions() |
@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 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 silhouetteColor
Color.RED()
@JsProperty public Property silhouetteSize
@JsProperty public Property color
@JsProperty public Property colorBlendMode
ColorBlendMode.HIGHLIGHT()
@JsProperty public Property colorBlendAmount
@JsProperty public Property clippingPlanes
@JsProperty public Property imageBasedLightingFactor
@JsProperty public Property lightColor
Copyright © 2019. All rights reserved.