Back to API Reference
Class
InlineMedia
abstract
Common entry-data base for inline-flowed media (InlineSprite, InlineObject). Carries the name and shared presentation data; the renderable payload is added by the concrete subclass.
Remarks
Pure shared data: one entry may be referenced by many components at once (e.g. through a shared UniTextSprites asset), so it holds no per-occurrence runtime state — the host InlineMediaModifier<TEntry, TWrapper> owns a wrapper pool per component. All metrics are in em units (relative to fontSize): size = (1,1) means the media is fontSize x fontSize pixels advance = 1 means the cursor moves by fontSize pixels after this media bearingOffset shifts the media relative to fontSize pivot uses normalized RectTransform coordinates and rotation uses degrees. These presentation values are the weakest layer; keyed overrides, default parameters, and tag attributes can replace them per occurrence.
Derived Types(2)
Types that inherit from InlineMedia.
