Skip to content

TextStudio3DBoundsContourSource

StructTextStudio.ThreeDTextStudio.3D
public struct TextStudio3DBoundsContourSource

Canonical contour fitted dynamically around the incoming text contour bounds.

[Tooltip("Canonical silhouette fitted around the incoming contour bounds.")]
public TextStudio3DBackingShape shape

Returns

TextStudio.ThreeD.TextStudio3DBackingShape

[Tooltip("Horizontal and vertical local-space padding added to every side of the bounds.")]
public Vector2 padding

Returns

UnityEngine.Vector2

[Min(0)]
[Tooltip("Corner radius for rounded rectangle, plate, and frame shapes.")]
public float cornerRadius

Returns

System.Single

[Min(0)]
[Tooltip("Material-band width for Frame. Ignored by solid shapes.")]
public float borderWidth

Returns

System.Single

[Range(1, 32)]
[Tooltip("Curve detail per rounded corner; also controls badge edge detail.")]
public int cornerSegments

Returns

System.Int32

public static TextStudio3DBoundsContourSource Default { get; }

Returns

TextStudio.ThreeD.TextStudio3DBoundsContourSource