GoogleARCore. DisplayUvCoords
Stores UV display coordinates for mapping the four corners of the display.
Summary
Constructors and Destructors |
|
---|---|
DisplayUvCoords(Vector2 topLeft, Vector2 topRight, Vector2 bottomLeft, Vector2 bottomRight)
Initializes the DisplayUvCoords structure.
|
Public static attributes |
|
---|---|
FullScreenUvCoords = new DisplayUvCoords(
new Vector2(0, 1), new Vector2(1, 1), new Vector2(0, 0), new Vector2(1, 0))
|
readonly DisplayUvCoords
Gets full screen uv coordinates.
|
Public attributes |
|
---|---|
BottomLeft
|
Vector2
The bottom-left UV coordinates for the display.
|
BottomRight
|
Vector2
The bottom-right UV coordinates for the display.
|
TopLeft
|
Vector2
The top-left UV coordinates for the display.
|
TopRight
|
Vector2
The top-right UV coordinates for the display.
|
Public static attributes
FullScreenUvCoords
readonly DisplayUvCoords GoogleARCore::DisplayUvCoords::FullScreenUvCoords = new DisplayUvCoords( new Vector2(0, 1), new Vector2(1, 1), new Vector2(0, 0), new Vector2(1, 0))
Gets full screen uv coordinates.
Public attributes
BottomLeft
Vector2 GoogleARCore::DisplayUvCoords::BottomLeft
The bottom-left UV coordinates for the display.
BottomRight
Vector2 GoogleARCore::DisplayUvCoords::BottomRight
The bottom-right UV coordinates for the display.
TopLeft
Vector2 GoogleARCore::DisplayUvCoords::TopLeft
The top-left UV coordinates for the display.
TopRight
Vector2 GoogleARCore::DisplayUvCoords::TopRight
The top-right UV coordinates for the display.
Public functions
DisplayUvCoords
GoogleARCore::DisplayUvCoords::DisplayUvCoords( Vector2 topLeft, Vector2 topRight, Vector2 bottomLeft, Vector2 bottomRight )
Initializes the DisplayUvCoords structure.
Details | |||||||||
---|---|---|---|---|---|---|---|---|---|
Parameters |
|