Skip to content

TextStudio3DStrokePoint

StructTextStudio.ThreeDTextStudio.3D
public readonly struct TextStudio3DStrokePoint

A sampled point on a stroke edge with tangent, clearance, and cumulative arc length.

TextStudio3DStrokePoint(Vector2, Vector2, float, float)

Section titled “TextStudio3DStrokePoint(Vector2, Vector2, float, float)”
public TextStudio3DStrokePoint(Vector2 position, Vector2 tangent, float clearance, float distance)

Creates a sampled stroke point with its position, tangent, clearance, and edge distance.

Parameters

Name Type
position UnityEngine.Vector2
tangent UnityEngine.Vector2
clearance System.Single
distance System.Single

public Vector2 Position { get; }

Returns

UnityEngine.Vector2

public Vector2 Tangent { get; }

Returns

UnityEngine.Vector2

public float Clearance { get; }

Returns

System.Single

public float Distance { get; }

Returns

System.Single