XRWebGLBinding: thuộc tính nativeProjectionScaleFactor

Khả dụng hạn chế

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Thuộc tính chỉ đọc nativeProjectionScaleFactor của giao diện XRWebGLBinding đại diện cho hệ số tỷ lệ mà độ phân giải của lớp chiếu được nhân lên để đạt độ phân giải gốc của bộ đệm khung của thiết bị WebXR.

Để biết thêm chi tiết, xem XRWebGLLayer.getNativeFramebufferScaleFactor().

Giá trị

Số dấu phẩy động đại diện cho bao nhiêu lần kích thước bộ đệm khung gốc của thiết bị được chia tỷ lệ.

Thông số kỹ thuật

Thông số kỹ thuật
WebXR Layers API Level 1
# dom-xrwebglbinding-nativeprojectionscalefactor

Tương thích trình duyệt

Xem thêm