public bool TryGetAngularVelocity (out Vector3 angularVelocity);

파라미터

angularVelocityIf the function returns true, this will be filled out with the angular velocity of the interaction source. If the function returns false, the value filled out should not be used.

반환

bool True if the angular velocity was set in the output parameter. False if the angular velocity is not available due to limitations of the underlying platform or if the node is not presently tracked.

설명

Attempts to retrieve a Vector3 representing the current angular velocity of the tracked node.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961