Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/FBatchTextureCopy
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Public/LandscapeUtils.h |
| Include | #include "LandscapeUtils.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeUtils.cpp |
bool AddWeightmapCopy
(
UTexture * InDestination,
int8 InDestinationChannel,
int8 InDestinationSlice,
const ULandscapeComponent * InComponent,
ULandscapeLayerInfoObject * InLayerInfo
)
Remarks
Uses the provided arguments to add proper source/destination entries to internal copy requests. True if the copy has been successfully added.
Parameters
| Name | Description |
|---|---|
| InDestination | The texture used as a destination for the copy. |
| InDestinationChannel | The channel used as a destination for the copy. |
| InDestinationSlice | The Texture array slice to write to (use 0 for a Texture2D) |
| InComponent | The component containing the wanted source weightmap. |
| InLayerInfo | The layer info used to retrieve the proper source weightmap and channel. |