Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainMaterialLibrary::
SetWrapperRvt
Editor onlyBlueprintPoint a wrapper's RVT sample parameter ("TerrainRvt", in MF_TerrainRvt) at an RVT other than the material's default.
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Materials")
static bool SetWrapperRvt(UMaterialInstanceConstant* Wrapper, URuntimeVirtualTexture* Rvt);Blueprint Set Wrapper Rvt
The graph as text
- Set Wrapper Rvt (function call)
- In Wrapper (MaterialInstanceConstant object): None
- In Rvt (RuntimeVirtualTexture object): None
- Out Return Value (Boolean): not connected
- Header
#include "OrreryTerrainMaterialLibrary.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor");in an editor module’s Build.cs: an editor module, not in packaged games.- Stability
- Stable: changes within a major version only add.
- Thread
- Editor, game thread. (the rule of UOrreryTerrainMaterialLibrary)
- Blueprint
- Set Wrapper Rvt, in Orrery › Terrain › Materials
Description
The instance setters of the Python material library report false whatever happens, so the value is read back here.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Wrapper | UMaterial | — | A terrain wrapper (or any instance of a material with the parameter). |
Rvt | URuntime | — | The asset to read; it must be BaseColor_Normal_Roughness. Null clears the override. |
Returns
True when the wrapper reads Rvt afterwards.