Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


renderTargetScaledHeight

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

Definition

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

Remarks

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