![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Particles/SubUVAnimation.h"#include "Containers/ClosableMpscQueue.h"#include "Engine/Texture2D.h"#include "Experimental/Containers/HazardPointer.h"#include "Math/RandomStream.h"#include "Math/ConvexHull2d.h"#include "ParticleHelper.h"#include "Particles/ParticleSystemComponent.h"#include "DerivedDataCacheInterface.h"#include "DerivedDataCacheKey.h"#include "ComponentReregisterContext.h"#include "RHI.h"#include "RHIResourceUtils.h"Classes | |
| struct | FLine2D |
| struct | FSubUVFrameData |
Macros | |
| #define | LOCTEXT_NAMESPACE "FSubUVDerivedData" |
Variables | |
| FIntPoint | GNeighbors [] |
| #define LOCTEXT_NAMESPACE "FSubUVDerivedData" |
| int32 ComputeNeighborCount | ( | int32 | X, |
| int32 | Y, | ||
| int32 | GlobalX, | ||
| int32 | GlobalY, | ||
| int32 | SubImageSizeX, | ||
| int32 | SubImageSizeY, | ||
| int32 | TextureSizeX, | ||
| const TArray64< uint8 > & | MipData, | ||
| EOpacitySourceMode | OpacitySourceMode, | ||
| ETextureSourceFormat | SourceFormat, | ||
| float | AlphaThresholdF, | ||
| uint8 | AlphaThreshold8, | ||
| uint16 | AlphaThreshold16 | ||
| ) |
Counts how many neighbors have non-zero alpha.
| bool ComputeOpacityValue | ( | const uint8 * | BGRA, |
| int32 | x, | ||
| int32 | y, | ||
| int32 | TextureSizeX, | ||
| EOpacitySourceMode | OpacitySourceMode, | ||
| ETextureSourceFormat | SrcFormat, | ||
| float | AlphaThresholdF, | ||
| uint8 | AlphaThreshold8, | ||
| uint16 | AlphaThreshold16 | ||
| ) |
| bool ComputePointIntersectionBetweenLines2D | ( | const FLine2D & | Line0, |
| const FLine2D & | Line1, | ||
| FVector2D & | OutIntersectPoint | ||
| ) |
|
inline |
| void FindOptimalPolygon | ( | int32 | TargetVertexCount, |
| const TArray< int32 > & | ConvexHullIndices, | ||
| const TArray< FVector2D > & | PotentialHullVertices, | ||
| TArray< FVector2D > & | OutBoundingVertices | ||
| ) |
| uint32 GetByteSizePerPixel | ( | ETextureSourceFormat | SrcFormat | ) |
| int32 GetRandomLineIndex | ( | int32 | StartIndex, |
| int32 | NumLines, | ||
| FRandomStream & | RandomStream | ||
| ) |
| bool IsSupportedFormat | ( | ETextureSourceFormat | SrcFormat | ) |