Class TextureToMaskNode
Create a mask from the texture. Any non-transparent pixels will be considered to be masked.
Inherited Members
Namespace: InsaneScatterbrain.MapGraph
Syntax
[ScriptNode("Texture To Mask", "Masks", true)]
[Serializable]
public class TextureToMaskNode : ProcessorNode, IProcessorNode, IProviderNode, IConsumerNode, IScriptNode, INode
Properties
Mask
Declaration
public Mask Mask { get; }
Property Value
Type | Description |
---|---|
Mask |
TextureData
Declaration
public TextureData TextureData { get; }
Property Value
Type | Description |
---|---|
TextureData |
Methods
OnProcess()
Contains all the processing logic of this node. Called by Process.
Declaration
protected override void OnProcess()