Class TMP_SelectionCaret
A simple component that can be added to a newly created object where inheriting from MaskableGraphic is needed.
Inheritance
TMP_SelectionCaret
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
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
Type | Name | Description |
---|---|---|
Rect | clipRect | |
bool | validRect |
Overrides
UpdateGeometry()
Call to update the geometry of the Graphic onto the CanvasRenderer.
Declaration
protected override void UpdateGeometry()