文档

Unity Engine

Unity Engine

pixelRect

Get the render rect for the Canvas.
阅读时间1 分钟最后更新于 1 天前

Definition

public Rect pixelRect { get; }

Remarks

If in overlay mode this will be the screen dimensions. If in world mode this will be the camera screen viewport rect.