CompressableButton.GetDistanceAlongPushDirection(Vector3) 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.
Returns the local distance along the push direction for the passed in world position
public:
float GetDistanceAlongPushDirection(UnityEngine::Vector3 positionWorldSpace);
public float GetDistanceAlongPushDirection (UnityEngine.Vector3 positionWorldSpace);
member this.GetDistanceAlongPushDirection : UnityEngine.Vector3 -> single
Public Function GetDistanceAlongPushDirection (positionWorldSpace As Vector3) As Single
Parameters
- positionWorldSpace
- UnityEngine.Vector3