文档

Unity Engine

Unity Engine

renderTargetScaledWidth

The current, scaled width of the XRRenderPass.renderTarget for this renderPass.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public int renderTargetScaledWidth

Remarks

If dynamic scaling is not enabled or not supported, then the scaled width is equal to the width value of the texture's descriptor.