XR輸入裝置資訊。

interface XRInputInfo {
    handedness: string;
    hoverEntity: null | {
        entityId: number;
        layerName: string;
    };
    profiles: string[];
    worldPosition: PointLike3D;
    worldUp: PointLike3D;
    worldView: PointLike3D;
    rayEndPosition?: PointLike3D;
    rayStartPosition?: PointLike3D;
}

Properties

handedness: string

慣用手

hoverEntity: null | {
    entityId: number;
    layerName: string;
}

懸停圖素資訊

Type declaration

  • entityId: number
  • layerName: string
profiles: string[]

裝置資訊

worldPosition: PointLike3D

世界位置

worldUp: PointLike3D

世界 Up

worldView: PointLike3D

世界 View

rayEndPosition?: PointLike3D

設線起點

rayStartPosition?: PointLike3D

設線起點

Generated using TypeDoc