Detailed Description

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

Inheritance diagram for Blaze.UVBlock:
Blaze.AtlasLocation

Package 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...
 

Package 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 ( )
inlinepackage
Blaze.UVBlock.UVBlock ( UVBlock  copy)
inlinepackage
Blaze.UVBlock.UVBlock ( float  minX,
float  maxX,
float  minY,
float  maxY 
)
inlinepackage

Member Function Documentation

void Blaze.UVBlock.Write ( Vector2[]  buffer,
int  index 
)
inlinepackage

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

Member Data Documentation

float Blaze.UVBlock.MaxX
package

The max UV x coordinate.

float Blaze.UVBlock.MaxY
package

The max UV y coordinate.

float Blaze.UVBlock.MinX
package

The min UV x coordinate.

float Blaze.UVBlock.MinY
package

The min UV y coordinate.

Property Documentation

virtual bool Blaze.UVBlock.Shared
get

True if this UV block is a globally shared one.