uPano  v3.1
InfinityCode.uPano.RectUV Struct Reference

UV of texture side More...

Public Member Functions

 RectUV (float left, float top, float right, float bottom)
 Constructor More...
 

Public Attributes

float left
 Left texture U More...
 
float top
 Top texture V More...
 
float right
 Right textrue U More...
 
float bottom
 Bottom texture V More...
 

Static Public Attributes

static string[] sides = {"Left", "Top", "Right", "Bottom"}
 Side labels More...
 

Properties

static RectUV full [get]
 UV whole texture More...
 
float height [get]
 Height of texture V More...
 
float width [get]
 Width of texture U More...
 
float this[int index] [get, set]
 Get and set side by index More...
 

Detailed Description

UV of texture side

Constructor & Destructor Documentation

◆ RectUV()

InfinityCode.uPano.RectUV.RectUV ( float  left,
float  top,
float  right,
float  bottom 
)

Constructor

Parameters
leftLeft texture U
topTop texture V
rightRight texture U
bottomBottom texture V

Member Data Documentation

◆ bottom

float InfinityCode.uPano.RectUV.bottom

Bottom texture V

◆ left

float InfinityCode.uPano.RectUV.left

Left texture U

◆ right

float InfinityCode.uPano.RectUV.right

Right textrue U

◆ sides

string [] InfinityCode.uPano.RectUV.sides = {"Left", "Top", "Right", "Bottom"}
static

Side labels

◆ top

float InfinityCode.uPano.RectUV.top

Top texture V

Property Documentation

◆ full

RectUV InfinityCode.uPano.RectUV.full
staticget

UV whole texture

◆ height

float InfinityCode.uPano.RectUV.height
get

Height of texture V

◆ this[int index]

float InfinityCode.uPano.RectUV.this[int index]
getset

Get and set side by index

Parameters
indexIndex of side
Returns
Value of the side

◆ width

float InfinityCode.uPano.RectUV.width
get

Width of texture U