Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
ImageAsset::FrameArea::TexelArea Class Reference

Frame Texel Area. More...

`#include <ImageAsset.h>`

## Public Member Functions
| TexelArea ()
| TexelArea (const PixelArea &pixelArea, const F32 texelWidthScale, const F32 texelHeightScale)
void | setArea (const PixelArea &pixelArea, const F32 texelWidthScale, const F32 texelHeightScale)
void | setFlip (const bool flipX, const bool flipY)

## Public Attributes
Vector2 | mTexelLower
Vector2 | mTexelUpper
F32 | mTexelWidth
F32 | mTexelHeight

## Detailed Description

Frame Texel Area.

## Constructor & Destructor Documentation

TexelArea | ( |  | ) |
| inline

TexelArea | ( | const PixelArea & | pixelArea,
|  | const F32 | texelWidthScale,
|  | const F32 | texelHeightScale
| ) |  |
| inline

## Member Function Documentation

void setArea | ( | const PixelArea & | pixelArea,
|  | const F32 | texelWidthScale,
|  | const F32 | texelHeightScale
| ) |  |
| inline

void setFlip | ( | const bool | flipX,
|  | const bool | flipY
| ) |  |
| inline

## Member Data Documentation

F32 mTexelHeight

Vector2 mTexelLower

Vector2 mTexelUpper

F32 mTexelWidth

The documentation for this class was generated from the following file:

- 2d/assets/ImageAsset.h