NearInteractionTouchable.SetLocalCenter(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 the position (center) of the NearInteractionTouchable plane relative to the gameObject.
The position of the plane should be in front of the gameObject.
public:
void SetLocalCenter(UnityEngine::Vector3 newLocalCenter);
public void SetLocalCenter (UnityEngine.Vector3 newLocalCenter);
member this.SetLocalCenter : UnityEngine.Vector3 -> unit
Public Sub SetLocalCenter (newLocalCenter As Vector3)
Parameters
- newLocalCenter
- UnityEngine.Vector3