Class CIMMaterialSymbolLayer
Represents a material which defines how the multipatch or mesh is drawn.
public class CIMMaterialSymbolLayer : CIMSymbolLayer
- Inheritance
-
CIMMaterialSymbolLayer
- Inherited Members
Constructors
CIMMaterialSymbolLayer()
public CIMMaterialSymbolLayer()
Properties
Color
Gets or sets the material color.
public CIMColor Color { get; set; }
Property Value
MaterialMode
Gets or sets the mode in which the material is applied.
public MaterialMode MaterialMode { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMaterialSymbolLayer with a specified state from a JSON encoding.
public static CIMMaterialSymbolLayer FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMaterialSymbolLayer state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMaterialSymbolLayer and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.