Version: 2017.4

説明

Describes the state of a node tracked by a XR system. .

変数

accelerationSets the vector representing the current acceleration of the tracked node.
angularAccelerationSets the vector representing the current angular acceleration of the tracked node.
angularVelocitySets the vector representing the current angular velocity of the tracked node.
nodeTypeThe type of the tracked node as specified in XRNode.
positionSets the vector representing the current position of the tracked node.
rotationSets the quaternion representing the current rotation of the tracked node.
tracked Set to true if the node is presently being tracked by the underlying XR system, and false if the node is not presently being tracked by the underlying XR system.
uniqueIDThe unique identifier of the tracked node.
velocitySets the vector representing the current velocity of the tracked node.

Public 関数

TryGetAccelerationAttempt to retrieve a vector representing the current acceleration of the tracked node.
TryGetAngularAccelerationAttempt to retrieve a Vector3 representing the current angular acceleration of the tracked node.
TryGetAngularVelocityAttempt to retrieve a Vector3 representing the current angular velocity of the tracked node.
TryGetPositionAttempt to retrieve a vector representing the current position of the tracked node.
TryGetRotationAttempt to retrieve a quaternion representing the current rotation of the tracked node.
TryGetVelocityAttempt to retrieve a vector representing the current velocity of the tracked node.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961