GvrUIHelpers
Helper class for dealing with canvas UI.
Summary
Public static functions |
|
---|---|
GetMetersToCanvasScale(Transform canvasObject)
|
float
Finds the meters scale for the local coordinate system of the root canvas that contains the canvasObject passed in.
|
Public static functions
GetMetersToCanvasScale
float GetMetersToCanvasScale( Transform canvasObject )
Finds the meters scale for the local coordinate system of the root canvas that contains the canvasObject passed in.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
The meters scale for the local coordinate system of the root UI canvas.
|