Click or drag to resize

ModelGraphics Class

Defines the graphical properties of a glTF model. This will produce the model property in CZML.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.CesiumModelGraphics

Namespace:  AGI.Foundation.Cesium
Assembly:  AGI.Foundation.Cesium (in AGI.Foundation.Cesium.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public class ModelGraphics

The ModelGraphics type exposes the following members.

Constructors
  NameDescription
Public methodModelGraphics
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyArticulations
Gets or 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.
Public propertyColor
Gets or sets the color to blend with the model's rendered color. If not specified, the default is White.
Public propertyColorBlendAmount
Gets or sets the color strength when ColorBlendMode is 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 propertyColorBlendMode
Gets or sets the mode to use for blending between Color and the model's color. If not specified, the default is Highlight.
Public propertyDistanceDisplayCondition
Gets or sets the distances from the camera at which this model will be displayed. If not specified, the model is displayed regardless of camera distance.
Public propertyHeightReference
Gets or sets the height reference of the model. If not specified, the default is None.
Public propertyIncrementallyLoadTextures
Gets or sets whether or not the model can be rendered before all textures have loaded. If not specified, the default is .
Public propertyMaximumScale
Gets or sets the maximum scale size of the model. This is used as an upper limit for MinimumPixelSize.
Public propertyMinimumPixelSize
Gets or sets the minimum pixel size of the model. If not specified, the default is 0.0.
Public propertyModel
Gets or sets the url of the glTF file. This property must be specified, or the model will not be displayed.
Public propertyNodeTransformations
Gets or sets the set of node transformations to apply to the model. This is a mapping from node name to node transformation values.
Public propertyRunAnimations
Gets or sets whether or not to run all animations defined in the glTF model. If not specified, the default is .
Public propertyScale
Gets or sets the scale of the model. If not specified, the default is 1.0.
Public propertyShadows
Gets or sets whether or not the model casts or receives shadows. If not specified, the default is Disabled.
Public propertyShow
Gets or sets whether or not the model is shown. If not specified, the default is .
Public propertySilhouetteColor
Gets or sets the color of the silhouette drawn around the model. If not specified, the default is Red
Public propertySilhouetteSize
Gets or sets the size, in pixels, of the silhouette drawn around the model. If not specified, the default is 0.0.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also