ドキュメント

Unity Engine

Unity Engine

scaledPixelsPerPoint

Gives the current scaled pixels per point value of the panel.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

float scaledPixelsPerPoint { get; }

Remarks

Return the resulting scaling that considers all effective inputs like the screen scaling factor from the operating system and the customizable scaling factor. The screen scaling factor could be overriden in the editor settings by the user and is not available in the player. The customizable scaling factor is set in the panel settings for runtime UI and always set to 1 in the editor.