Method ApplyXRViewCenterOffset
ApplyXRViewCenterOffset(Vector2)
Take a point that is center-relative (0.5, 0.5) and modify it to be placed relative to the view's center instead, respecting the asymmetric FOV (if it is used)
Declaration
public Vector4 ApplyXRViewCenterOffset(Vector2 center)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | center |
Returns
Type | Description |
---|---|
Vector4 |