ToolTipConnector.GetDirectionFromPivotDirection Method
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.
Computes the director of the connector
public:
static UnityEngine::Vector3 GetDirectionFromPivotDirection(Microsoft::MixedReality::Toolkit::UI::ConnectorPivotDirection pivotDirection, UnityEngine::Vector3 manualPivotDirection, UnityEngine::Transform ^ relativeTo);
public static UnityEngine.Vector3 GetDirectionFromPivotDirection (Microsoft.MixedReality.Toolkit.UI.ConnectorPivotDirection pivotDirection, UnityEngine.Vector3 manualPivotDirection, UnityEngine.Transform relativeTo);
static member GetDirectionFromPivotDirection : Microsoft.MixedReality.Toolkit.UI.ConnectorPivotDirection * UnityEngine.Vector3 * UnityEngine.Transform -> UnityEngine.Vector3
Public Shared Function GetDirectionFromPivotDirection (pivotDirection As ConnectorPivotDirection, manualPivotDirection As Vector3, relativeTo As Transform) As Vector3
Parameters
- pivotDirection
- ConnectorPivotDirection
enum describing director of connector pivot
- manualPivotDirection
- UnityEngine.Vector3
is the pivot set manually
- relativeTo
- UnityEngine.Transform
Transform that describes the frame of reference of the pivot
Returns
UnityEngine.Vector3
a vector describing the pivot direction in world space