HolographicCamera.RenderTargetSize 屬性

定義

取得配置給這個相機之背景緩衝區的圖元尺寸。

public:
 property Size RenderTargetSize { Size get(); };
Size RenderTargetSize();
public Size RenderTargetSize { get; }
var size = holographicCamera.renderTargetSize;
Public ReadOnly Property RenderTargetSize As Size

屬性值

HolographicCamera轉譯目標的寬度和高度。

備註

每個畫面格,您的應用程式都可以設定 ViewportScaleFactor ,以決定要用於轉譯的背景緩衝區數量。 系統會調整轉譯的影像以填滿顯示器。

若要變更 HolographicCamera的轉譯目標大小,請擷取其 ViewConfiguration 屬性,並用它來呼叫 RequestRenderTargetSize

適用於

另請參閱