public class XRUIPointer : MonoBehaviour, ILineRenderable
Properties
This is the controller that drives the input state of this pointer.
Declaration
public XRController controller { get; set; }
Property Value
Methods
Declaration
public bool GetLinePoints(ref Vector3[] linePoints, ref int noPoints)
Parameters
Type |
Name |
Description |
Vector3[] |
linePoints |
|
Int32 |
noPoints |
|
Returns
Declaration
public TrackedDeviceModel GetTrackedDeviceModel()
Returns
Declaration
public bool TryGetHitInfo(ref Vector3 position, ref Vector3 normal, ref int positionInLine, ref bool isValidTarget)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Vector3 |
normal |
|
Int32 |
positionInLine |
|
Boolean |
isValidTarget |
|
Returns
Declaration
public void UpdateModel(ref TrackedDeviceModel model)
Parameters