Sprite collection size. Supports different methods of specifying size. More...
Static Public Member Functions | |
static tk2dSpriteCollectionSize | Explicit (float orthoSize, float targetHeight) |
When you are using an ortho camera. Use this to create sprites which will be pixel perfect automatically at the resolution and orthoSize given. | |
static tk2dSpriteCollectionSize | PixelsPerMeter (float pixelsPerMeter) |
When you are using an ortho camera. Use this to create sprites which will be pixel perfect automatically at the resolution and orthoSize given. | |
static tk2dSpriteCollectionSize | ForResolution (float orthoSize, float width, float height) |
When you are using an ortho camera. Use this to create sprites which will be pixel perfect automatically at the resolution and orthoSize given. | |
static tk2dSpriteCollectionSize | ForTk2dCamera () |
Use when you need the sprite to be pixel perfect on a tk2dCamera. | |
static tk2dSpriteCollectionSize | ForTk2dCamera (tk2dCamera camera) |
Use when you need the sprite to be pixel perfect on a specific tk2dCamera. | |
static tk2dSpriteCollectionSize | Default () |
A default setting. |
Sprite collection size. Supports different methods of specifying size.
static tk2dSpriteCollectionSize tk2dSpriteCollectionSize.Default | ( | ) | [static] |
A default setting.
static tk2dSpriteCollectionSize tk2dSpriteCollectionSize.Explicit | ( | float | orthoSize, |
float | targetHeight | ||
) | [static] |
When you are using an ortho camera. Use this to create sprites which will be pixel perfect automatically at the resolution and orthoSize given.
static tk2dSpriteCollectionSize tk2dSpriteCollectionSize.ForResolution | ( | float | orthoSize, |
float | width, | ||
float | height | ||
) | [static] |
When you are using an ortho camera. Use this to create sprites which will be pixel perfect automatically at the resolution and orthoSize given.
static tk2dSpriteCollectionSize tk2dSpriteCollectionSize.ForTk2dCamera | ( | ) | [static] |
Use when you need the sprite to be pixel perfect on a tk2dCamera.
static tk2dSpriteCollectionSize tk2dSpriteCollectionSize.ForTk2dCamera | ( | tk2dCamera | camera | ) | [static] |
Use when you need the sprite to be pixel perfect on a specific tk2dCamera.
static tk2dSpriteCollectionSize tk2dSpriteCollectionSize.PixelsPerMeter | ( | float | pixelsPerMeter | ) | [static] |
When you are using an ortho camera. Use this to create sprites which will be pixel perfect automatically at the resolution and orthoSize given.