Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainSplatAsset::
BakeFromTexture
BlueprintBake a texture into this asset.
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Brush")
EOrreryTerrainBrushBake BakeFromTexture(UTexture2D* Texture);Blueprint Bake from Texture
The graph as text
- Bake from Texture (function call; Target is Orrery Terrain Splat Asset)
- In Target (self object): self
- In Texture (Texture2D object): None
- Out Return Value (EOrreryTerrainBrushBake): not connected
- Header
#include "OrreryTerrainBrushAsset.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread. (the rule of UOrreryTerrainSplatAsset)
- Blueprint
- Bake from Texture, in Orrery › Terrain › Brush
Description
Outside the editor the texture needs a CPU copy.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Texture | UTexture2 | — | — |
Returns
Ok, or why the bake was refused (the asset is unchanged then).