Unity - Scripting API: PivotReferenceSize
enumeration
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Enum value used to specify the size used to compute the Pivot position.
Properties
| Property | Description |
|---|---|
| BoundingBox | The size of the full bounding-box of the UIDocument will be used to determine the pivot position. |
| Layout | The layout size of the root element will be used to determine the pivot position. |