ToolTipConnector 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.
Connects a ToolTip to a target Maintains that connection even if the target moves
public ref class ToolTipConnector : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ToolTipConnector")]
[UnityEngine.ExecuteAlways]
public class ToolTipConnector : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ToolTipConnector")>]
[<UnityEngine.ExecuteAlways>]
type ToolTipConnector = class
inherit MonoBehaviour
Public Class ToolTipConnector
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourToolTipConnector
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteAlwaysAttribute
Constructors
ToolTipConnector() |
Properties
ConnectorFollowingType |
The follow style of the tooltip connector |
ManualPivotDirection |
The direction of the manual pivot. |
ManualPivotLocalPosition |
getter/setter for local pivot position |
PivotDirection |
The direction of the connector |
PivotDirectionOrient |
Orientation style for connector |
PivotDistance |
Set Distance from object that Tooltip pivots around. |
PivotMode |
Is the connector pivot set manually or automatically? |
Target |
The GameObject to which the tooltip is connected |
Methods
GetDirectionFromPivotDirection(ConnectorPivotDirection, Vector3, Transform) |
Computes the director of the connector |