Skip to content

ContourTube3DSpec

StructTextStudio.ThreeDTextStudio.3D
public struct ContourTube3DSpec

A closed circular or custom cross-section swept around glyph contours.

[Tooltip("Generate a true closed tube around the selected cap contour.")]
public bool enabled

Returns

System.Boolean

[Tooltip("Cap surface or surfaces that receive the tube.")]
public ContourTube3DSurface surface

Returns

TextStudio.ThreeD.ContourTube3DSurface

[Tooltip("Optional reusable closed cross-section. Unassigned generates a round tube.")]
public TextStudio3DContourTubeProfile profile

Returns

TextStudio.ThreeD.TextStudio3DContourTubeProfile

[Tooltip("Tube radius or scale applied to the custom normalized cross-section.")]
[Min(0)]
public float radius

Returns

System.Single

[Tooltip("Target physical distance between consecutive tube path rings.")]
[Min(0)]
public float pathSpacing

Returns

System.Single

[Tooltip("Cross-section sides used by an unassigned round profile.")]
[Range(3, 32)]
public int radialSegments

Returns

System.Int32

[Tooltip("Hard per-contour cap on generated path rings, bounding geometry cost.")]
[Range(3, 4096)]
public int maxPathSamples

Returns

System.Int32

[Tooltip("Also sweep the tube around glyph counters such as the centers of O, A, and B.")]
public bool includeHoles

Returns

System.Boolean

[Tooltip("Signed clearance from the cap surface. Positive lifts the tube; negative embeds it.")]
public float surfaceOffset

Returns

System.Single

public static ContourTube3DSpec Default { get; }

Returns

TextStudio.ThreeD.ContourTube3DSpec