ToolTipUtility Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Static class providing useful functions for finding ToolTip Attach point information.
public ref class ToolTipUtility abstract sealed
public static class ToolTipUtility
type ToolTipUtility = class
Public Class ToolTipUtility
- Inheritance
-
ToolTipUtility
Methods
FindClosestAttachPointToAnchor(Transform, Transform, Vector3[], ToolTipAttachPoint) |
Avoid running this query in Update function because calculating Vector3.Distance requires sqr root calculation (expensive) Instead, find strategic moments to update nearest pivot (i.e. only once when ToolTip becomes active) |
GetAttachPointPositions(Vector3[], Vector2) |
gets an array of pivot positions |