|
Rebel Fork Framework
|
Region on the lightmap chart. More...
#include <Urho3D/Glow/LightmapCharter.h>
Public Member Functions | |
| LightmapChartRegion ()=default | |
| Construct default. | |
| LightmapChartRegion (unsigned index, const IntVector2 &position, const IntVector2 &size, unsigned maxSize) | |
| Construct actual region. | |
| Vector2 | GetScale () const |
| Return lightmap scale of the region. | |
| Vector2 | GetOffset () const |
| Return lightmap offset of the region. | |
| Vector4 | GetScaleOffset () const |
| Return lightmap scale & offset vector. | |
Public Attributes | |
| unsigned | chartIndex_ |
| Lightmap chart index. | |
| IntRect | rectTexels_ |
| Lightmap rectangle on the chart (in texels). | |
| Rect | rectUV_ |
| Lightmap rectangle on the chart (in normalized coordinates). | |
Region on the lightmap chart.