Edit

Share via


PressableButton.GetWorldPositionAlongPushDirection(Single) Method

Definition

Returns world space position along the push direction for the given local distance

public:
 UnityEngine::Vector3 GetWorldPositionAlongPushDirection(float localDistance);
public UnityEngine.Vector3 GetWorldPositionAlongPushDirection (float localDistance);
member this.GetWorldPositionAlongPushDirection : single -> UnityEngine.Vector3
Public Function GetWorldPositionAlongPushDirection (localDistance As Single) As Vector3

Parameters

localDistance
Single

Returns

UnityEngine.Vector3

Applies to