TextStudioCageDeformation
public sealed class TextStudioCageDeformation : MonoBehaviour, ITextStudioCapabilityReportProviderApplies 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.
Methods
Section titled “Methods”
CollectCapabilityDiagnostics(List)
Section titled “CollectCapabilityDiagnostics(List)”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} |
Constructors
Section titled “Constructors”
TextStudioCageDeformation()
Section titled “TextStudioCageDeformation()”public TextStudioCageDeformation()Properties
Section titled “Properties”
public TextStudioCageStyle Style { get; set; }Returns
TextStudio.TextStudioCageStyle
Strength
Section titled “Strength”public float Strength { get; set; }Returns
System.Single
GlyphMode
Section titled “GlyphMode”public TextStudioCageGlyphMode GlyphMode { get; set; }Whether glyphs bend or retain their native shape under the cage.
Returns
TextStudio.TextStudioCageGlyphMode
Status
Section titled “Status”public string Status { get; }Current eligibility or output validation message. An empty message means the configured output is supported.
Returns
System.String
ReferenceBounds
Section titled “ReferenceBounds”public Rect ReferenceBounds { get; }Stable native source bounds used by the last submitted cage frame, in text-local coordinates.
Returns
UnityEngine.Rect