NearInteractionTouchable.SetLocalForward(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.
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