Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UImportanceSamplingLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/ImportanceSamplingLibrary.h |
Include | #include "Kismet/ImportanceSamplingLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/Kismet/ImportanceSamplingLibrary.cpp |
static void BreakImportanceTexture
&40;
const FImportanceTexture & ImportanceTexture,
UTexture2D &42;& Texture,
TEnumAsByte< EImportanceWeight::Type > & WeightingFunc
&41;
Remarks
Get texture used to create an ImportanceTexture object new ImportanceTexture object for use with ImportanceSample
Parameters
Name | Description |
---|---|
ImportanceTexture | The source ImportanceTexture object Texture - Texture object for this ImportanceTexture. |
WeightingFunc | How to turn the texture data into probability weights |