Property Color
Color
Gets or sets the color of the 3D model.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The color of the 3D model. |
Remarks
Applying a color to a 3D model with textures tints the model using the specified color. For models that use primitive ModelShape, the shape's color is updated to the specified value. Note that, when the color is set to transparent black, a ModelShape does not render and the 3D model instead appears with its baked-in textures and colors.
By default:
- A model symbol layer created from a primitive shape uses fully opaque white (RGBA(255, 255, 255, 255)).
- A model symbol layer created from a URI uses fully transparent black (RGBA(0, 0, 0, 0)) until the layer is loaded.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |