UImportanceSamplingLibrary::BreakImportanceTexture

Get texture used to create an ImportanceTexture object

Windows
MacOS
Linux

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

Syntax

static void BreakImportanceTexture
(
    const FImportanceTexture & ImportanceTexture,
    UTexture2D *& Texture,
    TEnumAsByte< EImportanceWeight::Type > & WeightingFunc
)

Remarks

Get texture used to create an ImportanceTexture object

Returns

new ImportanceTexture object for use with ImportanceSample

Parameters

Parameter

Description

ImportanceTexture

The source ImportanceTexture object Texture - Texture object for this ImportanceTexture.

WeightingFunc

How to turn the texture data into probability weights

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss