Class TMP_SelectionCaret
A simple component that can be added to a newly created object where inheriting from MaskableGraphic is needed.
Inherited Members
Namespace: TMPro
Syntax
[RequireComponent(typeof(CanvasRenderer))]
public class TMP_SelectionCaret : MaskableGraphic, ICanvasElement, IClippable, IMaskable, IMaterialModifier
Methods
Cull(Rect, Boolean)
Override to Cull function of MaskableGraphic to prevent Culling.
Declaration
public override void Cull(Rect clipRect, bool validRect)
Parameters
Type | Name | Description |
---|---|---|
Rect | clipRect | |
Boolean | validRect |
UpdateGeometry()
Declaration
protected override void UpdateGeometry()