Docsv3.10.0
Back to API Reference
Struct

UniTextBase.CachedTransformData

sealed

Snapshot of main-thread state captured before parallel processing — Unity APIs (rect, etc.) cannot be touched from worker threads.

public string name

Component name for worker-safe diagnostics. Captured on the first rebuild in players; always fresh in the editor.

public RectTransform rectTransform
public Rect rect

The padded inner rect (GetPaddedRect) snapshotted on the main thread.

public float layoutWidth

The width the text is laid out in (LayoutWidth), snapshotted with the rect.

public Nullable<Rect> visibleRect

Mesh-local viewport including the culling hysteresis margin, or null when unbounded.