|
Texture2D | ResizeTexture32_KeepRatio (Texture2D texOrigin, int width, int height) |
| Resize the texture (keep ratio). GetPixels32/SetPixels32 is used for faster speed than GetPixels/SetPixels.
|
|
Texture2D | ResizeTexture32 (Texture2D texOrigin, int width, int height) |
| Resize the texture (keep ratio). GetPixels32/SetPixels32 is used for faster speed than GetPixels/SetPixels.
|
|
Texture2D | ResizeTexture_KeepRatio (Texture2D texOrigin, int width, int height) |
| Resize the texture (keep ratio). GetPixels/SetPixels is used for higher quality than GetPixels32/SetPixels32.
|
|
Texture2D | ResizeTexture (Texture2D texOrigin, int width, int height) |
| Resize the texture (keep ratio). GetPixels/SetPixels is used for higher quality than GetPixels32/SetPixels32.
|
|
◆ ResizeTexture()
Texture2D ProGif.ImageResizer.ResizeTexture |
( |
Texture2D |
texOrigin, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Resize the texture (keep ratio). GetPixels/SetPixels is used for higher quality than GetPixels32/SetPixels32.
- Returns
- The texture.
- Parameters
-
texOrigin | Origin texture. |
width | Width. |
height | Height. |
◆ ResizeTexture32()
Texture2D ProGif.ImageResizer.ResizeTexture32 |
( |
Texture2D |
texOrigin, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Resize the texture (keep ratio). GetPixels32/SetPixels32 is used for faster speed than GetPixels/SetPixels.
- Returns
- The texture.
- Parameters
-
texOrigin | Origin texture. |
width | Width. |
height | Height. |
◆ ResizeTexture32_KeepRatio()
Texture2D ProGif.ImageResizer.ResizeTexture32_KeepRatio |
( |
Texture2D |
texOrigin, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Resize the texture (keep ratio). GetPixels32/SetPixels32 is used for faster speed than GetPixels/SetPixels.
- Returns
- The texture.
- Parameters
-
texOrigin | Origin texture. |
width | Width. |
height | Height. |
◆ ResizeTexture_KeepRatio()
Texture2D ProGif.ImageResizer.ResizeTexture_KeepRatio |
( |
Texture2D |
texOrigin, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Resize the texture (keep ratio). GetPixels/SetPixels is used for higher quality than GetPixels32/SetPixels32.
- Returns
- The texture (keep ratio).
- Parameters
-
texOrigin | Origin texture. |
width | Width. |
height | Height. |
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/SWAN Dev/GameGIF/Lib/ImageResizer.cs