TryGetVelocity(out Vector3)
Attempt to retrieve a vector representing the current velocity of the tracked node.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
TryGetVelocity(Vector3)
public bool TryGetVelocity(out Vector3 velocity)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the velocity was set in the output parameter. False if the velocity is not available due to limitations of the underlying platform or if the node is not presently tracked. |