Appearance
KBE3D / KBCore / Cesium / ModelGraphics / ConstructorOptions
接口: ConstructorOptions
Initialization options for the ModelGraphics constructor
属性
show?
optionalshow:boolean|Property
A boolean Property specifying the visibility of the model.
uri?
A string or Resource Property specifying the URI of the glTF asset.
scale?
optionalscale:number|Property
A numeric Property specifying a uniform linear scale.
enableVerticalExaggeration?
optionalenableVerticalExaggeration:boolean|Property
A boolean Property specifying if the model is exaggerated along the ellipsoid normal when Scene.verticalExaggeration is set to a value other than <code>1.0</code>.
minimumPixelSize?
optionalminimumPixelSize:number|Property
A numeric Property specifying the approximate minimum pixel size of the model regardless of zoom.
maximumScale?
optionalmaximumScale:number|Property
The maximum scale size of a model. An upper limit for minimumPixelSize.
incrementallyLoadTextures?
optionalincrementallyLoadTextures:boolean|Property
Determine if textures may continue to stream in after the model is loaded.
runAnimations?
optionalrunAnimations:boolean|Property
A boolean Property specifying if glTF animations specified in the model should be started.
clampAnimations?
optionalclampAnimations:boolean|Property
A boolean Property specifying if glTF animations should hold the last pose for time durations with no keyframes.
shadows?
optionalshadows:Property|ShadowMode
An enum Property specifying whether the model casts or receives shadows from light sources.
heightReference?
optionalheightReference:Property|HeightReference
A Property specifying what the height is relative to.
silhouetteColor?
A Property specifying the Color of the silhouette.
silhouetteSize?
optionalsilhouetteSize:number|Property
A numeric Property specifying the size of the silhouette in pixels.
color?
A Property specifying the Color that blends with the model's rendered color.
colorBlendMode?
optionalcolorBlendMode:Property|ColorBlendMode
An enum Property specifying how the color blends with the model.
colorBlendAmount?
optionalcolorBlendAmount:number|Property
A numeric Property specifying the color strength when the <code>colorBlendMode</code> is <code>MIX</code>. 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.
imageBasedLightingFactor?
optionalimageBasedLightingFactor:Property|Cartesian2
A property specifying the contribution from diffuse and specular image-based lighting.
environmentMapOptions?
optionalenvironmentMapOptions:PropertyBag| {[key:string]:any; }
The properties for managing dynamic environment maps on this entity.
lightColor?
A property specifying the light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
distanceDisplayCondition?
optionaldistanceDisplayCondition:Property|DistanceDisplayCondition
A Property specifying at what distance from the camera that this model will be displayed.
nodeTransformations?
optionalnodeTransformations:PropertyBag| {[key:string]:TranslationRotationScale; }
An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation.
articulations?
optionalarticulations:PropertyBag| {[key:string]:number; }
An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties.
clippingPlanes?
optionalclippingPlanes:Property|ClippingPlaneCollection
A property specifying the ClippingPlaneCollection used to selectively disable rendering the model.
customShader?
optionalcustomShader:Property|CustomShader
A property specifying the CustomShader to apply to this model.
