![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Functions | |
| bool | GenerateLongLatUnwrap (const FTextureResource *TextureResource, const uint32 AxisDimenion, const EPixelFormat SourcePixelFormat, TArray64< uint8 > &BitsOUT, FIntPoint &SizeOUT, EPixelFormat &FormatOUT) |
| bool | GenerateLongLatUnwrap (const UTextureCube *CubeTexture, TArray64< uint8 > &BitsOUT, FIntPoint &SizeOUT, EPixelFormat &FormatOUT) |
| bool | GenerateLongLatUnwrap (const UTextureRenderTargetCube *CubeTarget, TArray64< uint8 > &BitsOUT, FIntPoint &SizeOUT, EPixelFormat &FormatOUT) |
| bool CubemapHelpers::GenerateLongLatUnwrap | ( | const FTextureResource * | TextureResource, |
| const uint32 | AxisDimenion, | ||
| const EPixelFormat | SourcePixelFormat, | ||
| TArray64< uint8 > & | BitsOUT, | ||
| FIntPoint & | SizeOUT, | ||
| EPixelFormat & | FormatOUT | ||
| ) |
Helper function to create an unwrapped 2D image of the cube map ( longitude/latitude ) This version takes explicitly passed properties of the source object, as the sources have different APIs.
| TextureResource | Source FTextureResource object. |
| AxisDimenion | axis length of the cube. |
| SourcePixelFormat | pixel format of the source. |
| BitsOUT | Raw bits of the 2D image bitmap. |
| SizeXOUT | Filled with the X dimension of the output bitmap. |
| SizeYOUT | Filled with the Y dimension of the output bitmap. |
| FormatOUT | Filled with the pixel format of the output bitmap. |
| ENGINE_API bool CubemapHelpers::GenerateLongLatUnwrap | ( | const UTextureCube * | CubeTexture, |
| TArray64< uint8 > & | BitsOUT, | ||
| FIntPoint & | SizeOUT, | ||
| EPixelFormat & | FormatOUT | ||
| ) |
Creates an unwrapped 2D image of the cube map ( longitude/latitude )
| CubeTexture | Source UTextureCube object. |
| BitsOUT | Raw bits of the 2D image bitmap. |
| SizeXOUT | Filled with the X dimension of the output bitmap. |
| SizeYOUT | Filled with the Y dimension of the output bitmap. |
| FormatOUT | Filled with the pixel format of the output bitmap. |
| ENGINE_API bool CubemapHelpers::GenerateLongLatUnwrap | ( | const UTextureRenderTargetCube * | CubeTarget, |
| TArray64< uint8 > & | BitsOUT, | ||
| FIntPoint & | SizeOUT, | ||
| EPixelFormat & | FormatOUT | ||
| ) |
Creates an unwrapped 2D image of the cube map ( longitude/latitude )
| CubeTarget | Source UTextureRenderTargetCube object. |
| BitsOUT | Raw bits of the 2D image bitmap. |
| SizeXOUT | Filled with the X dimension of the output bitmap. |
| SizeYOUT | Filled with the Y dimension of the output bitmap. |
| FormatOUT | Filled with the pixel format of the output bitmap. |