Detailed Description

Represents a block of four UV coordinates. Commonly shared globally.

Inheritance diagram for Blaze.UVBlock:
Blaze.AtlasLocation

Public Member Functions

 UVBlock ()
 
 UVBlock (UVBlock copy)
 
 UVBlock (float minX, float maxX, float minY, float maxY)
 
void Write (Vector2[] buffer, int index)
 Writes out this block of UV's to the given buffer. More...
 
override string ToString ()
 

Public Attributes

float MinX
 The min UV x coordinate. More...
 
float MinY
 The min UV y coordinate. More...
 
float MaxX
 The max UV x coordinate. More...
 
float MaxY
 The max UV y coordinate. More...
 

Properties

virtual bool Shared [get]
 True if this UV block is a globally shared one. More...
 

Constructor & Destructor Documentation

Blaze.UVBlock.UVBlock ( )
inline
Blaze.UVBlock.UVBlock ( UVBlock  copy)
inline
Blaze.UVBlock.UVBlock ( float  minX,
float  maxX,
float  minY,
float  maxY 
)
inline

Member Function Documentation

override string Blaze.UVBlock.ToString ( )
inline
void Blaze.UVBlock.Write ( Vector2[]  buffer,
int  index 
)
inline

Writes out this block of UV's to the given buffer.

Member Data Documentation

float Blaze.UVBlock.MaxX

The max UV x coordinate.

float Blaze.UVBlock.MaxY

The max UV y coordinate.

float Blaze.UVBlock.MinX

The min UV x coordinate.

float Blaze.UVBlock.MinY

The min UV y coordinate.

Property Documentation

virtual bool Blaze.UVBlock.Shared
get

True if this UV block is a globally shared one.