Edit

Bagikan melalui


NearInteractionTouchable.SetLocalForward(Vector3) Method

Definition

Set local forward direction and ensure that local up is perpendicular to the new local forward and local right direction. The forward position should be facing the camera. The direction is indicated in scene view by a white arrow in the center of the plane.

public:
 void SetLocalForward(UnityEngine::Vector3 newLocalForward);
public void SetLocalForward (UnityEngine.Vector3 newLocalForward);
member this.SetLocalForward : UnityEngine.Vector3 -> unit
Public Sub SetLocalForward (newLocalForward As Vector3)

Parameters

newLocalForward
UnityEngine.Vector3

Applies to