Class CornerPointsNode
Finds corner points out of the set of points and outputs those points.
A corner point is defined as a point in the set of input points that has at least one diagonal neighbour
point that isn't in the set of input points and the two neighbour points they share are either both in the
input set or neither of them are.
Inheritance
CornerPointsNode
Syntax
[ScriptNode("Corner Points", "Points", true)]
[Serializable]
public class CornerPointsNode : ProcessorNode, IProcessorNode, IProviderNode, IConsumerNode, IScriptNode, INode
Properties
CornerPoints
Declaration
public List<Vector2Int> CornerPoints { get; }
Property Value
Type |
Description |
List<Vector2Int> |
|
Height
Declaration
public int Height { get; }
Property Value
Points
Declaration
public IEnumerable<Vector2Int> Points { get; }
Property Value
Width
Declaration
public int Width { get; }
Property Value
Methods
OnProcess()
Contains all the processing logic of this node. Called by Process.
Declaration
protected override void OnProcess()
Overrides
Implements