Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


recttransformutility

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
recttransformutility [2021/06/23 20:29] – d'oh gwenpri.merecttransformutility [2025/01/15 04:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== RectTransformUtility ====== ====== RectTransformUtility ======
 +
 +
 +== RectangleContainsScreenPoint ==
  
 When using this method on a RectTransform in a Screenspace Overlay Canvas, pass in null for the camera parameter.((This mimics the functionality of ScreenPointToWorldPointInRectangle but is unmentioned in the official docs as of 6-23-2021)) When using this method on a RectTransform in a Screenspace Overlay Canvas, pass in null for the camera parameter.((This mimics the functionality of ScreenPointToWorldPointInRectangle but is unmentioned in the official docs as of 6-23-2021))
  
 Passing in a camera can return false-negatives. ((Tested in editor, Unity 2020.3.12f1))   Passing in a camera can return false-negatives. ((Tested in editor, Unity 2020.3.12f1))  
recttransformutility.1624480192.txt.gz · Last modified: 2025/01/15 04:35 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki