TextStudio3DStrokeNode
public readonly struct TextStudio3DStrokeNodeA shared stroke graph point with local clearance and component connectivity.
Constructors
Section titled “Constructors”
TextStudio3DStrokeNode(Vector2, float, int, TextStudio3DStrokeNodeKind, int)
Section titled “TextStudio3DStrokeNode(Vector2, float, int, TextStudio3DStrokeNodeKind, int)”public TextStudio3DStrokeNode(Vector2 position, float clearance, int componentIndex, TextStudio3DStrokeNodeKind kind, int degree)Creates a stroke node with its position, available clearance, component, kind, and edge degree.
Parameters
| Name | Type |
|---|---|
position |
UnityEngine.Vector2 |
clearance |
System.Single |
componentIndex |
System.Int32 |
kind |
TextStudio.ThreeD.TextStudio3DStrokeNodeKind |
degree |
System.Int32 |
Properties
Section titled “Properties”
Position
Section titled “Position”public Vector2 Position { get; }Returns
UnityEngine.Vector2
Clearance
Section titled “Clearance”public float Clearance { get; }Returns
System.Single
ComponentIndex
Section titled “ComponentIndex”public int ComponentIndex { get; }Returns
System.Int32
public TextStudio3DStrokeNodeKind Kind { get; }Returns
TextStudio.ThreeD.TextStudio3DStrokeNodeKind
Degree
Section titled “Degree”public int Degree { get; }Returns
System.Int32