Class TMP_SelectionCaret
A simple component that can be added to a newly created object where inheriting from MaskableGraphic is needed.
Inheritance
Inherited Members
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
[RequireComponent(typeof(CanvasRenderer))]
public class TMP_SelectionCaret : MaskableGraphic, ICanvasElement, IClippable, IMaskable, IMaterialModifier
Methods
Cull(Rect, bool)
Override to Cull function of MaskableGraphic to prevent Culling.
Declaration
public override void Cull(Rect clipRect, bool validRect)
Parameters
Overrides
UpdateGeometry()
Call to update the geometry of the Graphic onto the CanvasRenderer.
Declaration
protected override void UpdateGeometry()