Documentation

Unity Engine

Unity Engine

scaledPixelWidth

How wide is the camera in pixels (accounting for dynamic resolution scaling) (Read Only).
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int scaledPixelWidth { get; }