Version: 2018.4
public bool TryGetPosition (out Vector3 position, XR.WSA.Input.InteractionSourceNode node);

パラメーター

positionThe position of the interaction source, is the function returns true.
nodeSpecifies which part of the controller to query for its position.

戻り値

bool This method returns true when the Vector3 passed in was filled out correctly, and false if otherwise.

説明

Gets the position of the interaction source, assuming the backing data is valid.