Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


renderTargetScaledWidth

The current, scaled width of the XRRenderPass.renderTarget for this renderPass.
Read time 1 minuteLast updated 12 days ago

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.