Skip to content

TextStudio3DStrokeNode

StructTextStudio.ThreeDTextStudio.3D
public readonly struct TextStudio3DStrokeNode

A shared stroke graph point with local clearance and component connectivity.

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

public Vector2 Position { get; }

Returns

UnityEngine.Vector2

public float Clearance { get; }

Returns

System.Single

public int ComponentIndex { get; }

Returns

System.Int32

public TextStudio3DStrokeNodeKind Kind { get; }

Returns

TextStudio.ThreeD.TextStudio3DStrokeNodeKind

public int Degree { get; }

Returns

System.Int32