PressableButton.GetLocalPositionAlongPushDirection(Single) 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 local position along the push direction for the given local/global distance
public UnityEngine.Vector3 GetLocalPositionAlongPushDirection(float distance);
member this.GetLocalPositionAlongPushDirection : single -> UnityEngine.Vector3
Public Function GetLocalPositionAlongPushDirection (distance As Single) As Vector3
Parameters
- distance
- Single
Returns
UnityEngine.Vector3