![]() |
uPano
v3.1
|
UV of texture for cube sides More...
Inherits IEnumerable.
Public Member Functions | |
| CubeUV (RotatableRectUV top, RotatableRectUV front, RotatableRectUV left, RotatableRectUV back, RotatableRectUV right, RotatableRectUV bottom) | |
| Constructor More... | |
| int | GetSideIndex (Vector2 uv) |
| Returns the side index by UV More... | |
Public Attributes | |
| RotatableRectUV | top |
| UV of top side More... | |
| RotatableRectUV | front |
| UV of front side More... | |
| RotatableRectUV | left |
| UV of left side More... | |
| RotatableRectUV | back |
| UV of back side More... | |
| RotatableRectUV | right |
| UV of right side More... | |
| RotatableRectUV | bottom |
| UV of bottom side More... | |
Static Public Attributes | |
| static string[] | sides = { "Top", "Front", "Left", "Back", "Right", "Bottom" } |
| Side labels More... | |
Properties | |
| RotatableRectUV | this[int index] [get, set] |
| Get and set UV of side by index More... | |
UV of texture for cube sides
| InfinityCode.uPano.CubeUV.CubeUV | ( | RotatableRectUV | top, |
| RotatableRectUV | front, | ||
| RotatableRectUV | left, | ||
| RotatableRectUV | back, | ||
| RotatableRectUV | right, | ||
| RotatableRectUV | bottom | ||
| ) |
Constructor
| top | UV of top side |
| front | UV of front side |
| left | UV of left side |
| back | UV of back side |
| right | UV of right side |
| bottom | UV of bottom side |
| int InfinityCode.uPano.CubeUV.GetSideIndex | ( | Vector2 | uv | ) |
Returns the side index by UV
| uv | UV |
| RotatableRectUV InfinityCode.uPano.CubeUV.back |
UV of back side
| RotatableRectUV InfinityCode.uPano.CubeUV.bottom |
UV of bottom side
| RotatableRectUV InfinityCode.uPano.CubeUV.front |
UV of front side
| RotatableRectUV InfinityCode.uPano.CubeUV.left |
UV of left side
| RotatableRectUV InfinityCode.uPano.CubeUV.right |
UV of right side
|
static |
Side labels
| RotatableRectUV InfinityCode.uPano.CubeUV.top |
UV of top side
|
getset |
Get and set UV of side by index
| index | Index of side |