TryGetAcceleration(out Vector3)
Attempt to retrieve a vector representing the current acceleration of the tracked node.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
TryGetAcceleration(Vector3)
public bool TryGetAcceleration(out Vector3 acceleration)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the acceleration was set in the output parameter. False if the acceleration is not available due to limitations of the underlying platform or if the node is not presently tracked. |