Class LayerBrushDescriptor
- Namespace
- Artemis.Core.LayerBrushes
- Assembly
- Artemis.Core.dll
A class that describes a layer brush
public class LayerBrushDescriptor
- Inheritance
-
objectLayerBrushDescriptor
Properties
Description
The description that is displayed in the UI
public string Description { get; }
Property Value
DisplayName
The name that is displayed in the UI
public string DisplayName { get; }
Property Value
Icon
The Material icon to display in the UI, a full reference can be found here
public string Icon { get; }
Property Value
LayerBrushType
The type of the layer brush
public Type LayerBrushType { get; }
Property Value
Provider
The plugin that provided this LayerBrushDescriptor
public LayerBrushProvider Provider { get; }
Property Value
Methods
CreateInstance(Layer, LayerBrushEntity?)
Creates an instance of the described brush and applies it to the layer
public BaseLayerBrush CreateInstance(Layer layer, LayerBrushEntity? entity)
Parameters
layerLayerentityLayerBrushEntity
Returns
MatchesLayerBrushReference(LayerBrushReference?)
Determines whether the provided reference references to a brush provided by this descriptor
public bool MatchesLayerBrushReference(LayerBrushReference? reference)
Parameters
referenceLayerBrushReference