
public class CIMMaterialSymbolLayer : CIMSymbolLayer, System.ComponentModel.INotifyPropertyChanged, System.Xml.Serialization.IXmlSerializable
Public Class CIMMaterialSymbolLayer Inherits CIMSymbolLayer Implements System.ComponentModel.INotifyPropertyChanged, System.Xml.Serialization.IXmlSerializable
/// <summary> /// Create a mesh symbol that can be applied to a multi-patch feature layer. /// </summary> /// <remarks> /// A mesh symbol is a CIMMeshSymbol object. Define an array of CIMSymbolLayers which contains a CIMMaterialSymbol layer with the specified properties such as Color, etc. /// Assign this array of CIMSymbolLayers to the CIMMeshSymbol. ///  /// </remarks> /// <returns></returns> public static Task<CIMMeshSymbol> CreateMeshSymbolAsync() { return QueuedTask.Run<CIMMeshSymbol>(() => { CIMSymbolLayer[] materialSymbolLayer = { new CIMMaterialSymbolLayer() { Color = ColorFactory.Instance.CreateRGBColor(230,152,0), MaterialMode = MaterialMode.Multiply } }; var myMeshSymbol = new CIMMeshSymbol() { SymbolLayers = materialSymbolLayer }; return myMeshSymbol; }); }
System.Object
ArcGIS.Core.CIM.CIMObject
ArcGIS.Core.CIM.CIMSymbolLayer
ArcGIS.Core.CIM.CIMMaterialSymbolLayer
Target Platforms: Windows 11, Windows 10