Torque2D Reference
Loading...
Searching...
No Matches
ImageAsset::FrameArea Class Reference

Frame area. More...

#include <ImageAsset.h>

Classes

class  PixelArea
 Frame Pixel Area. More...
class  TexelArea
 Frame Texel Area. More...

Public Member Functions

 FrameArea (const S32 pixelFrameOffsetX, const S32 pixelFrameOffsetY, const U32 pixelFrameWidth, const U32 pixelFrameHeight, const F32 texelWidthScale, const F32 texelHeightScale)
 FrameArea (const S32 pixelFrameOffsetX, const S32 pixelFrameOffsetY, const U32 pixelFrameWidth, const U32 pixelFrameHeight, const F32 texelWidthScale, const F32 texelHeightScale, const char *regionName)
 FrameArea ()
void setArea (const S32 pixelFrameOffsetX, const S32 pixelFrameOffsetY, const U32 pixelFrameWidth, const U32 pixelFrameHeight, const F32 texelWidthScale, const F32 texelHeightScale)
void setArea (const S32 pixelFrameOffsetX, const S32 pixelFrameOffsetY, const U32 pixelFrameWidth, const U32 pixelFrameHeight, const F32 texelWidthScale, const F32 texelHeightScale, const char *regionName)

Public Attributes

PixelArea mPixelArea
TexelArea mTexelArea

Detailed Description

Frame area.

Constructor & Destructor Documentation

◆ FrameArea() [1/3]

FrameArea ( const S32 pixelFrameOffsetX,
const S32 pixelFrameOffsetY,
const U32 pixelFrameWidth,
const U32 pixelFrameHeight,
const F32 texelWidthScale,
const F32 texelHeightScale )
inline

◆ FrameArea() [2/3]

FrameArea ( const S32 pixelFrameOffsetX,
const S32 pixelFrameOffsetY,
const U32 pixelFrameWidth,
const U32 pixelFrameHeight,
const F32 texelWidthScale,
const F32 texelHeightScale,
const char * regionName )
inline

◆ FrameArea() [3/3]

FrameArea ( )
inline

Member Function Documentation

◆ setArea() [1/2]

void setArea ( const S32 pixelFrameOffsetX,
const S32 pixelFrameOffsetY,
const U32 pixelFrameWidth,
const U32 pixelFrameHeight,
const F32 texelWidthScale,
const F32 texelHeightScale )
inline

◆ setArea() [2/2]

void setArea ( const S32 pixelFrameOffsetX,
const S32 pixelFrameOffsetY,
const U32 pixelFrameWidth,
const U32 pixelFrameHeight,
const F32 texelWidthScale,
const F32 texelHeightScale,
const char * regionName )
inline

Member Data Documentation

◆ mPixelArea

PixelArea mPixelArea

◆ mTexelArea

TexelArea mTexelArea

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