Skip to content

TextStudioCageDeformation

ClassTextStudioTextStudio
public sealed class TextStudioCageDeformation : MonoBehaviour, ITextStudioCapabilityReportProvider

Applies a whole-text cage to the submitted TMP quads after placement and animation, which 2D Appearance draws its glyph rows from. Other output routes report their current limits.

public void CollectCapabilityDiagnostics(List<TextStudioPreviewDiagnostic> diagnostics)

Appends this provider's current configuration and capability diagnostics to the caller-owned list.

Parameters

Name Type
diagnostics System.Collections.Generic.List{TextStudio.TextStudioPreviewDiagnostic}

public TextStudioCageDeformation()

public TextStudioCageStyle Style { get; set; }

Returns

TextStudio.TextStudioCageStyle

public float Strength { get; set; }

Returns

System.Single

public TextStudioCageGlyphMode GlyphMode { get; set; }

Whether glyphs bend or retain their native shape under the cage.

Returns

TextStudio.TextStudioCageGlyphMode

public string Status { get; }

Current eligibility or output validation message. An empty message means the configured output is supported.

Returns

System.String

public Rect ReferenceBounds { get; }

Stable native source bounds used by the last submitted cage frame, in text-local coordinates.

Returns

UnityEngine.Rect