ModelGraphics Class |
Namespace: AGI.Foundation.Cesium
The ModelGraphics type exposes the following members.
Name | Description | |
---|---|---|
ModelGraphics | Initializes a new instance. |
Name | Description | |
---|---|---|
Articulations |
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.
| |
Color |
Gets or sets the color to blend with the model's rendered color.
If not specified, the default is White.
| |
ColorBlendAmount |
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.
| |
ColorBlendMode | ||
DistanceDisplayCondition |
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.
| |
HeightReference |
Gets or sets the height reference of the model.
If not specified, the default is None.
| |
IncrementallyLoadTextures |
Gets or sets whether or not the model can be rendered before all textures have loaded.
If not specified, the default is .
| |
MaximumScale |
Gets or sets the maximum scale size of the model. This is used as an upper limit for MinimumPixelSize.
| |
MinimumPixelSize |
Gets or sets the minimum pixel size of the model.
If not specified, the default is 0.0.
| |
Model |
Gets or sets the url of the glTF file. This property must be specified, or the model will not be displayed.
| |
NodeTransformations |
Gets or sets the set of node transformations to apply to the model.
This is a mapping from node name to node transformation values.
| |
RunAnimations |
Gets or sets whether or not to run all animations defined in the glTF model.
If not specified, the default is .
| |
Scale |
Gets or sets the scale of the model.
If not specified, the default is 1.0.
| |
Shadows |
Gets or sets whether or not the model casts or receives shadows.
If not specified, the default is Disabled.
| |
Show |
Gets or sets whether or not the model is shown.
If not specified, the default is .
| |
SilhouetteColor |
Gets or sets the color of the silhouette drawn around the model.
If not specified, the default is Red | |
SilhouetteSize |
Gets or sets the size, in pixels, of the silhouette drawn around the model.
If not specified, the default is 0.0.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |