PilotGaea 3D O'view
    正在準備搜尋索引...

    介面 VRUIEntityUpdateParameter

    VR UI圖素更新參數。

    interface VRUIEntityUpdateParameter {
        anchor?:
            | "center"
            | "top-left"
            | "top-right"
            | "bottom-left"
            | "bottom-right";
        distance?: number;
        height?: number;
        onClick?: () => void;
        onHoverDistance?: null | number;
        onSelectDistance?: null | number;
        width?: number;
    }

    層級

    • VRUIEntityParameter
      • VRUIEntityUpdateParameter
    索引

    屬性

    anchor?: "center" | "top-left" | "top-right" | "bottom-left" | "bottom-right"

    定位參考點,做為子圖素時,此參數無效。

    distance?: number

    距離。

    height?: number

    高(m)。

    onClick?: () => void

    點擊時觸發事件。

    onHoverDistance?: null | number

    懸停時距離。

    onSelectDistance?: null | number

    選取時距離。

    width?: number

    寬(m)。