Pose

struct in UnityEngine

Switch to Manual

Description

位置和旋转在 3D 空间中的表示。

此结构主要用于 XR 应用程序,描述设备在 3D 空间中的当前“姿势”。

Static Variables

identity表示零位置和单位旋转的姿势的简便方法。

Variables

forward返回姿势的向前矢量。
position姿势的位置分量。
right返回姿势的向右矢量。
rotation姿势的旋转分量。
up返回姿势的向上矢量。

Constructors

Pose使用给定矢量和四元数值创建新姿势。

Public Functions

GetTransformedBy将当前姿势变换到所提供姿势的本地空间中。

Operators

operator !=Returns true if two poses are not equal.
operator ==Returns true if two poses are equal.